Function at 0x1012d3f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2fc
mov eax, dword [0x101ac06c]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebp
mov ebp, dword [esp + 0x308]
push esi
mov esi, dword [esp + 0x308]
push edi
mov dword [esp + 0xc], ebp
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0xdc]
jb 0x1012d42b
mov ecx, esi
call fcn.1011b2b0
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [esi + 8], edi
mov dword [eax + edi*8 + 2], 0xc000000
mov word [eax + edi*8], cx
mov word [eax + edi*8 + 6], cx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0xec], ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi + 0x8dc]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x6c], esi
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xc4], eax
test ecx, ecx
je 0x1012d490
mov eax, dword [esi + 0x100]
mov eax, dword [eax + ecx*4]
jmp 0x1012d492
xor eax, eax
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xd8]
push eax
push esi
call fcn.1011df10
mov ecx, dword [esp + 0xe0]
mov esi, eax
mov dword [esp + 0x24], eax
add esp, 8
mov dword [esp + 0xdc], esi
mov dword [esp + 0x60], eax
lea edx, [ecx + 0x40]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xd0]
movzx eax, word [edx + 6]
cmp eax, 0x200
jae 0x1012dae1
add eax, 0x1f
xor edx, edx
shr eax, 5
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push ebx
test eax, eax
je 0x1012d5d4
xor ebp, ebp
mov edi, 0x5fc
nop
mov eax, dword [esp + 0x70]
cmp dword [eax + edi], 0
jne 0x1012d5bb
mov eax, ecx
mov dword [esp + 0x18], eax
add eax, 0x8d
cmp eax, esi
jae 0x1012daec
mov ah, dl
mov byte [ecx], 0x6a
shl ah, 5
mov ebx, 1
mov byte [ecx + 1], ah
add ecx, 2
mov dl, bl
mov byte [ecx], 0xeb
shl dl, 2
mov al, 0x7e
sub al, dl
mov byte [ecx + 2], 0x6a
mov byte [ecx + 1], al
mov al, ah
add al, bl
inc ebx
mov byte [ecx + 3], al
add ecx, 4
cmp ebx, 0x20
jb 0x1012d534
mov byte [ecx], 0x6a
mov eax, ebp
mov dword [ecx + 2], 0x82444c7
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
add eax, 0x990
mov dword [ecx + 6], eax
mov eax, 0x1000507b
mov byte [ecx + 0xa], 0xe9
add ecx, 0xf
sub eax, ecx
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x70]
mov dword [eax + 0x8f8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xdc], ecx
add ecx, 0x40
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0xdc]
inc edx
add edi, 4
add ebp, 0x20
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x1c]
jb 0x1012d500
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0xf0]
mov ebx, 5
mov eax, dword [ebp + 8]
mov dword [esp + 0x9c], eax
test ecx, ecx
je 0x1012d617
and ecx, 0xf
jbe 0x1012d5fc
dec esi
dec ecx
mov byte [esi], 0x90
test ecx, ecx
jg 0x1012d5f3
cmp dword [esp + 0x90], 0
mov eax, 2
mov dword [esp + 0xe0], esi
cmovne eax, ebx
sub esi, eax
jmp 0x1012d61a
add esi, 0xfffffffb
cmp dword [esp + 0xc8], 0
je 0x1012d62d
mov dword [esp + 0xe8], esi
jmp 0x1012d64e
mov eax, dword [esp + 0x8c]
and eax, 0x800
mov dword [esp + 0xe8], 0
or eax, 0x3000
shr eax, 0xb
sub esi, eax
test dword [esp + 0x8c], 0x2000000
mov eax, 0xffffffff
mov ecx, dword [esp + 0xc8]
cmovne eax, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xc8], ecx
call fcn.1012b000
add esp, 4
cmp dword [esp + 0xc8], 0
jne 0x1012d6ca
lea eax, [esp + 0x24]
push eax
call fcn.1012c310
add esp, 4
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
dec edx
mov dword [esp + 0x9c], edx
cmp edx, edi
jbe 0x1012d779
nop dword [eax + eax]
mov eax, dword [esp + 0x6c]
cmp byte [eax + edx*8 + 6], 0
lea esi, [eax + edx*8]
jge 0x1012d72c
cmp byte [esi + 7], 0
jne 0x1012d72c
movzx eax, byte [esi + 5]
movzx ecx, byte [eax + 0x1018b410]
movzx eax, byte [esi + 4]
or eax, 0xffffff7f
and ecx, eax
cmp ecx, 0x60
jae 0x1012d72c
test dword [esp + 0x8c], 0x40000
jne 0x1012d769
cmp byte [esi + 4], 0
jge 0x1012d73f
lea eax, [esp + 0x24]
push eax
call fcn.1012bda0
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
jb 0x1012daec
lea eax, [esp + 0x24]
push esi
push eax
call fcn.10128c50
mov edi, dword [esp + 0xa8]
add esp, 8
mov edx, dword [esp + 0x9c]
dec edx
mov dword [esp + 0x9c], edx
cmp edx, edi
ja 0x1012d6f0
mov ecx, dword [esp + 0xf0]
test ecx, ecx
je 0x1012d790
mov esi, dword [esp + 0xe0]
jmp 0x1012d5e0
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
jb 0x1012daec
cmp dword [esp + 0xd0], 0
jle 0x1012d7d4
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x1c]
movzx eax, word [eax + 4]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x24]
push eax
call fcn.1012bda0
lea eax, [esp + 0x28]
push eax
call fcn.10126fd0
add esp, 8
lea eax, [esp + 0x24]
push eax
call fcn.1012dff0
add esp, 4
cmp dword [esp + 0xd8], 0
je 0x1012d7fd
lea eax, [esp + 0x24]
push eax
call fcn.101277b0
add esp, 4
jmp 0x1012d932
mov esi, dword [esp + 0x6c]
mov dl, byte [esi + 0x40006]
movzx ecx, dl
test cl, cl
js 0x1012d85b
mov eax, dword [esp + 0x7c]
bts eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
shr eax, cl
test al, 1
jne 0x1012d82f
test byte [esi + 0x40004], 0x20
je 0x1012d836
mov byte [esi + 0x40006], 0xff
cmp ecx, 2
je 0x1012d85b
mov eax, dword [esp + 0x64]
and dl, 7
shl dl, 3
sub dl, 0x3e
lea ecx, [eax - 2]
mov byte [eax - 1], dl
mov dword [eax - 5], 0x8b0000fe
mov dword [esp + 0x64], ecx
jmp 0x1012d85f
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xd4]
movzx eax, word [eax + 0x40]
mov dword [ecx - 4], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
add eax, 0xffffff4c
mov dword [ecx - 8], eax
lea eax, [ecx - 0xa]
mov byte [ecx - 9], bl
mov dword [ecx - 0xd], 0xc70000fe
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xd4]
cmp ecx, 6
jg 0x1012d8ac
xor ecx, ecx
mov word [eax + 0x3e], cx
jmp 0x1012d922
add ecx, 0xfffffffd
and ecx, 0xfffffffc
shl ecx, 2
mov word [eax + 0x3e], cx
neg ecx
je 0x1012d922
test dword [esp + 0x8c], 0x800
movsx eax, cl
je 0x1012d8f6
cmp ecx, eax
mov eax, dword [esp + 0x64]
jne 0x1012d8dc
dec eax
mov byte [eax], cl
mov cl, 0x64
jmp 0x1012d8e3
add eax, 0xfffffffc
mov dword [eax], ecx
mov cl, 0xa4
mov byte [eax - 1], 0x24
mov byte [eax - 2], cl
mov dword [eax - 6], 0x8d0000fe
add eax, 0xfffffffd
jmp 0x1012d91e
mov edx, dword [esp + 0x64]
cmp ecx, eax
jne 0x1012d908
dec edx
mov eax, 0x830000fe
mov byte [edx], cl
jmp 0x1012d912
add edx, 0xfffffffc
mov eax, 0x810000fe
mov dword [edx], ecx
mov dword [edx - 5], eax
movsx eax, al
mov byte [edx - 1], 0xc4
add eax, edx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 0x24]
mov al, byte [eax + 7]
mov byte [ecx + 0x4b], al
mov esi, dword [esp + 0x88]
test esi, esi
je 0x1012d9b0
mov edi, 0x1400
bsr ebx, esi
movzx eax, word [esp + ebx*2 + 0xf4]
mov ecx, eax
mov edx, eax
mov eax, dword [esp + 0x6c]
lea ecx, [eax + ecx*8]
mov al, byte [ecx + 4]
test al, 0x20
je 0x1012d9a9
and al, 0xdf
cmp byte [ecx + 7], 0
mov byte [ecx + 4], al
je 0x1012d9a9
mov eax, dword [esp + 0x70]
movzx ecx, word [esp + 0xb4]
mov word [eax + 0x78], di
mov word [eax + 0x74], dx
mov word [eax + 0x76], cx
mov ecx, dword [esp + 0x70]
call fcn.1011b240
movzx ecx, ax
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x6c], eax
mov byte [eax + ecx*8 + 6], bl
mov eax, dword [esp + 0x6c]
mov byte [eax + ecx*8 + 7], 0
btr esi, ebx
test esi, esi
jne 0x1012d942
cmp dword [esp + 0x7c], 0xffef
jne 0x1012daf6
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x64]
mov dword [ebp + 0x34], edx
test eax, eax
je 0x1012d9d4
sub eax, edx
jmp 0x1012d9d6
xor eax, eax
cmp dword [esp + 0xc8], 0
mov ecx, dword [esp + 0xe0]
mov dword [ebp + 0x38], eax
mov eax, edx
jne 0x1012dab6
mov eax, dword [esp + 0xd4]
movzx edi, word [ebp + 0x42]
movzx ebx, word [eax + 0x3e]
test ebx, ebx
jne 0x1012da1b
mov eax, dword [esp + 0x8c]
and eax, 0x800
or eax, 0x3000
shr eax, 0xb
sub ecx, eax
jmp 0x1012da6f
movsx esi, bl
cmp ebx, esi
jne 0x1012da2c
add ecx, 0xfffffffd
lea edx, [ecx - 6]
mov byte [edx], bl
jmp 0x1012da31
lea edx, [ecx - 9]
mov dword [edx], ebx
test dword [esp + 0x8c], 0x800
je 0x1012da5c
cmp ebx, esi
mov dword [esp + 0x10], 0x64
mov eax, 0xa4
mov byte [edx - 3], 0x8d
cmove eax, dword [esp + 0x10]
mov byte [edx - 1], 0x24
jmp 0x1012da6c
cmp ebx, esi
mov byte [edx - 1], 0xc4
sete al
lea eax, [eax*2 + 0x81]
mov byte [edx - 2], al
test edi, edi
je 0x1012da85
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x100]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x34]
jmp 0x1012da8a
mov eax, 0x1000511b
sub eax, ecx
mov byte [ecx - 5], 0xe9
mov dword [ecx - 4], eax
mov eax, dword [esp + 0xe0]
dec eax
cmp eax, ecx
jb 0x1012daa8
nop
mov byte [eax], 0x90
dec eax
cmp eax, ecx
jae 0x1012daa0
mov eax, dword [ebp + 0x34]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xe0], ecx
push dword [esp + 0x20]
sub ecx, edx
push eax
mov dword [ebp + 0x30], ecx
call fcn.1011df90
mov ecx, dword [esp + 0x310]
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100f4653
add esp, 0x2fc
ret
push 3
push dword [esp + 0x70]
call fcn.101013f0
lea eax, [esp + 0x24]
push eax
call fcn.10129d40
push 0x1f
push dword [esp + 0x74]
call fcn.101013f0
int3