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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x573c40
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
cmp dword [esi + 0xac], 0
jne 0x4184ec
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov edi, 0x474
mov dword [esp + 0x78], 0
call fcn.00417600
test eax, eax
je 0x4182eb
push eax
mov eax, edi
lea edi, [esp + 0x18]
call fcn.00417860
mov ebx, dword [esp + 0x14]
push esi
mov ecx, ebx
call fcn.0041a6f0
add ebx, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418317
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [esp + 0x18], 0
add esi, 0x8c
push esi
lea edi, [esp + 0x18]
mov dword [esp + 0x7c], 1
call fcn.004d16f0
add esp, 4
push str.pix1
lea ebx, [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.004d1890
mov bl, al
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x418369
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
jne 0x41838a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [esp + 0x48]
call fcn.00438490
push 0x5a8fa8
mov eax, esi
push eax
call fcn.00532abb
push 0
mov byte [esp + 0x7c], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call fcn.00424a50
test eax, eax
je 0x4183b6
movzx ecx, word [eax]
push ecx
add eax, 2
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x4183c2
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x24]
xor edx, edx
push eax
mov word [esp + 0x28], dx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x4183de
push eax
call fcn.00413f90
mov ecx, 8
mov word [esp + 0x24], cx
test esi, esi
jne 0x4183f0
xor eax, eax
jmp 0x4183ff
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x418427
test esi, esi
je 0x418427
mov edx, 0xa
push 0x8007000e
mov word [esp + 0x28], dx
mov dword [esp + 0x30], 0x8007000e
call fcn.00413f90
mov byte [esp + 0x78], 4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
push str.value
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x418467
push 0x8007000e
call fcn.00413f90
mov byte [esp + 0x78], 5
mov edx, dword [esp + 0x38]
mov ecx, dword [ebx]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x54]
push edi
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x1c]
push ebx
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
mov ebx, eax
call esi
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x7c], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
jns 0x4184c9
push ebx
lea esi, [esp + 0x5c]
call fcn.00438540
push 0x5a8fe8
mov edx, esi
push edx
call fcn.00532abb
mov eax, dword [esp + 0x14]
push eax
call esi
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4184e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0xbc]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x4184fe
mov eax, dword [eax]
push str.Login.eMail
push eax
push esi
call fcn.0041a430
cmp dword [esi + 0xec], edi
lea eax, [esi + 0xd8]
jb 0x41851a
mov eax, dword [eax]
push str.Login.Password
push eax
push esi
call fcn.0041a430
cmp dword [esi + 0xcc], 0
jne 0x418536
push str.Login.eMail
jmp 0x41853b
push str.Login.Password
push esi
call fcn.0041a7f0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret