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

Disassembly:
sub esp, 0x254
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x25c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x268]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x26c]
push ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x274]
push ebp
mov ebp, dword [esp + 0x268]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x27c]
push esi
mov esi, dword [esp + 0x264]
mov ebx, ecx
push edi
mov edi, dword [esp + 0x274]
mov dword [esp + 0x44], eax
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
cmp ebx, 2
jl 0x57bee9
lea esp, [esp]
mov esi, dword [edi + eax*4]
add ecx, dword [esi]
mov esi, dword [edi + eax*4 + 4]
add edx, dword [esi]
add eax, 2
lea esi, [ebx - 1]
cmp eax, esi
jb 0x57bed0
mov esi, dword [esp + 0x14]
cmp eax, ebx
jae 0x57bef6
mov eax, dword [edi + eax*4]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x1c]
push ebx
add eax, edx
mov edx, dword [ecx]
push eax
push str.symbol_list_contains__d_glyphs_in__d_dictionaries
push edx
push 0
push esi
mov dword [esp + 0x44], eax
call fcn.005632b0
add esp, 0x18
cmp dword [ebp], 0
je 0x57c300
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push str.huffman_coded_text_region
xor eax, eax
push edx
push eax
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
call fcn.005632b0
mov edi, dword [esp + 0x54]
add esp, 0x10
mov ebx, esi
call fcn.00575140
mov dword [esp + 0x18], eax
test eax, eax
jne 0x57bf77
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push str.failed_to_allocate_storage_for_text_region
push ecx
push 2
push esi
call fcn.005632b0
add esp, 0x10
or eax, 0xffffffff
jmp 0x57cba8
xor ebx, ebx
lea edi, [esp + 0xb4]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov eax, 4
call fcn.00575340
add esp, 4
cmp dword [esp + 0x10], 0
mov dword [edi - 4], eax
jl 0x57c236
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ebx
push str.__read_runcode_d_length__d
push ecx
push 0
push esi
mov dword [edi], 0
mov dword [edi + 4], ebx
call fcn.005632b0
inc ebx
add esp, 0x18
add edi, 0xc
cmp ebx, 0x23
jb 0x57bf80
lea eax, [esp + 0x98]
push eax
lea edx, [esp + 0xb4]
xor ebx, ebx
push esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], 0x23
call fcn.005755b0
add esp, 8
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x57c032
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push str.error_constructing_symbol_id_runcode_table_
push edx
push 3
push esi
call fcn.005632b0
add esp, 0x10
mov dword [esp + 0x10], 0xffffffff
jmp 0x57c236
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
cmp edi, 0x15555540
jb 0x57c052
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push str.memory_allocation_failure_reading_symbol_ID_huffman_table_
mov dword [esp + 0x28], ebx
push ecx
jmp 0x57c01a
mov edx, dword [eax]
lea ecx, [edi + edi*2]
add ecx, ecx
add ecx, ecx
push ecx
push eax
call edx
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x57c078
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push str.memory_allocation_failure_reading_symbol_ID_huffman_table_
push ecx
jmp 0x57c01a
cmp edi, ebx
jbe 0x57c1f7
mov edi, dword [esp + 0x8c]
jmp 0x57c090
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
call fcn.00575420
mov esi, dword [esp + 0x24]
xor ecx, ecx
add esp, 4
mov dword [esp + 0x10], eax
cmp esi, ecx
jne 0x57c2d4
cmp eax, ecx
jl 0x57c2d4
cmp eax, 0x23
jge 0x57c2d4
cmp eax, 0x20
jge 0x57c0d9
mov dword [esp + 0x38], eax
lea edi, [ecx + 1]
jmp 0x57c160
jne 0x57c0f5
cmp ebx, 1
jb 0x57c2ac
mov esi, dword [esp + 0x24]
lea edx, [ebx + ebx*2]
mov edx, dword [esi + edx*4 - 0xc]
mov dword [esp + 0x38], edx
jmp 0x57c0f9
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ecx
cmp eax, 0x20
jne 0x57c11a
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
mov eax, 2
call fcn.00575340
lea edi, [eax + 3]
jmp 0x57c152
cmp eax, 0x21
jne 0x57c137
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov eax, 3
call fcn.00575340
lea edi, [eax + 3]
jmp 0x57c152
cmp eax, 0x22
jne 0x57c160
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov eax, 7
call fcn.00575340
lea edi, [eax + 0xb]
add esp, 4
cmp dword [esp + 0x20], 0
jl 0x57c236
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push edi
push esi
push ebx
push eax
mov eax, dword [esp + 0x24]
push str.__read_runcode_d_at_index__d__length__d_range__d_
push edx
push 0
push eax
call fcn.005632b0
lea ecx, [edi + ebx]
add esp, 0x20
cmp ecx, dword [esp + 0x2c]
jbe 0x57c1b8
sub edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
add edi, ebx
push edi
push str.runlength_extends__d_entries_beyond_the_end_of_symbol_id_table_
push eax
push 2
push ecx
call fcn.005632b0
mov edi, dword [esp + 0x40]
add esp, 0x14
sub edi, ebx
xor ecx, ecx
test edi, edi
jle 0x57c1e7
mov eax, dword [esp + 0x24]
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*4 + 8]
lea esp, [esp]
lea edx, [ecx + ebx]
mov dword [eax - 8], esi
mov dword [eax - 4], 0
mov dword [eax], edx
inc ecx
add eax, 0xc
cmp ecx, edi
jl 0x57c1d0
add ebx, ecx
cmp ebx, dword [esp + 0x2c]
jb 0x57c090
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edi
call fcn.005751e0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x98]
push ecx
push edx
call fcn.005755b0
add esp, 8
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov esi, dword [esp + 0x3c]
add esp, 8
test esi, esi
je 0x57c26a
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov eax, dword [edi]
push esi
push eax
mov eax, dword [eax + 4]
call eax
add esp, 0x10
cmp dword [esp + 0x40], 0
jne 0x57c300
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push str.could_not_construct_Symbol_ID_huffman_table_
push edx
mov eax, edi
push 3
push eax
call fcn.005632b0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00658a01
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
jne 0x57cba8
or eax, 0xffffffff
jmp 0x57cba8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push str.error_decoding_symbol_id_table:_run_length_with_no_antecedent_
push ecx
push 3
push edx
call fcn.005632b0
add esp, 0x10
mov dword [esp + 0x10], 0xffffffff
jmp 0x57c236
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push str.error_reading_symbol_ID_huffman_table_
push ecx
push 3
push edx
call fcn.005632b0
add esp, 0x10
test esi, esi
je 0x57c025
mov dword [esp + 0x10], esi
jmp 0x57c236
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 8]
imul edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
neg ecx
push edx
mov edx, dword [eax + 0xc]
sbb ecx, ecx
and ecx, 0xff
push ecx
push edx
call fcn.0065b340
add esp, 0xc
cmp dword [ebp], 0
je 0x57c349
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x30]
call fcn.00575420
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x57c369
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 0x48]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.0057eae0
mov ebx, eax
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x57cb6b
mov ecx, dword [ebp + 0x24]
imul ecx, eax
xor eax, eax
neg ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
cmp dword [ebp + 0x1c], eax
jbe 0x57cb6b
cmp dword [ebp], 0
je 0x57c3b0
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00575420
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x57c3d3
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x48]
lea edx, [esp + 0x78]
push edx
push eax
push ecx
call fcn.0057eae0
mov ebx, eax
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x57cb6b
mov ecx, dword [ebp + 0x24]
imul ecx, eax
add dword [esp + 0x34], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x90], 1
cmp dword [esp + 0x90], 0
je 0x57c463
cmp dword [ebp], 0
je 0x57c422
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
call fcn.00575420
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x7c], eax
jmp 0x57c43e
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x4c]
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
call fcn.0057eae0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x57cb6b
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x7c]
mov dword [esp + 0x90], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], eax
jmp 0x57c4c3
mov esi, dword [esp + 0x54]
cmp esi, dword [ebp + 0x1c]
ja 0x57ca4b
cmp dword [ebp], 0
je 0x57c494
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x2c]
call fcn.00575420
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x70], eax
jmp 0x57c4b0
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 0x50]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call fcn.0057eae0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x57ca6d
mov ecx, dword [ebp + 0x18]
add ecx, dword [esp + 0x70]
add dword [esp + 0x30], ecx
cmp dword [ebp + 0x24], 1
jne 0x57c4d3
mov dword [esp + 0x4c], 0
jmp 0x57c513
cmp dword [ebp], 0
je 0x57c4f7
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
call fcn.00575340
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x4c], eax
jmp 0x57c513
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x54]
lea eax, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.0057eae0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
xor esi, esi
cmp ebx, esi
jl 0x57cb6b
mov ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
cmp dword [ebp], esi
je 0x57c54d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
call fcn.00575420
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
jmp 0x57c56e
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebp + 0x58]
call fcn.0057e980
mov ebx, eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], ebx
add esp, 4
cmp ebx, esi
jl 0x57cb6b
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x57ca7b
mov edi, dword [esp + 0x8c]
mov ebx, dword [edi]
mov ebx, dword [ebx]
xor edx, edx
mov ecx, eax
cmp eax, ebx
jb 0x57c5ad
mov eax, ebx
lea ebx, [ebx]
sub ecx, eax
mov eax, dword [edi + edx*4 + 4]
mov eax, dword [eax]
inc edx
cmp ecx, eax
jae 0x57c5a0
mov eax, dword [edi + edx*4]
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x38], edi
cmp edi, esi
je 0x57ca9f
inc dword [edi + 0x10]
cmp edi, esi
je 0x57ca9f
cmp dword [ebp + 4], esi
je 0x57c6b2
cmp dword [ebp], esi
je 0x57c5fd
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov eax, 1
call fcn.00575340
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x50], eax
xor esi, esi
jmp 0x57c615
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x5c]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
call fcn.0057eae0
add esp, 0xc
mov ebx, eax
cmp ebx, esi
jl 0x57cb6b
cmp dword [esp + 0x50], esi
je 0x57c8b7
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x64], esi
cmp dword [ebp], esi
jne 0x57c6bb
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x60]
lea edx, [esp + 0x60]
push edx
push esi
push eax
call fcn.0057eae0
mov edx, dword [ebp + 0x64]
add esp, 0xc
lea ecx, [esp + 0x94]
push ecx
push esi
push edx
mov dword [esp + 0x1c], eax
call fcn.0057eae0
mov ecx, dword [ebp + 0x68]
add esp, 0xc
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x6c]
push eax
push esi
push ecx
call fcn.0057eae0
add esp, 0xc
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x6c]
push esi
push eax
call fcn.0057eae0
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0xa0]
add esp, 0xc
jmp 0x57c747
mov dword [esp + 0x50], esi
jmp 0x57c8b7
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x34]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00575420
mov edi, eax
mov eax, dword [ebp + 0x38]
lea edx, [esp + 0x60]
add esp, 4
push edx
mov ecx, esi
mov dword [esp + 0x64], edi
call fcn.00575420
mov ebx, eax
lea eax, [esp + 0x5c]
add esp, 4
push eax
mov eax, dword [ebp + 0x3c]
mov ecx, esi
mov dword [esp + 0x98], ebx
call fcn.00575420
lea ecx, [esp + 0x84]
add esp, 4
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x40]
push ecx
mov ecx, esi
call fcn.00575420
lea edx, [esp + 0x68]
add esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x44]
push edx
mov ecx, esi
call fcn.00575420
add esp, 4
mov dword [esp + 0x44], eax
call fcn.005751e0
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
jl 0x57cb2a
cmp dword [esp + 0x5c], 0
jl 0x57cb2a
cmp dword [esp + 0x58], 0
jl 0x57cb2a
test eax, eax
js 0x57cb2a
cmp dword [esp + 0x64], 0
jl 0x57cb2a
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
add ecx, ebx
push ecx
add edx, edi
push edx
call fcn.0056f730
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x57cac3
mov eax, dword [ebp + 0x70]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x74]
push 0
push eax
sar ebx, 1
add ebx, dword [esp + 0x7c]
sar edi, 1
add edi, dword [esp + 0x74]
push ebx
push edi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax]
push str.decoding_generic_refinement_region_with_offset__d__x__GRTEMPLATE_d__TPGRON_d
push ecx
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x2c]
push 0
push edx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], 0
call fcn.005632b0
add esp, 0x20
cmp dword [esp + 0xa8], 0
je 0x57c830
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.00578df0
add esp, 0xc
jmp 0x57c871
cmp dword [esp + 0x98], 0
je 0x57c856
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
lea eax, [esp + 0xa4]
call fcn.00578190
add esp, 0xc
jmp 0x57c871
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0xa0]
push esi
push ecx
call fcn.00577ce0
add esp, 0x10
mov edi, dword [esp + 0x10]
mov ebx, eax
test eax, eax
js 0x57cb4a
mov esi, dword [esp + 0x38]
dec dword [esi + 0x10]
jne 0x57c8a4
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
push edx
push eax
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push esi
push eax
call ecx
add esp, 0x10
cmp dword [ebp], 0
je 0x57c8b7
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
call fcn.00575280
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x57c8d8
cmp dword [ebp + 0x14], 1
jle 0x57c8d4
mov ecx, dword [esp + 0x30]
mov edx, dword [edi]
lea esi, [ecx + edx - 1]
mov dword [esp + 0x30], esi
jmp 0x57c8f3
test eax, eax
je 0x57c8ef
test byte [ebp + 0x14], 1
jne 0x57c8ef
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 4]
lea esi, [ecx + edx - 1]
mov dword [esp + 0x30], esi
jmp 0x57c8f3
mov esi, dword [esp + 0x30]
test eax, eax
mov eax, dword [ebp + 0x14]
jne 0x57c95e
cmp eax, 3
ja case.default.0x57c963
jmp dword [eax*4 + 0x57cbc4]
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x57c9c0
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub ecx, dword [edi]
mov dword [esp + 0x24], eax
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x57c9c0
mov eax, dword [esp + 0x3c]
sub eax, dword [edi + 4]
mov ecx, esi
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x57c9c0
mov eax, dword [esp + 0x3c]
sub eax, dword [edi + 4]
mov ecx, esi
sub ecx, dword [edi]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x57c9c0
cmp eax, 3
ja case.default.0x57c963
jmp dword [eax*4 + 0x57cbd4]
mov ecx, dword [esp + 0x3c]
mov eax, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x57c9c0
mov ecx, dword [esp + 0x3c]
sub ecx, dword [edi]
mov eax, esi
inc ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x57c9c0
mov ecx, dword [esp + 0x3c]
mov eax, esi
sub eax, dword [edi + 4]
mov dword [esp + 0x20], ecx
inc eax
mov dword [esp + 0x24], eax
jmp 0x57c9c0
mov ecx, dword [esp + 0x3c]
sub ecx, dword [edi]
mov eax, esi
sub eax, dword [edi + 4]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x57c9c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x84]
push edi
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
call fcn.0056ff90
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x57cb46
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x57ca04
cmp dword [ebp + 0x14], 2
jge 0x57ca00
mov eax, dword [edi]
lea ecx, [esi + eax - 1]
mov dword [esp + 0x30], ecx
jmp 0x57ca15
test eax, eax
je 0x57ca15
test byte [ebp + 0x14], 1
je 0x57ca15
mov edx, dword [edi + 4]
lea eax, [esi + edx - 1]
mov dword [esp + 0x30], eax
inc dword [esp + 0x54]
test edi, edi
je 0x57c3f4
dec dword [edi + 0x10]
jne 0x57c3f4
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov eax, dword [esi]
push edi
push eax
mov eax, dword [eax + 4]
call eax
add esp, 0x10
jmp 0x57c3f4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
push esi
push str.too_many_NINSTANCES___d__decoded
push edx
push 3
push eax
call fcn.005632b0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x10], ebx
cmp esi, dword [ebp + 0x1c]
jb 0x57c390
jmp 0x57cb6b
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1c]
push str.symbol_id_out_of_range____d__d_
push edx
push 3
push eax
call fcn.005632b0
add esp, 0x18
mov ebx, eax
jmp 0x57cb6b
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx]
push str.missing_glyph__d__d_
push edx
push 3
push eax
call fcn.005632b0
add esp, 0x18
mov ebx, eax
jmp 0x57cb6b
mov edi, dword [esp + 0x38]
dec dword [edi + 0x10]
mov esi, dword [esp + 0x14]
jne 0x57cae8
mov ecx, dword [edi + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov eax, dword [esi]
push edi
push eax
mov eax, dword [eax + 4]
call eax
add esp, 0x10
cmp dword [ebp], 0
je 0x57cb0e
mov edi, dword [esp + 0x40]
test edi, edi
je 0x57cb0e
mov ecx, dword [edi + 4]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov eax, dword [esi]
push edi
push eax
mov eax, dword [eax + 4]
call eax
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push str.couldnt_allocate_reference_image
push edx
push 3
push esi
call fcn.005632b0
add esp, 0x10
jmp 0x57cba8
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
push str.failed_to_decode_data
push edx
push 3
push eax
call fcn.005632b0
mov ebx, eax
jmp 0x57cb68
test edi, edi
je 0x57cb6b
dec dword [edi + 0x10]
jne 0x57cb6b
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov eax, dword [esi]
push edi
push eax
mov eax, dword [eax + 4]
call eax
add esp, 0x10
cmp dword [ebp], 0
je 0x57cb95
mov esi, dword [esp + 0x40]
test esi, esi
je 0x57cb95
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
mov eax, dword [edi]
push esi
push eax
mov eax, dword [eax + 4]
call eax
add esp, 0x10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x57cba6
push eax
call fcn.00658a01
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x254
ret