Function at 0x4304b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp dword [ebp + 0x14], 0
push ebx
mov ebx, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
jle 0x4307cb
movzx eax, word [ebx]
movzx edx, word [ebx + 4]
cwde
mov dword [ebp - 0x44], eax
push esi
movzx esi, word [ebx + 2]
push edi
movzx edi, word [ebx + 6]
movzx ebx, word [ebx + 0xa]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 8]
movsx eax, dx
mov dword [ebp - 0x10], eax
movsx eax, di
movzx ecx, word [ebx + 8]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
movsx eax, cx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
movsx eax, bx
mov dword [ebp - 0x14], eax
movzx eax, word [ecx + 0xc]
cwde
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 0xe]
cwde
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0x10]
cwde
mov dword [ebp - 0x24], eax
movzx eax, word [ecx + 0x12]
cwde
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 0x14]
cwde
mov dword [ebp - 0x2c], eax
movzx eax, word [ecx + 0x16]
mov ebx, dword [ebp + 0x10]
cwde
sub dword [ebp - 4], ebx
mov dword [ebp - 0x28], eax
movzx eax, word [ecx + 0x18]
cwde
mov dword [ebp - 0x34], eax
movzx eax, word [ecx + 0x1a]
cwde
mov dword [ebp - 0x30], eax
movzx eax, word [ecx + 0x1c]
cwde
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x3c], eax
movzx eax, word [ecx + 0x1e]
cwde
movsx esi, si
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], esi
nop dword [eax]
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [eax + 0x38], ecx
movzx eax, cx
imul eax, dword [ebp - 0x44]
movzx edi, dx
imul edi, esi
sar ecx, 0x10
imul ecx, dword [ebp - 0x44]
sar eax, 0x10
sar edi, 0x10
add edi, eax
mov eax, edx
sar eax, 0x10
imul eax, dword [ebp - 0x40]
add edi, eax
mov eax, dword [ebp + 0xc]
add edi, ecx
mov esi, dword [eax + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x30]
mov dword [eax + 0x30], esi
movzx eax, si
imul eax, dword [ebp - 0x10]
movzx ecx, dx
imul ecx, dword [ebp - 0xc]
sar esi, 0x10
imul esi, dword [ebp - 0x10]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [eax + 0x28]
mov dword [eax + 0x28], edi
movzx eax, di
imul eax, dword [ebp - 0x18]
movzx ecx, dx
imul ecx, dword [ebp - 0x14]
sar edi, 0x10
imul edi, dword [ebp - 0x18]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0x20]
mov dword [eax + 0x20], edi
movzx eax, di
imul eax, dword [ebp - 0x1c]
movzx ecx, dx
imul ecx, dword [ebp - 8]
sar edi, 0x10
imul edi, dword [ebp - 0x1c]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 8]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x18], edi
movzx eax, di
imul eax, dword [ebp - 0x24]
movzx ecx, dx
imul ecx, dword [ebp - 0x20]
sar edi, 0x10
imul edi, dword [ebp - 0x24]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [eax + 0x10]
mov dword [eax + 0x10], edi
movzx eax, di
imul eax, dword [ebp - 0x2c]
movzx ecx, dx
imul ecx, dword [ebp - 0x28]
sar edi, 0x10
imul edi, dword [ebp - 0x2c]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 8]
mov dword [eax + 8], edi
movzx ecx, dx
imul ecx, dword [ebp - 0x30]
movzx eax, di
imul eax, dword [ebp - 0x34]
sar edi, 0x10
imul edi, dword [ebp - 0x34]
sar ecx, 0x10
sar eax, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x30]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [eax + 4], edx
mov dword [eax], edi
movzx edx, cx
imul edx, dword [ebp - 0x38]
movzx eax, di
imul eax, dword [ebp - 0x3c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x38]
sar edx, 0x10
sar edi, 0x10
imul edi, dword [ebp - 0x3c]
sar eax, 0x10
add edx, eax
mov eax, dword [ebp - 4]
add edx, ecx
add edi, esi
movsx eax, word [eax + ebx]
add edx, edi
shl eax, 0xa
lea ecx, [eax + edx]
test ecx, ecx
js 0x43077c
test edx, eax
jge 0x43078c
mov ecx, 0x80000000
mov eax, ecx
sar eax, 9
inc eax
sar eax, 1
cmp eax, 0xffff8000
mov edx, 0xffff8000
cmovl eax, edx
mov word [ebx], ax
cmp ecx, 0x7ffffff
jle 0x4307a2
mov ecx, 0x7ffffff
jmp 0x4307b0
or eax, edx
jl 0x43078c
mov ecx, 0x7fffffff
mov eax, 0x7fff
jmp 0x43076a
mov eax, ecx
sar eax, 9
inc eax
sar eax, 1
cmp eax, 0x7fff
jle 0x43075d
mov eax, 0x7fff
jmp 0x43076a
cmp ecx, 0xf8000000
mov eax, 0xf8000000
cmovl ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, 2
mov esi, dword [ebp - 0x40]
shl ecx, 4
sub dword [ebp + 0x14], 1
mov dword [eax + 0x3c], ecx
jne 0x430570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret