Function at 0x10031d92
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b90e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10031df8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x100324f7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xfc], 0xb4ffb871
mov dword [ebp - 0xf8], 0xb4ffb871
mov dword [ebp - 0xf4], 0xb4ffb871
mov dword [ebp - 0xf0], 0xb4ffb871
lea ecx, [ebp - 0x45]
call fcn.100093d3
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10019736
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.100196e5
and dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0xe8]
call fcn.10019689
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 1
push 0x268c
lea eax, [ebp - 0xe8]
push eax
push 0x1a55
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.1002ec2f
add esp, 0x14
push 1
lea ecx, [ebp - 0x30]
call fcn.10019727
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x10031fa7
push 1
lea ecx, [ebp - 0x30]
call fcn.10019727
mov esi, eax
push 1
lea ecx, [ebp - 0x30]
call fcn.10019727
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x10031ed9
mov dword [ebp - 0x64], 1
jmp 0x10031edd
and dword [ebp - 0x64], 0
push 2
lea ecx, [ebp - 0x30]
call fcn.10019727
mov esi, dword [ebp - 0x64]
sub esi, dword [eax]
push 1
lea ecx, [ebp - 0x30]
call fcn.10019727
cmp esi, dword [eax]
jne 0x10031f03
mov dword [ebp - 0x58], 1
jmp 0x10031f07
and dword [ebp - 0x58], 0
push 3
lea ecx, [ebp - 0x30]
call fcn.10019727
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jle 0x10031f24
mov dword [ebp - 0xd4], 1
jmp 0x10031f2b
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x30]
call fcn.10019727
push 3
lea ecx, [ebp - 0x30]
call fcn.10019727
push 0
lea ecx, [ebp - 0x30]
call fcn.10019727
mov esi, eax
push 1
lea ecx, [ebp - 0x30]
call fcn.10019727
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10031f67
mov dword [ebp - 0xa4], 1
jmp 0x10031f6e
and dword [ebp - 0xa4], 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10019727
mov esi, dword [ebp - 0xa4]
imul esi, dword [eax]
push 3
lea ecx, [ebp - 0x30]
call fcn.10019727
sub esi, dword [eax]
cmp esi, 9
jle 0x10031fa7
mov eax, 0xffff
test eax, eax
je 0x10031fa7
mov dword [ebp - 0xac], 1
jmp 0x10031fae
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 1
jb 0x10031fc1
push 0
lea ecx, [ebp - 0x30]
call fcn.10019727
push 1
lea ecx, [ebp - 0xe8]
call fcn.10019727
cmp dword [eax], 0
jne 0x10031fdf
mov dword [ebp - 0x98], 1
jmp 0x10031fe6
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0xfffffff0
jmp 0x10031fff
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xb
je 0x1003207c
mov dword [ebp - 0xcc], 0x8f738f58
mov dword [ebp - 0xdc], 0xfffffff7
mov dword [ebp - 0xc4], 0xfffffffc
push 0x1625
push 0x221
lea eax, [ebp - 0xe8]
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
push 0x612a
lea eax, [ebp - 0x30]
push eax
push 0x710c
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x7362
call fcn.100347a5
add esp, 0x2c
mov byte [ebp - 0x1b], 0
lea eax, [ebp - 0x1b]
push eax
push 0
call fcn.1002b511
pop ecx
pop ecx
jmp 0x10031ff8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.1001970b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001970b
push 0x15a6
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x19fa
call fcn.1002f23b
add esp, 0x14
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x100324f7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0
jmp 0x100320d6
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100320ec
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xb4], 0x35568345
jmp 0x100320cf
mov dword [ebp - 0x20], 0
jmp 0x100320fc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10032112
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xb4], 0xffffffff
jmp 0x100320f5
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10032126
push 0
call fcn.1002b3ef
pop ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x10032143
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x100324f7
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x100324f7
mov dword [ebp - 0x18], 8
mov dword [ebp - 0xa0], 0xfffffff7
mov dword [ebp - 0x34], 0
jmp 0x10032175
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10032188
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x10], 0x6e83
jmp 0x1003216e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x10032292
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jbe 0x100321af
mov dword [ebp - 0x60], 1
jmp 0x100321b3
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 1
jg 0x100321c5
mov dword [ebp - 0x88], 1
jmp 0x100321cc
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x88], eax
jg 0x100321e7
mov dword [ebp - 0x68], 1
jmp 0x100321eb
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp eax, dword [ebp - 0x68]
jg 0x10032206
mov dword [ebp - 0xb8], 1
jmp 0x1003220d
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0xde6b
jg 0x10032229
mov dword [ebp - 0xa8], 1
jmp 0x10032230
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x18], eax
jge 0x10032251
mov dword [ebp - 0x70], 1
jmp 0x10032255
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp eax, dword [ebp - 0x70]
jl 0x10032270
mov dword [ebp - 0x90], 1
jmp 0x10032277
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
imul eax, dword [ebp - 0x90]
test eax, eax
jne 0x10032292
and dword [ebp - 0x78], 0
jmp 0x10032299
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x114], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x118], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
je 0x100324ad
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x44], 0xc2f00273
mov dword [ebp - 0x94], 0xc1a1fd29
mov dword [ebp - 0x10c], 0xb3533b01
mov dword [ebp - 0x108], 0xb3533b01
mov dword [ebp - 0x104], 0xb3533b01
mov dword [ebp - 0x100], 0xb3533b01
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x124], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
cmp dword [ebp + eax - 0x10], ecx
jne 0x10032330
mov dword [ebp - 0x80], 1
jmp 0x10032334
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x80], eax
je 0x10032348
cmp dword [ebp - 0x14], 0
jne 0x10032348
and dword [ebp - 0x54], 0
jmp 0x1003234f
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0
je 0x1003235e
mov dword [ebp - 0x5c], 1
jmp 0x10032362
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x5c]
jne 0x10032373
mov dword [ebp - 0x4c], 1
jmp 0x10032377
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x8e1
jg 0x10032389
mov dword [ebp - 0x6c], 1
jmp 0x1003238d
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xfff8
ja 0x1003239f
mov dword [ebp - 0x74], 1
jmp 0x100323a3
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x14]
jg 0x100323ba
mov dword [ebp - 0xc0], 1
jmp 0x100323c1
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x18], eax
je 0x100323db
mov dword [ebp - 0x7c], 1
jmp 0x100323df
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x14]
jne 0x100323f6
cmp dword [ebp - 0x14], 0
jne 0x100323f6
and dword [ebp - 0x84], 0
jmp 0x10032400
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], eax
jle 0x1003241d
mov dword [ebp - 0x8c], 1
jmp 0x10032424
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x10032448
cmp dword [ebp - 0x18], 0
jne 0x10032448
and dword [ebp - 0x9c], 0
jmp 0x10032452
mov dword [ebp - 0x9c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x9c], eax
jge 0x10032470
mov dword [ebp - 0xc8], 1
jmp 0x10032477
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x11c], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp + ecx - 0x10c], eax
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100324ab
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100324e5
mov dword [ebp - 0x18], 0
jmp 0x100324bd
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffef
jle 0x100324e5
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x100324e3
push 0xae1
push 0
push 0x3334
call fcn.1002b6e5
add esp, 0xc
jmp 0x100324b6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
call fcn.1002ebe1
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret