Function at 0x415330
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
xor eax, eax
push edi
mov dword [esp + 0x1c], eax
mov ebp, dword [edi + 0x54]
mov dword [edi + 0x130], eax
call fcn.00438f30
mov edx, dword [edi + 0x50]
add esp, 4
test edx, edx
je 0x4153bb
movzx eax, word [edx + 0x40]
test ax, ax
je 0x415380
cmp eax, dword [edi + 0x13c]
jae 0x41536f
mov dword [edi + 0x13c], eax
movzx ecx, word [edx + 0x40]
mov eax, dword [edi + 0x138]
mov dword [eax + ecx*4], 0
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], 0
mov eax, dword [ebp + 0x14]
cmp dword [eax - 4], 0xfffffff2
lea edx, [eax - 8]
ja 0x4153ea
cvttsd2si ecx, qword [edx]
mov dword [esp + 0x18], ecx
cmp ecx, 0x1d
jne 0x4153ec
mov dword [ebp + 0x14], edx
lea eax, [ecx - 0x1c]
mov dword [edi + 0xa8], 0x15
pop edi
pop ebp
add esp, 0xc
ret
xor ecx, ecx
cmp dword [edi + 0x924], 0
push ebx
push esi
jne 0x415516
mov eax, dword [edi + 0x2c]
and eax, 0xff
cmp eax, 0x49
je 0x415516
cmp eax, 0x4a
je 0x415516
cmp eax, 0x4b
je 0x415516
cmp eax, 0x4c
je 0x415516
mov edx, dword [edi + 0x928]
movzx esi, dx
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x415509
mov ebx, dword [edi + 0x28]
cmp ecx, 6
jne 0x41545f
lea eax, [ebx + 4]
mov edx, 1
shr eax, 2
and eax, 0x3f
mov word [edi + eax*2 + 0x968], dx
jmp 0x415516
mov eax, dword [edi + 0x24]
mov edx, 0x48
mov dword [esp + 0x10], eax
xor esi, esi
lea eax, [edi + 0x688]
cmp dword [eax], ebx
je 0x4154c3
inc esi
add eax, 8
cmp esi, 0x40
jb 0x415473
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, dx
mov word [edi + esi*8 + 0x68c], cx
mov word [edi + eax*2 + 0x968], cx
jmp 0x415516
lea ecx, [edi - 0xb8]
call fcn.00416740
movzx ecx, word [edi + esi*8 + 0x68c]
and eax, 0xf
lea edx, [eax + ecx*2]
cmp edx, 0xea60
jbe 0x415499
mov eax, dword [ebx]
cmp al, 0x46
jne 0x4154fb
movzx eax, word [ebx + 6]
mov byte [ebx], 0x45
mov byte [ebx + eax*4 - 0x1fffc], 0x58
jmp 0x415516
inc al
mov byte [ebx], al
mov eax, dword [esp + 0x10]
or byte [eax + 0x25], 0x10
jmp 0x415516
mov eax, dword [edi + 0x138]
mov eax, dword [eax + edx*4]
mov word [eax + 0x42], si
movzx ebx, word [edi + 0x40]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x41567f
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 0x41565e
push 0x96c8a339
push ebp
call fcn.0044e310
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x41565e
mov esi, dword [ebp + 0x14]
push 5
push str.abort
push ebp
lea ecx, [esi + 8]
mov dword [ebp + 0x14], ecx
call fcn.0040faa0
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 0x4155e9
nop dword [eax + eax]
mov ecx, dword [edx + 4]
mov eax, ecx
and al, 7
cmp al, 2
jne 0x4155c0
mov eax, dword [edx - 4]
jmp 0x4155c2
mov eax, ecx
lea ebx, [eax - 4]
test cl, 3
jne 0x4155dc
movzx ecx, byte [ecx - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x4155e1
and ecx, 0xfffffff8
sub edx, ecx
mov esi, dword [edx]
cmp byte [esi + 6], 0
jne 0x4155b0
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 [esi + eax - 8]
mov eax, dword [esi + eax - 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.0044e270
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 0x415679
mov dword [edi + 0x13c], ebx
xor eax, eax
mov word [edi + 0x40], ax
add dword [ebp + 0x14], 0xfffffff8
mov eax, dword [esp + 0x20]
pop esi
pop ebx
cmp eax, 0xe
jne 0x4156c8
mov eax, dword [edi + 0x58]
cmp byte [eax], 0x49
je 0x4156d6
push edi
mov dword [edi + 0x924], 0
mov dword [edi + 0x928], 0
mov dword [edi + 0xa8], 0x11
call fcn.00415cc0
add esp, 4
mov eax, 1
pop edi
pop ebp
add esp, 0xc
ret
cmp eax, 0x1b
jne 0x4156d6
push ebp
call fcn.00414d90
add esp, 4
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret