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

Disassembly:
sub esp, 0x27c
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x278], eax
mov eax, dword [esp + 0x284]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x288]
push ebp
mov ebp, dword [esp + 0x284]
push esi
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x29c]
xor esi, esi
cmp ecx, eax
push edi
mov edi, dword [esp + 0x298]
mov dword [esp + 0xa8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], esi
jbe 0x58ca66
lea ecx, [ecx]
mov edx, dword [esp + 0x54]
mov edx, dword [edx + eax*4]
add esi, dword [edx]
add eax, 1
cmp eax, ecx
jb 0x58ca50
mov dword [esp + 0x28], esi
xor eax, eax
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push esi
push str.symbol_list_contains__d_glyphs_in__d_dictionaries
push edx
push eax
push ebp
call fcn.00587d80
mov eax, dword [esp + 0x2b4]
push eax
push edi
push ebp
call fcn.00588490
add esp, 0x24
cmp dword [ebx], 0
mov dword [esp + 0x84], eax
jne 0x58cb68
push eax
push ebp
call fcn.0058ed30
push ebp
mov dword [esp + 0x2c], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x48], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x6c], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x58], eax
call fcn.0058e2f0
add esp, 0x18
xor ecx, ecx
cmp esi, 1
mov dword [esp + 0x44], eax
jbe 0x58caee
lea ebx, [ebx]
add ecx, 1
mov edx, 1
shl edx, cl
cmp edx, esi
jb 0x58cae0
push ecx
push ebp
call fcn.0058e220
push ebp
mov dword [esp + 0x58], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x4c], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x70], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x7c], eax
call fcn.0058e2f0
push ebp
mov dword [esp + 0x88], eax
call fcn.0058e2f0
mov esi, dword [esp + 0x3c]
add esp, 0x1c
mov dword [esp + 0x74], eax
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x10]
push edx
push eax
push ebp
call fcn.00589200
add esp, 0xc
cmp dword [ebx], 0
je 0x58cef7
mov edx, dword [ebx + 0x30]
lea ecx, [esp + 0xc]
push ecx
push edx
push edi
call fcn.0058de00
jmp 0x58cf0f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push str.huffman_coded_text_region
push ecx
push 0
push ebp
call fcn.00587d80
mov edx, dword [esp + 0x94]
push edx
push ebp
call fcn.0058dc10
add esp, 0x18
mov dword [esp + 0x10], eax
xor esi, esi
lea edi, [esp + 0xcc]
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
push 4
push eax
call fcn.0058dd70
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
push esi
push str.__read_runcode_d_length__d
push edx
push 0
push ebp
mov dword [edi - 4], eax
mov dword [edi], 0
mov dword [edi + 4], esi
call fcn.00587d80
add esi, 1
add esp, 0x20
add edi, 0xc
cmp esi, 0x23
jb 0x58cba0
lea ecx, [esp + 0xbc]
push ecx
lea eax, [esp + 0xcc]
xor esi, esi
push ebp
mov dword [esp + 0xc4], esi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], 0x23
call fcn.0058df10
add esp, 8
cmp eax, esi
mov dword [esp + 0x2c], eax
jne 0x58cc49
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push str.error_constructing_symbol_id_runcode_table_
push eax
push 3
push ebp
call fcn.00587d80
add esp, 0x10
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret
mov eax, dword [esp + 0x28]
mov edx, dword [ebp]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
push ecx
push edx
call fcn.00587ce0
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x1c], edi
jne 0x58cc9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push str.memory_allocation_failure_reading_symbol_ID_huffman_table_
push ecx
push 3
push ebp
call fcn.00587d80
add esp, 0x10
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret
cmp dword [esp + 0x28], esi
jbe 0x58cdf2
mov edi, dword [esp + 0x90]
mov edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x80]
push edx
push eax
push ecx
call fcn.0058de00
add esp, 0xc
cmp dword [esp + 0x80], 0
mov dword [esp + 0x30], eax
jne 0x58ceb6
test eax, eax
jl 0x58ceb6
cmp eax, 0x23
jge 0x58ceb6
cmp eax, 0x20
jge 0x58ccfd
mov dword [esp + 0x18], eax
mov edi, 1
jmp 0x58cd64
cmp esi, 1
jb 0x58ce84
cmp eax, 0x20
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*2]
mov edx, dword [ecx + edx*4 - 0xc]
mov dword [esp + 0x18], edx
jne 0x58cd30
mov eax, dword [esp + 0x10]
push 2
push eax
call fcn.0058dd70
mov edi, eax
add esp, 8
add edi, 2
jmp 0x58cd64
cmp eax, 0x21
jne 0x58cd4b
mov ecx, dword [esp + 0x10]
push 3
push ecx
call fcn.0058dd70
mov edi, eax
add esp, 8
add edi, 3
jmp 0x58cd64
cmp eax, 0x22
jne 0x58cd64
mov edx, dword [esp + 0x10]
push 7
push edx
call fcn.0058dd70
mov edi, eax
add esp, 8
add edi, 0xb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push eax
mov eax, dword [edx]
push esi
push ecx
push str.__read_runcode_d_at_index__d__length__d_range__d_
push eax
push 0
push ebp
call fcn.00587d80
lea ecx, [edi + esi]
add esp, 0x20
cmp ecx, dword [esp + 0x28]
jbe 0x58cdb4
sub edi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
add edi, esi
push edi
push str.runlength_extends__d_entries_beyond_the_end_of_symbol_id_table_
push eax
push 2
push ebp
call fcn.00587d80
mov edi, dword [esp + 0x3c]
add esp, 0x14
sub edi, esi
xor ecx, ecx
test edi, edi
jle 0x58cde2
mov eax, dword [esp + 0x1c]
lea edx, [esi + esi*2]
lea eax, [eax + edx*4 + 8]
mov edx, dword [esp + 0x18]
mov dword [eax - 8], edx
lea edx, [ecx + esi]
mov dword [eax - 4], 0
mov dword [eax], edx
add ecx, 1
add eax, 0xc
cmp ecx, edi
jl 0x58cdc5
add esi, ecx
cmp esi, dword [esp + 0x28]
jb 0x58ccb0
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
push edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ecx
call fcn.0058dc60
lea eax, [esp + 0xb4]
push eax
push ebp
call fcn.0058df10
mov ecx, dword [ebp]
push edi
push ecx
mov dword [esp + 0x44], eax
call fcn.00587cf0
mov edx, dword [esp + 0x40]
push edx
push ebp
call fcn.0058e1f0
add esp, 0x1c
cmp dword [esp + 0x30], 0
jne 0x58cb35
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push str.could_not_construct_Symbol_ID_huffman_table_
push ecx
push 3
push ebp
call fcn.00587d80
add esp, 0x10
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push str.error_decoding_symbol_id_table:_run_length_with_no_antecedent_
push ecx
push 3
push ebp
call fcn.00587d80
add esp, 0x10
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push str.error_reading_symbol_ID_huffman_table_
push eax
push 3
push ebp
call fcn.00587d80
mov eax, dword [esp + 0x90]
add esp, 0x10
test eax, eax
jne 0x58d52f
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
push esi
push ecx
call fcn.0058e320
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + 0x24]
imul edx, eax
xor eax, eax
neg edx
add esp, 0xc
cmp dword [ebx + 0x1c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x2c], eax
jbe 0x58d44f
cmp dword [ebx], 0
je 0x58cf4a
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edi
call fcn.0058de00
jmp 0x58cf65
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x78]
push edx
push esi
push eax
call fcn.0058e320
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [ebx + 0x24]
imul ecx, eax
add esp, 0xc
add dword [esp + 0x34], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x9c], 1
cmp dword [esp + 0x9c], 0
je 0x58cfe8
cmp dword [ebx], 0
je 0x58cfa8
mov edx, dword [ebx + 0x28]
lea ecx, [esp + 0xc]
push ecx
push edx
push edi
call fcn.0058de00
mov dword [esp + 0xa0], eax
jmp 0x58cfbf
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x94]
push eax
push esi
push ecx
call fcn.0058e320
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x94]
add esp, 0xc
add eax, dword [esp + 0x94]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], eax
jmp 0x58d038
cmp dword [ebx], 0
je 0x58d005
mov eax, dword [ebx + 0x2c]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call fcn.0058de00
mov dword [esp + 0xb0], eax
jmp 0x58d01c
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xa4]
push ecx
push esi
push edx
call fcn.0058e320
mov dword [esp + 0x18], eax
add esp, 0xc
cmp dword [esp + 0xc], 0
jne 0x58d442
mov eax, dword [ebx + 0x18]
add eax, dword [esp + 0xa4]
add dword [esp + 0x24], eax
cmp dword [ebx + 0x24], 1
jne 0x58d048
mov dword [esp + 0x50], 0
jmp 0x58d077
cmp dword [ebx], 0
je 0x58d060
mov ecx, dword [ebx + 0x20]
push ecx
push edi
call fcn.0058dd70
add esp, 8
mov dword [esp + 0x50], eax
jmp 0x58d077
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x50]
push edx
push esi
push eax
call fcn.0058e320
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [ebx], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
lea edi, [edx + ecx]
je 0x58d0a1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
call fcn.0058de00
mov dword [esp + 0x7c], eax
jmp 0x58d0bd
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.0058e260
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp eax, ecx
jae 0x58d467
mov esi, dword [esp + 0x54]
mov edx, dword [esi]
mov edx, dword [edx]
xor ecx, ecx
cmp dword [esp + 0x70], edx
jb 0x58d0ef
lea esp, [esp]
sub eax, edx
mov edx, dword [esi + ecx*4 + 4]
mov edx, dword [edx]
add ecx, 1
cmp eax, edx
jae 0x58d0e0
mov edx, esi
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*4]
push eax
push ebp
call fcn.00589150
add esp, 8
cmp dword [ebx + 4], 0
mov esi, eax
je 0x58d1df
cmp dword [ebx], 0
je 0x58d1bf
mov ecx, dword [esp + 0x10]
push 1
push ecx
call fcn.0058dd70
add esp, 8
mov dword [esp + 0x68], eax
cmp dword [esp + 0x68], 0
je 0x58d339
cmp dword [ebx], 0
mov dword [esp + 0x8c], 0
jne 0x58d1ec
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
call fcn.0058e320
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.0058e320
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0xb8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.0058e320
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.0058e320
add esp, 0x30
mov dword [esp + 0xc], eax
jmp 0x58d275
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call fcn.0058e320
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x58d12c
mov dword [esp + 0x68], 0
jmp 0x58d339
mov eax, dword [ebx + 0x34]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call fcn.0058de00
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x38]
push edx
push eax
push ecx
call fcn.0058de00
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x3c]
push edx
push eax
push ecx
call fcn.0058de00
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
mov dword [esp + 0xc4], eax
mov eax, dword [ebx + 0x40]
push edx
push eax
push ecx
call fcn.0058de00
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x3c]
mov dword [esp + 0xc8], eax
mov eax, dword [ebx + 0x44]
push edx
push eax
push ecx
call fcn.0058de00
mov edx, dword [esp + 0x4c]
push edx
mov dword [esp + 0xcc], eax
call fcn.0058dc60
add esp, 0x40
mov eax, dword [esi + 4]
add eax, dword [esp + 0x60]
mov ecx, dword [esi]
add ecx, dword [esp + 0x48]
push eax
push ecx
push ebp
mov dword [esp + 0x9c], esi
call fcn.005890b0
mov edx, dword [ebx + 0x48]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x278], edx
mov edx, dword [esp + 0x6c]
sar edx, 1
add edx, dword [esp + 0xa4]
sar ecx, 1
add ecx, dword [esp + 0xac]
mov dword [esp + 0x284], edx
mov edx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x24]
push eax
mov dword [esp + 0x288], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x298], ecx
lea ecx, [esp + 0x284]
push ecx
push edx
push ebp
mov dword [esp + 0x294], esi
mov dword [esp + 0x2a0], 0
call fcn.0058b590
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xd0]
push eax
push ebp
call fcn.005892e0
add esp, 0x2c
cmp dword [ebx], 0
je 0x58d339
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0058dce0
add esp, 8
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x58d35a
cmp dword [ebx + 0x14], 1
jle 0x58d356
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
lea eax, [edx + eax - 1]
mov dword [esp + 0x24], eax
jmp 0x58d375
test ecx, ecx
je 0x58d371
test byte [ebx + 0x14], 1
jne 0x58d371
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 4]
lea eax, [edx + eax - 1]
mov dword [esp + 0x24], eax
jmp 0x58d375
mov eax, dword [esp + 0x24]
test ecx, ecx
mov ecx, dword [ebx + 0x14]
jne 0x58d3b6
cmp ecx, 3
ja case.default.0x58d3bb
jmp dword [ecx*4 + 0x58d548]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jmp case.default.0x58d3bb
sub eax, dword [esi]
mov dword [esp + 0x1c], edi
add eax, 1
mov dword [esp + 0x18], eax
jmp case.default.0x58d3bb
sub eax, dword [esi]
add eax, 1
sub edi, dword [esi + 4]
mov dword [esp + 0x18], eax
add edi, 1
mov dword [esp + 0x1c], edi
jmp case.default.0x58d3bb
cmp ecx, 3
ja case.default.0x58d3bb
jmp dword [ecx*4 + 0x58d558]
sub eax, dword [esi]
add eax, 1
jmp case.0x58d3bb.1
sub eax, dword [esi]
add eax, 1
sub edi, dword [esi + 4]
add edi, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
push esi
push eax
push ebp
call fcn.00589a10
mov eax, dword [ebx + 0x10]
add esp, 0x18
test eax, eax
jne 0x58d411
cmp dword [ebx + 0x14], 2
jge 0x58d40d
mov ecx, dword [esi]
jmp 0x58d41a
test eax, eax
je 0x58d426
test byte [ebx + 0x14], 1
je 0x58d426
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x24], eax
add dword [esp + 0x2c], 1
push esi
push ebp
call fcn.005892e0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x58cf81
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [ebx + 0x1c]
jb 0x58cf34
cmp dword [ebx], 0
je 0x58d498
mov ecx, dword [esp + 0x30]
push ecx
push ebp
call fcn.0058e1f0
add esp, 8
jmp 0x58d52d
mov edx, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [edx]
push str.symbol_id_out_of_range____d__d_
push eax
push 3
push ebp
call fcn.00587d80
add esp, 0x18
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret
mov edx, dword [esp + 0x38]
push edx
push ebp
call fcn.0058e470
mov eax, dword [esp + 0x60]
push eax
push ebp
call fcn.0058e470
mov ecx, dword [esp + 0x50]
push ecx
push ebp
call fcn.0058e470
mov edx, dword [esp + 0x5c]
push edx
push ebp
call fcn.0058e470
mov eax, dword [esp + 0x6c]
push eax
push ebp
call fcn.0058e2c0
mov ecx, dword [esp + 0x64]
push ecx
push ebp
call fcn.0058e470
mov edx, dword [esp + 0x8c]
push edx
push ebp
call fcn.0058e470
mov eax, dword [esp + 0x9c]
push eax
push ebp
call fcn.0058e470
mov ecx, dword [esp + 0xac]
add esp, 0x40
push ecx
push ebp
call fcn.0058e470
mov edx, dword [esp + 0x7c]
push edx
push ebp
call fcn.0058e470
mov eax, dword [ebp]
push esi
push eax
call fcn.00587cf0
mov ecx, dword [esp + 0x9c]
push ecx
push ebp
call fcn.005884c0
add esp, 0x20
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0044abb9
add esp, 0x27c
ret