Function at 0x465b40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov ecx, dword [0xc31314]
xor eax, eax
mov dword [esp + 0x12], eax
push ebx
mov dword [esp + 0x1a], eax
xor ebx, ebx
mov dword [esp + 0x1e], eax
mov word [esp + 0x14], bx
mov word [esp + 0x22], ax
mov eax, dword [ecx + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ebx
jle 0x465e77
push ebp
push esi
push edi
mov dword [esp + 0x14], ebx
mov edx, dword [ecx + 0x2c]
mov eax, dword [esp + 0x14]
mov ebp, 1
lea esi, [edx + eax]
mov eax, dword [edx + eax + 0x18]
cmp eax, ebp
jne case.0x465bb1.4
mov edx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
add eax, edx
mov edx, dword [esi + 0xc]
add ecx, edx
mov edx, dword [esi]
dec edx
cmp edx, 6
ja case.0x465bb1.4
jmp dword [edx*4 + 0x465e8c]
mov edi, dword [esi + 0x1c]
mov eax, dword [edi]
cmp eax, ebx
je case.0x465bb1.4
cmp dword [edi + 4], ebx
jne 0x465c32
cmp dword [edi + 8], ebx
jne 0x465c32
cmp dword [edi + 0xc], ebx
jne 0x465c32
cmp dword [edi + 0x10], ebx
jne 0x465c32
mov word [esp + 0x20], bx
mov word [esp + 0x22], bx
mov word [esp + 0x24], bx
mov word [esp + 0x26], bx
mov edx, dword [edi + 0x14]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 4
mov word [esp + 0x2e], bx
mov ecx, dword [edi]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [0xc31314]
push ebp
push ebx
mov ebp, dword [eax + 0x10]
push ecx
mov ecx, dword [esi + 8]
mov esi, dword [eax + 0xc]
add edx, ebp
push 0xdf
add ecx, esi
push edx
push ecx
call fcn.00509f20
jmp 0x465e4c
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0044ecd0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1a]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.0044eb30
mov ax, word [edi + 4]
add ax, word [esp + 0x24]
mov word [esp + 0x34], ax
mov cx, word [edi + 8]
add cx, word [esp + 0x26]
mov word [esp + 0x36], cx
mov dx, word [edi + 0xc]
mov word [esp + 0x38], dx
mov ax, word [edi + 0x10]
mov word [esp + 0x3a], ax
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], 4
mov word [esp + 0x42], bx
mov eax, dword [edi]
push edx
mov edx, dword [esi + 0xc]
push ebp
push ebx
mov edi, dword [esi + 8]
push eax
mov eax, dword [0xc31314]
push 0xdf
mov ecx, dword [eax + 0x10]
add ecx, edx
mov edx, dword [eax + 0xc]
add edx, edi
push ecx
push edx
call fcn.00509f20
add esp, 0x30
jmp case.0x465bb1.4
mov eax, dword [esi + 0x1c]
xor ecx, ecx
push ebx
mov edx, dword [eax + 4]
mov edi, dword [eax]
cmp edx, ebx
setne cl
push ecx
push 0x64
push edi
call fcn.005013d0
mov ebp, dword [edi + 0x20]
add esp, 0x10
cmp ebp, ebx
je case.0x465bb1.4
mov al, byte [edi + 0x309]
cmp al, bl
je 0x465d15
mov cl, byte [edi + 0x305]
mov dl, al
not dl
and dl, cl
mov cl, byte [edi + 0x310]
and cl, al
or dl, cl
mov byte [edi + 0x305], dl
mov al, byte [edi + 0x308]
cmp al, bl
je 0x465d5f
test al, 1
je 0x465d2f
mov dl, byte [edi + 0x30e]
mov byte [edi + 0x302], dl
test al, 2
je 0x465d3f
mov cl, byte [edi + 0x30d]
mov byte [edi + 0x301], cl
test al, 4
je 0x465d4f
mov dl, byte [edi + 0x30c]
mov byte [edi + 0x300], dl
test al, 8
je 0x465d5f
mov al, byte [edi + 0x30f]
mov byte [edi + 0x303], al
lea ecx, [edi + 0x2f8]
push ecx
push ebx
push ebp
push 0xdf
push 1
push edi
call fcn.00501df0
mov edx, dword [0xc31314]
mov ebp, dword [esi + 0xc]
add esp, 8
add eax, dword [edx + 0x10]
add eax, ebp
push eax
push ebx
push edi
call fcn.00501df0
mov ecx, dword [0xc31314]
mov edx, dword [esi + 8]
add esp, 8
add eax, dword [ecx + 0xc]
add eax, edx
push eax
call fcn.0050b080
add esp, 0x18
jmp case.0x465bb1.4
mov edi, dword [esi + 0x1c]
mov edx, dword [edi + 4]
cmp edx, ebx
je case.0x465bb1.4
push ebx
push edx
xor edx, edx
mov ebp, dword [esi + 0x14]
mov dl, byte [edi]
sub ecx, ebp
push edx
xor edx, edx
mov dl, byte [edi + 1]
push edx
mov edx, dword [esi + 0x10]
push 3
sub eax, edx
push ecx
push eax
call fcn.0044b080
jmp 0x465e4c
add eax, 5
push ecx
push eax
call fcn.00498050
add esp, 8
jmp case.0x465bb1.4
mov esi, dword [esi + 0x1c]
mov eax, dword [0xc4c434]
cmp eax, esi
jne case.0x465bb1.4
cmp dword [0x605b78], 0x605a18
jne 0x465e19
cmp dword [0xc05e64], ebp
jne case.0x465bb1.4
mov eax, dword [esi]
push eax
call fcn.00497e90
add esp, 4
jmp case.0x465bb1.4
cmp esi, ebx
je case.0x465bb1.4
mov ecx, dword [esi]
push ecx
call fcn.00497f40
add esp, 4
jmp case.0x465bb1.4
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je case.0x465bb1.4
mov dl, byte [esi + 6]
push 0xdf
push edx
mov dl, byte [esi + 4]
push edx
mov dl, byte [esi + 5]
push edx
mov edx, dword [esi]
push edx
push ecx
push eax
call fcn.00469f10
add esp, 0x1c
mov ecx, dword [0xc31314]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0x28]
add esi, 0x24
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jl 0x465b7a
pop edi
pop esi
pop ebp
push 3
call fcn.0044b760
add esp, 4
call fcn.00469d60
pop ebx
add esp, 0x20
ret