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

Disassembly:
push 0xffffffffffffffff
push 0x5e16c8
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a8]
mov edi, dword [esp + 0x1ac]
lea eax, [esp + 0xa8]
push 0x6252b8
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
call fcn.00423280
add esp, 8
push eax
push ebp
lea ecx, [esp + 0xd4]
mov dword [esp + 0x1a8], ebx
call fcn.00495270
mov ecx, dword [esp + 0xc4]
push ecx
mov byte [esp + 0x1a4], 2
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], 8
jb 0x53a721
mov edx, dword [esp + 0xa8]
push edx
call fcn.00584768
add esp, 4
xor eax, eax
mov ebp, 7
lea ecx, [esp + 0xcc]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], ax
call fcn.004955a0
test al, al
je 0x53a7c0
push ebx
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x174]
call fcn.004755c0
mov eax, dword [esp + 0x1b0]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
push edi
lea ecx, [esp + 0x174]
push ecx
mov ecx, esi
mov byte [esp + 0x1ac], 3
call edx
mov byte [esp + 0x1a0], 2
lea ecx, [esp + 0x16c]
test al, al
je 0x53a7bb
call fcn.004750e0
lea ecx, [esp + 0xcc]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.004956a0
mov al, 1
jmp 0x53abfb
call fcn.004750e0
xor al, al
cmp al, bl
jne 0x53a822
lea eax, [esp + 0x16c]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov byte [esp + 0x1a0], 4
cmp dword [0x695aa8], ebx
je 0x53a806
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53a806
call fcn.004443b0
jmp 0x53a80b
mov al, byte [0x68a580]
cmp al, bl
je 0x53a822
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x53a826
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x1a0], 2
je 0x53a86d
mov ecx, dword [esp + 0x188]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x180], edi
jb 0x53a872
mov edx, dword [esp + 0x16c]
push edx
call fcn.00584768
add esp, 4
jmp 0x53a872
mov edi, 8
cmp byte [esp + 0x17], bl
je 0x53abe2
push str.Failed_to_load_image_from_file___s_.
lea ecx, [esp + 0x14c]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
xor ecx, ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x1a0], 7
call fcn.00425e70
cmp eax, ebx
je 0x53a8fb
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x150]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53a90b
lea eax, [esp + 0x148]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x48], eax
mov byte [esp + 0x1a0], 8
call fcn.00420510
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1a0], 9
call fcn.00420510
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0x2c], cx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 0xa
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
call fcn.00402610
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x1a0], 0xb
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf8], str....._srccommonimage.cpp
mov dword [esp + 0x100], str.wxImage::LoadFile
mov dword [esp + 0xfc], 0xa95
mov dword [esp + 0x104], 0x5fcf00
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x118], eax
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x134], ebp
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], ax
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 0xe
call fcn.0041de00
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0041d2a0
push eax
lea edx, [esp + 0xf4]
push esi
push edx
call fcn.0040b680
mov eax, dword [esp + 0x4c]
push eax
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x38], edi
jb 0x53aa57
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x13c]
xor edx, edx
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x134], edi
jb 0x53aa8f
mov ecx, dword [esp + 0x120]
push ecx
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0x11c]
xor edx, edx
mov dword [esp + 0x134], ebp
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], dx
mov dword [esp + 0xa4], esi
cmp esi, ebx
je 0x53ab11
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push 0x40b5f0
push eax
push ecx
mov byte [esp + 0x1ac], 0xf
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 + 0x1bc], 0xa
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 + 0x48]
mov byte [esp + 0x1a0], 7
call fcn.004020c0
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x94], edi
jb 0x53ab4b
mov edx, dword [esp + 0x80]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x78]
xor eax, eax
push ecx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], edi
jb 0x53ab83
mov edx, dword [esp + 0x5c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x164]
xor eax, eax
push ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
mov byte [esp + 0x1a4], 2
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x15c], edi
jb 0x53abc3
mov edx, dword [esp + 0x148]
push edx
call fcn.00584768
add esp, 4
xor eax, eax
mov word [esp + 0x148], ax
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], ebx
mov al, 1
jmp 0x53a7c2
lea ecx, [esp + 0xcc]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.004956a0
xor al, al
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00585b7b
add esp, 0x190
ret 0xc