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

Disassembly:
push 0xffffffffffffffff
push 0x5e17a0
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x180]
push ecx
mov eax, esp
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [eax], 0x2e
lea eax, [esp + 0x14c]
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x24], ecx
call fcn.00422130
lea ecx, [esp + 0x124]
push ecx
mov ecx, eax
mov dword [esp + 0x17c], ebx
call fcn.0041e830
mov edx, dword [esp + 0x164]
push edx
mov byte [esp + 0x17c], 2
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x15c], edi
jb 0x53ace4
mov eax, dword [esp + 0x148]
push eax
call fcn.00584768
add esp, 4
lea edx, [esp + 0x124]
xor ecx, ecx
push 0x32
mov ebp, 7
push edx
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], cx
call fcn.00536c00
add esp, 8
cmp eax, ebx
jne 0x53b149
xor al, al
lea ecx, [ecx]
cmp al, bl
jne 0x53ad80
lea eax, [esp + 0xa8]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov byte [esp + 0x178], 3
cmp dword [0x695aa8], ebx
je 0x53ad64
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53ad64
call fcn.004443b0
jmp 0x53ad69
mov al, byte [0x68a580]
cmp al, bl
je 0x53ad80
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x53ad84
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x178], 2
je 0x53adc4
mov ecx, dword [esp + 0xc4]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], edi
jb 0x53adc4
mov edx, dword [esp + 0xa8]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53b11c
push str.Cant_save_image_to_file__s:_unknown_extension.
lea ecx, [esp + 0xac]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
xor ecx, ecx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x178], 6
call fcn.00425e70
cmp eax, ebx
je 0x53ae50
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0xb0]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53ae60
lea eax, [esp + 0xa8]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x4c], eax
mov byte [esp + 0x178], 7
call fcn.00420510
mov dword [esp + 0x50], eax
mov byte [esp + 0x178], 8
call fcn.00420510
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0x30], cx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 9
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
call fcn.00402610
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x178], 0xa
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd4], str....._srccommonimage.cpp
mov dword [esp + 0xdc], str.wxImage::SaveFile
mov dword [esp + 0xd8], 0xaa3
mov dword [esp + 0xe0], 0x5fcf00
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xf4], eax
xor eax, eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x110], ebp
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], ax
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 0xd
call fcn.0041de00
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0041d2a0
push eax
lea edx, [esp + 0xd0]
push esi
push edx
call fcn.0040b680
mov eax, dword [esp + 0x50]
push eax
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x3c], edi
jb 0x53afac
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x118]
xor edx, edx
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x110], edi
jb 0x53afe4
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xf8]
xor edx, edx
mov dword [esp + 0x110], ebp
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], dx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x53b063
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push 0x40b5f0
push eax
push ecx
mov byte [esp + 0x184], 0xe
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov edx, dword [esi]
mov eax, dword [esi + 4]
push 0x475ea0
push edx
push eax
mov byte [esp + 0x194], 9
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
mov edi, 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 6
call fcn.004020c0
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x98], edi
jb 0x53b09d
mov edx, dword [esp + 0x84]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x7c]
xor eax, eax
push ecx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x53b0d5
mov edx, dword [esp + 0x60]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xc4]
xor eax, eax
push ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
mov byte [esp + 0x17c], 2
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], edi
jb 0x53b115
mov edx, dword [esp + 0xa8]
push edx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x53ad20
mov eax, dword [esp + 0x140]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x138], edi
jb 0x53b145
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00584768
add esp, 4
xor al, al
jmp 0x53b18b
mov eax, dword [eax + 0x88]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call edx
mov bl, al
mov eax, dword [esp + 0x140]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x138], edi
jb 0x53b189
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00584768
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00585b7b
add esp, 0x168
ret 4