Function at 0x45f0c8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov bx, word [ecx]
mov word [ebp - 2], bx
test bx, bx
movsx esi, word [ebp - 2]
jle 0x45f461
dec esi
cmp esi, 5
ja case.default.0x45f0ff
movsx edi, word [ebp - 2]
sub edi, 1
jmp dword [edi*4 + 0x4afcc8]
mov edx, dword [eax]
mov ecx, edx
neg ecx
test edx, edx
jge 0x45f112
mov edx, ecx
mov eax, edx
jmp 0x45f44d
mov cx, word [eax + 4]
mov edx, dword [eax]
mov word [0x3a6a7c8], cx
movsx eax, word [0x3a6a7c8]
add eax, edx
mov esi, eax
mov edx, eax
neg esi
test eax, eax
jge 0x45f13b
mov edx, esi
mov edi, dword [ebp + 0x14]
mov eax, edx
cdq
idiv dword [edi]
mov edi, edx
inc edi
mov esi, edi
jmp 0x45f456
mov cx, word [eax]
mov word [0x3a6a7c8], cx
mov cx, word [eax + 2]
movsx edx, word [0x3a6a7c8]
mov word [0x3a6a7c8], cx
movsx esi, word [0x3a6a7c8]
mov cx, word [eax + 4]
mov word [0x3a6a7c8], cx
add esi, edx
mov edx, esi
movsx esi, word [0x3a6a7c8]
mov cx, word [eax + 6]
mov word [0x3a6a7c8], cx
add esi, edx
mov edx, esi
movsx esi, word [0x3a6a7c8]
mov cx, word [eax + 8]
mov word [0x3a6a7c8], cx
add esi, edx
mov edx, esi
mov cx, word [eax + 0xa]
movsx esi, word [0x3a6a7c8]
mov word [0x3a6a7c8], cx
movsx eax, word [0x3a6a7c8]
add esi, edx
add eax, esi
mov esi, eax
mov edx, eax
neg esi
test eax, eax
jge 0x45f1d4
mov edx, esi
mov edi, dword [ebp + 0x14]
mov eax, edx
cdq
idiv dword [edi]
mov edi, edx
inc edi
mov esi, edi
jmp 0x45f456
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [0x3a6a7c0], ecx
mov edx, dword [0x3a6a7c0]
mov dword [0x3a6a7c0], edi
mov esi, dword [0x3a6a7c0]
mov eax, dword [eax + 8]
add esi, edx
mov dword [0x3a6a7c0], eax
add esi, dword [0x3a6a7c0]
imul esi, esi, 0x41c64e6d
add esi, 0x90ab
mov ecx, esi
mov eax, esi
neg ecx
test esi, esi
jge 0x45f22c
mov eax, ecx
mov edi, dword [ebp + 0x14]
cdq
idiv dword [edi]
mov edi, edx
inc edi
mov esi, edi
jmp 0x45f456
mov cx, word [edx]
mov dword [ebp - 8], 0
mov di, 1
cmp cx, 4
jl 0x45f327
mov esi, 0
cmp cx, 0x18
jl 0x45f2f5
mov edx, dword [eax + esi]
mov ebx, dword [eax + esi + 4]
mov dword [0x3a6a7c0], edx
mov edx, dword [0x3a6a7c0]
mov dword [0x3a6a7c0], ebx
mov ebx, dword [0x3a6a7c0]
add ebx, edx
mov edx, dword [eax + esi + 8]
mov dword [0x3a6a7c0], edx
add ebx, dword [0x3a6a7c0]
mov edx, dword [eax + esi + 0xc]
mov dword [0x3a6a7c0], edx
add ebx, dword [0x3a6a7c0]
mov edx, dword [eax + esi + 0x10]
mov dword [0x3a6a7c0], edx
add ebx, dword [0x3a6a7c0]
mov edx, dword [eax + esi + 0x14]
mov dword [0x3a6a7c0], edx
add ebx, dword [0x3a6a7c0]
movsx edi, di
imul ebx, ebx, 0x41c64e6d
movsx ecx, cx
add ebx, dword [ebp - 8]
add ebx, 0x12156
add edi, 6
add esi, 0x18
sub ecx, 0x18
mov dword [ebp - 8], ebx
cmp cx, 0x18
jge 0x45f263
cmp cx, 4
jl 0x45f327
mov ebx, dword [eax + esi]
mov dword [0x3a6a7c0], ebx
imul edx, dword [0x3a6a7c0], 0x41c64e6d
movsx edi, di
movsx ecx, cx
add edx, dword [ebp - 8]
add edx, 0x3039
inc edi
add esi, 4
sub ecx, 4
mov dword [ebp - 8], edx
cmp cx, 4
jge 0x45f2f5
test cx, cx
jle 0x45f37f
movsx edx, di
movsx edi, di
shl edx, 2
sub edx, 4
shl edi, 2
sub edi, edx
sub edi, 2
test edi, edi
jge 0x45f346
xor edi, edi
mov esi, eax
add esi, edx
mov ecx, 2
mov eax, edi
lea edi, [0x3a6a7c8]
call fcn.0046f930
mov eax, 0x20
call fcn.0046e6bd
movsx edx, word [0x3a6a7c8]
imul edx, edx, 0x41c64e6d
add edx, dword [ebp - 8]
add edx, 0x3039
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
neg esi
cmp dword [ebp - 8], 0
mov eax, dword [ebp - 8]
jge 0x45f38f
mov eax, esi
cdq
mov edi, dword [ebp + 0x14]
idiv dword [edi]
mov edi, edx
inc edi
mov esi, edi
jmp 0x45f456
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [0x3a6a7c0], ecx
mov ebx, dword [0x3a6a7c0]
mov dword [0x3a6a7c0], edx
mov edi, dword [0x3a6a7c0]
mov cx, word [eax + 0xc]
mov esi, dword [eax + 8]
mov word [0x3a6a7c8], cx
add ebx, edi
movsx edx, word [0x3a6a7c8]
mov dword [0x3a6a7c0], esi
add ebx, dword [0x3a6a7c0]
add ebx, edx
imul ebx, ebx, 0x41c64e6d
add ebx, 0xc0e4
mov esi, ebx
mov edi, ebx
neg esi
test ebx, ebx
jge 0x45f3f9
mov edi, esi
mov cx, word [eax + 0xe]
and edi, 0x3fffffff
mov word [0x3a6a7c8], cx
mov edx, edi
cmp word [0x3a6a7c8], 0
mov bx, word [0x3a6a7c8]
jge 0x45f427
neg bx
mov word [0x3a6a7c8], bx
movsx eax, word [0x3a6a7c8]
add eax, edx
jmp 0x45f44d
cmp word [ebp - 2], 0x64
jne 0x45f461
mov eax, dword [eax]
mov ecx, eax
neg ecx
test eax, eax
jge 0x45f445
mov eax, ecx
mov ebx, 0xa
cdq
idiv ebx
mov esi, dword [ebp + 0x14]
cdq
idiv dword [esi]
mov esi, edx
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
lea ebx, [0x4b8318]
mov cx, word [ebp - 2]
lea edx, [ebp - 0x30]
lea esi, [0x4afcbc]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
lea edi, [0x4afcb8]
mov word [ebp - 0x30], cx
push ebx
push edx
push esi
push 0x7f84ff00
push 0xffffffff
push eax
call fcn.0046fa30
add esp, 0x18
sub esp, 4
push 0
push 0
push 0x7f84ff00
push 0
push edi
call fcn.00481180
add esp, 0x18
int3