Function at 0x1002a0cb
Capabilities:
Enumerate pe sections
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002a0f2
push 0
push 0x2255
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1002ab70
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x2c], 0xffab8c3a
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x70], 0xfffffffb
mov dword [ebp - 0x5c], 0xacc4b7c7
mov dword [ebp - 0x138], 0x512e
mov dword [ebp - 0x150], 0xde47
mov dword [ebp - 0x10], 0
jmp 0x1002a171
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002a184
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x4c], 1
jmp 0x1002a16a
mov dword [ebp - 0x10], 0
jmp 0x1002a194
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002a1aa
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf0], 0xfffffff9
jmp 0x1002a18d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jne 0x1002a313
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x14c], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x158], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x160], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x88], 0xe60d743c
jae 0x1002a20f
mov dword [ebp - 0xe8], 1
jmp 0x1002a216
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x4333
je 0x1002a22e
mov dword [ebp - 0xcc], 1
jmp 0x1002a235
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0xffffffff
jg 0x1002a24a
mov dword [ebp - 0x94], 1
jmp 0x1002a251
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
imul eax, dword [ebp - 0x94]
cmp dword [ebp - 0x2c], eax
jge 0x1002a276
mov dword [ebp - 0xd0], 1
jmp 0x1002a27d
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xffffffff
jne 0x1002a292
mov dword [ebp - 0x9c], 1
jmp 0x1002a299
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x9c], eax
jne 0x1002a2b0
mov dword [ebp - 0xd8], 1
jmp 0x1002a2b7
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x88]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd8]
sub eax, 0x2121
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x88]
cmp dword [ebp - 0x70], eax
jle 0x1002a2f1
mov dword [ebp - 0xa4], 1
jmp 0x1002a2f8
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0xa4]
jne 0x1002a313
and dword [ebp - 0xe0], 0
jmp 0x1002a31d
mov dword [ebp - 0xe0], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x88]
cmp dword [ebp - 0xe0], eax
jge 0x1002a33d
mov dword [ebp - 0xac], 1
jmp 0x1002a344
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
sub eax, 7
mov dword [ebp - 0x8c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x88], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x4c], ecx
push 6
pop eax
test eax, eax
je 0x1002a41c
cmp dword [ebp - 0x70], 0
jne 0x1002a397
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1002a397
and dword [ebp - 0xb4], 0
jmp 0x1002a3a1
mov dword [ebp - 0xb4], 1
imul eax, dword [ebp - 0xb4], 5
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xf0]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x4c]
mov ecx, 0x62d98c4
sub ecx, eax
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x88]
je 0x1002a3e1
mov dword [ebp - 0x11c], 1
jmp 0x1002a3e8
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x154], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf0]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x4c]
test eax, eax
je 0x1002a41c
mov dword [ebp - 0xbc], 1
jmp 0x1002a423
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + eax - 0x4c], ecx
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x68], 0
jmp 0x1002a45e
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x68], eax
jge 0x1002ab70
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x34], 0
jmp 0x1002a487
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1002a49a
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x78], 0xffffffff
jmp 0x1002a480
mov dword [ebp - 0x44], 0xffffffe9
jmp 0x1002a4aa
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffff5
jne 0x1002a56d
mov dword [ebp - 0xc], 1
mov dword [ebp - 0xc], 0
jmp 0x1002a4cb
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1002a4e7
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002a4e5
push 0
call fcn.1002b125
pop ecx
jmp 0x1002a4c4
mov dword [ebp - 0xc], 0
jmp 0x1002a4f7
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1002a568
mov dword [ebp - 0x30], 0x1ac48889
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x78], 0
je 0x1002a510
jmp 0x1002a568
mov dword [ebp - 0x30], 0
jmp 0x1002a520
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1002a566
mov dword [ebp - 0x54], 0xeb32a831
mov dword [ebp - 0x54], 0
jmp 0x1002a53d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jg 0x1002a556
mov byte [ebp - 0x26], 0
push 0
lea eax, [ebp - 0x26]
push eax
call fcn.1002972f
pop ecx
pop ecx
jmp 0x1002a536
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x78]
mov dword [ebp + ecx*4 - 0x78], eax
jmp 0x1002a519
jmp 0x1002a4f0
jmp 0x1002a4a3
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002a581
push 0
call fcn.10028d9d
pop ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x1002a9ad
push 0x5740
push 0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0xc0]
push dword [ebp - 0x14]
call fcn.10027906
add esp, 0x18
mov dword [ebp - 4], 0xd327cb3f
mov dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 0xdc], 0x6657eef1
mov dword [ebp - 0x3c], 0
jmp 0x1002a5d8
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1002a5ee
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x118], 0xffffffff
jmp 0x1002a5d1
cmp dword [ebp - 4], 0
je 0x1002a7d4
mov dword [ebp - 0xc4], 0x2e3ca369
mov dword [ebp - 4], 0
jmp 0x1002a612
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf
je 0x1002a7cf
mov dword [ebp - 0x40], 0xfffffffa
mov dword [ebp - 0x40], 0
jmp 0x1002a633
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffff3
jge 0x1002a7ca
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x24], 0
jmp 0x1002a654
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffffb
jne 0x1002a7c5
mov dword [ebp - 0x48], 0
jmp 0x1002a66e
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1002a684
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x148], 1
jmp 0x1002a667
cmp dword [ebp - 4], 0
je 0x1002a68f
jmp 0x1002a7c5
cmp dword [ebp - 0xc4], 0x941c
jl 0x1002a6a7
mov dword [ebp - 0xf8], 1
jmp 0x1002a6ae
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xf8]
add ecx, 0x6f49c23e
imul ecx, ecx, 9
imul eax, ecx
cmp eax, dword [ebp - 0x24]
je 0x1002a6d1
mov dword [ebp - 0x60], 1
jmp 0x1002a6d5
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x118], ecx
mov eax, dword [ebp - 0x60]
add eax, 0x59c4
imul eax, dword [ebp - 0xc4]
test eax, eax
je 0x1002a70d
mov eax, 0x80ee91b7
test eax, eax
je 0x1002a70d
mov dword [ebp - 0x100], 1
jmp 0x1002a714
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x100], eax
jne 0x1002a72b
mov dword [ebp - 0x108], 1
jmp 0x1002a732
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffffff8
je 0x1002a747
mov dword [ebp - 0x10c], 1
jmp 0x1002a74e
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp + eax - 0x148]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x148]
jle 0x1002a785
mov eax, 0x5b042041
test eax, eax
je 0x1002a785
mov dword [ebp - 0xd4], 1
jmp 0x1002a78c
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x148]
add eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 4]
jne 0x1002a7b0
mov dword [ebp - 0xf4], 1
jmp 0x1002a7b7
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x18], eax
jmp 0x1002a64d
jmp 0x1002a62c
jmp 0x1002a60b
jmp 0x1002a862
mov dword [ebp - 0x130], 0x1efae07d
mov dword [ebp - 4], 0
jmp 0x1002a7ee
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x1002a862
mov dword [ebp - 0x18], 0
jmp 0x1002a804
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1002a820
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x118]
mov dword [ebp + ecx*4 - 0x118], eax
jmp 0x1002a7fd
imul eax, dword [ebp - 4], 0x3b19
cmp eax, dword [ebp - 0x130]
jge 0x1002a83b
mov dword [ebp - 0x134], 1
jmp 0x1002a842
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0x118], 0x7665
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x118], eax
jmp 0x1002a7e7
mov dword [ebp - 4], 0xfffffff5
jmp 0x1002a872
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x24
jg 0x1002a9a8
mov dword [ebp - 0x50], 0xdce9db3f
mov dword [ebp - 0x64], 0xac012777
mov dword [ebp - 0x120], 0xfffffff8
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xdc]
cmp dword [ebp + eax - 0x118], ecx
je 0x1002a8b5
mov dword [ebp - 0x12c], 1
jmp 0x1002a8bc
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0xdc], 0
je 0x1002a8d9
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x50], eax
jle 0x1002a8d9
mov dword [ebp - 0x104], 1
jmp 0x1002a8e0
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x104], eax
jne 0x1002a8f7
mov dword [ebp - 0xe4], 1
jmp 0x1002a8fe
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe4], eax
jl 0x1002a915
mov dword [ebp - 0xfc], 1
jmp 0x1002a91c
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0x7fad
je 0x1002a934
mov dword [ebp - 0x13c], 1
jmp 0x1002a93b
and dword [ebp - 0x13c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
cmp dword [ebp + eax - 0x118], ecx
jge 0x1002a959
mov dword [ebp - 0xec], 1
jmp 0x1002a960
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x64], eax
jge 0x1002a97d
mov dword [ebp - 0xc8], 1
jmp 0x1002a984
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x120], eax
push 0x31e3
lea eax, [ebp - 0x64]
push eax
push 0
call fcn.1002778d
add esp, 0xc
jmp 0x1002a86b
jmp 0x1002a44e
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0x974b666a
mov dword [ebp - 0xb8], 0xe936be85
mov dword [ebp - 0x38], 0
jmp 0x1002a9d5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002a9e8
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x6c], 0xfffb
jmp 0x1002a9ce
cmp dword [ebp - 8], 0
je 0x1002aa4d
mov dword [ebp - 8], 0
jmp 0x1002a9fe
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x1002aa25
mov eax, dword [ebp - 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x6c], ecx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
jmp 0x1002a9f7
mov dword [ebp - 0x1c], 0
jmp 0x1002aa35
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002aa4b
push 0x7af7
push 0
call fcn.1002784d
pop ecx
pop ecx
jmp 0x1002aa2e
jmp 0x1002aa6f
cmp dword [ebp - 0x1c], 0xfffffffd
ja 0x1002aa5f
mov dword [ebp - 0x98], 1
jmp 0x1002aa66
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 0x9cdf
jl 0x1002aa8b
mov dword [ebp - 0xa0], 1
jmp 0x1002aa92
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xa0], eax
jge 0x1002aaaa
cmp dword [ebp - 8], 0
cmp dword [ebp - 0xb8], 0x86335c0
jle 0x1002aad5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 0
jne 0x1002aad5
cmp dword [ebp - 8], 0
jne 0x1002aad5
mov dword [ebp - 0xa8], 1
jmp 0x1002aadc
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xa8]
jge 0x1002aaf3
mov dword [ebp - 0xb0], 1
jmp 0x1002aafa
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc0]
add ecx, dword [eax + 0xc]
push ecx
push 0x3f52
push 0x306e
call fcn.10022e6d
pop ecx
pop ecx
call eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x128]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x74]
call fcn.10022eef
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0x74a8
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.1002a07b
add esp, 0x10
jmp 0x1002a44e
mov esp, ebp
pop ebp
ret