Function at 0x100179d2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f6f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10017a5b
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x10017a36
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 2
jge 0x10017a56
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0xb4]
call fcn.1001048b
mov dword [eax], 0xfffffff7
jmp 0x10017a2b
jmp 0x100181d3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa8], eax
push 2
lea ecx, [ebp - 0x120]
call fcn.10010401
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x120]
push eax
push 0x1223
push 0x376b
push 1
lea eax, [ebp - 0xf8]
push eax
push 0x4417
push 0x3eb7
call fcn.10010c07
add esp, 0x1c
mov dword [ebp - 0x40], 1
jmp 0x10017ad3
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10017afb
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x10017af9
push 0
push 0x3d9
push 0x4c14
call fcn.100140a8
add esp, 0xc
jmp 0x10017acc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10010486
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x571177e8
push 2
lea ecx, [ebp - 0x64]
call fcn.10010401
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 0xfffffffe
mov dword [ebp - 0x74], 0xbb9a67b9
mov dword [ebp - 0x3c], 0
jmp 0x10017b55
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10017b6b
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x64]
call fcn.1001048b
and dword [eax], 0
jmp 0x10017b4e
mov dword [ebp - 0x20], 0
jmp 0x10017b7b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x10017db3
mov dword [ebp - 0x10], 0xfffffffc
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x10], 1
jmp 0x10017bad
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10017dae
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0xe8], 0x1d69c043
push dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
call fcn.1001048b
cmp dword [ebp - 0x10], 0
je 0x10017be0
cmp dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x10017c59
push dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
call fcn.1001048b
mov esi, eax
push 1
lea ecx, [ebp - 0x64]
call fcn.1001048b
mov ecx, dword [esi]
add ecx, dword [eax]
imul esi, ecx, 0x2e81
push dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
call fcn.1001048b
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x10017c25
mov dword [ebp - 0x70], 1
jmp 0x10017c29
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x70], eax
jl 0x10017c3d
mov dword [ebp - 0xb0], 1
jmp 0x10017c44
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0xffffffff
je 0x10017c59
mov dword [ebp - 0xd8], 1
jmp 0x10017c60
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xfc], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
call fcn.1001048b
mov dword [ebp - 0x28], 0xf9ca
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], eax
jle 0x10017c8f
mov dword [ebp - 0x8c], 1
jmp 0x10017c96
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
sub eax, 0xf1d0
cmp eax, dword [ebp - 0x10]
jle 0x10017cb8
mov dword [ebp - 0x6c], 1
jmp 0x10017cbc
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x20]
je 0x10017cda
mov dword [ebp - 0xac], 1
jmp 0x10017ce1
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x10017d62
mov dword [ebp - 0xc4], 0xd4b4ea65
mov dword [ebp - 0x28], 0
jmp 0x10017d0a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x10017d60
mov dword [ebp - 0xe0], 4
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0x4ec2
push 0x2b8c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1001649b
add esp, 0x30
jmp 0x10017d03
jmp 0x10017d7c
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x346a
push 0
call fcn.1001bb39
add esp, 0x10
push 0x4b22
push 0x339a
push 0x5184
push 0
push 0x5904
push 0x45d6
push 0x5d1d
push 0x1906
call fcn.10014b59
add esp, 0x20
jmp 0x10017ba6
jmp 0x10017b74
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10010486
and dword [ebp - 0x48], 0
jmp 0x10017dd5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x48], eax
jge 0x100181d3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x10017f99
push 0x12e3
push dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push eax
push 0
push 0x6c9b
push dword [ebp - 0xd4]
push dword [ebp - 0xa8]
call fcn.10010c07
add esp, 0x1c
mov dword [ebp - 0x7c], 0x91df82
mov dword [ebp - 0x38], 0xfffffffa
mov dword [ebp - 0xa4], 0x68cd5467
mov dword [ebp - 0xc8], 0x3e8ce6fc
mov dword [ebp - 0x18], 0
jmp 0x10017e4d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10017e60
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c], 0
jmp 0x10017e46
mov dword [ebp - 0x18], 0
jmp 0x10017e70
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10017e86
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xdc], 1
jmp 0x10017e69
mov byte [ebp - 0x22], 0
push 0x6c1a
push 0x44f7
push 0x368d
push 0x19d9
push 0x793b
push 0
lea eax, [ebp - 0x22]
push eax
call fcn.10014578
add esp, 0x1c
mov eax, 0x1c08901
test eax, eax
je 0x10017f81
cmp dword [ebp - 0x38], 0
jne 0x10017eda
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
jne 0x10017eda
and dword [ebp - 0xe4], 0
jmp 0x10017ee4
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x110], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0x5969a22d
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x38]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xdc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x114], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0xa4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0xa4], eax
jne 0x10017f5c
mov dword [ebp - 0x84], 1
jmp 0x10017f63
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x84], eax
jge 0x10017f81
mov dword [ebp - 0x9c], 1
jmp 0x10017f88
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc8], eax
jmp 0x10017dc5
mov dword [ebp - 0x98], 0x8b72fd49
mov dword [ebp - 0xd0], 0x6c0e263
mov dword [ebp - 0x80], 0xfffffffb
mov dword [ebp - 0x90], 0xc1b0fe2c
mov dword [ebp - 0xb8], 0x74b6046e
mov dword [ebp - 0x14], 0
jmp 0x10017fd8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10017feb
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4c], 0xffff
jmp 0x10017fd1
mov dword [ebp - 0x14], 0
jmp 0x10017ffb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10018011
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf4], 0x6a162c9c
jmp 0x10017ff4
mov dword [ebp - 0x14], 0
jmp 0x10018021
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10018037
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x108], 0xfffffffc
jmp 0x1001801a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
mov dword [ebp - 0x10c], eax
xor eax, eax
inc eax
cmp eax, 0xcf04b064
ja 0x1001805a
mov dword [ebp - 0x68], 1
jmp 0x1001805e
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf4]
mov dword [ebp - 0x58], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x108], ecx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x68]
jg 0x1001808f
mov dword [ebp - 0x54], 1
jmp 0x10018093
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd0]
add ecx, dword [ebp - 0x54]
cmp dword [ebp + eax - 0x4c], ecx
jne 0x100180b1
mov dword [ebp - 0x78], 1
jmp 0x100180b5
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x80], eax
jl 0x100180e2
mov eax, 0x45dcefb
test eax, eax
je 0x100180e2
mov dword [ebp - 0x88], 1
jmp 0x100180e9
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf4]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x98], eax
jne 0x1001812c
mov dword [ebp - 0xa0], 1
jmp 0x10018133
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1001816e
push 0x5ef8
push 0x232a
push 0x2649
push 0x426a
push 0x5912
push 0
call fcn.1001413f
add esp, 0x18
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xa8]
add ecx, dword [eax + 0xc]
push ecx
push 0x5e2d
push 0x640f
call fcn.1002905d
pop ecx
pop ecx
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc0]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x50]
call fcn.100290f6
add esp, 0xc
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100140a8
add esp, 0xc
jmp 0x10017dc5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret