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

Disassembly:
push 0xffffffffffffffff
push 0x5d1830
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c4]
call edx
mov cl, byte [esp + 0x98]
cmp cl, al
je 0x497625
mov byte [esi + 0x1b9], cl
test cl, cl
je 0x4975ce
mov ebx, dword [esi + 0x138]
mov eax, dword [esp + 0x9c]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 0x1a0], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0xfffffff0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x14]
push ecx
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x94], ebp
mov dword [esi + 0x1b4], edi
call fcn.00496440
mov edx, dword [eax]
mov dword [esi + 0x1a4], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x1a8], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x1ac], edx
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov dword [esi + 0x1b0], eax
mov eax, dword [edx + 0x3a8]
mov ecx, esi
call eax
mov byte [esi + 0x1b8], al
mov al, byte [esp + 0x9c]
test al, 8
je 0x497485
mov ebp, 0x840000
test al, 0x10
je 0x49748f
or ebp, 0xc80000
not ebp
and ebp, edi
or ebp, 0x80000000
mov dword [esp + 0x40], ebp
cmp ebp, edi
je 0x4974b1
push ebp
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, ebp
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x24]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004e2310
mov ecx, eax
call fcn.004e2000
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x2b8]
push 3
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xf4]
mov ecx, esi
mov dword [esp + 0x14], 0x20
call edx
test al, al
jne 0x497511
push 1
mov ecx, esi
call fcn.0049bd60
mov ecx, 0x60
jmp 0x497515
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x138]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x696854]
push ecx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edx
call fcn.00424270
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x44], vtable.wxSizeEvent.0
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov byte [esp + 0x94], 1
mov dword [esp + 0x50], esi
call fcn.0049d150
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 0
mov dword [esp + 0x44], vtable.wxObject.0
call fcn.00423980
cmp ebp, edi
je 0x497625
push ebp
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x497625
movzx eax, byte [esi + 0x1b8]
mov edx, dword [esi]
mov edx, dword [edx + 0x39c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0x1b4]
mov ecx, dword [esi + 0x138]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0x1b0]
mov eax, dword [esi + 0x1ac]
mov ecx, dword [esi + 0x1a8]
push 0x20
push edx
mov edx, dword [esi + 0x1a4]
push eax
mov eax, dword [esi + 0x138]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8