Function at 0x47721b
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.0x47723b.13
movzx eax, byte [eax + 0x477947]
jmp dword [eax*4 + 0x47793f]
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
je 0x47726e
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x49f310
call fcn.004435e0
test al, al
je 0x47726e
mov esi, dword [esp + 0x1c]
jmp 0x47726e
mov ebx, dword [esp + 0x34]
cmp esi, 0xffffffff
jne 0x477288
lea esi, [esp + 0x50]
call fcn.0040bf40
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.00458fd9
mov ebp, eax
cmp ebp, 0xffffffff
je 0x477273
mov edx, dword [0x49f384]
mov eax, dword [edx + ebp*4]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, 0xe
je 0x4772ce
cmp eax, 0xf
je 0x4772ce
cmp eax, 0xc
je 0x4772ce
mov byte [edi + 0x7a], 0x50
mov cx, word [0x49f318]
mov word [edi + 0x6e], cx
jmp 0x4772d2
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 0x47732d
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.0043557e
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 0x477333
xor edx, edx
mov word [edi + 0x6e], dx
cmp dword [esp + 0x2c], 0x1d
ja case.0x477342.13
mov edx, dword [esp + 0x2c]
jmp dword [edx*4 + 0x477953]
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.0044f47a
jmp 0x4776ec
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.0044f39f
jmp 0x4776ec
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.0044f7b9
jmp 0x4776ec
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.0044f70e
jmp 0x4776ec
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.0044f66a
jmp 0x4776ec
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.0044f2c1
jmp 0x4776ec
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.0044f1c1
jmp 0x4776ec
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.0044f08b
jmp 0x4776ec
sub esp, 0x10
lea eax, [esp + 0x60]
mov ebx, esp
call fcn.00408430
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.0046c57d
jmp 0x4776ec
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.0044efc2
jmp 0x4776ec
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.0044ef0e
jmp 0x4776ec
lea ecx, [esp + 0x50]
call fcn.0040c9e0
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.00442773
jmp 0x4776ec
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push ebp
push edi
push esi
call fcn.0044ee1a
jmp 0x4776ec
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.0044ed16
jmp 0x4776ec
mov eax, dword [esp + 0x30]
push eax
push ebp
push edi
push esi
call fcn.004426aa
jmp 0x4776ec
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.0044941a
jmp 0x4776ec
mov ecx, dword [esp + 0x34]
push ecx
push edi
push esi
call fcn.00448e51
jmp 0x4776ec
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.004492ba
jmp 0x4776ec
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.0044ebd0
jmp 0x4776ec
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebp
push edi
call fcn.0044917c
jmp 0x4776ec
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.004423d4
jmp 0x4776ec
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.0044f87e
jmp 0x4776ec
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.0044f907
jmp 0x4776ec
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.0044f5d7
jmp 0x4776ec
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.0044f53e
jmp 0x4776ec
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.0044e9ec
jmp 0x4776ec
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebp
push edi
call fcn.00448f29
jmp 0x4776ec
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.00477118
test al, al
jne case.0x477342.21
push ebp
push 0x49f310
call fcn.00456731
cmp dword [esp + 0x2c], 0xb
lea esi, [esp + 0x50]
jne 0x477277
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0
jne 0x477277
call fcn.0040bf40
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 0x47778e
lea ecx, [esi + 0x68]
push ecx
call fcn.00437245
test al, al
je 0x477775
cmp dword [esi + 0x78], 0x55
jne 0x477775
cmp dword [esi + 0x7c], 0x190
jne 0x477775
cmp dword [esi + 0x80], 0
je 0x47778e
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.00442a98
test byte [esp + 0x4c], 4
jne 0x4778b3
or eax, 0xffffffff
cmp dword [esp + 0x3c], eax
je 0x4777ac
cmp dword [esp + 0x40], eax
jne 0x4778b3
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.004378d8
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.0x47780f
jmp dword [eax*4 + 0x4779cb]
mov ecx, dword [esp + 0x1c]
jmp 0x47784d
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.0x47780f
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.0x47780f
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 0x47787a
cmp dword [esi + 0x60], eax
je 0x477870
cmp dword [0x49f314], 2
je 0x47787a
mov edx, dword [esp + 0x44]
add edx, 8
mov dword [esi + 0x60], edx
cmp dword [esp + 0x3c], eax
jne 0x477898
cmp dword [esi + 0x5c], eax
je 0x47788e
cmp dword [0x49f314], 2
je 0x477898
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 0x4778c3
push 0
push edi
push esi
call fcn.00435280
cmp byte [esi + 0x184], 0
je 0x4778e9
cmp dword [esi + 0x17c], 0xffffffff
je 0x4778e0
mov al, byte [esi + 0x17c]
mov byte [edi + 0x7b], al
jmp 0x4778e9
mov cl, byte [esi + 0x178]
mov byte [edi + 0x7b], cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4778f8
push eax
push ebp
call fcn.00449d8f
mov esi, dword [esi + 0x50]
cmp esi, 0xffffffff
je 0x477907
push esi
push ebp
call fcn.00449bb0
lea esi, [esp + 0x50]
call fcn.0040bf40
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x34
push ebp
push 0x49f310
call fcn.00456731
lea esi, [esp + 0x50]
call fcn.0040bf40
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x34