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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [0x49f37c]
add eax, 0xfffffff4
push edi
cmp eax, 8
ja case.0x4773b2.13
movzx eax, byte [eax + 0x477abe]
jmp dword [eax*4 + 0x477ab6]
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
je 0x4773e5
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x49f310
call fcn.00443663
test al, al
je 0x4773e5
mov esi, dword [esp + 0x1c]
jmp 0x4773e5
mov ebx, dword [esp + 0x34]
cmp esi, 0xffffffff
jne 0x4773ff
lea esi, [esp + 0x50]
call fcn.0040bd20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
mov eax, dword [0x49f370]
mov ecx, dword [eax + esi*4]
mov esi, dword [ecx]
push esi
call fcn.00459491
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4773ea
mov edx, dword [0x49f384]
mov eax, dword [edx + ebp*4]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, 0xe
je 0x477445
cmp eax, 0xf
je 0x477445
cmp eax, 0xc
je 0x477445
mov byte [edi + 0x7a], 0x50
mov cx, word [0x49f318]
mov word [edi + 0x6e], cx
jmp 0x477449
mov byte [edi + 0x7a], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov eax, ebx
mov ebx, dword [esp + 0x3c]
and edx, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
jne 0x4774a4
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push esi
push eax
mov eax, dword [esp + 0x3c]
push ebx
push edx
push eax
call fcn.004355a1
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov eax, ecx
mov dword [esp + 0x18], edx
mov ecx, edx
jmp 0x4774aa
xor edx, edx
mov word [edi + 0x6e], dx
cmp dword [esp + 0x2c], 0x1d
ja case.0x4774b9.13
mov edx, dword [esp + 0x2c]
jmp dword [edx*4 + 0x477aca]
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f45b
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f380
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f79a
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f6ef
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f64b
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f2a2
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f1a2
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f06c
jmp 0x477863
sub esp, 0x10
lea eax, [esp + 0x60]
mov ebx, esp
call fcn.004081e0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
push ebp
push edi
push esi
call fcn.0046c6e9
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
push ebp
push edi
push esi
call fcn.0044efa3
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
push ebp
push edi
push esi
call fcn.0044eeef
jmp 0x477863
lea ecx, [esp + 0x50]
call fcn.0040c7e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push edx
push eax
push ecx
push ebp
push edi
push esi
call fcn.0044284c
jmp 0x477863
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push ebp
push edi
push esi
call fcn.0044edfb
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
push ebp
push edi
push esi
call fcn.0044ecf7
jmp 0x477863
mov eax, dword [esp + 0x30]
push eax
push ebp
push edi
push esi
call fcn.00442783
jmp 0x477863
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push ebp
push edi
push esi
call fcn.004493bf
jmp 0x477863
mov ecx, dword [esp + 0x34]
push ecx
push edi
push esi
call fcn.00448df6
jmp 0x477863
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push ebp
push edi
push esi
call fcn.0044925f
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
push ebp
push edi
push esi
call fcn.0044ebb1
jmp 0x477863
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebp
push edi
call fcn.00449121
jmp 0x477863
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push ebp
push edi
push esi
call fcn.004424be
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f85f
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f8e8
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f5b8
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044f51f
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebp
push edi
push esi
call fcn.0044e9cd
jmp 0x477863
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebp
push edi
call fcn.00448ece
jmp 0x477863
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push edi
push esi
call fcn.0047728f
test al, al
jne case.0x4774b9.21
push ebp
push 0x49f310
call fcn.00456bf3
cmp dword [esp + 0x2c], 0xb
lea esi, [esp + 0x50]
jne 0x4773ee
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0
jne 0x4773ee
call fcn.0040bd20
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
mov al, byte [esp + 0x4c]
mov dl, byte [esp + 0x2c]
mov byte [edi + 0x78], dl
mov byte [edi + 0x79], al
mov ecx, dword [0x49f37c]
mov dword [0x49f3a8], ecx
mov dword [0x49f3a4], ebp
test al, 1
jne 0x477905
lea ecx, [esi + 0x68]
push ecx
call fcn.004373d7
test al, al
je 0x4778ec
cmp dword [esi + 0x78], 0x55
jne 0x4778ec
cmp dword [esi + 0x7c], 0x190
jne 0x4778ec
cmp dword [esi + 0x80], 0
je 0x477905
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x7c]
push 0
push edx
mov edx, dword [esi + 0x78]
push eax
push edx
push ecx
push edi
push esi
call fcn.00442b71
test byte [esp + 0x4c], 4
jne 0x477a2a
or eax, 0xffffffff
cmp dword [esp + 0x3c], eax
je 0x477923
cmp dword [esp + 0x40], eax
jne 0x477a2a
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi]
mov ebx, eax
xor eax, eax
push eax
push eax
push 0x31
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push edx
push eax
push ebx
call fcn.00437a77
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x2c]
add eax, 0xffffffe9
cmp eax, 3
ja case.default.0x477986
jmp dword [eax*4 + 0x477b42]
mov ecx, dword [esp + 0x1c]
jmp 0x4779c4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jmp case.default.0x477986
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add edx, 0xc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
jmp case.default.0x477986
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
or eax, 0xffffffff
cmp dword [esp + 0x40], eax
jne 0x4779f1
cmp dword [esi + 0x60], eax
je 0x4779e7
cmp dword [0x49f314], 2
je 0x4779f1
mov edx, dword [esp + 0x44]
add edx, 8
mov dword [esi + 0x60], edx
cmp dword [esp + 0x3c], eax
jne 0x477a0f
cmp dword [esi + 0x5c], eax
je 0x477a05
cmp dword [0x49f314], 2
je 0x477a0f
mov eax, dword [esp + 0x48]
add eax, 8
mov dword [esi + 0x5c], eax
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
push 1
push ecx
mov ecx, dword [esi + 0x54]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [esp + 0x24], 0
jne 0x477a3a
push 0
push edi
push esi
call fcn.004352a3
cmp byte [esi + 0x184], 0
je 0x477a60
cmp dword [esi + 0x17c], 0xffffffff
je 0x477a57
mov al, byte [esi + 0x17c]
mov byte [edi + 0x7b], al
jmp 0x477a60
mov cl, byte [esi + 0x178]
mov byte [edi + 0x7b], cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x477a6f
push eax
push ebp
call fcn.00449d94
mov esi, dword [esi + 0x50]
cmp esi, 0xffffffff
je 0x477a7e
push esi
push ebp
call fcn.00449b59
lea esi, [esp + 0x50]
call fcn.0040bd20
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
push ebp
push 0x49f310
call fcn.00456bf3
lea esi, [esp + 0x50]
call fcn.0040bd20
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x34