Function at 0x47af6c
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 [0x4a363c]
add eax, 0xfffffff4
push edi
cmp eax, 8
ja case.0x47af8c.13
movzx eax, byte [eax + 0x47b6b8]
jmp dword [eax*4 + 0x47b6b0]
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
je 0x47afbf
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x4a35d0
call fcn.00444cfe
test al, al
je 0x47afbf
mov esi, dword [esp + 0x1c]
jmp 0x47afbf
mov ebx, dword [esp + 0x34]
cmp esi, 0xffffffff
jne 0x47afd9
lea esi, [esp + 0x50]
call fcn.00401f90
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
mov eax, dword [0x4a3630]
mov ecx, dword [eax + esi*4]
mov esi, dword [ecx]
push esi
call fcn.0045b7b4
mov ebp, eax
cmp ebp, 0xffffffff
je 0x47afc4
mov edx, dword [0x4a3644]
mov eax, dword [edx + ebp*4]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, 0xe
je 0x47b022
cmp eax, 0xf
je 0x47b022
cmp eax, 0xc
je 0x47b022
mov byte [edi + 0x8a], 0x50
mov cx, word [0x4a35d8]
mov word [edi + 0x7e], cx
jmp 0x47b029
mov byte [edi + 0x8a], 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 0x47b084
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.004363e4
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 0x47b08a
xor edx, edx
mov word [edi + 0x7e], dx
cmp dword [esp + 0x2c], 0x1d
ja case.0x47b099.13
mov edx, dword [esp + 0x2c]
jmp dword [edx*4 + 0x47b6c4]
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.0045170d
jmp 0x47b443
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.00451632
jmp 0x47b443
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.00451a4c
jmp 0x47b443
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.004519a1
jmp 0x47b443
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.004518fd
jmp 0x47b443
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.00451554
jmp 0x47b443
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.00451454
jmp 0x47b443
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.0045131e
jmp 0x47b443
sub esp, 0x10
lea eax, [esp + 0x60]
mov ebx, esp
call fcn.00405c60
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.0046fad0
jmp 0x47b443
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.00451255
jmp 0x47b443
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.004511a1
jmp 0x47b443
lea ecx, [esp + 0x50]
call fcn.00401880
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.00443e41
jmp 0x47b443
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push ebp
push edi
push esi
call fcn.004510aa
jmp 0x47b443
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.00450f9f
jmp 0x47b443
mov eax, dword [esp + 0x30]
push eax
push ebp
push edi
push esi
call fcn.00443d75
jmp 0x47b443
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.0044b1f5
jmp 0x47b443
mov ecx, dword [esp + 0x34]
push ecx
push edi
push esi
call fcn.0044ac07
jmp 0x47b443
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.0044b08f
jmp 0x47b443
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.00450e56
jmp 0x47b443
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebp
push edi
call fcn.0044af4b
jmp 0x47b443
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.00443a73
jmp 0x47b443
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.00451b11
jmp 0x47b443
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.00451b9a
jmp 0x47b443
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.0045186a
jmp 0x47b443
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.004517d1
jmp 0x47b443
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.00450c6c
jmp 0x47b443
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebp
push edi
call fcn.0044ace5
jmp 0x47b443
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.0047ae5d
test al, al
jne case.0x47b099.21
push ebp
push 0x4a35d0
call fcn.00457bda
cmp dword [esp + 0x2c], 0xb
lea esi, [esp + 0x50]
jne 0x47afc8
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0
jne 0x47afc8
call fcn.00401f90
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 + 0x88], dl
mov byte [edi + 0x89], al
mov ecx, dword [0x4a363c]
mov dword [0x4a3668], ecx
mov dword [0x4a3664], ebp
test al, 1
jne 0x47b4fb
lea ecx, [esi + 0x68]
push ecx
call fcn.004384bf
test al, al
je 0x47b4db
cmp dword [esi + 0x78], 0x55
jne 0x47b4db
cmp dword [esi + 0x7c], 0x190
jne 0x47b4db
cmp dword [esi + 0x80], 0
jne 0x47b4db
cmp dword [esi + 0x84], 2
je 0x47b4fb
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
push 0
push edx
mov edx, dword [esi + 0x7c]
push eax
mov eax, dword [esi + 0x78]
push edx
push eax
push ecx
push edi
push esi
call fcn.004440f4
test byte [esp + 0x4c], 4
jne 0x47b620
or eax, 0xffffffff
cmp dword [esp + 0x3c], eax
je 0x47b519
cmp dword [esp + 0x40], eax
jne 0x47b620
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi]
mov ebx, eax
xor eax, eax
push eax
push eax
push 0x31
push edx
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]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
push ecx
push ebx
call fcn.00438bff
mov edx, dword [esp + 0x40]
add esp, 0xc
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x2c]
add eax, 0xffffffe9
cmp eax, 3
ja case.default.0x47b57c
jmp dword [eax*4 + 0x47b73c]
mov edx, dword [esp + 0x1c]
jmp 0x47b5ba
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
jmp case.default.0x47b57c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, 0xc
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jmp case.default.0x47b57c
mov edx, dword [esp + 0x1c]
add edx, 8
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
or eax, 0xffffffff
cmp dword [esp + 0x40], eax
jne 0x47b5e7
cmp dword [esi + 0x60], eax
je 0x47b5dd
cmp dword [0x4a35d4], 2
je 0x47b5e7
mov ecx, dword [esp + 0x44]
add ecx, 8
mov dword [esi + 0x60], ecx
cmp dword [esp + 0x3c], eax
jne 0x47b605
cmp dword [esi + 0x5c], eax
je 0x47b5fb
cmp dword [0x4a35d4], 2
je 0x47b605
mov edx, dword [esp + 0x48]
add edx, 8
mov dword [esi + 0x5c], edx
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push 1
push eax
mov eax, dword [esi + 0x54]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [esp + 0x24], 0
jne 0x47b630
push 0
push edi
push esi
call fcn.0043608c
cmp byte [esi + 0x188], 0
je 0x47b65c
cmp dword [esi + 0x180], 0xffffffff
je 0x47b650
mov dl, byte [esi + 0x180]
mov byte [edi + 0x8b], dl
jmp 0x47b65c
mov al, byte [esi + 0x17c]
mov byte [edi + 0x8b], al
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47b66b
push eax
push ebp
call fcn.0044bc2a
mov esi, dword [esi + 0x50]
cmp esi, 0xffffffff
je 0x47b67a
push esi
push ebp
call fcn.0044b9a2
lea esi, [esp + 0x50]
call fcn.00401f90
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
push ebp
push 0x4a35d0
call fcn.00457bda
lea esi, [esp + 0x50]
call fcn.00401f90
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x34