Function at 0x439c80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56189d
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5cac4c]
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 - 0x218]
push 0x208
push 0
push eax
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b6690
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439d00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00412940
cmp dword [ebp - 0x238], 0
mov bl, 1
mov dword [ebp - 4], 0
je 0x439fd5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x439d42
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439fd5
cmp dword [esi + 0x14], 8
jb 0x439d59
mov esi, dword [esi]
push 0x57ba4c
push 0x57f10c
push str.Login
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0043a9d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x230]
push eax
push str.show1_:__s
call fcn.0044ca10
add esp, 0x1c
cmp dword [ebp - 0x220], 0
je 0x439f99
cmp dword [ebp - 0x234], 8
lea esi, [ebp - 0x248]
cmovae esi, dword [ebp - 0x248]
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x43a030
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.0040e220
test al, al
jne 0x439e1c
test esi, esi
jne 0x439df5
xor ecx, ecx
jmp 0x439e0f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439e00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x250]
call fcn.0040d860
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov byte [ebp - 4], 3
cmovae esi, dword [ebp - 0x230]
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x43a03a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
push esi
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.0040e220
test al, al
jne 0x439e8e
test esi, esi
jne 0x439e6d
xor ecx, ecx
jmp 0x439e81
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439e72
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24c]
call fcn.0040d860
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.004aba10
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439ec0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00412940
mov edx, dword [ebp - 0x254]
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 0x439f00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439f21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x439f40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.show2_:__s
call fcn.0044ca10
add esp, 8
cmp dword [ebp - 0x220], 0
je 0x439f99
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.005351f4
add esp, 4
test eax, eax
jle 0x439f99
lea ecx, [ebp - 0x230]
call fcn.004109e0
jmp 0x439fd7
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x439fd5
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439fcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a044
push edx
push ecx
call fcn.004aa2ce
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x43a013
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a049
push edx
push ecx
call fcn.004aa2ce
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.004aa2b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ad60
push 0x80004005
call fcn.0040ad60
call fcn.00524d73
call fcn.00524d73
int3