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

Disassembly:
push 0xffffffffffffffff
push 0x5e1ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x154]
mov ebp, dword [esp + 0x150]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x148], 1
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x148], 2
cmp eax, 2
jne 0x53df21
cmp dword [ebp + 0x14], 8
jb 0x53db26
mov esi, dword [ebp]
jmp 0x53db28
mov esi, ebp
call fcn.0046fe30
push esi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [esp + 0x74], esi
cmp esi, ebx
jne 0x53e3b0
xor al, al
mov edi, 7
lea ebx, [ebx]
cmp al, bl
jne 0x53dbb0
lea edx, [esp + 0xc0]
push 0x5fcf00
push edx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov byte [esp + 0x148], 3
cmp dword [0x695aa8], ebx
je 0x53db94
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53db94
call fcn.004443b0
jmp 0x53db99
mov al, byte [0x68a580]
cmp al, bl
je 0x53dbb0
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x53dbb4
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x148], 2
je 0x53dbf5
mov eax, dword [esp + 0xdc]
and dword [esp + 0x18], 0xfffffffe
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], 8
jb 0x53dbf5
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53e38d
push str.Failed_to_load_bitmap___s__from_resources.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
xor eax, eax
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x148], 6
call fcn.00425e70
cmp eax, ebx
je 0x53dc8a
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53dc9a
lea edx, [esp + 0xc0]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x148], 7
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x148], 8
call fcn.00420510
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
push 0xffffffffffffffff
push ebx
xor eax, eax
push ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x154], 9
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
call fcn.00402610
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x148], 0xa
mov dword [esp + 0xe4], 1
mov dword [esp + 0xec], str....._srccommonimage.cpp
mov dword [esp + 0xf4], str.LoadImageFromResource
mov dword [esp + 0xf0], 0xa2b
mov dword [esp + 0xf8], 0x5fcf00
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor ecx, ecx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ebx
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], cx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xd
mov dword [esp + 0x44], edx
call fcn.0041de00
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.0041d2a0
push eax
lea eax, [esp + 0xe8]
push esi
push eax
call fcn.0040b680
mov ecx, dword [esp + 0x70]
push ecx
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x5c], 8
jb 0x53dde3
mov edx, dword [esp + 0x48]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x130]
xor eax, eax
push ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
mov byte [esp + 0x14c], 9
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x128], 8
jb 0x53de24
mov edx, dword [esp + 0x114]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x110]
xor eax, eax
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], ax
mov esi, ecx
cmp ecx, ebx
je 0x53de57
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 6
call fcn.004020c0
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0xb0], esi
jb 0x53de96
mov edx, dword [esp + 0x9c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x94]
xor eax, eax
push ecx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x8c], esi
jb 0x53ded4
mov edx, dword [esp + 0x78]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xdc]
xor eax, eax
push ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
mov byte [esp + 0x14c], 2
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], esi
jb 0x53df1a
mov edx, dword [esp + 0xc0]
push edx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x53db50
cmp eax, 4
jne 0x53e38d
mov esi, dword [esp + 0x44]
mov ebp, 8
cmp dword [esi + 0x14], ebp
jb 0x53df3a
mov esi, dword [esi]
call fcn.0046fe30
push esi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
cmp eax, ebx
jne 0x53e323
xor al, al
mov edi, 7
cmp al, bl
jne 0x53dfb6
lea eax, [esp + 0xc0]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 2
mov byte [esp + 0x148], 0xe
cmp dword [0x695aa8], ebx
je 0x53df9a
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53df9a
call fcn.004443b0
jmp 0x53df9f
mov al, byte [0x68a580]
cmp al, bl
je 0x53dfb6
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x53dfba
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x148], 2
je 0x53dffa
mov ecx, dword [esp + 0xdc]
and dword [esp + 0x18], 0xfffffffd
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], ebp
jb 0x53dffa
mov edx, dword [esp + 0xc0]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53e38d
push str.Failed_to_load_icon___s__from_resources.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
xor ecx, ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x148], 0x11
call fcn.00425e70
cmp eax, ebx
je 0x53e08f
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xc8]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53e09f
lea eax, [esp + 0xc0]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x148], 0x12
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x148], 0x13
call fcn.00420510
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x44]
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0x50], cx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x154], 0x14
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
call fcn.00402610
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x148], 0x15
mov dword [esp + 0xe4], 1
mov dword [esp + 0xec], str....._srccommonimage.cpp
mov dword [esp + 0xf4], str.LoadImageFromResource
mov dword [esp + 0xf0], 0xa34
mov dword [esp + 0xf8], 0x5fcf00
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x10c], eax
xor eax, eax
mov dword [esp + 0x110], ebx
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], ax
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0x18
call fcn.0041de00
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.0041d2a0
push eax
lea edx, [esp + 0xe8]
push esi
push edx
call fcn.0040b680
mov eax, dword [esp + 0x70]
push eax
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x5c], ebp
jb 0x53e1eb
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x130]
xor edx, edx
push eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0x14c], 0x14
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x128], ebp
jb 0x53e22b
mov ecx, dword [esp + 0x114]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x110]
xor edx, edx
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], dx
mov esi, ecx
cmp ecx, ebx
je 0x53e25e
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0x11
call fcn.004020c0
mov eax, dword [esp + 0x94]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x8c], ebp
jb 0x53e295
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xb8]
xor edx, edx
push eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xb0], ebp
jb 0x53e2d3
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xdc]
xor edx, edx
push eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
mov byte [esp + 0x14c], 2
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], ebp
jb 0x53e31c
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x53df56
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
jne 0x53e377
mov edi, dword [esp + 0x40]
mov dword [edi + 4], ebx
mov dword [edi], vtable.wxImage.0
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x53e365
push eax
call esi
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x53e370
push eax
call esi
mov eax, edi
jmp 0x53e590
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x1c], ecx
cmp eax, ebx
jne 0x53e3b0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ebx
mov dword [esi], vtable.wxImage.0
cmp eax, ebx
je 0x53e3a9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, esi
jmp 0x53e590
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x44], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call fcn.00544610
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x19
call fcn.00544700
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x148], 0x1b
cmp eax, ebx
je 0x53e424
cmp byte [esp + 0x3c], bl
je 0x53e424
push eax
call ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x3c], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov edi, vtable.wxObject.0
cmp dword [esp + 0x1c], ebx
je 0x53e4d9
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x64], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call fcn.00544610
push ebx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x150], 0x1c
call fcn.00544700
mov eax, dword [esp + 0x48]
mov byte [esp + 0x148], 0x1e
cmp eax, ebx
je 0x53e4a5
cmp byte [esp + 0x5c], bl
je 0x53e4a5
push eax
call ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x5c], 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
push 0xff
push 0xff
push 0xff
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x30]
call fcn.0053d140
lea ecx, [esp + 0x6c]
mov byte [esp + 0x148], 0x1b
mov dword [esp + 0x6c], edi
call fcn.00423980
jmp 0x53e518
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x53e534
cmp byte [eax + 0x20], bl
je 0x53e51c
cmp dword [eax + 8], ebx
je 0x53e51c
cmp dword [eax + 0xc], ebx
je 0x53e51c
lea ecx, [esp + 0x20]
call fcn.00423b60
mov ecx, dword [esp + 0x24]
mov al, 0xc0
mov byte [ecx + 0x19], al
mov edx, dword [esp + 0x24]
mov byte [edx + 0x1a], al
mov ecx, dword [esp + 0x24]
mov byte [ecx + 0x1b], al
mov edx, dword [esp + 0x24]
mov byte [edx + 0x18], 1
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x53e534
cmp byte [eax + 0x20], bl
je 0x53e534
cmp dword [eax + 8], ebx
je 0x53e534
cmp dword [eax + 0xc], ebx
je 0x53e534
cmp dword [eax + 0x1c], ebx
jne 0x53e541
lea ecx, [esp + 0x20]
call fcn.005351d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [ecx], edi
mov dword [ecx + 4], eax
cmp eax, ebx
je 0x53e551
inc dword [eax + 4]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
mov dword [eax], vtable.wxImage.0
mov dword [esp + 0x18], 4
mov byte [esp + 0x148], 2
mov dword [esp + 0x20], edi
call fcn.00423980
cmp dword [esp + 0x1c], ebx
je 0x53e585
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
cmp esi, ebx
je 0x53e58c
push esi
call ebp
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00585b7b
add esp, 0x138
ret