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

Disassembly:
push 0xffffffffffffffff
push 0x5e1099
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], esi
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
push esi
push ebx
push ebp
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 1
mov dword [esp + 0x50], vtable.wxImage.0
call fcn.005359c0
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 2
call fcn.00536e50
push ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 3
call fcn.00536e50
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x58]
mov ebx, dword [eax + 0xc]
xor ecx, ecx
mov byte [esp + 0x6c], 4
cmp edi, esi
jle 0x5373b5
mov eax, esi
cdq
idiv edi
mov ebp, dword [esp + 0x60]
add esi, ebx
mov dword [ebp + ecx*8], eax
mov eax, esi
cdq
idiv edi
test edx, edx
jne 0x5373aa
dec eax
mov dword [ebp + ecx*8 + 4], eax
inc ecx
cmp ecx, edi
jl 0x537391
jmp 0x5373b9
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x4c]
mov ebx, dword [edx + 8]
xor esi, esi
xor ecx, ecx
test edi, edi
jle 0x5373f5
nop
mov eax, esi
cdq
idiv edi
mov edx, dword [esp + 0x54]
add esi, ebx
mov dword [edx + ecx*8], eax
mov eax, esi
cdq
idiv edi
test edx, edx
jne 0x5373e8
dec eax
mov edx, dword [esp + 0x54]
mov dword [edx + ecx*8 + 4], eax
inc ecx
cmp ecx, edi
jl 0x5373d0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x48]
xor edx, edx
mov dword [esp + 0x20], ecx
cmp eax, edx
je 0x537428
cmp byte [eax + 0x20], dl
je 0x537428
cmp dword [eax + 8], edx
je 0x537428
cmp dword [eax + 0xc], edx
je 0x537428
mov ebx, dword [eax + 0x14]
jmp 0x53742a
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
cmp ebx, edx
je 0x53776f
cmp ecx, edx
je 0x5374b7
cmp eax, edx
je 0x5374b3
cmp byte [eax + 0x20], dl
je 0x537495
cmp dword [eax + 8], edx
je 0x537495
cmp dword [eax + 0xc], edx
je 0x537495
lea ecx, [esp + 0x44]
call fcn.00423b60
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 0xc]
imul edx, dword [esi + 8]
push edx
call fcn.00585ae7
add esp, 4
cmp byte [esi + 0x22], 0
mov edi, eax
jne 0x537486
mov eax, dword [esi + 0x1c]
push eax
call fcn.005844d1
mov esi, dword [esp + 0x4c]
add esp, 4
mov dword [esi + 0x1c], edi
mov ecx, dword [esp + 0x48]
mov byte [ecx + 0x22], 0
mov eax, dword [esp + 0x48]
xor edx, edx
cmp eax, edx
je 0x5374b3
cmp byte [eax + 0x20], dl
je 0x5374b3
cmp dword [eax + 8], edx
je 0x5374b3
cmp dword [eax + 0xc], edx
je 0x5374b3
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x5374b7
mov dword [esp + 0x18], edx
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x24], edx
jle 0x53774e
fldz
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x78], ecx
jle 0x537739
mov eax, dword [esp + 0x54]
fld st(0)
mov esi, dword [eax + ecx*8 + 4]
fld st(1)
mov edi, dword [eax + ecx*8]
fld st(2)
mov eax, dword [ebp + edx*8 + 4]
fld st(3)
mov ebp, dword [ebp + edx*8]
mov edx, eax
sub edx, ebp
mov ecx, esi
sub ecx, edi
inc edx
inc ecx
imul edx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], edx
cmp ebp, eax
jg 0x5375ca
cmp edi, esi
jg 0x5375c1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x30]
imul eax, ebp
mov edx, dword [esp + 0x20]
add eax, edi
lea ecx, [ecx + eax*2]
add edx, eax
lea ecx, [eax + ecx + 2]
mov eax, esi
sub eax, edi
inc eax
cmp dword [esp + 0x20], 0
movzx ebx, byte [ecx - 2]
je 0x53758d
movzx esi, byte [edx]
imul ebx, esi
mov dword [esp + 0x34], ebx
movzx ebx, byte [ecx - 1]
fild dword [esp + 0x34]
imul ebx, esi
faddp st(1)
mov dword [esp + 0x34], ebx
movzx ebx, byte [ecx]
fild dword [esp + 0x34]
imul ebx, esi
faddp st(2)
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x3c]
fild dword [esp + 0x34]
faddp st(3)
fild dword [esp + 0x38]
faddp st(4)
jmp 0x5375b2
mov dword [esp + 0x38], ebx
fild dword [esp + 0x38]
movzx ebx, byte [ecx - 1]
mov dword [esp + 0x38], ebx
movzx ebx, byte [ecx]
faddp st(1)
fild dword [esp + 0x38]
mov dword [esp + 0x38], ebx
faddp st(2)
fild dword [esp + 0x38]
faddp st(3)
mov ebx, dword [esp + 0x14]
inc edx
add ecx, 3
dec eax
jne 0x537541
mov eax, dword [esp + 0x40]
inc ebp
cmp ebp, eax
jle 0x537514
cmp dword [esp + 0x20], 0
je 0x53769b
fld st(3)
fld st(5)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x537658
fdiv st(3)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov dl, byte [esp + 0x40]
mov byte [ebx], dl
fldcw word [esp + 0x14]
fdiv st(2)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov al, byte [esp + 0x40]
mov byte [ebx + 1], al
fldcw word [esp + 0x14]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov cl, byte [esp + 0x40]
mov byte [ebx + 2], cl
fldcw word [esp + 0x14]
jmp 0x537667
fstp st(0)
mov word [ebx], 0
fstp st(0)
mov byte [ebx + 2], 0
fstp st(0)
fidiv dword [esp + 0x28]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
inc eax
fldcw word [esp + 0x40]
mov dword [esp + 0x18], eax
fistp dword [esp + 0x40]
mov dl, byte [esp + 0x40]
mov byte [eax - 1], dl
fldcw word [esp + 0x14]
jmp 0x537717
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fstp st(3)
fild dword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x40], eax
fdiv st(3), st(0)
fldcw word [esp + 0x40]
fxch st(3)
fistp dword [esp + 0x40]
mov al, byte [esp + 0x40]
mov byte [ebx], al
fldcw word [esp + 0x14]
fdiv st(2)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov cl, byte [esp + 0x40]
mov byte [ebx + 1], cl
fldcw word [esp + 0x14]
fdivrp st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov dl, byte [esp + 0x40]
mov byte [ebx + 2], dl
fldcw word [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
inc ecx
add ebx, 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x78]
jl 0x5374d8
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x7c]
jl 0x5374c8
mov eax, dword [esp + 0x48]
fstp st(0)
mov esi, dword [esp + 0x74]
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], eax
test eax, eax
je 0x537762
inc dword [eax + 4]
mov eax, dword [esp + 0x54]
mov dword [esi], vtable.wxImage.0
push eax
jmp 0x53778e
mov esi, dword [esp + 0x74]
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], eax
cmp eax, edx
je 0x537783
inc dword [eax + 4]
mov dword [esi], vtable.wxImage.0
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x30], 1
call fcn.00584768
push ebp
call fcn.00584768
add esp, 8
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x44], vtable.wxObject.0
call fcn.00423980
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc