Function at 0x1002ccd7
Capabilities:
Contain obfuscated stackstrings
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b7d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002cd2d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
movzx eax, byte [eax]
test eax, eax
je 0x1002cd28
push 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x1002e3d3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x304], 0x47a6deec
mov dword [ebp - 0x2e4], 0xd72276b8
mov dword [ebp - 0x2ec], 0xfffffffc
mov dword [ebp - 0x2f4], 0x9a57b5bf
mov dword [ebp - 0x2fc], 0xce4a6f44
mov dword [ebp - 0x2dc], 0xffffffff
mov dword [ebp - 0x258], 0xa7b445ac
mov dword [ebp - 0x28], 0x18
jmp 0x1002cd90
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffef
je 0x1002cdc6
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1002cdaa
push 0
call fcn.1002a2d7
pop ecx
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1002cdc4
push 0x4d9f
push 1
call fcn.10029c94
pop ecx
pop ecx
jmp 0x1002cd89
mov dword [ebp - 0x28], 0
jmp 0x1002cdd6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 8
jg 0x1002ce6a
mov dword [ebp - 0x30c], 0xffffffff
mov dword [ebp - 0x314], 1
mov dword [ebp - 0x31c], 0x47c4d145
mov dword [ebp - 0x324], 0xfffffffa
mov dword [ebp - 0x32c], 0xa53061ec
mov dword [ebp - 0x334], 0xfffffffe
mov dword [ebp - 0x33c], 6
mov dword [ebp - 0x344], 0xe75cb554
push 0x57f5
lea eax, [ebp - 0x258]
push eax
push 0
push 0xe37
call fcn.1002bbb8
add esp, 0x10
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002ce65
push 0
push 0x4b30
call fcn.1002a174
pop ecx
pop ecx
jmp 0x1002cdcf
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x1f665683
mov dword [ebp - 0x1c], 0x64ba8b35
mov dword [ebp - 0x150], 0xfffffffe
mov dword [ebp - 0x270], 0xf7828e97
mov dword [ebp - 0x84], 0
jmp 0x1002ceba
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x1002ced6
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x1dc], 0x16e2c9bf
jmp 0x1002cead
cmp dword [ebp - 0x18], 0
jne 0x1002d035
xor eax, eax
inc eax
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jl 0x1002cef7
mov dword [ebp - 0x12c], 1
jmp 0x1002cefe
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 1
jne 0x1002cf13
mov dword [ebp - 0x19c], 1
jmp 0x1002cf1a
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x19c], eax
jne 0x1002cf31
mov dword [ebp - 0xc0], 1
jmp 0x1002cf38
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc0]
jle 0x1002cf55
mov dword [ebp - 0x194], 1
jmp 0x1002cf5c
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x194], eax
jle 0x1002cf73
mov dword [ebp - 0x140], 1
jmp 0x1002cf7a
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0
jge 0x1002cf8f
mov dword [ebp - 0xc8], 1
jmp 0x1002cf96
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 8
jl 0x1002cfab
mov dword [ebp - 0x180], 1
jmp 0x1002cfb2
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
sub eax, 0x6e090b64
jne 0x1002cfce
cmp dword [ebp - 0x1c], 0
jne 0x1002cfce
and dword [ebp - 0x260], 0
jmp 0x1002cfd8
mov dword [ebp - 0x260], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jg 0x1002cfe9
mov eax, 0x8551b32e
test eax, eax
jne 0x1002cffb
mov eax, 0x595a
test eax, eax
jne 0x1002cffb
and dword [ebp - 0xd0], 0
jmp 0x1002d005
mov dword [ebp - 0xd0], 1
cmp dword [ebp - 0xd0], 1
jge 0x1002d01a
mov dword [ebp - 0x148], 1
jmp 0x1002d021
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x148], eax
jl 0x1002d035
and dword [ebp - 0xd8], 0
jmp 0x1002d03f
mov dword [ebp - 0xd8], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd8]
sub ecx, dword [ebp + eax - 0x1dc]
je 0x1002d202
mov dword [ebp - 0x64], 0xd55a
mov dword [ebp - 0x1c], 0
jmp 0x1002d06f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1002d09c
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1002d09a
push 0
push 0x2f70
push 0x43c9
push 0x5aab
call fcn.100325a3
add esp, 0x10
jmp 0x1002d068
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1dc], 5
jne 0x1002d0b8
mov dword [ebp - 0xe8], 1
jmp 0x1002d0bf
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0x64], 0
jne 0x1002d171
cmp dword [ebp - 0x64], 0
jne 0x1002d11e
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1dc]
cmp dword [ebp + eax - 0x1dc], ecx
jge 0x1002d108
xor eax, eax
jne 0x1002d108
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1dc], 0
jne 0x1002d108
and dword [ebp - 0x1a0], 0
jmp 0x1002d112
mov dword [ebp - 0x1a0], 1
cmp dword [ebp - 0x1a0], 0xa274
jle 0x1002d133
mov eax, 0x1363
test eax, eax
je 0x1002d133
mov dword [ebp - 0xe0], 1
jmp 0x1002d13a
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x150], eax
jge 0x1002d15d
mov dword [ebp - 0x268], 1
jmp 0x1002d164
and dword [ebp - 0x268], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1dc], 0
xor eax, eax
jne 0x1002d184
cmp dword [ebp - 0x64], 0
jne 0x1002d184
and dword [ebp - 0x188], 0
jmp 0x1002d18e
mov dword [ebp - 0x188], 1
mov eax, dword [ebp - 0xe8]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x188]
jl 0x1002d1b0
mov dword [ebp - 0xf0], 1
jmp 0x1002d1b7
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xf0], eax
jl 0x1002d1ce
mov dword [ebp - 0x158], 1
jmp 0x1002d1d5
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0x402a
jle 0x1002d1ed
mov dword [ebp - 0xf8], 1
jmp 0x1002d1f4
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x270], eax
jmp 0x1002d213
mov byte [ebp - 0x2d], 0
push 0
lea eax, [ebp - 0x2d]
push eax
call fcn.1002e3e2
pop ecx
pop ecx
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x2f]
push eax
push 0x6011
push 0
call fcn.10029cc4
add esp, 0xc
and dword [ebp - 0x9c], 0
jmp 0x1002d249
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x9c], eax
jge 0x1002e3d3
mov dword [ebp - 0x98], 0x4e6d4f28
mov dword [ebp - 0x94], 0x4e6d4f28
mov dword [ebp - 0x90], 0x4e6d4f28
mov dword [ebp - 0x8c], 0x4e6d4f28
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xa4], 5
mov dword [ebp - 0x1b0], 0xe2095e04
mov dword [ebp - 0x110], 0xddbc75b1
mov dword [ebp - 0x128], 0x3f0bde8a
mov dword [ebp - 0x1ec], 0xe17c927d
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
jne 0x1002d323
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
jle 0x1002d2f0
mov dword [ebp - 0x1b4], 1
jmp 0x1002d2f7
and dword [ebp - 0x1b4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x98]
imul ecx, dword [ebp - 0x1b4]
push 4
pop edx
shl edx, 1
imul ecx, dword [ebp + edx - 0x98]
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x98]
push 4
pop edx
shl edx, 1
sub ecx, dword [ebp + edx - 0x98]
cmp dword [ebp + eax - 0x98], ecx
jg 0x1002d355
mov dword [ebp - 0x100], 1
jmp 0x1002d35c
and dword [ebp - 0x100], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x100]
je 0x1002d382
mov dword [ebp - 0x160], 1
jmp 0x1002d389
and dword [ebp - 0x160], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x160], eax
jl 0x1002d3a9
mov dword [ebp - 0x108], 1
jmp 0x1002d3b0
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 1
imul eax, dword [ebp + eax - 0x98], 0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0x705e8c87
jg 0x1002d3f7
mov dword [ebp - 0x190], 1
jmp 0x1002d3fe
and dword [ebp - 0x190], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
add eax, dword [ebp - 0x190]
jne 0x1002d41b
cmp dword [ebp - 0x110], 0
je 0x1002d430
cmp dword [ebp - 0x110], 0
je 0x1002d430
mov dword [ebp - 0x168], 1
jmp 0x1002d437
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
dec eax
cmp eax, 0xfffffffd
jge 0x1002d44f
mov dword [ebp - 0x118], 1
jmp 0x1002d456
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x118], eax
jg 0x1002d46d
mov dword [ebp - 0x120], 1
jmp 0x1002d474
and dword [ebp - 0x120], 0
mov dword [ebp - 0x78], 0xa012
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
cmp eax, dword [ebp - 0x120]
jle 0x1002d49e
mov dword [ebp - 0x170], 1
jmp 0x1002d4a5
and dword [ebp - 0x170], 0
mov dword [ebp - 0xa4], 0xffffffff
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x44]
imul ecx, dword [ebp - 0x170]
imul eax, ecx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002d4ed
mov dword [ebp - 0x198], 1
jmp 0x1002d4f4
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x20], 0xd4e7937
mov dword [ebp - 0x38], 0xbc588e1b
push 1
lea ecx, [ebp - 0x1ac]
call fcn.1001737a
and dword [ebp - 4], 0
mov dword [ebp - 0x1fc], 0xa4ec
mov dword [ebp - 0x318], 8
push 0x75c7
lea eax, [ebp - 0x2e8]
push eax
push 0
lea eax, [ebp - 0x1ac]
push eax
push 0x5b48
call fcn.1002a0ca
add esp, 0x14
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x340], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017408
cmp dword [eax], 0x8dc2a82a
jb 0x1002d57f
mov dword [ebp - 0x248], 1
jmp 0x1002d586
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2f0], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017408
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017408
mov esi, eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017408
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x1002d5d0
mov dword [ebp - 0x130], 1
jmp 0x1002d5d7
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x130]
cmp eax, 1
jl 0x1002d6d1
push 3
lea ecx, [ebp - 0x2d8]
call fcn.1001737a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0x3686
lea eax, [ebp - 0x320]
push eax
call fcn.10030be7
add esp, 0x10
mov dword [ebp - 0x20], 0x14
jmp 0x1002d62e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3b
jg 0x1002d6a6
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x200], 0xf0ed6937
mov dword [ebp - 0x234], 0x1300d3b5
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002d669
push 0x2507
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [ebp - 0x20]
push eax
push 0xeb8
push 0
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1e0]
push eax
push 0x153c
lea eax, [ebp - 0x2d8]
push eax
call fcn.10032699
add esp, 0x24
jmp 0x1002d627
mov byte [ebp - 0x33], 0
push 0x3fdb
lea eax, [ebp - 0x33]
push eax
push 1
call fcn.10029cc4
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
call fcn.10017403
jmp 0x1002d772
mov dword [ebp - 0x6c], 0
jmp 0x1002d6e1
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x1002d6f4
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x7c], 0xfffffff6
jmp 0x1002d6da
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0x2f8], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017408
cmp dword [eax], 0
jne 0x1002d73e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x338], eax
cmp dword [ebp - 0x20], 0
jne 0x1002d73e
and dword [ebp - 0x274], 0
jmp 0x1002d748
mov dword [ebp - 0x274], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0x300], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x1fc], 0xfffffffe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10017403
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002d79a
mov dword [ebp - 0x178], 1
jmp 0x1002d7a1
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002d7c6
mov dword [ebp - 0x138], 1
jmp 0x1002d7cd
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x10], 0x94b2ab76
mov dword [ebp - 0xa8], 0x6128f3b8
push 3
lea ecx, [ebp - 0xb4]
call fcn.1001737a
mov dword [ebp - 4], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x24], 0xa928
push 3
lea ecx, [ebp - 0x1d0]
call fcn.1001737a
mov byte [ebp - 4], 3
mov dword [ebp - 0x214], 0xd571f7fc
mov dword [ebp - 0x26c], 0xffff
mov dword [ebp - 0x14c], 0x6dea2805
mov dword [ebp - 0x224], 0x48cb009
lea eax, [ebp - 0x4c]
push eax
push 0x4027
lea eax, [ebp - 0xb4]
push eax
push 0
call fcn.1002a5ac
add esp, 0x10
mov dword [ebp - 0x4c], 0
jmp 0x1002d86f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1002d88b
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x1d0]
call fcn.10017408
mov dword [eax], 0x6902
jmp 0x1002d868
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2f64
jge 0x1002d9d1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0xa8]
dec eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x204]
jl 0x1002d8db
mov dword [ebp - 0x1b8], 1
jmp 0x1002d8e2
and dword [ebp - 0x1b8], 0
push 2
lea ecx, [ebp - 0xb4]
call fcn.10017408
mov ecx, dword [ebp - 0x1b8]
mov dword [eax], ecx
push 2
lea ecx, [ebp - 0xb4]
call fcn.10017408
or dword [eax], 0xffffffff
or eax, 0xffffffff
sub eax, dword [ebp - 0x40]
jne 0x1002d91f
push 2
pop eax
test eax, eax
jne 0x1002d91f
and dword [ebp - 0xbc], 0
jmp 0x1002d929
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x10]
je 0x1002d943
mov dword [ebp - 0xc4], 1
jmp 0x1002d94a
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x10]
jne 0x1002d972
cmp dword [ebp - 0x40], 0
jne 0x1002d972
and dword [ebp - 0xcc], 0
jmp 0x1002d97c
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0xcc]
dec eax
jne 0x1002d997
mov eax, 0x33ac
test eax, eax
jne 0x1002d997
and dword [ebp - 0xd4], 0
jmp 0x1002d9a1
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xd4], eax
jle 0x1002d9b8
mov dword [ebp - 0xdc], 1
jmp 0x1002d9bf
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 3
jb 0x1002d9d1
and dword [ebp - 0xe4], 0
jmp 0x1002d9db
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xe4], eax
je 0x1002d9f2
mov dword [ebp - 0xec], 1
jmp 0x1002d9f9
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xec], eax
jne 0x1002da10
mov dword [ebp - 0xf4], 1
jmp 0x1002da17
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xf4], eax
jge 0x1002da2e
mov dword [ebp - 0xfc], 1
jmp 0x1002da35
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xfc], eax
je 0x1002da4c
mov dword [ebp - 0x104], 1
jmp 0x1002da53
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x104], eax
je 0x1002da6a
mov dword [ebp - 0x10c], 1
jmp 0x1002da71
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 1
ja 0x1002da86
mov dword [ebp - 0x114], 1
jmp 0x1002da8d
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x114], eax
jle 0x1002daa4
mov dword [ebp - 0x11c], 1
jmp 0x1002daab
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 1
jl 0x1002dac0
mov dword [ebp - 0x124], 1
jmp 0x1002dac7
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0
je 0x1002db1e
mov dword [ebp - 0x25c], 0xfffffff6
push 0x7808
push 0x404a
lea eax, [ebp - 0x10]
push eax
push 0x1e08
lea eax, [ebp - 0xb4]
push eax
push 0
call fcn.10032606
add esp, 0x18
push 0x7e2d
push 1
push 0x7024
lea eax, [ebp - 0x25c]
push eax
call fcn.10029d60
add esp, 0x10
jmp 0x1002de67
push 1
lea ecx, [ebp - 0x1c4]
call fcn.1001737a
mov byte [ebp - 4], 4
mov dword [ebp - 0x290], 0xa7dc4cae
mov dword [ebp - 0x28c], 0xa7dc4cae
mov dword [ebp - 0x288], 0xa7dc4cae
mov dword [ebp - 0x284], 0xa7dc4cae
mov dword [ebp - 0x174], 0xfffffffb
mov dword [ebp - 0x74], 0
jmp 0x1002db71
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1002db8d
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1c4]
call fcn.10017408
mov dword [eax], 0xfffffff7
jmp 0x1002db6a
push 2
lea ecx, [ebp - 0x1d0]
call fcn.10017408
cmp dword [eax], 0
je 0x1002dbfa
mov dword [ebp - 0x20c], 0xffff
mov dword [ebp - 0x244], 0xffffffff
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 1
call fcn.10029db2
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x477b
lea eax, [ebp - 0x1c4]
push eax
push 0x638a
push 0
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.1002a1b2
add esp, 0x1c
jmp 0x1002dc2a
mov byte [ebp - 0x34], 0
push 0x1522
push 0x2175
push 0
push 0x4405
push 0x1bbe
push 0x4262
push 0x54eb
lea eax, [ebp - 0x34]
push eax
call fcn.1002fb0a
add esp, 0x20
push 2
lea ecx, [ebp - 0xb4]
call fcn.10017408
mov dword [eax], 0x6fe0855b
push 0
lea ecx, [ebp - 0x1c4]
call fcn.10017408
cmp dword [eax], 0x8f94bbb
jge 0x1002dc5e
mov dword [ebp - 0xb8], 1
jmp 0x1002dc65
and dword [ebp - 0xb8], 0
push 2
lea ecx, [ebp - 0xb4]
call fcn.10017408
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jl 0x1002dc88
mov dword [ebp - 0x134], 1
jmp 0x1002dc8f
and dword [ebp - 0x134], 0
push 2
lea ecx, [ebp - 0x1d0]
call fcn.10017408
mov ecx, dword [ebp - 0x134]
imul ecx, dword [eax]
test ecx, ecx
jne 0x1002dcc4
push 1
lea ecx, [ebp - 0x1d0]
call fcn.10017408
cmp dword [eax], 0
jne 0x1002dcc4
and dword [ebp - 0x13c], 0
jmp 0x1002dcce
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x40]
add esi, dword [ebp - 0x214]
push 2
lea ecx, [ebp - 0xb4]
call fcn.10017408
mov dword [eax], esi
push 0
lea ecx, [ebp - 0xb4]
call fcn.10017408
push 0
lea ecx, [ebp - 0x1c4]
call fcn.10017408
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x308], eax
mov eax, 0x6f5c
cmp eax, 1
jg 0x1002dd2b
mov dword [ebp - 0x144], 1
jmp 0x1002dd32
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0xe12f
jg 0x1002dd56
mov dword [ebp - 0x154], 1
jmp 0x1002dd5d
and dword [ebp - 0x154], 0
imul eax, dword [ebp - 0x154], 0x8e76
cmp dword [ebp - 0x10], eax
jne 0x1002dd7e
cmp dword [ebp - 0x24], 0
je 0x1002dd7e
mov dword [ebp - 0x15c], 1
jmp 0x1002dd85
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0xa7f9cd94
jne 0x1002dd9d
mov dword [ebp - 0x164], 1
jmp 0x1002dda4
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x164]
je 0x1002ddbb
mov dword [ebp - 0x21c], 1
jmp 0x1002ddc2
and dword [ebp - 0x21c], 0
push 2
lea ecx, [ebp - 0x1d0]
call fcn.10017408
push 1
lea ecx, [ebp - 0x1d0]
call fcn.10017408
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x1002ddf5
cmp dword [ebp - 0x10], 0
je 0x1002ddf5
mov dword [ebp - 0x24c], 1
jmp 0x1002ddfc
and dword [ebp - 0x24c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x290]
mov dword [ebp - 0x348], eax
push 0
lea ecx, [ebp - 0x1c4]
call fcn.10017408
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0x290]
cmp dword [eax], ecx
je 0x1002de39
mov dword [ebp - 0x16c], 1
jmp 0x1002de40
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c4]
call fcn.10017403
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d0]
call fcn.10017403
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10017403
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002debb
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x2fda
push 0x43c6
call fcn.100260ba
pop ecx
pop ecx
call eax
jmp 0x1002d233
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x5c], 0xfffffff1
jmp 0x1002ded2
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffeb
jl 0x1002dfb8
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x22c], 0xf23e93d0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.1001737a
mov dword [ebp - 4], 5
mov dword [ebp - 0x88], 0
jmp 0x1002df1a
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x1002df3c
push dword [ebp - 0x88]
lea ecx, [ebp - 0x2cc]
call fcn.10017408
mov dword [eax], 0xf4a8fe24
jmp 0x1002df0d
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1002df50
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x54], 0
jmp 0x1002df60
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xc
jge 0x1002dfa4
mov dword [ebp - 0x264], 0xd60a2215
push 0
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 0x7486
push 0x1f1a
push 0x56ad
call fcn.1002b95f
add esp, 0x20
jmp 0x1002df59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.10017403
jmp 0x1002decb
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.10030cdf
add esp, 0x18
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x80], 0xfffffff1
jmp 0x1002dff9
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xffffffeb
jl 0x1002e0b4
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x1e4], 0xf23e93d0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.1001737a
mov dword [ebp - 4], 6
lea eax, [ebp - 0x2b4]
push eax
push 0x51d7
push 1
push 0x1645
lea eax, [ebp - 0x310]
push eax
call fcn.1002a0ca
add esp, 0x14
mov byte [ebp - 0x29], 0
push 1
lea eax, [ebp - 0x29]
push eax
call fcn.1002a174
pop ecx
pop ecx
mov dword [ebp - 0x48], 0
jmp 0x1002e06b
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xc
jge 0x1002e0a0
mov dword [ebp - 0x1f8], 0xd60a2215
push 0
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1002a44f
add esp, 0x14
jmp 0x1002e064
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.10017403
jmp 0x1002dff2
push dword [ebp - 0x14]
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x60]
push 0
call fcn.1002f27c
add esp, 0x10
push 2
lea ecx, [ebp - 0x2a8]
call fcn.1001737a
mov dword [ebp - 4], 7
push 2
lea ecx, [ebp - 0x29c]
call fcn.1001737a
mov byte [ebp - 4], 8
mov dword [ebp - 0x208], 0xb03629aa
mov dword [ebp - 0x50], 0
jmp 0x1002e10a
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1002e126
push dword [ebp - 0x50]
lea ecx, [ebp - 0x2a8]
call fcn.10017408
mov dword [eax], 1
jmp 0x1002e103
push 0x605
lea eax, [ebp - 0x50]
push eax
push 0x3bb1
lea eax, [ebp - 0x29c]
push eax
push 1
push 0x697e
push 0x7eb4
call fcn.1002a1b2
add esp, 0x1c
push 0x7986
push 0x39da
push 0
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x4782
call fcn.1002fa09
add esp, 0x18
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.1002a62d
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.10017403
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.10017403
cmp dword [ebp - 0x18c], 0
jbe 0x1002e3ce
mov dword [ebp - 0x70], 0xce53
push 3
lea ecx, [ebp - 0x280]
call fcn.1001737a
mov dword [ebp - 4], 9
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x58], 0xeb0badca
lea eax, [ebp - 0x330]
push eax
push 0
lea eax, [ebp - 0x280]
push eax
push 0x244c
call fcn.10030b73
add esp, 0x10
cmp dword [ebp - 0x70], 0
jne 0x1002e20f
cmp dword [ebp - 0x70], 0
jne 0x1002e20f
and dword [ebp - 0x17c], 0
jmp 0x1002e219
mov dword [ebp - 0x17c], 1
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x17c]
jl 0x1002e230
mov dword [ebp - 0xa0], 1
jmp 0x1002e237
and dword [ebp - 0xa0], 0
push 0
lea ecx, [ebp - 0x280]
call fcn.10017408
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
cmp dword [ebp - 0xa0], 0
je 0x1002e352
mov dword [ebp - 0x220], 0x43c6
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x238], 0xffff
push 3
lea ecx, [ebp - 0x2c0]
call fcn.1001737a
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x210], 0x253d9751
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x68], 0
jmp 0x1002e2b6
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1002e2d2
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c0]
call fcn.10017408
mov dword [eax], 0x43747c91
jmp 0x1002e2af
lea eax, [ebp - 0x210]
push eax
push 0x44a9
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x344
call fcn.10032076
add esp, 0x38
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002e341
push 1
call fcn.1002a2d7
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c0]
call fcn.10017403
jmp 0x1002e37e
mov dword [ebp - 0x58], 0
jmp 0x1002e362
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jg 0x1002e37e
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1002e37c
push 0
call fcn.1002b7f2
pop ecx
jmp 0x1002e35b
mov esi, dword [ebp - 0x184]
push 0
lea ecx, [ebp - 0x280]
call fcn.10017408
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.10017403
lea eax, [ebp - 0x2e0]
push eax
push dword [ebp - 0x240]
push dword [ebp - 0x18c]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x2fda
push 0x33d6
call fcn.100260ba
pop ecx
pop ecx
call eax
jmp 0x1002d233
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret