Function at 0x58a2b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], ecx
xor ecx, ecx
push ebp
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xb0]
push ecx
push eax
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], edx
call fcn.00588490
add esp, 0xc
cmp dword [ebx], 0
mov ebp, eax
mov dword [esp + 0x84], ebp
jne 0x58a41c
push ebp
push esi
call fcn.0058ed30
push esi
mov dword [esp + 0x30], eax
call fcn.0058e2f0
push esi
mov dword [esp + 0x74], eax
call fcn.0058e2f0
push esi
mov dword [esp + 0x6c], eax
call fcn.0058e2f0
push esi
mov dword [esp + 0x60], eax
call fcn.0058e2f0
add esp, 0x18
cmp dword [ebx + 4], 0
mov dword [esp + 0x60], eax
je 0x58a3d4
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
add eax, dword [ebx + 0x10]
xor ecx, ecx
cmp eax, 1
mov dword [esp + 0x6c], ecx
jle 0x58a3b2
jmp 0x58a3a0
add ecx, 1
mov edx, 1
shl edx, cl
cmp edx, eax
jl 0x58a3a0
mov dword [esp + 0x6c], ecx
push ecx
push esi
call fcn.0058e220
push esi
mov dword [esp + 0x5c], eax
call fcn.0058e2f0
push esi
mov dword [esp + 0x64], eax
call fcn.0058e2f0
add esp, 0x10
mov dword [esp + 0x4c], eax
mov ecx, dword [ebx + 0x10]
push ecx
push esi
call fcn.0058a030
add esp, 8
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x34], eax
jbe 0x58aa5e
nop
cmp dword [ebx], 0
je 0x58a49a
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
push eax
push ecx
call fcn.0058de00
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
jmp 0x58a4b2
mov eax, dword [edi]
push str.huffman_coded_symbol_dictionary
push eax
push 0
push esi
call fcn.00587d80
push ebp
push esi
call fcn.0058dc10
push 0x64699c
push esi
mov dword [esp + 0x3c], eax
call fcn.0058df10
add esp, 0x20
cmp dword [ebx + 4], 0
mov dword [esp + 0x40], eax
jne 0x58a3d4
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi]
add ecx, ecx
add ecx, ecx
push ecx
push edx
call fcn.00587ce0
add esp, 8
test eax, eax
mov dword [esp + 0x38], eax
jne 0x58a3d4
push str.could_not_allocate_storage_for_symbol_widths
mov eax, dword [edi]
push eax
push 3
push esi
call fcn.00587d80
add esp, 0x10
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0044abb9
add esp, 0x9c
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x78]
push edx
push eax
push ecx
call fcn.0058e320
mov dword [esp + 0x14], eax
add esp, 0xc
test eax, eax
je 0x58a4cd
mov edx, dword [edi]
push eax
push str.error_or_OOB_decoding_height_class_delta___d__n
push edx
push 2
push esi
call fcn.00587d80
add esp, 0x14
mov eax, dword [esp + 0x78]
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov ebp, 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], ecx
js 0x58aac2
mov eax, dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [edi]
push edx
push eax
push str.decoding_height_class__d_with__d_syms_decoded
push ecx
push ebp
push esi
call fcn.00587d80
mov edx, dword [esp + 0x24]
add esp, 0x18
cmp edx, dword [ebx + 0x10]
ja 0x58a828
cmp dword [ebx], 0
je 0x58a534
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0058de00
mov dword [esp + 0x8c], eax
jmp 0x58a54f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x80]
push eax
push ecx
push edx
call fcn.0058e320
mov dword [esp + 0x14], eax
add esp, 0xc
cmp dword [esp + 8], 1
je 0x58a839
add ebp, dword [esp + 0x80]
add dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x18], ebp
jl 0x58ab1c
mov eax, dword [ebx]
test eax, eax
je 0x58a5a8
cmp dword [ebx + 4], 0
je 0x58a7dc
test eax, eax
je 0x58a623
mov edx, dword [ebx + 0x24]
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 8]
push ecx
push edx
push ebp
call fcn.0058de00
mov dword [esp + 0x68], eax
jmp 0x58a643
cmp dword [ebx + 4], 0
jne 0x58a584
mov eax, dword [ebx + 0x28]
xor ecx, ecx
mov dword [esp + 0x8c], eax
neg eax
sbb eax, eax
and eax, 0xfffffffa
add eax, 8
push eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00450150
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push edx
push eax
push esi
call fcn.005890b0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
push ecx
mov ebp, eax
push ebp
push edx
lea eax, [esp + 0xac]
push eax
push edi
push esi
call fcn.0058c580
add esp, 0x30
mov dword [esp + 8], eax
jmp 0x58a7ca
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
push eax
push ecx
push edx
call fcn.0058e320
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp dword [esp + 8], 0
jne 0x58ab83
test eax, eax
jle 0x58ab83
push eax
mov eax, dword [edi]
push str.aggregate_symbol_coding___d_instances_
push eax
push 0
push esi
call fcn.00587d80
mov eax, dword [esp + 0x70]
add esp, 0x14
cmp eax, 1
ja 0x58ab51
cmp dword [ebx], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
je 0x58a6c7
mov eax, dword [esp + 0x6c]
push eax
push ebp
call fcn.0058dd70
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebp
mov dword [esp + 0x88], eax
call fcn.0058de00
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.0058de00
add esp, 0x20
mov dword [esp + 0x30], eax
jmp 0x58a70a
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x74]
push edx
push ebp
push eax
call fcn.0058e260
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x74]
push ecx
push ebp
push edx
mov dword [esp + 0x20], eax
call fcn.0058e320
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
push eax
push ebp
push ecx
call fcn.0058e320
add esp, 0x24
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
lea ecx, [eax + edx]
mov eax, dword [esp + 0x74]
cmp eax, ecx
jae 0x58ab6a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [edi]
push ecx
push eax
push str.symbol_is_a_refinement_of_id__d_with_the_refinement_applied_at___d__d_
push edx
push 0
push esi
call fcn.00587d80
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push esi
call fcn.005890b0
mov edx, dword [ebx + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x9c]
add esp, 0x28
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x88], edx
jae 0x58a76d
mov ecx, dword [ebx + 0xc]
jmp 0x58a775
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x70]
push ecx
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x38]
push ebp
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x94]
push eax
push edi
push esi
mov dword [esp + 0xb0], 0
call fcn.0058b590
add esp, 0x18
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 4]
mov dword [edx + eax*4], ebp
mov ebp, dword [esp + 0x18]
cmp dword [ebx], 0
je 0x58a7f2
cmp dword [ebx + 4], 0
jne 0x58a7f2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
mov dword [ecx + edx*4], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [edi]
push ebp
push ecx
push edx
push str.decoded_symbol__d_of__d___dx_d_
push eax
push 0
push esi
call fcn.00587d80
mov eax, dword [esp + 0x2c]
add eax, 1
add esp, 0x20
cmp eax, dword [ebx + 0x10]
mov dword [esp + 0xc], eax
jbe 0x58a513
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
push ecx
push str.No_OOB_signalling_end_of_height_class__d
push edx
push 2
jmp 0x58a848
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
push eax
push str._OOB_signals_end_of_height_class__d
push ecx
push 0
push esi
call fcn.00587d80
add esp, 0x14
cmp dword [ebx], 0
je 0x58aa51
cmp dword [ebx + 4], 0
jne 0x58aa51
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
push eax
push ecx
call fcn.0058de00
add esp, 0xc
cmp dword [esp + 8], 0
mov ebp, eax
jne 0x58ab0f
test ebp, ebp
jl 0x58ab0f
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058dc60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call fcn.005890b0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x58aaee
test ebp, ebp
jne 0x58a968
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058dd60
add eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov ecx, eax
and cl, 7
neg cl
mov edx, eax
sbb ecx, ecx
neg ecx
sar edx, 3
add edx, ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 4]
mov ebp, ecx
imul ebp, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
sub edx, dword [esp + 0x2c]
push ebp
push edx
push ecx
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push str.reading__dx_d_uncompressed_bitmap_for__d_symbols___d_bytes_
push ecx
push 0
push esi
call fcn.00587d80
add esp, 0x24
cmp dword [edi + 4], 0
mov dword [esp + 0x44], 0
jle 0x58a9d4
nop
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.00450150
mov eax, dword [esp + 0x24]
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov edx, dword [edi + 8]
add dword [esp + 0x1c], edx
add eax, 1
add esp, 0xc
cmp eax, dword [edi + 4]
mov dword [esp + 0x44], eax
jl 0x58a930
jmp 0x58a9d4
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x28]
mov edx, dword [edi + 4]
mov eax, dword [edi]
push ebp
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ecx]
push eax
push str.reading__dx_d_collective_bitmap_for__d_symbols___d_bytes_
push edx
push 0
push esi
call fcn.00587d80
mov eax, dword [esp + 0x3c]
add esp, 0x20
push edi
push ebp
push eax
mov dword [esp + 0x94], 1
call fcn.0058dd60
add eax, dword [esp + 0x88]
mov edx, dword [esp + 0x20]
add esp, 4
push eax
lea ecx, [esp + 0x94]
push ecx
push edx
push esi
call fcn.0058ebe0
add esp, 0x18
test eax, eax
mov dword [esp + 8], eax
jne 0x58aaff
mov eax, dword [esp + 0x1c]
push ebp
push eax
call fcn.0058dce0
mov ebp, dword [esp + 0x30]
add esp, 8
cmp ebp, dword [esp + 0xc]
mov dword [esp + 0x10], 0
jae 0x58aa43
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebp*4]
push ecx
push eax
push esi
call fcn.005890b0
mov ecx, dword [esp + 0x1c]
push 4
push 0
neg ecx
push ecx
push edi
push eax
push esi
mov dword [esp + 0x68], eax
call fcn.00589a10
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + ebp*4]
add dword [esp + 0x34], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x68]
mov dword [edx + ebp*4], eax
add ebp, 1
add esp, 0x24
cmp ebp, dword [esp + 0xc]
jb 0x58a9f4
push edi
push esi
call fcn.005892e0
mov edi, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x10]
jb 0x58a3f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
push ecx
push edx
call fcn.00587cf0
mov eax, dword [esi]
mov ebp, dword [ebx + 0x14]
push 8
push eax
call fcn.00587ce0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x58ab99
mov ecx, dword [esi]
lea eax, [ebp*4]
push eax
push ecx
mov dword [esp + 0x78], eax
call fcn.00587ce0
add esp, 8
test eax, eax
mov dword [edi + 4], eax
mov dword [edi], ebp
je 0x58ab8d
mov edx, dword [esp + 0x70]
push edx
push 0
push eax
call fcn.0044dac0
add esp, 0xc
mov dword [esp + 0x18], edi
jmp 0x58aba1
mov edx, dword [edi]
push str.Invalid_HCHEIGHT_value
push edx
push 3
push esi
call fcn.00587d80
add esp, 0x10
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0044abb9
add esp, 0x9c
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push str.could_not_allocate_collective_bitmap_image_
push ecx
jmp 0x58a476
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push str.error_decoding_MMR_bitmap_image_
jmp 0x58a475
mov ecx, dword [edi]
push str.error_decoding_size_of_collective_bitmap_
push ecx
jmp 0x58a476
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
add edx, 1
push edx
push ebp
push str.Invalid_SYMWIDTH_value___d__at_symbol__d
push eax
push 3
push esi
call fcn.00587d80
add esp, 0x18
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0044abb9
add esp, 0x9c
ret
mov ecx, dword [edi]
push eax
push str.aggregate_coding_with_REFAGGNINST_d
push ecx
push 3
push esi
call fcn.00587d80
add esp, 0x14
jmp 0x58a481
mov edx, dword [edi]
push eax
push str.refinement_references_unknown_symbol__d
push edx
push 3
push esi
call fcn.00587d80
add esp, 0x14
jmp 0x58a481
push str.invalid_number_of_symbols_or_OOB_in_aggregate_glyph
jmp 0x58a473
mov eax, dword [esi]
push edi
push eax
call fcn.00587cf0
add esp, 8
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0xc]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], ebp
je 0x58abba
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
jmp 0x58abbe
mov dword [esp + 0x28], ebp
mov eax, dword [ebx + 0x14]
cmp eax, ebp
jbe 0x58ac85
lea esp, [esp]
cmp dword [ebx], 0
je 0x58abdb
mov dword [esp + 0x10], eax
jmp 0x58abf6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0058e320
add esp, 0xc
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
jle 0x58ac6b
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x28]
add edi, edi
add edi, edi
cmp dword [esp + 0x30], 0
je 0x58ac5a
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x14], edx
jge 0x58ac31
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
jmp 0x58ac3b
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi]
push eax
push esi
call fcn.00589150
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
add dword [esp + 0x1c], 1
mov dword [edx + ebp*4], eax
add esp, 8
add ebp, 1
add edi, 4
mov eax, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
jl 0x58ac11
xor eax, eax
cmp dword [esp + 0x30], eax
sete al
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
cmp ebp, eax
jb 0x58abd0
xor ebp, ebp
mov ecx, dword [esp + 0x34]
push ecx
push esi
call fcn.0058a0a0
add esp, 8
cmp dword [ebx], ebp
jne 0x58ad01
mov edx, dword [esp + 0x64]
push edx
push esi
call fcn.0058e470
mov eax, dword [esp + 0x60]
push eax
push esi
call fcn.0058e470
mov ecx, dword [esp + 0x58]
push ecx
push esi
call fcn.0058e470
mov edx, dword [esp + 0x78]
push edx
push esi
call fcn.0058e470
add esp, 0x20
cmp dword [ebx + 4], ebp
je 0x58acef
mov eax, dword [esp + 0x50]
push eax
push esi
call fcn.0058e2c0
mov ecx, dword [esp + 0x5c]
push ecx
push esi
call fcn.0058e470
mov edx, dword [esp + 0x5c]
push edx
push esi
call fcn.0058e470
add esp, 0x18
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00587cf0
add esp, 8
jmp 0x58ad31
cmp dword [ebx + 4], ebp
je 0x58ad16
mov edx, dword [esp + 0x38]
mov eax, dword [esi]
push edx
push eax
call fcn.00587cf0
add esp, 8
mov ecx, dword [esp + 0x40]
push ecx
push esi
call fcn.0058e1f0
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
push edx
push eax
call fcn.00587cf0
add esp, 0x10
mov ecx, dword [esp + 0x84]
push ecx
push esi
call fcn.005884c0
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop ebp
xor ecx, esp
call fcn.0044abb9
add esp, 0x9c
ret