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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x218
lea eax, [0x506ccd]
lea ebx, [esp + 0x88]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0x5e3da65a
push dword [esp + 0x88]
push eax
call fcn.004014b0
add esp, 8
mov ecx, 0xea8195c1
lea edi, [esp + 0x150]
xor ecx, dword [eax]
mov dword [esp + 0x150], ecx
movzx eax, word [eax + 4]
xor al, 0x7d
xor ah, 0xe2
mov byte [esp + 0x154], al
mov byte [esp + 0x155], ah
push 6
push edi
push ebx
call fcn.004c0bc0
add esp, 0xc
cmp byte [esp + 0x94], 3
jne 0x40a097
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
push 8
push str..install:
mov dword [esp + 0x1c], ecx
push ecx
mov dword [esp + 0x38], eax
push eax
push edi
call fcn.004c42c0
add esp, 0x14
push edi
call fcn.004c4d80
add esp, 4
push edx
push eax
push ebx
call fcn.004c5560
add esp, 0xc
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
xor edi, 2
mov eax, edi
or eax, ebx
jne 0x40992d
cmp byte [esp + 0x90], 3
jne 0x40992d
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40991c
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x150]
test eax, eax
je 0x40994a
push 1
push eax
push dword [esp + 0x15c]
call fcn.0040dc90
add esp, 0xc
or edi, ebx
jne 0x40a07c
mov dword [esp + 0x10], esi
push 8
push str..install:
push dword [esp + 0x1c]
push dword [esp + 0x38]
lea edi, [esp + 0x98]
push edi
call fcn.004c42c0
add esp, 0x14
push edi
call fcn.004c4d80
add esp, 4
push 0
push str..install:
push edx
push eax
lea eax, [esp + 0x160]
push eax
call fcn.004c5bb0
add esp, 0x14
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4099b4
push 1
push eax
push dword [esp + 0x94]
call fcn.0040dc90
add esp, 0xc
cmp byte [esp + 0x150], 4
je 0x4099fe
cmp byte [esp + 0x150], 3
jne 0x4099fe
mov esi, dword [esp + 0x154]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4099f1
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
lea eax, [0x504c84]
mov dword [esp], 0
mov dword [esp + 4], 4
mov dword [esp + 8], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0xf2a6f0fe
push dword [esp + 0x88]
push eax
call fcn.004017f0
add esp, 8
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
movzx ebx, word [eax + 0x14]
movzx edi, byte [eax + 0x16]
push 1
push 0x17
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x40a09b
mov esi, eax
mov eax, dword [esp + 0x78]
shl edi, 0x10
or ebx, edi
xor eax, 0xc5ef2036
mov dword [esi], eax
mov eax, dword [esp + 0x7c]
xor eax, 0x1cd7e882
mov dword [esi + 4], eax
mov eax, dword [esp + 0x80]
xor eax, 0xd93cd441
mov dword [esi + 8], eax
mov eax, dword [esp + 0x84]
xor eax, 0x352e66fb
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
xor eax, 0xc7de3a63
mov dword [esi + 0x10], eax
mov eax, ebx
xor bh, 0x1f
xor bl, 0x6a
shr eax, 0x10
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bh
xor al, 0xd9
mov byte [esi + 0x16], al
mov eax, esp
push 0
push eax
call fcn.0040bcb0
add esp, 8
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
lea edi, [esp + 0x88]
lea ecx, [ecx + ecx*2]
mov dword [eax + ecx*4], 0x17
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0x17
lea eax, [0x500e26]
inc dword [esp + 8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0xbf24cff1
push dword [esp + 0x88]
push eax
call fcn.00401a80
add esp, 8
mov ecx, 0x79271edf
mov edx, 0xc56ac781
xor ecx, dword [eax]
mov dword [esp + 0x20], ecx
xor edx, dword [eax + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x24], edx
push 8
push str.USERNAME_n
push edi
call fcn.004c0bc0
add esp, 0xc
cmp byte [esp + 0x94], 3
jne 0x40a097
mov eax, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
lea esi, [esp + 0x50]
lea ebx, [esp + 0x150]
mov dword [esp + 0x90], 0x507c4c
mov dword [esp + 0x94], 2
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 2
mov dword [esp + 0x58], eax
lea eax, [esp + 0x18]
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x150], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x154], 0x404150
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], 0x4079c0
push edi
push eax
call fcn.004d1060
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x409c35
push 1
push eax
push dword [esp + 0x5c]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 8]
cmp eax, dword [esp]
jne 0x409c50
push eax
lea eax, [esp + 4]
push eax
call fcn.0040bcb0
add esp, 8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x38]
lea eax, [eax + eax*2]
mov dword [ecx + eax*4 + 8], edx
movsd xmm0, qword [esp + 0x30]
movsd qword [ecx + eax*4], xmm0
lea eax, [0x506ff0]
inc dword [esp + 8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0x9875901f
push dword [esp + 0x88]
push eax
call fcn.00401220
add esp, 8
mov ecx, 0x3fc75667
xor ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, 0x747040a2
xor ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
movzx eax, byte [eax + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 9
xor al, 0x90
mov byte [esp + 0x38], al
push edi
call fcn.004bdcd0
add esp, 4
cmp byte [esp + 0x88], 4
jne 0x40a097
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x90], 0x507c4c
mov dword [esp + 0x94], 2
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 2
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], 0x404150
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], 0x4097e0
mov dword [esp + 0x18], eax
push edi
push esi
call fcn.004d1060
add esp, 8
mov eax, dword [esp + 8]
cmp eax, dword [esp]
jne 0x409d74
push eax
lea eax, [esp + 4]
push eax
call fcn.0040bcb0
add esp, 8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*2]
mov dword [ecx + eax*4 + 8], edx
movsd xmm0, qword [esp + 0x50]
movsd qword [ecx + eax*4], xmm0
lea eax, [0x4f942c]
inc dword [esp + 8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0xb59baf4
push dword [esp + 0x88]
push eax
call fcn.004015d0
add esp, 8
mov ecx, 0x6fda1d04
mov edx, 0x9181f565
xor ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov ecx, 0xa32bec19
xor ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov ecx, 0xbbccaed
xor ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov ecx, 0xcec5503d
xor ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov ecx, 0xfc9a89dc
xor ecx, dword [eax + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, 0x198abe8c
xor ecx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, 0x85382d81
xor ecx, dword [eax + 0x18]
mov dword [esp + 0x68], ecx
xor edx, dword [eax + 0x1c]
mov dword [esp + 0x6c], edx
movzx eax, word [eax + 0x20]
xor al, 0x93
xor ah, 0x5c
mov byte [esp + 0x70], al
mov byte [esp + 0x71], ah
push 0x22
push esi
push ebx
call fcn.0040ffb0
add esp, 0xc
lea eax, [0x50501c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0x8bd4d73a
push dword [esp + 0x88]
push eax
call fcn.004015b0
add esp, 8
movzx eax, word [eax]
xor al, 0x4a
xor ah, 0x27
mov byte [esp + 0xe], al
mov byte [esp + 0xf], ah
lea eax, [0x4fce1f]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0xb85ae0b8
push dword [esp + 0x88]
push eax
call fcn.00401560
add esp, 8
movzx eax, byte [eax]
xor al, 0x39
mov byte [esp + 0xd], al
lea eax, [0x4ffb91]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0x4ba5cf5e
push dword [esp + 0x88]
push eax
call fcn.00401650
add esp, 8
mov ecx, 0xb45b6b04
xor ecx, dword [eax]
mov dword [esp + 0x18], ecx
push 1
push 0x507c64
push dword [esp + 0x10]
push dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
call fcn.004059f0
add esp, 0x14
mov edx, edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xe]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xd]
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
push 2
lea eax, [esp + 0x34]
push eax
push ebx
push edx
call fcn.00411bd0
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x409f71
push 1
push eax
push edi
call fcn.0040dc90
add esp, 0xc
cmp dword [esp + 0x88], 0
jne 0x40a097
lea eax, [esp + 0x8c]
push 0xc0
push eax
push ebx
call fcn.004f5b80
add esp, 0xc
push ebx
push esi
call fcn.00413680
add esp, 8
cmp dword [esp + 0x50], 0
jne 0x40a097
mov eax, dword [esp + 0x5c]
movsd xmm0, qword [esp + 0x54]
lea ecx, [esp + 0x30]
mov dword [esp + str..install:], 0x507c68
mov dword [esp + 0x15c], 2
mov dword [esp + 0x150], 0
mov dword [esp + 0x160], esi
mov dword [esp + 0x164], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x4079c0
mov dword [esp + 0x38], eax
movsd qword [esp + 0x30], xmm0
push ebx
call fcn.004c2110
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40a021
push 1
push eax
push dword [esp + 0x3c]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [esp + 8]
test esi, esi
je 0x40a05c
mov edi, dword [esp + 4]
add edi, 4
jmp 0x40a046
add edi, 0xc
dec esi
je 0x40a05c
mov eax, dword [edi - 4]
test eax, eax
je 0x40a040
push 1
push eax
push dword [edi]
call fcn.0040dc90
add esp, 0xc
jmp 0x40a040
mov eax, dword [esp]
test eax, eax
je 0x40a078
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0xc]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [esp + 0x10]
test esi, esi
je 0x40a08f
push 1
push esi
push dword [esp + 0x34]
call fcn.0040dc90
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
push 1
push 0x17
call fcn.005062c0
add esp, 8
ud2