Function at 0x10125950
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101adc70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10206f54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x20]
call fcn.10044a20
add esp, 4
mov dword [esi + 0x20], 0
cmp byte [esi + 0x26], 0
lea eax, [esi + 0x28]
mov dword [ebp - 0x1c], eax
je 0x101259c1
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x101259b9
mov eax, dword [ecx]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x101b0250]
mov ecx, dword [ebp - 0x20]
call edi
lea eax, [esi + 0x28]
mov dword [eax], 0
jmp 0x101259c4
mov dword [ebp - 0x1c], eax
movzx ecx, word [esi + 0x1e]
mov eax, dword [esi + 0x14]
add ecx, ecx
push 0
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esi + 8]
push eax
call fcn.10045780
push 0
push 0x28
call fcn.10044a40
mov ecx, dword [esi + 8]
add esp, 8
mov edi, eax
push 0x28
push edi
call fcn.10045540
cmp eax, 0x28
jne 0x10125d6c
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x474e5089
mov dword [ebp - 0x14], 0xa1a0a0d
cmp eax, dword [ecx]
jne 0x10125a70
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jne 0x10125a70
mov ecx, dword [esi + 8]
push 1
push 0xffffffffffffffd8
mov byte [esi + 0x26], 1
call fcn.10045780
push 0x5710
call fcn.100448e0
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10125a64
push dword [esi + 0xc]
mov ecx, eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.100f7690
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x10125d51
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [eax], ecx
jmp 0x10125d51
push 0x28
mov byte [esi + 0x26], 0
call fcn.100448e0
mov edx, eax
add esp, 4
test edx, edx
je 0x10125a95
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
movq qword [edx + 0x20], xmm0
jmp 0x10125a97
xor edx, edx
mov dword [esi + 0x18], edx
movzx ecx, byte [edi + 3]
shl ecx, 8
movzx eax, byte [edi + 2]
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 4], ecx
movzx ecx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], ecx
movzx ecx, byte [edi + 0xd]
movzx eax, byte [edi + 0xc]
shl cx, 8
or cx, ax
mov eax, dword [esi + 0x18]
mov word [eax + 0xc], cx
movzx ecx, byte [edi + 0xf]
movzx eax, byte [edi + 0xe]
shl cx, 8
or cx, ax
mov eax, dword [esi + 0x18]
mov word [eax + 0xe], cx
movzx ecx, byte [edi + 0x13]
movzx eax, byte [edi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x10], ecx
movzx ecx, byte [edi + 0x17]
movzx eax, byte [edi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x14]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x14], ecx
movzx ecx, byte [edi + 0x1b]
movzx eax, byte [edi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x18]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 0x18], ecx
movzx ecx, byte [edi + 0x1f]
movzx eax, byte [edi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x1c], ecx
movzx ecx, byte [edi + 0x23]
movzx eax, byte [edi + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x20]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], ecx
movzx ecx, byte [edi + 0x27]
movzx eax, byte [edi + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x25]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x24]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 8], eax
call fcn.10044a20
mov ecx, dword [esi + 0x18]
add esp, 4
cmp dword [ecx + 0x20], 0
jne 0x10125c51
movzx eax, word [ecx + 0xe]
dec eax
cmp eax, 0x1f
ja case.0x10125c43.2
movzx eax, byte [eax + 0x10125db8]
jmp dword [eax*4 + 0x10125da4]
mov dword [ecx + 0x20], 2
mov eax, dword [esi + 0x18]
mov edi, dword [eax + 0x20]
test edi, edi
je 0x10125d51
shl edi, 2
push 0
push edi
call fcn.10044a40
mov ecx, dword [esi + 8]
add esp, 8
mov dword [ebp - 0x1c], eax
push edi
push eax
call fcn.10045540
cmp eax, edi
jne 0x10125d81
jmp 0x10125c9f
mov dword [ecx + 0x20], 0x10
jmp 0x10125c51
mov dword [ecx + 0x20], 0x100
jmp 0x10125c51
mov dword [ecx + 0x20], 0
jmp 0x10125c51
mov edx, dword [esi + 0x18]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x20], ecx
mov dword [ebp - 0x1c], eax
cmp dword [edx + 0x20], eax
jbe 0x10125cf5
mov dword [ebp - 0x20], ecx
lea edi, [ecx + 2]
mov dl, byte [edi - 2]
mov cl, byte [edi - 1]
mov al, byte [edi]
add edi, 4
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x20]
mov byte [edi], al
mov eax, dword [esi + 0x20]
mov edi, dword [ebp - 0x14]
mov byte [eax + 1], cl
mov eax, dword [esi + 0x20]
mov byte [eax + 2], dl
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp - 0x1c]
add ecx, 3
mov dword [esi + 0x20], ecx
inc eax
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp eax, dword [edx + 0x20]
jb 0x10125cb8
lea eax, [eax + eax*2]
sub ecx, eax
mov dword [esi + 0x20], ecx
mov eax, dword [edx + 0x20]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x54]
mov dword [esi + 0x38], eax
mov eax, dword [esi]
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 0
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x101b0250]
mov ecx, esi
call edi
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
mov dword [ecx], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a8b60
mov esp, ebp
pop ebp
ret
push edi
call fcn.10044a20
add esp, 4
mov ecx, esi
call fcn.10124450
call fcn.100ed150
push dword [ebp - 0x1c]
call fcn.10044a20
add esp, 4
mov ecx, esi
call fcn.10124450
call fcn.100ed150
mov ecx, esi
call fcn.10124450
call fcn.100ef7e0
dec edx
pop esp
adc dl, byte [eax]
test byte [edx + edx + 0x10], bl
lea ebx, [edx + edx + 16]
xchg esi, eax
pop esp
adc dl, byte [eax]
cwde
pop ebp
adc dl, byte [eax]
add byte [esp + eax], al
add dword [esp + eax], eax
add al, 2
add al, 4
add al, 4
add al, 4
add al, 3
add al, 4
add al, 4
add al, 4
add al, 3
add al, 4
add al, 4
add al, 4
add al, 3
int3