Function at 0x43a160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c038
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x59bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00438240
add esp, 4
cmp dword [ebp - 0x30], 0
mov bl, 1
mov dword [ebp - 4], 0
je 0x43a3b2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43a1b6
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a3b2
cmp dword [esi + 0x14], 8
jb 0x43a1cd
mov esi, dword [esi]
push 0x5539e4
push 0x5570d8
push str.Login
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0043adb0
add esp, 0x14
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
je 0x43a37c
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.0040ca70
mov ecx, eax
test ecx, ecx
je 0x43a407
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040df70
test al, al
jne 0x43a259
test esi, esi
jne 0x43a235
xor ecx, ecx
jmp 0x43a24f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a240
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040d5b0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
cmovae esi, dword [ebp - 0x28]
call fcn.0040ca70
mov ecx, eax
test ecx, ecx
je 0x43a411
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040df70
test al, al
jne 0x43a2b9
test esi, esi
jne 0x43a29b
xor ecx, ecx
jmp 0x43a2af
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a2a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040d5b0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0049f580
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a2e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004125f0
mov edx, dword [ebp - 0x4c]
or esi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a31a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a338
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43a354
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0
je 0x43a37c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00510211
add esp, 4
test eax, eax
jle 0x43a37c
lea ecx, [ebp - 0x28]
call fcn.004106a0
jmp 0x43a3b4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43a3b2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a3a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a41b
push edx
push ecx
call fcn.0049dede
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x43a3ea
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a3e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a420
push edx
push ecx
call fcn.0049dede
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049dec8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040aab0
push 0x80004005
call fcn.0040aab0
call fcn.004ffdd3
call fcn.004ffdd3
int3