Function at 0x402df7
Capabilities:
Set file attributes

Disassembly:
push 0x264
mov eax, 0x539466
call fcn.00512b64
xor esi, esi
cmp byte [0x5eeba8], 0
je 0x402e2a
cmp dword [0x5eeba4], esi
jne 0x402e22
or dword [0x5eeba4], 0xffffffff
jmp 0x402e2a
jle 0x402e2a
neg dword [0x5eeba4]
call fcn.004767b0
xor ebx, ebx
inc ebx
test al, al
jne 0x402e46
lea edi, [ebp - 0x110]
call fcn.004012c9
jmp 0x402ecf
push 0x560668
lea ecx, [ebp - 0x254]
call fcn.0040a2a0
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 4], esi
call fcn.004015f0
pop ecx
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], bl
call fcn.004785f0
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0x270]
call fcn.0040aca3
or dword [ebp - 4], 0xffffffff
push esi
push ebx
lea ecx, [ebp - 0x254]
call fcn.0040aca3
cmp dword [ebp - 0x214], 0x10
mov eax, dword [ebp - 0x228]
jae 0x402eb3
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0050b650
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x22c]
call fcn.0040aca3
lea eax, [ebp - 0x110]
push eax
call fcn.0050b770
pop ecx
lea ecx, [ebp - 0x110]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x402efc
lea eax, [ebp - 0x110]
push 0x5605a0
push eax
call fcn.0050b660
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push str.popcinfot.dat
push eax
call fcn.0050b660
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x254]
call fcn.0040a2a0
push 2
pop edi
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 4], edi
call fcn.00476b20
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x22d], al
call fcn.0040aca3
cmp byte [ebp - 0x22d], 0
je 0x402f66
push 0x80
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x110]
push 0x5606ec
push eax
call fcn.00509b92
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4030e3
lea eax, [ebp - 0x110]
push 0x5606f0
push eax
call fcn.00509b92
pop ecx
pop ecx
mov esi, eax
push 0
call fcn.0050b60e
test esi, esi
pop ecx
mov dword [ebp - 0x234], eax
je 0x403042
movzx eax, word [0x5922ec]
push esi
push ebx
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push edi
push eax
call fcn.00508f25
mov eax, dword [0x5922dc]
add esp, 0x10
cmp dword [0x5922f0], 0x10
jae 0x402fe0
mov eax, 0x5922dc
movzx ecx, word [ebp - 0x238]
push esi
push ecx
push ebx
push eax
call fcn.00508f25
movzx eax, word [0x5eeba4]
push esi
push ebx
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00508f25
movzx eax, word [0x5eeba0]
push esi
push ebx
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00508f25
push esi
push ebx
lea eax, [ebp - 0x234]
push 4
push eax
call fcn.00508f25
add esp, 0x40
push esi
call fcn.00508d4a
pop ecx
call fcn.00413ad2
push dword [ebp - 0x234]
push dword [0x5eeba0]
push dword [0x5eeba4]
push 0x5924b4
push 0x592498
push 0x5922d8
call fcn.00403659
add esp, 0x18
cmp dword [0x5eeba4], 0
jge 0x40307f
neg dword [0x5eeba4]
call fcn.00512be7
ret
cmp word [ebp - 0x230], 0x100
jae 0x4030d7
movzx eax, word [ebp - 0x230]
push esi
push eax
mov byte [ebp + eax - 0x210], 0
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00508cbd
mov eax, dword [0x5922dc]
add esp, 0x10
cmp dword [0x5922f0], 0x10
jae 0x4030c4
mov eax, 0x5922dc
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00509cb0
test eax, eax
pop ecx
pop ecx
je 0x4030fe
push ebx
push 8
push esi
call fcn.00509835
add esp, 0xc
push esi
push ebx
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00508cbd
add esp, 0x10
test eax, eax
jne 0x403085
jmp 0x402f98
movzx eax, word [ebp - 0x230]
push ebx
push 0xfffffffffffffffe
pop ecx
sub ecx, eax
push ecx
push esi
call fcn.00509835
add esp, 0xc
jmp 0x402f98