Function at 0x45cbe0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
cmp eax, 0x20
push esi
mov dword [esp + 8], ecx
jge 0x45cc99
mov edx, dword [esp + 0x1c]
cmp eax, edx
jle 0x45cc1d
lea ecx, [ebx + eax*2 + 8]
sub eax, edx
jmp 0x45cc10
mov si, word [ecx - 2]
mov word [ecx], si
add ecx, 0xfffffffe
dec eax
jne 0x45cc10
cmp byte [ebx], 0
mov eax, dword [ebx + 4]
je 0x45cc3d
cmp eax, edx
jle 0x45cc5b
lea ecx, [ebx + eax*4 + 0x48]
sub eax, edx
nop
mov esi, dword [ecx - 4]
mov dword [ecx], esi
add ecx, 0xfffffffc
dec eax
jne 0x45cc30
jmp 0x45cc5b
inc eax
lea esi, [edx + 1]
cmp eax, esi
jle 0x45cc5b
lea ecx, [ebx + eax*4 + 0xd0]
sub eax, esi
mov edi, edi
mov esi, dword [ecx - 4]
mov dword [ecx], esi
add ecx, 0xfffffffc
dec eax
jne 0x45cc50
mov ax, word [esp + 0x14]
mov word [ebx + edx*2 + 8], ax
cmp byte [ebx], 0
je 0x45cc81
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [ebx + edx*4 + 0x48], eax
inc dword [ebx + 4]
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x18
mov ecx, dword [esp + 0x20]
mov dword [ebx + edx*4 + 0xd4], ecx
inc dword [ebx + 4]
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x18
call fcn.0045c930
mov edx, eax
mov al, byte [ebx]
mov byte [edx], al
cmp byte [ebx], 0
mov dword [esp + 0xc], edx
je 0x45ccd5
mov ecx, dword [ebx + 0xc8]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x45ccc9
mov dword [eax + 0xcc], edx
mov dword [edx + 0xcc], ebx
mov dword [ebx + 0xc8], edx
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x10
push ebp
push edi
jl 0x45ce7c
mov esi, 0x10
xor edi, edi
cmp ecx, esi
jle 0x45cd21
lea eax, [ebx + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x10]
lea ebp, [edx + 8]
mov edi, eax
lea esi, [eax + 0x10]
mov ecx, dword [esp + 0x2c]
mov cx, word [ecx]
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
add ecx, 2
add ebp, 2
dec eax
mov dword [esp + 0x2c], ecx
jne 0x45cd01
mov ecx, dword [esp + 0x24]
mov ax, word [esp + 0x1c]
mov word [edx + edi*2 + 8], ax
inc edi
cmp esi, 0x20
jge 0x45cd50
mov eax, 0x20
lea edi, [edx + edi*2 + 8]
lea ebp, [ebx + esi*2 + 8]
sub eax, esi
mov si, word [ebp]
mov word [edi], si
add ebp, 2
add edi, 2
dec eax
jne 0x45cd40
xor ebp, ebp
cmp byte [ebx], 0
mov eax, 0x10
je 0x45cdd6
cmp ecx, eax
jle 0x45cd8e
lea eax, [ebx + 0x88]
add ecx, 0xfffffff0
mov dword [esp + 0x24], eax
lea esi, [edx + 0x48]
mov ebp, ecx
lea eax, [ecx + 0x10]
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
mov dword [esi], edi
mov edi, dword [esp + 0x24]
add edi, 4
add esi, 4
dec ecx
mov dword [esp + 0x24], edi
jne 0x45cd75
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
mov dword [edx + ebp*4 + 0x48], ecx
inc ebp
cmp eax, 0x20
jge 0x45ce66
mov ecx, 0x20
sub ecx, eax
lea edi, [edx + ebp*4 + 0x48]
lea esi, [ebx + eax*4 + 0x48]
add ebp, ecx
mov eax, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
dec ecx
jne 0x45cdb3
pop edi
mov dword [ebx + 4], 0x10
mov dword [edx + 4], ebp
pop ebp
pop esi
mov eax, edx
pop ebx
add esp, 8
ret 0x18
cmp ecx, 0x10
jle 0x45ce0c
lea eax, [ebx + 0x114]
add ecx, 0xfffffff0
mov dword [esp + 0x24], eax
lea esi, [edx + 0xd0]
mov ebp, ecx
lea eax, [ecx + 0x10]
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
mov dword [esi], edi
mov edi, dword [esp + 0x24]
add edi, 4
add esi, 4
dec ecx
mov dword [esp + 0x24], edi
jne 0x45cdf3
mov ecx, dword [esp + 0x28]
mov dword [edx + ebp*4 + 0xd0], ecx
mov esi, dword [ebx + 4]
inc ebp
lea ecx, [eax + 1]
inc esi
cmp ecx, esi
jge 0x45ce45
lea esi, [edx + ebp*4 + 0xd0]
lea eax, [ebx + eax*4 + 0xd4]
mov edi, dword [eax]
add eax, 4
mov dword [esi], edi
mov edi, dword [ebx + 4]
inc ecx
inc ebp
add esi, 4
inc edi
cmp ecx, edi
jl 0x45ce31
mov eax, dword [esp + 0x30]
lea edi, [edx + 8]
mov dword [eax + 4], 2
mov cx, word [edi]
mov word [eax], cx
lea ecx, [ebp - 1]
test ecx, ecx
jle 0x45ce66
lea esi, [edx + 0xa]
rep movsw word es:[edi], word [esi]
pop edi
mov dword [ebx + 4], 0x10
mov dword [edx + 4], ebp
pop ebp
pop esi
mov eax, edx
pop ebx
add esp, 8
ret 0x18
lea eax, [edx + 8]
lea ecx, [ebx + 0x26]
mov esi, eax
mov ebp, 0x11
lea esp, [esp]
mov di, word [ecx]
mov word [esi], di
add ecx, 2
add esi, 2
dec ebp
jne 0x45ce90
cmp byte [ebx], 0
mov edi, dword [esp + 0x30]
mov ebp, 0x11
je 0x45ceca
add edx, 0x48
lea eax, [ebx + 0x84]
mov ecx, ebp
mov esi, dword [eax]
mov dword [edx], esi
add eax, 4
add edx, 4
dec ecx
jne 0x45ceb8
jmp 0x45cf87
lea esi, [edx + 0xd0]
lea ecx, [ebx + 0x110]
mov dword [esp + 0x2c], ebp
lea ebx, [ebx]
mov edi, dword [ecx]
mov dword [esi], edi
mov edi, dword [esp + 0x2c]
add ecx, 4
add esi, 4
dec edi
mov dword [esp + 0x2c], edi
jne 0x45cee0
mov edi, dword [esp + 0x30]
mov dword [edi + 4], 2
mov cx, word [eax]
mov word [edi], cx
lea ecx, [edx + 0xa]
mov dx, word [ecx]
mov word [eax], dx
mov dx, word [ecx + 2]
mov word [eax + 2], dx
mov dx, word [ecx + 4]
mov word [eax + 4], dx
mov dx, word [ecx + 6]
mov word [eax + 6], dx
mov dx, word [ecx + 8]
mov word [eax + 8], dx
mov dx, word [ecx + 0xa]
mov word [eax + 0xa], dx
mov dx, word [ecx + 0xc]
mov word [eax + 0xc], dx
mov dx, word [ecx + 0xe]
mov word [eax + 0xe], dx
mov dx, word [ecx + 0x10]
mov word [eax + 0x10], dx
mov dx, word [ecx + 0x12]
mov word [eax + 0x12], dx
mov dx, word [ecx + 0x14]
mov word [eax + 0x14], dx
mov dx, word [ecx + 0x16]
mov word [eax + 0x16], dx
mov dx, word [ecx + 0x18]
mov word [eax + 0x18], dx
mov dx, word [ecx + 0x1a]
mov word [eax + 0x1a], dx
mov dx, word [ecx + 0x1c]
mov cx, word [ecx + 0x1e]
mov word [eax + 0x1c], dx
mov word [eax + 0x1e], cx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push ebx
push esi
mov dword [ebx + 4], 0xf
call fcn.0045b940
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push edi
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
call fcn.0045cbe0
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx + 4], ebp
pop ebp
pop esi
mov eax, edx
pop ebx
add esp, 8
ret 0x18