Function at 0x47794f
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.0x47796f.13
movzx eax, byte [eax + 0x47807b]
jmp dword [eax*4 + 0x478073]
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
je 0x4779a2
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x49f310
call fcn.0044363a
test al, al
je 0x4779a2
mov esi, dword [esp + 0x1c]
jmp 0x4779a2
mov ebx, dword [esp + 0x34]
cmp esi, 0xffffffff
jne 0x4779bc
lea esi, [esp + 0x50]
call fcn.0040bd60
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.004591e8
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4779a7
mov edx, dword [0x49f384]
mov eax, dword [edx + ebp*4]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, 0xe
je 0x477a02
cmp eax, 0xf
je 0x477a02
cmp eax, 0xc
je 0x477a02
mov byte [edi + 0x7a], 0x50
mov cx, word [0x49f318]
mov word [edi + 0x6e], cx
jmp 0x477a06
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 0x477a61
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.0043555e
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 0x477a67
xor edx, edx
mov word [edi + 0x6e], dx
cmp dword [esp + 0x2c], 0x1d
ja case.0x477a76.13
mov edx, dword [esp + 0x2c]
jmp dword [edx*4 + 0x478087]
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.0044f57d
jmp 0x477e20
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.0044f4a2
jmp 0x477e20
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.0044f8bc
jmp 0x477e20
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.0044f811
jmp 0x477e20
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.0044f76d
jmp 0x477e20
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.0044f3c4
jmp 0x477e20
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.0044f2c4
jmp 0x477e20
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.0044f18e
jmp 0x477e20
sub esp, 0x10
lea eax, [esp + 0x60]
mov ebx, esp
call fcn.004081f0
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.0046cabe
jmp 0x477e20
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.0044f0c5
jmp 0x477e20
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.0044f011
jmp 0x477e20
lea ecx, [esp + 0x50]
call fcn.0040c820
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.004427cd
jmp 0x477e20
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push ebp
push edi
push esi
call fcn.0044ef1d
jmp 0x477e20
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.0044ee19
jmp 0x477e20
mov eax, dword [esp + 0x30]
push eax
push ebp
push edi
push esi
call fcn.00442704
jmp 0x477e20
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.004494b9
jmp 0x477e20
mov ecx, dword [esp + 0x34]
push ecx
push edi
push esi
call fcn.00448ef0
jmp 0x477e20
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 int.00449359
jmp 0x477e20
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.0044ecd3
jmp 0x477e20
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebp
push edi
call fcn.0044921b
jmp 0x477e20
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.0044242e
jmp 0x477e20
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.0044f981
jmp 0x477e20
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.0044fa0a
jmp 0x477e20
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.0044f6da
jmp 0x477e20
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.0044f641
jmp 0x477e20
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.0044eaef
jmp 0x477e20
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebp
push edi
call fcn.00448fc8
jmp 0x477e20
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.0047784c
test al, al
jne case.0x477a76.21
push ebp
push 0x49f310
call fcn.00456947
cmp dword [esp + 0x2c], 0xb
lea esi, [esp + 0x50]
jne 0x4779ab
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0
jne 0x4779ab
call fcn.0040bd60
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 0x477ec2
lea ecx, [esi + 0x68]
push ecx
call fcn.004373b3
test al, al
je 0x477ea9
cmp dword [esi + 0x78], 0x55
jne 0x477ea9
cmp dword [esi + 0x7c], 0x190
jne 0x477ea9
cmp dword [esi + 0x80], 0
je 0x477ec2
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.00442af2
test byte [esp + 0x4c], 4
jne 0x477fe7
or eax, 0xffffffff
cmp dword [esp + 0x3c], eax
je 0x477ee0
cmp dword [esp + 0x40], eax
jne 0x477fe7
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.00437a46
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.0x477f43
jmp dword [eax*4 + 0x4780ff]
mov ecx, dword [esp + 0x1c]
jmp 0x477f81
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.0x477f43
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.0x477f43
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 0x477fae
cmp dword [esi + 0x60], eax
je 0x477fa4
cmp dword [0x49f314], 2
je 0x477fae
mov edx, dword [esp + 0x44]
add edx, 8
mov dword [esi + 0x60], edx
cmp dword [esp + 0x3c], eax
jne 0x477fcc
cmp dword [esi + 0x5c], eax
je 0x477fc2
cmp dword [0x49f314], 2
je 0x477fcc
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 0x477ff7
push 0
push edi
push esi
call fcn.00435260
cmp byte [esi + 0x184], 0
je 0x47801d
cmp dword [esi + 0x17c], 0xffffffff
je 0x478014
mov al, byte [esi + 0x17c]
mov byte [edi + 0x7b], al
jmp 0x47801d
mov cl, byte [esi + 0x178]
mov byte [edi + 0x7b], cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47802c
push eax
push ebp
call fcn.00449e92
mov esi, dword [esi + 0x50]
cmp esi, 0xffffffff
je 0x47803b
push esi
push ebp
call fcn.00449c4f
lea esi, [esp + 0x50]
call fcn.0040bd60
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
push ebp
push 0x49f310
call fcn.00456947
lea esi, [esp + 0x50]
call fcn.0040bd60
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x34