Function at 0x541a10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x61272e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [esp + 0xb0]
test edi, edi
je 0x541bb9
mov ecx, edi
call fcn.0053b2c0
test al, al
jne 0x541a9e
cmp byte [esp + 0xb8], al
je 0x541bb9
call fcn.00519760
test eax, eax
je 0x541a8b
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.BMP:_Couldnt_save_invalid_image.
call eax
push eax
call fcn.00527670
add esp, 4
jmp 0x541bb9
mov eax, str.BMP:_Couldnt_save_invalid_image.
push eax
call fcn.00527670
add esp, 4
jmp 0x541bb9
mov ecx, dword [0x63dcd0]
push ecx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x5c]
call fcn.0050fcd0
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov dword [esp + 0xac], 0
call fcn.0053bcd0
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff4
mov bl, al
mov eax, dword [ecx]
or ebp, 0xffffffff
mov dword [esp + 0xa8], ebp
cmp eax, ebp
je 0x541af0
add eax, ebp
mov dword [ecx], eax
jne 0x541af0
call fcn.0050ec00
test bl, bl
je 0x541b7e
mov eax, dword [0x63dcd0]
push eax
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x30]
call fcn.0050fcd0
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0xac], 1
call fcn.0053d220
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov dword [esp + 0x50], esi
mov dword [esp + 0xa8], ebp
cmp eax, ebp
je 0x541b4b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x541b4b
call fcn.0050ec00
cmp esi, 1
je 0x541be3
cmp esi, 2
je 0x541be3
cmp esi, 4
jne 0x541b6a
lea ebp, [esi + 0xc]
jmp 0x541beb
cmp esi, 8
je 0x541b8b
cmp esi, 9
je 0x541b8b
cmp esi, 0xa
je 0x541b8b
cmp esi, 0xb
je 0x541b90
mov esi, 0x18
mov dword [esp + 0x50], esi
xor ebp, ebp
jmp 0x541beb
cmp esi, 0xb
jne 0x541bd7
mov ecx, edi
call fcn.0053bb70
test al, al
jne 0x541bd7
cmp byte [esp + 0xb8], al
je 0x541bb9
push 0
push str.BMP:_wxImage_doesnt_have_own_wxPalette.
call fcn.00511bb0
push eax
call fcn.00527670
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x14
mov esi, 8
mov ebp, pe_nt_image_headers32
jmp 0x541beb
mov esi, 1
lea ebp, [esi + 1]
mov ecx, dword [esp + 0xb0]
call fcn.0053b6a0
movzx edx, si
mov ebx, eax
imul edx, ebx
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
test edx, edx
jge 0x541c11
fadd qword [0x68f588]
fld qword [0x64a758]
fmul st(1)
call fcn.005bf510
and eax, reloc.WS2_32.dll_closesocket
jns 0x541c2a
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, 4
sub ecx, eax
and ecx, reloc.WS2_32.dll_closesocket
jns 0x541c3e
dec ecx
or ecx, 0xfffffffc
inc ecx
fmul qword [0x64a750]
lea edx, [ebp*4]
fnstcw word [esp + 0x14]
mov dword [esp + 0x24], edx
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x58], eax
fldcw word [esp + 0x58]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
sub ecx, eax
mov edi, ecx
mov ecx, 0x4d42
fldcw word [esp + 0x14]
mov word [esp + 0x68], cx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x5c], edi
call fcn.0053b6c0
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], 0
imul ecx, edi
lea edx, [ecx + eax + 0x36]
mov ecx, dword [esp + 0xb0]
add eax, 0x36
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x28
call fcn.0053b6a0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x7c], eax
call fcn.0053b6c0
cmp byte [esp + 0xbc], 0
jne 0x541cdf
add eax, eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x80], eax
mov eax, 1
mov word [esp + 0x84], ax
mov word [esp + 0x86], si
mov dword [esp + 0x88], 0
call fcn.0053b6c0
imul eax, edi
cmp byte [esp + 0xbc], 0
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x8c], eax
mov eax, 0x48
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], 0
je 0x541de0
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
push 2
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test al, al
je 0x541dc6
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
push 4
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test al, al
je 0x541dc6
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
push 4
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541dc6
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
je 0x541de0
cmp byte [esp + 0xb8], 0
je 0x541bb9
push 0
push str.BMP:_Couldnt_write_the_file__Bitmap__header.
jmp 0x541bab
cmp byte [esp + 0xc0], 0
jne 0x541f69
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test al, al
je 0x541f4f
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
push 4
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x8a]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x98]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
jne 0x541f4f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 4
lea ecx, [esp + 0xa0]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0052db90
test al, al
je 0x541f69
cmp byte [esp + 0xb8], 0
je 0x541bb9
push 0
push str.BMP:_Couldnt_write_the_file__BitmapInfo__header.
jmp 0x541bab
mov esi, dword [esp + 0x50]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], edi
cmp esi, 1
je 0x541fe9
cmp esi, 4
je 0x541fe9
cmp esi, 8
je 0x541fe9
cmp esi, 0xb
je 0x542038
cmp esi, 9
je 0x541fa2
cmp esi, 0xa
je 0x541fa2
cmp esi, 2
jne 0x54217e
mov eax, dword [esp + 0x24]
push eax
call fcn.005b3e2c
add esp, 4
xor edx, edx
cmp ebp, edi
mov dword [esp + 0x20], eax
jle 0x5420e9
inc eax
mov edi, edi
test edx, edx
jle 0x541fce
cmp esi, 2
jne 0x541fce
or cl, 0xff
jmp 0x541fd0
mov cl, dl
mov byte [eax + 1], cl
mov byte [eax], cl
mov byte [eax - 1], cl
mov byte [eax + 2], 0
inc edx
add eax, 4
cmp edx, ebp
jl 0x541fc0
jmp 0x5420e9
cmp esi, 0xb
je 0x542038
push 8
call fcn.005b4e59
add esp, 4
cmp eax, edi
je 0x542007
mov dword [eax + 4], edi
mov dword [eax], vtable.wxImage.0
jmp 0x542009
xor eax, eax
cmp ebp, 0xec
mov dword [esp + 0x54], eax
mov ecx, 0xec
jg 0x54201c
mov ecx, ebp
mov edx, dword [esp + 0xb0]
push 4
push edi
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
push edx
call fcn.005775b0
add esp, 0x18
jmp 0x54207e
push 8
call fcn.005b4e59
mov esi, eax
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0xa8], 2
cmp esi, edi
je 0x54206d
mov ecx, dword [esp + 0xb0]
call fcn.0053bb90
push eax
mov ecx, esi
call fcn.005419a0
jmp 0x54206f
xor eax, eax
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push eax
call fcn.005b3e2c
add esp, 4
xor edi, edi
mov dword [esp + 0x20], eax
test ebp, ebp
jle 0x5420e9
mov esi, eax
add esi, 2
lea ebx, [ebx]
lea ecx, [esp + 0x43]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x37]
push edx
lea eax, [esp + 0x43]
push eax
push edi
call fcn.00563a20
test al, al
jne 0x5420c9
mov byte [esp + 0x43], al
mov byte [esp + 0x33], al
mov byte [esp + 0x3b], al
mov cl, byte [esp + 0x43]
mov byte [esi - 2], cl
mov dl, byte [esp + 0x33]
mov byte [esi - 1], dl
mov al, byte [esp + 0x3b]
mov byte [esi], al
mov byte [esi + 1], 0
inc edi
add esi, 4
cmp edi, ebp
jl 0x5420a0
cmp dword [esp + 0x20], 0
je 0x54217e
cmp byte [esp + 0xc0], 0
mov esi, dword [esp + 0x20]
jne 0x542175
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
push esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x542175
cmp byte [esp + 0xb8], al
je 0x542141
push 0
push str.BMP:_Couldnt_write_RGB_color_map.
call fcn.00511bb0
push eax
call fcn.00527670
add esp, 0xc
push esi
call fcn.005b4dc6
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x54215b
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x541bb9
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
jmp 0x541bb9
push esi
call fcn.005b4dc6
add esp, 4
mov ecx, dword [esp + 0xb0]
call fcn.0053b980
mov edi, dword [esp + 0x54]
mov esi, eax
test edi, edi
je 0x5421a8
mov ecx, edi
call fcn.0053b2c0
test al, al
je 0x5421a8
mov ecx, edi
call fcn.0053b980
mov esi, eax
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.005b3e2c
push ebp
mov edi, eax
push 0
push edi
mov dword [esp + 0x30], edi
call fcn.005b79e0
mov ecx, dword [esp + 0xc0]
add esp, 0x10
call fcn.0053b6c0
sub eax, 1
mov dword [esp + 0x58], eax
js 0x542355
imul eax, ebx
lea ecx, [eax + eax*2]
lea eax, [ebx*4]
sub eax, ebx
neg eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], eax
jmp 0x542200
fld qword [0x64a638]
mov eax, dword [esp + 0x50]
fld qword [0x64a630]
fld qword [0x64a628]
fld qword [0x64a620]
cmp eax, 0x18
jne 0x54227a
fstp st(0)
fstp st(2)
fstp st(0)
fstp st(0)
test ebx, ebx
jbe 0x542313
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
lea ecx, [esi + 1]
lea eax, [edx + ecx]
mov edx, esi
sub edx, ecx
add edx, 2
mov ebp, esi
add edi, 2
sub ebp, ecx
mov dword [esp + 0x14], edx
mov ecx, ebx
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + eax]
mov byte [edi - 2], dl
movzx edx, byte [eax]
mov byte [edi - 1], dl
movzx edx, byte [eax + ebp]
mov byte [edi], dl
add eax, 3
add edi, 3
sub ecx, 1
jne 0x542253
jmp 0x542313
cmp eax, 8
je 0x5428f4
cmp eax, 0xb
je 0x5428f4
cmp eax, 9
jne 0x542389
xor edi, edi
fstp st(0)
test ebx, ebx
jbe 0x54230d
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
lea ecx, [eax + esi]
mov ebp, 1
movzx eax, byte [ecx + ebp]
fnstcw word [esp + 0x14]
mov dword [esp + 0x18], eax
movzx eax, byte [ecx]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, 2
movzx eax, byte [eax + ecx]
fmul st(3)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
fmul st(3)
faddp st(1)
or eax, 0xc00
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
inc edi
add ecx, 3
fmul st(2)
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov al, byte [esp + 0x18]
mov byte [edi + edx - 1], al
fldcw word [esp + 0x14]
cmp edi, ebx
jb 0x5422ad
fstp st(2)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x5c]
mov eax, dword [ecx]
mov edi, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
push edx
push edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test al, al
je 0x542956
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
add dword [esp + 0x4c], ecx
dec eax
mov dword [esp + 0x58], eax
test eax, eax
jge 0x542200
mov esi, dword [esp + 0x54]
push edi
call fcn.005b4dc6
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x542373
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
test esi, esi
je 0x542382
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov al, 1
jmp 0x541bbb
fstp st(3)
fstp st(1)
fstp st(0)
cmp eax, 0xa
jne 0x5423c2
xor eax, eax
fstp st(0)
test ebx, ebx
jbe 0x542313
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x20]
lea edi, [ecx + esi]
jmp 0x5423b0
mov dl, byte [edi]
mov byte [eax + ebp], dl
inc eax
add edi, 3
cmp eax, ebx
jb 0x5423b0
jmp 0x542313
cmp eax, 4
jne 0x542468
xor edi, edi
fstp st(0)
test ebx, ebx
jbe 0x542313
mov ebp, dword [esp + 0x4c]
lea eax, [esi + 1]
mov ecx, esi
sub ecx, eax
add ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x24], ecx
lea edx, [edi + 1]
cmp edx, ebx
jbe 0x542402
mov dword [esp + 0x28], 0
jmp 0x542424
movzx eax, byte [esi + ebp + 5]
movzx ecx, byte [esi + ebp + 4]
movzx edx, byte [esi + ebp + 3]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.005639e0
movzx eax, al
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
lea eax, [esi + ebp + 1]
movzx edx, byte [eax + ecx]
movzx ecx, byte [eax]
push edx
mov edx, dword [esp + 0x28]
movzx eax, byte [eax + edx]
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.005639e0
mov edx, dword [esp + 0x20]
shl al, 4
or al, byte [esp + 0x28]
mov ecx, edi
shr ecx, 1
add edi, 2
add ebp, 6
mov byte [ecx + edx], al
cmp edi, ebx
jb 0x5423f1
jmp 0x542313
cmp eax, 1
jne 0x54267c
fstp st(0)
test ebx, ebx
jbe 0x542313
mov edi, dword [esp + 0x4c]
lea eax, [esi + 1]
mov ecx, esi
sub ecx, eax
mov ebp, 2
add ecx, ebp
mov dword [esp + 0x14], ecx
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x24], ecx
lea esp, [esp]
lea edx, [ebp - 1]
cmp edx, ebx
jbe 0x5424b1
mov dword [esp + 0x28], 0
jmp 0x5424d6
movzx eax, byte [edi + esi + 5]
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 3]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.005639e0
movzx eax, al
shl eax, 6
mov dword [esp + 0x28], eax
cmp ebp, ebx
jbe 0x5424e4
mov dword [esp + 0x48], 0
jmp 0x542509
movzx eax, byte [edi + esi + 8]
movzx ecx, byte [edi + esi + 7]
movzx edx, byte [edi + esi + 6]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.005639e0
movzx eax, al
shl eax, 5
mov dword [esp + 0x48], eax
lea eax, [ebp + 1]
cmp eax, ebx
jbe 0x54251a
mov dword [esp + 0x44], 0
jmp 0x54253f
movzx ecx, byte [edi + esi + 0xb]
movzx edx, byte [edi + esi + 0xa]
movzx eax, byte [edi + esi + 9]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.005639e0
movzx eax, al
shl eax, 4
mov dword [esp + 0x44], eax
lea ecx, [ebp + 2]
cmp ecx, ebx
jbe 0x542550
mov dword [esp + 0x2c], 0
jmp 0x542578
movzx edx, byte [edi + esi + 0xe]
movzx eax, byte [edi + esi + 0xd]
movzx ecx, byte [edi + esi + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005639e0
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x2c], eax
lea edx, [ebp + 3]
cmp edx, ebx
jbe 0x542589
mov dword [esp + 0x34], 0
jmp 0x5425af
movzx eax, byte [edi + esi + 0x11]
movzx ecx, byte [edi + esi + 0x10]
movzx edx, byte [edi + esi + 0xf]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.005639e0
movzx eax, al
add eax, eax
add eax, eax
mov dword [esp + 0x34], eax
lea eax, [ebp + 4]
cmp eax, ebx
jbe 0x5425c0
mov dword [esp + 0x3c], 0
jmp 0x5425e4
movzx ecx, byte [edi + esi + 0x14]
movzx edx, byte [edi + esi + 0x13]
movzx eax, byte [edi + esi + 0x12]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.005639e0
movzx eax, al
add eax, eax
mov dword [esp + 0x3c], eax
lea ecx, [ebp + 5]
cmp ecx, ebx
jbe 0x5425f5
mov dword [esp + 0x18], 0
jmp 0x542617
movzx edx, byte [edi + esi + 0x17]
movzx eax, byte [edi + esi + 0x16]
movzx ecx, byte [edi + esi + 0x15]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005639e0
movzx edx, al
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x14]
lea eax, [edi + esi + 1]
movzx edx, byte [eax + ecx]
movzx ecx, byte [eax]
push edx
mov edx, dword [esp + 0x28]
movzx eax, byte [eax + edx]
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.005639e0
mov edx, dword [esp + 0x20]
shl al, 7
or al, byte [esp + 0x28]
lea ecx, [ebp - 2]
or al, byte [esp + 0x48]
shr ecx, 3
or al, byte [esp + 0x44]
add ebp, 8
or al, byte [esp + 0x2c]
add edi, 0x18
or al, byte [esp + 0x34]
or al, byte [esp + 0x3c]
or al, byte [esp + 0x18]
mov byte [ecx + edx], al
lea eax, [ebp - 2]
cmp eax, ebx
jb 0x5424a0
jmp 0x542313
cmp eax, 2
jne 0x542311
test ebx, ebx
jbe 0x542311
mov ecx, dword [esp + 0x4c]
mov edi, eax
lea edx, [edi - 1]
xor ebp, ebp
cmp edx, ebx
jbe 0x5426a0
xor edx, edx
jmp 0x5426d7
movzx eax, byte [esi + ecx + 3]
fnstcw word [esp + 0x14]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x18], eax
fmul st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov dl, byte [esp + 0x18]
movzx edx, dl
shl edx, 6
fldcw word [esp + 0x14]
cmp edi, ebx
jbe 0x5426e1
mov dword [esp + 0x18], ebp
jmp 0x54271c
movzx eax, byte [esi + ecx + 6]
fnstcw word [esp + 0x14]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x18], eax
fmul st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov al, byte [esp + 0x18]
movzx eax, al
shl eax, 5
fldcw word [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
cmp eax, ebx
jbe 0x542729
mov dword [esp + 0x3c], ebp
jmp 0x542764
movzx eax, byte [esi + ecx + 9]
fnstcw word [esp + 0x14]
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x3c]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fmul st(1)
fldcw word [esp + 0x3c]
fistp dword [esp + 0x3c]
mov al, byte [esp + 0x3c]
movzx eax, al
shl eax, 4
fldcw word [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [edi + 2]
cmp eax, ebx
jbe 0x542771
mov dword [esp + 0x34], ebp
jmp 0x5427af
movzx eax, byte [esi + ecx + 0xc]
fnstcw word [esp + 0x14]
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x34]
or eax, 0xc00
mov dword [esp + 0x34], eax
fmul st(1)
fldcw word [esp + 0x34]
fistp dword [esp + 0x34]
mov al, byte [esp + 0x34]
movzx eax, al
add eax, eax
fldcw word [esp + 0x14]
add eax, eax
add eax, eax
mov dword [esp + 0x34], eax
lea eax, [edi + 3]
cmp eax, ebx
jbe 0x5427bc
mov dword [esp + 0x2c], ebp
jmp 0x5427f8
movzx eax, byte [esi + ecx + 0xf]
fnstcw word [esp + 0x14]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x2c]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fmul st(1)
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
mov al, byte [esp + 0x2c]
movzx eax, al
add eax, eax
fldcw word [esp + 0x14]
add eax, eax
mov dword [esp + 0x2c], eax
lea eax, [edi + 4]
cmp eax, ebx
jbe 0x542805
mov dword [esp + 0x44], ebp
jmp 0x54283f
movzx eax, byte [esi + ecx + 0x12]
fnstcw word [esp + 0x14]
mov dword [esp + 0x44], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x44]
or eax, 0xc00
mov dword [esp + 0x44], eax
fmul st(1)
fldcw word [esp + 0x44]
fistp dword [esp + 0x44]
mov al, byte [esp + 0x44]
movzx eax, al
add eax, eax
fldcw word [esp + 0x14]
mov dword [esp + 0x44], eax
lea eax, [edi + 5]
cmp eax, ebx
jbe 0x54284c
mov dword [esp + 0x48], ebp
jmp 0x542884
movzx eax, byte [esi + ecx + 0x15]
fnstcw word [esp + 0x14]
mov dword [esp + 0x48], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x48]
or eax, 0xc00
mov dword [esp + 0x48], eax
fmul st(1)
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
mov al, byte [esp + 0x48]
movzx eax, al
mov dword [esp + 0x48], eax
fldcw word [esp + 0x14]
movzx eax, byte [esi + ecx]
fnstcw word [esp + 0x14]
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x14]
fild dword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x28], eax
fmul st(1)
mov ebp, dword [esp + 0x20]
add ecx, 0x18
fldcw word [esp + 0x28]
fistp dword [esp + 0x28]
mov al, byte [esp + 0x28]
shl al, 7
or al, dl
or al, byte [esp + 0x18]
fldcw word [esp + 0x14]
lea edx, [edi - 2]
or al, byte [esp + 0x3c]
shr edx, 3
or al, byte [esp + 0x34]
add edi, 8
or al, byte [esp + 0x2c]
or al, byte [esp + 0x44]
or al, byte [esp + 0x48]
mov byte [edx + ebp], al
lea eax, [edi - 2]
cmp eax, ebx
jb 0x542693
jmp 0x542311
fstp st(0)
xor ebp, ebp
fstp st(2)
fstp st(0)
fstp st(0)
test ebx, ebx
jbe 0x542313
mov ecx, dword [esp + 0x4c]
lea eax, [esi + 1]
mov edx, esi
lea edi, [ecx + eax]
sub edx, eax
add edx, 2
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x14]
movzx ecx, byte [edi + eax]
movzx edx, byte [edi]
mov eax, dword [esp + 0x24]
push ecx
movzx ecx, byte [eax + edi]
push edx
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005639e0
mov edx, dword [esp + 0x20]
mov byte [edx + ebp], al
inc ebp
add edi, 3
cmp ebp, ebx
jb 0x542923
jmp 0x542313
cmp byte [esp + 0xb8], 0
je 0x542989
call fcn.00519760
test eax, eax
je 0x54297b
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push 0x64a5e8
call eax
jmp 0x542980
mov eax, 0x64a5e8
push eax
call fcn.00527670
add esp, 4
push edi
call fcn.005b4dc6
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x5429a3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x541bb9
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
jmp 0x541bb9