Function at 0x4152e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
push edi
mov dword [esp + 0x20], esi
mov ebp, dword [edi + 0x54]
mov dword [edi + 0x130], esi
call fcn.00439fb0
mov edx, dword [edi + 0x50]
add esp, 4
test edx, edx
je 0x415369
movzx eax, word [edx + 0x40]
test ax, ax
je 0x415332
mov ecx, eax
cmp ecx, dword [edi + 0x13c]
jae 0x415326
mov dword [edi + 0x13c], ecx
movzx eax, word [edx + 0x40]
movzx ecx, ax
mov eax, dword [edi + 0x138]
mov dword [eax + ecx*4], esi
mov ecx, dword [edx + 8]
movzx eax, word [edx + 6]
sub ecx, dword [edx + 0x14]
push 0
lea eax, [eax + eax*2]
lea eax, [eax + ecx*2]
add eax, 0x14
add eax, dword [edx + 0x18]
shl eax, 2
sub dword [edi - 0x1b0], eax
push eax
mov eax, dword [edi - 0x1b8]
push edx
push dword [edi - 0x1b4]
call eax
add esp, 0x10
mov dword [edi + 0x50], esi
mov eax, dword [ebp + 0x14]
cmp dword [eax - 4], 0xfffffff2
ja 0x41539a
cvttsd2si esi, qword [eax - 8]
add eax, 0xfffffff8
mov dword [esp + 0x1c], esi
cmp esi, 0x1d
jne 0x41539a
mov dword [ebp + 0x14], eax
lea eax, [esi - 0x1c]
mov dword [edi + 0xa8], 0x15
pop edi
pop esi
pop ebp
add esp, 0xc
ret
cmp dword [edi + 0x924], 0
push ebx
jne 0x4154c3
mov eax, dword [edi + 0x2c]
and eax, 0xff
cmp eax, 0x49
je 0x4154c3
cmp eax, 0x4a
je 0x4154c3
cmp eax, 0x4b
je 0x4154c3
cmp eax, 0x4c
je 0x4154c3
mov ecx, dword [edi + 0x928]
movzx edx, cx
test ecx, ecx
jne 0x4154b6
mov ebx, dword [edi + 0x28]
cmp esi, 6
jne 0x415408
lea eax, [ebx + 4]
mov ecx, 1
shr eax, 2
and eax, 0x3f
mov word [edi + eax*2 + 0x968], cx
jmp 0x4154c3
mov eax, dword [edi + 0x24]
mov ecx, 0x48
mov dword [esp + 0x10], eax
xor esi, esi
lea eax, [edi + 0x688]
nop dword [eax]
cmp dword [eax], ebx
je 0x415470
inc esi
add eax, 8
cmp esi, 0x40
jb 0x415420
mov esi, dword [edi + 0x888]
lea eax, [esi + 1]
and eax, 0x3f
mov dword [edi + 0x888], eax
mov dword [edi + esi*8 + 0x688], ebx
mov eax, dword [esp + 0x20]
mov word [edi + esi*8 + 0x68e], ax
lea eax, [ebx + 4]
shr eax, 2
and eax, 0x3f
movzx ecx, cx
mov word [edi + esi*8 + 0x68c], cx
mov word [edi + eax*2 + 0x968], cx
jmp 0x4154c3
lea ecx, [edi - 0xb8]
call fcn.004166e0
movzx ecx, word [edi + esi*8 + 0x68c]
and eax, 0xf
lea ecx, [eax + ecx*2]
cmp ecx, 0xea60
jbe 0x415446
mov eax, dword [ebx]
cmp al, 0x46
jne 0x4154a8
movzx eax, word [ebx + 6]
mov byte [ebx], 0x45
mov byte [ebx + eax*4 - 0x1fffc], 0x58
jmp 0x4154c3
inc al
mov byte [ebx], al
mov eax, dword [esp + 0x10]
or byte [eax + 0x25], 0x10
jmp 0x4154c3
mov eax, dword [edi + 0x138]
mov eax, dword [eax + ecx*4]
mov word [eax + 0x42], dx
movzx ebx, word [edi + 0x40]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x415627
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
xor eax, eax
mov word [edi + 0x42], ax
mov byte [edi + 0x4c], al
mov eax, dword [ebp + 8]
test byte [eax + 0x57], 2
je 0x415606
push 0x96c8a339
push ebp
call fcn.0044f320
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x415606
mov esi, dword [ebp + 0x14]
push 5
push str.abort
push ebp
lea ecx, [esi + 8]
mov dword [ebp + 0x14], ecx
call fcn.0040fb20
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], 0xfffffffb
mov ecx, dword [ebp + 0x14]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
lea eax, [ecx + 8]
mov dword [ebp + 0x14], eax
movsd qword [ecx], xmm0
mov eax, dword [edi + 0x54]
mov ebx, dword [edi + 0x58]
mov edx, dword [eax + 0x10]
sub edx, 8
mov esi, dword [edx]
cmp byte [esi + 6], 0
je 0x415591
mov ecx, dword [edx + 4]
mov eax, ecx
and al, 7
cmp al, 2
jne 0x415568
mov eax, dword [edx - 4]
jmp 0x41556a
mov eax, ecx
lea ebx, [eax - 4]
test cl, 3
jne 0x415584
movzx ecx, byte [ecx - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x415589
and ecx, 0xfffffff8
sub edx, ecx
mov esi, dword [edx]
cmp byte [esi + 6], 0
jne 0x415558
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x14]
push ebp
lea eax, [ecx + 8]
mov dword [ebp + 0x14], eax
mov dword [ecx], esi
mov dword [ecx + 4], 0xfffffff7
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + 8]
mov dword [ebp + 0x14], eax
sub ebx, dword [esi + 0x10]
mov esi, dword [esp + 0x18]
sar ebx, 2
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movsd qword [ecx], xmm0
mov edx, dword [ebp + 0x14]
lea eax, [edx + 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + esi - 8]
mov eax, dword [eax + esi - 4]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov edx, dword [ebp + 0x14]
lea eax, [edx + 8]
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x950]
mov ecx, dword [edi + 0x954]
mov dword [edx], eax
mov dword [edx + 4], ecx
call fcn.0044f280
mov ebx, dword [esp + 0x20]
add esp, 8
mov eax, dword [edi + 0x138]
mov dword [eax + ebx*4], 0
cmp ebx, dword [edi + 0x13c]
jae 0x415621
mov dword [edi + 0x13c], ebx
xor eax, eax
mov word [edi + 0x40], ax
add dword [ebp + 0x14], 0xfffffff8
mov eax, dword [esp + 0x20]
pop ebx
cmp eax, 0xe
jne 0x415670
mov eax, dword [edi + 0x58]
cmp byte [eax], 0x49
je 0x41567e
push edi
mov dword [edi + 0x924], 0
mov dword [edi + 0x928], 0
mov dword [edi + 0xa8], 0x11
call fcn.00415c80
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0xc
ret
cmp eax, 0x1b
jne 0x41567e
push ebp
call fcn.00414d40
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret