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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a091
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x144
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10023a49
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x100231a9
push 0x829
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x10023a44
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x130], 0x825e7a66
mov dword [ebp - 0x144], 0xfffffff8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x60], 0
jmp 0x100231f8
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1002320e
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x148], 5
jmp 0x100231f1
lea eax, [ebp - 0x8c]
push eax
push 0
push 0
push 0x7d30
call fcn.10010314
add esp, 0x10
push 0
push 0xbd3
push 1
push 0x7953
push 1
lea eax, [ebp - 0x8c]
push eax
push 0x16a3
push 0x4532
call fcn.10019375
add esp, 0x20
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x5c], 0
jmp 0x1002326b
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10023281
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x140], 0xfffffff7
jmp 0x10023264
mov byte [ebp - 0x1e], 0
push 1
push 0x7284
push 0x3d5f
push 1
push 0x41c8
lea eax, [ebp - 0x1e]
push eax
push 0
push 0x5ffb
call fcn.10017e8c
add esp, 0x20
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x140], 1
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0xbef7d651
mov dword [ebp - 0x64], 0
jmp 0x100232da
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x100232f0
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x154], 0xfffffff8
jmp 0x100232d3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x18], 0x9ef7
cmp eax, dword [ebp - 0x14]
jl 0x1002330e
mov dword [ebp - 0x84], 1
jmp 0x10023315
and dword [ebp - 0x84], 0
imul eax, dword [ebp - 0x84], 0
test eax, eax
je 0x1002338c
mov dword [ebp - 0x18], 0
jmp 0x10023330
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe6
jne 0x10023387
mov dword [ebp - 0x14], 0xfffffffc
jmp 0x10023346
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
je 0x10023385
mov dword [ebp - 0x48], 0xe5c285ce
mov dword [ebp - 0x48], 0
jmp 0x10023363
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xfffffff4
jg 0x10023383
push 1
push 0x7120
push 0x3cf0
push 0
push 1
call fcn.10019a1a
add esp, 0x14
jmp 0x1002335c
jmp 0x1002333f
jmp 0x10023329
jmp 0x10023439
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0xb0], 0xfffffff6
mov dword [ebp - 0xf4], 0x73565364
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xa8], 6
push 0xe59
lea eax, [ebp - 0x7c]
push eax
push 0x74e8
push 1
push 0
push 0x5837
push 0x1ea6
push 0x323a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001794d
add esp, 0x28
push 1
push 0x5edb
lea eax, [ebp - 0x7c]
push eax
push 0x6fe9
lea eax, [ebp - 0xa8]
push eax
push 0
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1e56
lea eax, [ebp - 0x14]
push eax
push 0x3118
push 0x486a
call fcn.100119d8
add esp, 0x38
mov dword [ebp - 0x18], 0
jmp 0x10023449
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jle 0x100234e8
mov dword [ebp - 0x70], 0x74f9
mov dword [ebp - 0x134], 0xd005
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x14], 0
jmp 0x1002347e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x100234a8
mov dword [ebp - 0x138], 0x3202f603
push 0x1a23
push 0x4b3b
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.100247ab
add esp, 0x10
jmp 0x10023477
cmp dword [ebp - 0x70], 0
jge 0x100234b7
mov dword [ebp - 0x74], 1
jmp 0x100234bb
and dword [ebp - 0x74], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x74]
dec ecx
cmp ecx, dword [ebp + eax - 0x154]
jle 0x100234d6
mov dword [ebp - 0x78], 1
jmp 0x100234da
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb8], eax
jmp 0x10023442
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x1c], eax
push 2
lea ecx, [ebp - 0x12c]
call fcn.1000e524
and dword [ebp - 4], 0
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xc8], 0x68729207
push 4
lea ecx, [ebp - 0x120]
call fcn.1000e524
mov byte [ebp - 4], 1
mov dword [ebp - 0xd8], 0
push 0x764f
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x57a9
push 0
push 0x212
push 0
push 1
push 0x6b3d
push 0x66e3
call fcn.1001cb33
add esp, 0x28
push 0x2779
push 1
push 0
push 0xcad
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x120]
push eax
push 1
push 0x753f
call fcn.1001d640
add esp, 0x20
push 0x7cb6
push 0x7f50
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
push 0x1ef5
push 0xaa5
call fcn.10025360
add esp, 0x1c
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0x1591
push 0x1808
push 0x2674
push 1
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
call fcn.10013c2e
add esp, 0x28
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.1000e5a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.1000e5a6
and dword [ebp - 0x68], 0
jmp 0x10023631
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x68], eax
jge 0x10023a44
push 1
lea ecx, [ebp - 0x114]
call fcn.1000e524
mov dword [ebp - 4], 2
mov dword [ebp - 0x4c], 0xfffffffa
mov dword [ebp - 0x80], 0x62c3
mov dword [ebp - 0xe0], 0x100082c0
cmp dword [ebp - 0x80], 0x65ee
jle 0x10023718
and dword [ebp - 0x50], 0
jmp 0x10023689
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2c6e
jge 0x10023718
and dword [ebp - 0x38], 0
jmp 0x100236a3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3f17
jge 0x10023713
and dword [ebp - 0x40], 0
jmp 0x100236b9
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x721e
jge 0x10023711
and dword [ebp - 0x44], 0
jmp 0x100236cf
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x2534
jge 0x1002370f
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x38]
mov eax, edx
cdq
idiv dword [ebp - 0x40]
or edx, dword [ebp - 0x44]
mov eax, edx
cdq
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
mov ecx, 0x10612258
call fcn.10027c6e
jmp 0x100236c8
jmp 0x100236b2
jmp 0x1002369c
jmp 0x10023682
mov byte [ebp - 4], 3
cmp dword [ebp - 0x80], 0x6218
jge 0x10023735
mov edx, dword [ebp - 0xe0]
mov ecx, 0x10612258
call fcn.1002b17d
jmp 0x10023751
mov dword [ebp - 4], 2
jmp 0x10023761
push 0xabf
push 0x790c
push 0xd1b
lea eax, [ebp - 0x30]
push eax
push 0
push 0x4d35
push 1
push 1
lea eax, [ebp - 0x114]
push eax
push 0x2b25
call fcn.1001cb33
add esp, 0x28
mov dword [ebp - 0x30], 0
jmp 0x100237a3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100237b9
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x94], 0xfffffffe
jmp 0x1002379c
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x94], 0
jmp 0x100237e7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x94], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x94], 0
jl 0x10023836
mov byte [ebp - 0x1d], 0
push 0
lea eax, [ebp - 0x1d]
push eax
push 1
push 0x5229
push 0x5a5e
call fcn.10015a4e
add esp, 0x14
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x94]
lea ecx, [ebp - 0x114]
call fcn.1000e5c2
cmp dword [eax], 0
je 0x10023834
jmp 0x100237cc
jmp 0x100237cc
mov dword [ebp - 0x4c], 0
jmp 0x10023846
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfffffff8
jge 0x10023870
mov dword [ebp - 0xd0], 0xa095
push 0x6b48
push 0
push 1
lea eax, [ebp - 0xd0]
push eax
call fcn.10010314
add esp, 0x10
jmp 0x1002383f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.1000e5a6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x100239c7
push 0x190e
push 0
push 0x4830
push 0x4662
push 0x127c
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0x6d4a
push 0x494e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0x36a2
push 1
call fcn.10015dc6
add esp, 0x38
mov dword [ebp - 0x54], 0xae355683
mov dword [ebp - 0x54], 0xfffffff3
jmp 0x100238ea
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 6
jge 0x100239c2
mov dword [ebp - 0x28], 0x3111738a
mov dword [ebp - 0x24], 0x568d526d
mov dword [ebp - 0x3c], 0
jmp 0x10023912
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10023928
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xf0], 0x13244d51
jmp 0x1002390b
lea eax, [ebp - 0x24]
push eax
push 0x507d
push 0x1614
push 0x5d54
push 0x1ef6
push 0xa78
push 0
push 0x7ad2
push 0
lea eax, [ebp - 0x28]
push eax
push 0x7bab
call fcn.10016215
add esp, 0x2c
mov dword [ebp - 0x24], 0
jmp 0x1002396f
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffffa
jl 0x100239bd
mov dword [ebp - 0x28], 0
jmp 0x10023985
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x100239bb
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x100239a2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jg 0x100239b9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0xf0], 0
je 0x100239b7
jmp 0x100239b9
jmp 0x1002399b
jmp 0x1002397e
jmp 0x10023968
jmp 0x100238e3
jmp 0x10023621
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax + 0xc]
push ecx
push 0xe0e
push 0xac2
call fcn.1003eeee
pop ecx
pop ecx
call eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xdc]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x6c]
call fcn.1004024e
add esp, 0xc
push 0x2833
lea eax, [ebp - 0x1c]
push eax
push 0xdf8
push 1
lea eax, [ebp - 0x6c]
push eax
push 0
push 1
push 0x4bd8
push 0x30b3
call fcn.10019f70
add esp, 0x24
jmp 0x10023621
jmp 0x10023b18
lea eax, [ebp + 0x14]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x100]
movzx eax, byte [eax]
test eax, eax
je 0x10023ab5
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x10023ab3
push 0
push 0x7fab
push 0x3b32
call fcn.10015622
add esp, 0xc
jmp 0x10023b18
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
jmp 0x10023af8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 4
jge 0x10023b18
mov eax, dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [ebp - 0xcc]
call fcn.1000e5c2
mov dword [eax], 0x637c1d6b
jmp 0x10023aed
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret