Function at 0x420893
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x420c63
lea eax, [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x420c2a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x420c20
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb7928fbc
mov dword [ebp - 0x2c], 0xfffffffd
push 4
lea ecx, [ebp - 0x88]
call fcn.0042be3e
mov dword [ebp - 0xc], 0
jmp 0x42092b
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x42093e
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x48], 0
jmp 0x420924
push 0x5f2
push 0x1fdd
push 1
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x88]
push eax
push 1
push 1
push 0x7891
push 0x38dd
push 0x54ab
call fcn.0041d5e0
add esp, 0x30
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x8c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0xfffffff6
jl 0x420993
mov dword [ebp - 0x1c], 1
jmp 0x420997
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jg 0x4209a8
mov dword [ebp - 0x24], 1
jmp 0x4209ac
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
add eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x4209c7
mov dword [ebp - 0x38], 1
jmp 0x4209cb
and dword [ebp - 0x38], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x38], eax
je 0x4209ec
mov eax, 0x9a2
test eax, eax
je 0x4209ec
mov dword [ebp - 0x30], 1
jmp 0x4209f0
and dword [ebp - 0x30], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x30], eax
jle 0x420a08
mov dword [ebp - 0x20], 1
jmp 0x420a0c
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x2c], eax
jne 0x420a2a
mov dword [ebp - 0x34], 1
jmp 0x420a2e
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x34], eax
jl 0x420a46
mov dword [ebp - 0x3c], 1
jmp 0x420a4a
and dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 0x88]
call fcn.0042bf2c
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
lea ecx, [ebp - 0x88]
call fcn.0042bf10
push 4
push 0x2000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x34]
push 0x59a
push 0x4ea
call fcn.00406e2c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffff8
mov dword [ebp - 0x10], 0
jmp 0x420aa9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x420abf
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xac], 0
jmp 0x420aa2
mov dword [ebp - 4], 0
jmp 0x420acf
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x420ae5
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xac], 0
jmp 0x420ac8
mov dword [ebp - 4], 0
jmp 0x420af5
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffee
jne 0x420b43
push 1
push 0x3ad9
push 1
push 0x5c0
push 1
call fcn.0041f36b
add esp, 0x14
push 0x4711
push 0x17a0
push 0x6f05
push 1
push 1
push 1
push 0x489b
push 0x3f7b
push 1
push 0x4ab
call fcn.0041f68d
add esp, 0x28
jmp 0x420aee
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x420c1e
push 3
lea ecx, [ebp - 0x98]
call fcn.0042be3e
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x74], 0x43046b6e
mov dword [ebp - 0x7c], 0
push 1
push 1
push 1
push 0x1730
push 0x30ca
push 1
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x5de9
push 0x6670
call fcn.0041ef6b
add esp, 0x28
push 1
push 1
push 1
lea eax, [ebp - 0x74]
push eax
push 0x6029
push 0x3a1c
push 0x287c
lea eax, [ebp - 0x7c]
push eax
push 1
push 0x2bb1
lea eax, [ebp - 0x6c]
push eax
push 0xa72
push 0x3a94
push 0x39a5
push 0x1599
push 0x3317
call fcn.0042020f
add esp, 0x40
lea ecx, [ebp - 0x98]
call fcn.0042bf10
push 4
push 0x2000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x50]
push 0
push 0x59a
push 0x4ea
call fcn.00406e2c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x420c28
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x420c61
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x420c46
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRgnBox]
jmp 0x420c61
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x420c61
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x420c75
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
push 1
call fcn.0040900d
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret