Function at 0x434240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5391b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x597644]
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.00432310
add esp, 4
cmp dword [ebp - 0x30], 0
mov bl, 1
mov dword [ebp - 4], 0
je 0x434492
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x434296
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434492
cmp dword [esi + 0x14], 8
jb 0x4342ad
mov esi, dword [esi]
push 0x54fa2c
push 0x553210
push str.Login
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00434e90
add esp, 0x14
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
je 0x43445c
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x4344e7
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.0041d7d0
test al, al
jne 0x434339
test esi, esi
jne 0x434315
xor ecx, ecx
jmp 0x43432f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434320
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040dcb0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
cmovae esi, dword [ebp - 0x28]
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x4344f1
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.0041d7d0
test al, al
jne 0x434399
test esi, esi
jne 0x43437b
xor ecx, ecx
jmp 0x43438f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434380
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040dcb0
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.004a1b90
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 0x4343c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004282d0
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 0x4343fa
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 0x434418
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 0x434434
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0
je 0x43445c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0050af77
add esp, 4
test eax, eax
jle 0x43445c
lea ecx, [ebp - 0x28]
call fcn.00421740
jmp 0x434494
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x434492
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434488
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344fb
push edx
push ecx
call fcn.00497eef
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4344ca
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4344c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434500
push edx
push ecx
call fcn.00497eef
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.004982ff
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ada0
push 0x80004005
call fcn.0040ada0
call fcn.004e9178
call fcn.004e9178
int3