Function at 0x4573b5
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x457475
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x457445
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
push dword [ebp - 0xb0]
push 0x64e5
push 1
push dword [ebp - 0x90]
push dword [ebp - 0xb8]
call fcn.004578cd
add esp, 0x14
jmp 0x457470
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb4], eax
push 0x6f08
push dword [ebp - 0xb4]
push 0
push 0xb24
push 0x740
call fcn.004578cd
add esp, 0x14
jmp 0x4578c9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 8], 0x63185299
cmp dword [ebp - 8], 0
je 0x4574be
mov byte [ebp - 0xb], 0
movzx eax, byte [ebp - 0xb]
test eax, eax
je 0x4574a8
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x4574bc
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x4574e1
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x4574e1
push 0x3e3
push 0x160d
push 0
push 0xc62
call dword [sym.imp.USER32.dll_DrawEdge]
mov dword [ebp - 8], 0x11
jmp 0x4574f1
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffe8
je 0x4578a4
push 2
lea ecx, [ebp - 0x78]
call fcn.0045223e
mov dword [ebp - 0x14], 0x9ae77ab3
mov dword [ebp - 0x2c], 0x97440271
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x20], 0
jmp 0x45752a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x457543
push dword [ebp - 0x20]
lea ecx, [ebp - 0x78]
call fcn.0045232c
mov dword [eax], 0xa624
jmp 0x457523
mov dword [ebp - 0x14], 0
jmp 0x457553
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x457897
mov dword [ebp - 4], 0x707dfe4d
mov dword [ebp - 0x18], 0xcbdb62b2
push 3
lea ecx, [ebp - 0xc4]
call fcn.0045223e
mov dword [ebp - 0x6c], 0x558b047c
mov dword [ebp - 0x94], 0x42a26b13
mov dword [ebp - 0x1c], 0
jmp 0x457599
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x4575b5
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc4]
call fcn.0045232c
mov dword [eax], 0x6892764
jmp 0x457592
mov dword [ebp - 4], 1
jmp 0x4575c5
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x457874
mov dword [ebp - 0x10], 0xc3f30b9
mov dword [ebp - 0x28], 0x71b36c93
mov dword [ebp - 0x8c], 1
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x45761a
push dword [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.0045232c
cmp dword [eax], 0
jne 0x457602
cmp dword [ebp - 8], 0
mov eax, 0xe07e
cmp eax, 0xc570
jne 0x45761a
mov dword [ebp - 0xa0], 1
jmp 0x457621
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xcc], eax
push dword [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.0045232c
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.0045232c
cmp dword [eax], 0
je 0x45766a
xor eax, eax
inc eax
je 0x45766a
mov dword [ebp - 0x54], 1
jmp 0x45766e
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x54]
test eax, eax
je 0x457688
cmp dword [ebp - 4], 0
je 0x457688
mov dword [ebp - 0x40], 1
jmp 0x45768c
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
jne 0x4576a6
cmp dword [ebp - 8], 0
je 0x4576a6
mov dword [ebp - 0x3c], 1
jmp 0x4576aa
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x3c], eax
jg 0x4576be
mov dword [ebp - 0xac], 1
jmp 0x4576c5
and dword [ebp - 0xac], 0
push dword [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.0045232c
mov ecx, dword [ebp - 0x18]
imul ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], eax
jge 0x4576ea
mov dword [ebp - 0x58], 1
jmp 0x4576ee
and dword [ebp - 0x58], 0
push dword [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.0045232c
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
je 0x457709
mov dword [ebp - 0x24], 1
jmp 0x45770d
and dword [ebp - 0x24], 0
push 2
lea ecx, [ebp - 0xc4]
call fcn.0045232c
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jge 0x457739
mov dword [ebp - 0x84], 1
jmp 0x457740
and dword [ebp - 0x84], 0
cmp dword [ebp - 8], 0xffffffff
jle 0x45774f
mov dword [ebp - 0x48], 1
jmp 0x457753
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x48]
imul eax, ecx
cmp eax, dword [ebp - 8]
jl 0x45776d
mov dword [ebp - 0x68], 1
jmp 0x457771
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x68], eax
je 0x457782
mov dword [ebp - 0x50], 1
jmp 0x457786
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x28]
cmp eax, 0x7a64a0f0
jl 0x45779c
mov dword [ebp - 0x30], 1
jmp 0x4577a0
and dword [ebp - 0x30], 0
push 2
lea ecx, [ebp - 0xc4]
call fcn.0045232c
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
je 0x4577c7
mov dword [ebp - 0x60], 1
jmp 0x4577cb
and dword [ebp - 0x60], 0
imul eax, dword [ebp - 0x60], 7
cmp eax, 0xffff
jbe 0x4577df
mov dword [ebp - 0x38], 1
jmp 0x4577e3
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
je 0x4577f4
mov dword [ebp - 0x44], 1
jmp 0x4577f8
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x44], eax
jl 0x45780c
cmp dword [ebp - 0x10], 0
jne 0x45780c
and dword [ebp - 0x4c], 0
jmp 0x457813
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x4c]
cmp eax, 0xa237
jle 0x45782f
cmp dword [ebp - 0x10], 0
je 0x45782f
mov dword [ebp - 0x34], 1
jmp 0x457833
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xffffffff
jge 0x457842
mov dword [ebp - 0x5c], 1
jmp 0x457846
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x8c]
sub eax, 0x10000
cmp eax, dword [ebp - 4]
jne 0x457862
mov dword [ebp - 0x64], 1
jmp 0x457866
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
jmp 0x4575be
cmp dword [ebp - 0x6c], 0
je 0x457887
lea ecx, [ebp - 0xc4]
call fcn.00452310
jmp 0x457897
lea ecx, [ebp - 0xc4]
call fcn.00452310
jmp 0x45754c
lea ecx, [ebp - 0x78]
call fcn.00452310
jmp 0x4574ea
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push 0x50b6
push 0
push 0x5867
push 0xc1d
call fcn.00456f23
add esp, 0x18
mov esp, ebp
pop ebp
ret