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

Disassembly:
push 0xffffffffffffffff
push 0x40a37b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x284], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x28c]
lea ecx, [esp + 0x28]
push ecx
push esi
mov eax, dword [esi]
mov byte [esp + 0x28c], 4
call dword [eax + 0x38]
test eax, eax
jl 0x403298
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x403298
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x403298
xor ebp, ebp
dec eax
test eax, eax
mov dword [esp + 0x2c], ebp
jl 0x403298
mov edi, dword [esp + 0x60]
mov eax, 3
mov word [esp + 0x54], ax
mov word [esp + 0x64], ax
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov edx, dword [eax]
mov esi, esp
sub esp, 0x10
mov dword [esi], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esi + 4], ecx
xor ecx, ecx
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [esi + 0xc], ecx
mov esi, dword [esp + 0x78]
mov ecx, esp
push eax
mov dword [ecx], esi
mov esi, dword [esp + 0x80]
mov dword [ecx + 4], esi
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edi
call dword [edx + 0x2c]
test eax, eax
jl 0x40327f
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 0x40b2b0
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x40327f
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x6c]
test eax, eax
jl 0x40327f
mov edx, dword [esp + 0x30]
xor esi, esi
dec edx
mov dword [esp + 0x48], esi
test edx, edx
jl 0x40327f
mov eax, 3
mov word [esp + 0x54], ax
mov word [esp + 0x64], ax
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov edx, dword [eax]
mov ebp, esp
sub esp, 0x10
mov dword [ebp], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 4], ecx
xor ecx, ecx
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [ebp + 0xc], ecx
mov ebp, dword [esp + 0x78]
mov ecx, esp
push eax
mov dword [ecx], ebp
mov ebp, dword [esp + 0x80]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call dword [edx + 0x74]
test eax, eax
jl 0x403269
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push 0x40b280
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x403269
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
push eax
mov edx, dword [eax]
mov byte [esp + 0x28c], 6
call dword [edx + 0x1c]
mov esi, dword [esp + 0x40]
cmp esi, ebx
je 0x403245
push 0xc
call fcn.0040445a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x284], 7
je 0x402e98
push esi
mov ecx, eax
call fcn.00402af0
mov ebp, eax
jmp 0x402e9a
xor ebp, ebp
cmp ebp, ebx
mov byte [esp + 0x284], 6
mov dword [esp + 0x14], ebp
jne 0x402eb4
push 0x8007000e
call fcn.004038e3
cmp ebp, ebx
mov byte [esp + 0x284], 8
je 0x402ec9
mov ecx, ebp
call fcn.00402b80
jmp 0x402ecb
xor eax, eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x284], 6
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebp, ebx
rep movsb byte es:[edi], byte [esi]
je 0x402f01
mov ecx, ebp
call fcn.00402b30
lea ecx, [esp + 0x7c]
push ecx
call fcn.00403ffd
lea edx, [esp + 0x80]
push str.PASSWORD
push edx
call fcn.00404360
add esp, 0xc
test eax, eax
je 0x403245
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jne 0x403245
mov edi, dword [esp + 0x38]
mov byte [esp + 0x7d], bl
cmp edi, ebx
mov byte [esp + 0x7c], bl
je 0x403001
push 0xc
call fcn.0040445a
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x284], 9
je 0x402f98
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esi], eax
jne 0x402f94
cmp edi, ebx
je 0x402f94
push 0x8007000e
call fcn.004038e3
mov ebp, esi
jmp 0x402f9a
xor ebp, ebp
cmp ebp, ebx
mov byte [esp + 0x284], 6
mov dword [esp + 0x14], ebp
jne 0x402fb4
push 0x8007000e
call fcn.004038e3
cmp ebp, ebx
mov byte [esp + 0x284], 0xa
je 0x402fc9
mov ecx, ebp
call fcn.00402b80
jmp 0x402fcb
xor eax, eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x284], 6
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebp, ebx
rep movsb byte es:[edi], byte [esi]
je 0x403001
mov ecx, ebp
call fcn.00402b30
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403245
mov ecx, dword [0x40d06c]
mov eax, dword [0x40d068]
cmp ecx, eax
je 0x403201
push 0xc
call fcn.0040445a
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x284], 0xb
je 0x403073
push 0x40d380
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.0040379e
cmp eax, ebx
mov dword [esi], eax
jne 0x403075
mov edx, 0x40d380
test edx, edx
je 0x403075
push 0x8007000e
call fcn.004038e3
jmp 0x403075
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x284], 6
mov dword [esp + 0x34], esi
jne 0x40308f
push 0x8007000e
call fcn.004038e3
push 0xc
mov byte [esp + 0x288], 0xc
call fcn.0040445a
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x284], 0xd
je 0x4030e2
push 0x40fe68
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.0040379e
cmp eax, ebx
mov dword [esi], eax
jne 0x4030e4
mov eax, 0x40fe68
test eax, eax
je 0x4030e4
push 0x8007000e
call fcn.004038e3
jmp 0x4030e4
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x284], 0xc
mov dword [esp + 0x44], esi
jne 0x4030fe
push 0x8007000e
call fcn.004038e3
push 0xc
mov byte [esp + 0x288], 0xe
call fcn.0040445a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x284], 0xf
je 0x40312e
push 0x40d3e0
mov ecx, eax
call fcn.00403560
jmp 0x403130
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x284], 0xe
mov dword [esp + 0x3c], eax
jne 0x40314a
push 0x8007000e
call fcn.004038e3
lea ecx, [esp + 0x44]
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x28c], 0x10
call fcn.004033c0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x28c], 0x11
call fcn.004033c0
mov ecx, dword [eax]
mov byte [esp + 0x284], 0x12
cmp ecx, ebx
je 0x403193
call fcn.00402b80
jmp 0x403195
xor eax, eax
push eax
mov eax, dword [0x40fe60]
push eax
call fcn.004035a0
mov ecx, dword [esp + 0x58]
add esp, 8
cmp ecx, ebx
je 0x4031b5
call fcn.00402b30
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x4031c6
call fcn.00402b30
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x4031d7
call fcn.00402b30
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
je 0x4031e8
call fcn.00402b30
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x284], 6
cmp ecx, ebx
je 0x403201
call fcn.00402b30
mov dword [esp + 0x34], ebx
mov ecx, dword [0x40fe60]
push 0x40d3d8
push ecx
call fcn.004035a0
mov eax, dword [0x40fe60]
lea edx, [esp + 0x84]
push edx
push eax
call fcn.004035a0
mov ecx, dword [0x40fe60]
push 0x40d380
push ecx
call fcn.004035a0
mov edx, dword [0x40d06c]
add esp, 0x18
mov dword [0x40d068], edx
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x284], 4
push ecx
call esi
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
inc esi
dec edx
mov dword [esp + 0x48], esi
cmp esi, edx
jle 0x402dd5
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
inc ebp
dec eax
mov dword [esp + 0x2c], ebp
cmp ebp, eax
jle 0x402d27
mov esi, dword [esp + 0x28c]
mov dword [esp + 0x24], ebx
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
push esi
mov byte [esp + 0x28c], 0x13
call dword [ecx + 0x5c]
test eax, eax
jl 0x403338
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x403338
xor esi, esi
dec eax
test eax, eax
jl 0x403338
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x58]
mov word [esp + 0x58], 3
mov dword [esp + 0x60], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x2c]
push edx
push 0x40b2a0
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x40332e
push eax
call fcn.00402c80
add esp, 4
mov eax, dword [esp + 0x10]
inc esi
dec eax
cmp esi, eax
jle 0x4032d9
mov eax, dword [esp + 0x24]
mov byte [esp + 0x284], 4
cmp eax, ebx
je 0x40334e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x284], 3
cmp eax, ebx
je 0x403364
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x284], 2
cmp eax, ebx
je 0x40337a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x284], 1
cmp eax, ebx
je 0x403390
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x284], bl
cmp eax, ebx
je 0x4033a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x278
ret