Function at 0x464c30
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bee6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x188
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x18c], edx
mov ecx, dword [edx]
mov edi, 0x100
mov eax, dword [ebx + 8]
dec ecx
mov dword [ebp - 0x188], eax
and ecx, eax
mov dword [ebp - 0x184], 0
mov eax, dword [edx]
mov esi, edi
sub eax, ecx
mov ecx, dword [edx + 0x1c]
cmp eax, edi
cmovb esi, eax
mov eax, dword [edx + 0x20]
add ecx, dword [ebp - 0x184]
lea edx, [ebp - 0x194]
push edx
push esi
mov eax, dword [eax]
push ecx
push dword [ebp - 0x188]
push dword [eax + 0x19904]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x464cf3
cmp dword [ebp - 0x194], esi
jne 0x464cf3
add dword [ebp - 0x188], esi
xor ecx, ecx
add dword [ebp - 0x184], esi
mov edx, dword [ebp - 0x18c]
sub edi, esi
jne 0x464c96
jmp 0x465199
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00465220
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x464d18
mov edx, dword [edx]
mov ecx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xa0], ecx
mov ecx, edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464d47
sub ecx, esi
sub esp, 0x10
mov eax, esp
sar ecx, 1
lea esi, [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0xb8]
mov dword [eax], 0x2e
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00426fd0
add esp, 0x18
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x90]
call fcn.00444e70
mov byte [ebp - 4], 2
lea edi, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x128]
cmovae edi, dword [ebp - 0x90]
call fcn.00451070
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.00419450
mov edx, eax
movzx eax, word [edx + 0xa]
mov word [ebp - 0x66], ax
movzx eax, word [edx + 0xc]
mov word [ebp - 0x64], ax
movzx eax, word [edx + 0xe]
mov word [ebp - 0x62], ax
movzx eax, word [edx + 0x10]
mov word [ebp - 0x60], ax
movzx eax, word [edx + 0x12]
mov word [ebp - 0x5e], ax
movzx eax, word [edx + 0x14]
mov word [ebp - 0x5c], ax
movzx eax, word [edx + 0x16]
mov word [ebp - 0x5a], ax
movzx eax, word [edx + 0x18]
movzx ecx, word [edx]
mov word [ebp - 0x58], ax
movzx eax, word [edx + 0x1a]
mov word [ebp - 0x56], ax
movzx eax, word [esi]
mov word [ebp - 0x54], ax
movzx eax, word [esi + 2]
mov word [ebp - 0x52], ax
movzx eax, word [esi + 4]
mov word [ebp - 0x50], ax
movzx eax, word [esi + 6]
mov word [ebp - 0x4e], ax
movzx eax, word [esi + 8]
mov word [ebp - 0x4c], ax
movzx eax, word [esi + 0xa]
mov word [ebp - 0x4a], ax
movzx eax, word [esi + 0xc]
mov word [ebp - 0x70], cx
movzx ecx, word [edx + 2]
mov word [ebp - 0x48], ax
movzx eax, word [esi + 0xe]
mov word [ebp - 0x6e], cx
movzx ecx, word [edx + 4]
mov word [ebp - 0x46], ax
movzx eax, word [esi + 0x10]
mov word [ebp - 0x6c], cx
movzx ecx, word [edx + 6]
mov word [ebp - 0x44], ax
movzx eax, word [esi + 0x12]
mov word [ebp - 0x6a], cx
movzx ecx, word [edx + 8]
mov word [ebp - 0x42], ax
movzx eax, word [esi + 0x14]
mov word [ebp - 0x68], cx
mov word [ebp - 0x40], ax
movzx eax, word [esi + 0x16]
lea edx, [ebp - 0x70]
mov word [ebp - 0x3e], ax
lea ecx, [ebp - 0x180]
movzx eax, word [esi + 0x18]
mov word [ebp - 0x3c], ax
movzx eax, word [esi + 0x1a]
mov word [ebp - 0x3a], ax
movzx eax, word [esi + 0x1c]
mov word [ebp - 0x38], ax
movzx eax, word [esi + 0x1e]
mov word [ebp - 0x36], ax
movzx eax, word [esi + 0x20]
mov word [ebp - 0x34], ax
movzx eax, word [esi + 0x22]
mov word [ebp - 0x32], ax
movzx eax, word [esi + 0x24]
mov word [ebp - 0x30], ax
movzx eax, word [esi + 0x26]
mov word [ebp - 0x2e], ax
movzx eax, word [esi + 0x28]
mov word [ebp - 0x2c], ax
movzx eax, word [esi + 0x2a]
mov word [ebp - 0x2a], ax
movzx eax, word [esi + 0x2c]
mov word [ebp - 0x28], ax
movzx eax, word [esi + 0x2e]
mov word [ebp - 0x26], ax
movzx eax, word [esi + 0x30]
mov word [ebp - 0x24], ax
movzx eax, word [esi + 0x32]
mov word [ebp - 0x22], ax
movzx eax, word [esi + 0x34]
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1e], ax
call fcn.00466400
mov edx, eax
movzx eax, word [edx + 0xa]
mov word [ebp - 0x6e], ax
movzx eax, word [edx + 0xc]
mov word [ebp - 0x6c], ax
movzx eax, word [edx + 0xe]
mov word [ebp - 0x6a], ax
movzx eax, word [edx + 0x10]
mov word [ebp - 0x68], ax
movzx eax, word [edx + 0x12]
movzx ecx, word [edx]
mov word [ebp - 0x66], ax
movzx eax, word [edx + 0x14]
mov word [ebp - 0x64], ax
movzx eax, word [edx + 0x16]
mov word [ebp - 0x62], ax
movzx eax, word [edx + 0x18]
mov word [ebp - 0x60], ax
movzx eax, word [edx + 0x1a]
mov word [ebp - 0x5e], ax
movzx eax, word [edx + 0x1c]
mov word [ebp - 0x5c], ax
movzx eax, word [edx + 0x1e]
mov word [ebp - 0x5a], ax
movzx eax, word [edx + 0x20]
mov word [ebp - 0x58], ax
movzx eax, word [edx + 0x22]
mov word [ebp - 0x78], cx
movzx ecx, word [edx + 2]
mov word [ebp - 0x56], ax
movzx eax, word [edx + 0x24]
mov word [ebp - 0x76], cx
movzx ecx, word [edx + 4]
mov word [ebp - 0x54], ax
movzx eax, word [edx + 0x26]
mov word [ebp - 0x74], cx
movzx ecx, word [edx + 6]
mov word [ebp - 0x52], ax
movzx eax, word [edx + 0x28]
mov word [ebp - 0x72], cx
movzx ecx, word [edx + 8]
mov word [ebp - 0x50], ax
movzx eax, word [edx + 0x2a]
mov word [ebp - 0x70], cx
mov word [ebp - 0x4e], ax
movzx eax, word [edx + 0x2c]
mov word [ebp - 0x4c], ax
movzx eax, word [edx + 0x2e]
mov word [ebp - 0x4a], ax
movzx eax, word [edx + 0x30]
mov word [ebp - 0x48], ax
movzx eax, word [edx + 0x32]
mov word [ebp - 0x46], ax
movzx eax, word [edx + 0x34]
mov word [ebp - 0x44], ax
movzx eax, word [edx + 0x36]
mov word [ebp - 0x42], ax
movzx eax, word [edx + 0x38]
mov word [ebp - 0x40], ax
movzx eax, word [edx + 0x3a]
mov word [ebp - 0x3e], ax
movzx eax, word [edx + 0x3c]
mov word [ebp - 0x3c], ax
movzx eax, word [edx + 0x3e]
mov word [ebp - 0x3a], ax
movzx eax, word [edx + 0x40]
mov word [ebp - 0x38], ax
movzx eax, word [edx + 0x42]
mov word [ebp - 0x36], ax
movzx eax, word [edx + 0x44]
mov word [ebp - 0x34], ax
movzx eax, word [edx + 0x46]
mov word [ebp - 0x32], ax
movzx eax, word [edx + 0x48]
mov word [ebp - 0x30], ax
movzx eax, word [edx + 0x4a]
mov word [ebp - 0x2e], ax
movzx eax, word [edx + 0x4c]
mov word [ebp - 0x2c], ax
movzx eax, word [edx + 0x4e]
mov word [ebp - 0x2a], ax
movzx eax, word [edx + 0x50]
mov word [ebp - 0x28], ax
mov dword [ebp - 0x26], 0x290028
mov dword [ebp - 0x22], 0x2d0020
mov dword [ebp - 0x1e], 0x20
call fcn.00441aa0
push edi
push 0
lea ecx, [ebp - 0x78]
push ecx
push 8
push eax
call fcn.0043ebb0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x4650db
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4650d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465211
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp edx, 8
jb 0x465135
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46512b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465211
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x465199
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46518f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465211
push edx
push ecx
call fcn.004fc7e0
add esp, 8
push dword [ebp - 0x194]
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x180]
push ecx
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x184]
mov eax, dword [ebp - 0x18c]
push ecx
push dword [eax + 8]
mov esi, dword [eax + 0x1c]
lea edi, [eax + 4]
mov ecx, edi
call fcn.00466280
push dword [ebp - 0x194]
mov eax, dword [ebp - 0x184]
mov ecx, edi
add eax, esi
push eax
mov eax, dword [ebp - 0x18c]
push esi
push dword [eax + 8]
call fcn.00466280
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fc7af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0050175f
int3