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

Disassembly:
push 0xffffffffffffffff
push 0x46fa16
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b914]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xb8], 2
call fcn.00436c6e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407574
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0xc0]
push ebx
lea ecx, [esp + 0x40]
push ecx
push 9
push 2
push 0xcb
push edx
mov byte [esp + 0xd0], 3
mov dword [esp + 0x58], 1
call fcn.0043f6c3
mov eax, dword [esp + 0x54]
add esp, 0x18
mov ebp, eax
mov dword [esp + 0x44], ebp
cmp eax, ebx
je 0x40766a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], ebp
cmp eax, ebp
je 0x407601
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp]
push 0x47ae60
mov edi, eax
mov eax, dword [ecx]
push ebp
call eax
cmp edi, ebx
je 0x4075fd
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4076b7
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40762d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40764f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xb8], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
xor eax, eax
jmp 0x407e0f
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40768e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4076b0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x407e0f
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
cmp eax, ebx
jge 0x40772c
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x407711
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xb8], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
xor eax, eax
jmp 0x407e0f
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409320
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
cmp eax, ebx
jl 0x4077bf
push str.c_user
push esi
call fcn.00455422
add esp, 8
cmp eax, ebx
je 0x4077bf
sub eax, esi
cmp eax, 0xffffffff
je 0x4077bf
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4077a4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xb8], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
xor eax, eax
jmp 0x407e0f
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x80]
call fcn.00409120
add esp, 4
mov ecx, esi
call fcn.004022c0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x38]
call fcn.004096d0
mov edi, dword [esp + 0x38]
cmp edi, ebx
jne 0x407875
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40781b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x38]
mov byte [esp + 0xb8], 3
cmp edi, ebx
je 0x40782f
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
lea ecx, [esp + 0x28]
call fcn.00402170
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40785a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
xor eax, eax
jmp 0x407e0f
mov eax, str.form
lea esi, [esp + 0x3c]
call fcn.00405220
mov byte [esp + 0xb8], 6
mov eax, dword [eax]
mov edx, dword [edi]
mov edx, dword [edx + 0xbc]
lea ecx, [esp + 0x2c]
push ecx
push eax
push edi
call edx
mov esi, eax
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x407d7a
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
jle 0x407d7a
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x4c]
push ecx
call ebp
lea eax, [esp + 0x9c]
mov edx, 3
mov byte [esp + 0xb8], 9
push eax
mov word [esp + 0x80], dx
call ebp
mov esi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xb4]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xb8]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xbc]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x90]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xa4]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x58]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xac]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0xc], esi
call ecx
cmp eax, ebx
jl 0x407b3a
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x47ae20
push eax
call edx
cmp eax, ebx
jl 0x407b3a
mov edi, dword [esp + 0x1c]
mov eax, str.classname
lea esi, [esp + 0x78]
call fcn.00405220
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xbc], 0xa
mov eax, dword [eax]
mov ecx, dword [edi]
push 2
push eax
mov eax, dword [ecx + 0x20]
push edi
call eax
mov byte [esp + 0xb8], 9
mov ecx, dword [esp + 0x78]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ax, word [esp + 0x4c]
cmp ax, 1
je 0x407a34
cmp ax, bx
je 0x407a34
push 8
push ebx
lea edx, [esp + 0x54]
push edx
mov eax, edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0046cda0
push eax
lea ecx, [esp + 0x28]
call fcn.00404050
push str.checkpoint
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 0xb
call fcn.004093f0
test eax, eax
je 0x407bee
lea ecx, [esp + 0x24]
call fcn.00402170
lea edx, [esp + 0x64]
push edx
call ebp
mov byte [esp + 0xb8], 0xd
mov edi, dword [esp + 0x1c]
mov eax, 0x47bb14
lea esi, [esp + 0x60]
call fcn.00405220
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xbc], 0xe
mov eax, dword [eax]
mov ecx, dword [edi]
push 2
push eax
mov eax, dword [ecx + 0x20]
push edi
call eax
mov byte [esp + 0xb8], 0xd
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ax, word [esp + 0x64]
cmp ax, 1
je 0x407ade
cmp ax, bx
je 0x407ade
push 8
push ebx
lea edx, [esp + 0x6c]
push edx
mov eax, edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0046cda0
push eax
lea ecx, [esp + 0x4c]
call fcn.00404050
push str.login_form
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 0xf
call fcn.004093f0
test eax, eax
je 0x407c84
lea ecx, [esp + 0x48]
call fcn.00402170
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x64]
push edx
call esi
lea eax, [esp + 0x4c]
push eax
call esi
mov byte [esp + 0xb8], 7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x407b0a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407b22
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
jl 0x4078e0
jmp 0x407d7a
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0xb8], 7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x407b5d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407b75
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x407b8d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x407ba5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x28]
call fcn.00402170
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x407bd0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb8], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x407e0f
mov dword [esp + 0x34], ebx
mov byte [esp + 0xb8], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x100]
call eax
cmp eax, ebx
jl 0x407c3c
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0xc4]
push ecx
mov ecx, esi
call fcn.00409320
push esi
lea esi, [esp + 0x80]
call fcn.00409120
add esp, 4
mov ecx, esi
call fcn.004022c0
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0x44], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x24]
call fcn.00402170
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0xb8], 7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x407d62
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x407d62
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb8], 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x100]
call eax
cmp eax, ebx
mov edi, dword [esp + 0xc4]
jl 0x407cd2
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00409320
push edi
lea esi, [esp + 0x80]
call fcn.00409120
add esp, 4
mov ecx, esi
call fcn.004022c0
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
mov dword [esp + 0x40], 1
jl 0x407cfa
push 0x47bb24
push eax
call fcn.00455422
add esp, 8
cmp eax, ebx
je 0x407cfa
sub eax, dword [edi]
cmp eax, 0xffffffff
jne 0x407d1a
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jl 0x407d22
push 0x47bb34
push eax
call fcn.00455422
add esp, 8
cmp eax, ebx
je 0x407d22
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x407d22
mov dword [esp + 0x40], 2
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x48]
call fcn.00402170
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x4c]
push ecx
call esi
mov byte [esp + 0xb8], 7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x407d62
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x407d7a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x407d92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x407daa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x407df4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb8], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 8