Function at 0x4332c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4941b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c21d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x4a8580
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x433333
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401600
add esp, 8
test eax, eax
je 0x433340
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004017c0
jmp 0x433340
mov ebx, 0x4a8580
lea edi, [ebp - 0x14]
call fcn.004013b0
lea esi, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.0040e600
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
push ecx
mov ebx, eax
mov byte [ebp - 4], 2
call fcn.00407700
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 5
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4333ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401540
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004335d0
mov byte [ebp - 4], 7
push eax
mov byte [ebp - 4], 8
call fcn.0040ed00
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push str._sFunShadow.dll
push edx
call fcn.0040d750
mov edi, dword [ebp - 0x14]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43356b
test al, 0x10
jne 0x43356b
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040b8a0
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ebx, str.___s__startup
mov byte [ebp - 4], 0xb
call fcn.004065a0
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
push edi
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.0040d750
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4334bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4334de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x20], esp
mov ebx, esp
push esi
call fcn.00401540
add esp, 4
add eax, 0x10
push 0
mov dword [ebx], eax
call fcn.0040b700
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 9
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433521
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433541
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433567
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x4335b2
add edi, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43358a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4335b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c455
mov esp, ebp
pop ebp
ret