Function at 0x462b30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 0xc], 0
push esi
push edi
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x3c]
cmp al, 1
jne 0x462b5e
mov esi, 0x460630
jmp 0x462b6d
cmp al, 2
mov esi, 0x460440
mov ecx, 0x460490
cmove esi, ecx
xor edx, edx
cmp byte [ebx + 0x3b], dl
jbe 0x462b85
lea ecx, [ebx + 0x60]
mov dword [ecx], esi
lea ecx, [ecx + 0x48]
movzx eax, byte [ebx + 0x3b]
inc edx
cmp edx, eax
jl 0x462b77
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.00462860
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x462da3
cmp byte [ebx + 0x39], al
je 0x462e2e
movzx eax, byte [ebx + 0x3b]
lea eax, [eax + eax*8]
lea edi, [ebx + eax*8]
mov dword [esp + 0x10], edi
cmp dword [edi + 4], esi
jne 0x462be5
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x1c]
call fcn.00452650
mov ecx, eax
mov dword [edi + 4], ecx
test ecx, ecx
je 0x462d9a
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + 6]
mov word [ecx + 0x14], ax
mov eax, dword [edi + 4]
mov byte [eax + 0x17], 0
mov eax, dword [esp + 0x1c]
push 0
push 0x38
test eax, eax
je 0x462c00
mov ecx, eax
call fcn.00427e60
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x462c0b
call fcn.00427700
mov edi, eax
mov dword [esp + 0x20], eax
add esp, 8
test edi, edi
je 0x462d97
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov dword [ebx + 0x10], edi
add esp, 0xc
mov eax, dword [0x4fc280]
test eax, eax
je 0x462c5a
push 0x64
call eax
add esp, 4
test eax, eax
je 0x462c5a
mov dword [edi + 0x30], 0
mov ecx, dword [esp + 0x14]
call fcn.00460b70
mov esi, 7
xor edi, edi
mov dword [esp + 0x10], esi
jmp 0x462da7
push 0
push 0x40
call fcn.00427700
mov esi, eax
add esp, 8
test esi, esi
je 0x462c79
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x30], esi
test esi, esi
je 0x462c41
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
lea eax, [ecx - 8]
mov dword [esi], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
add ecx, 9
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
cmovle ecx, eax
mov dword [esi + 0x10], ecx
mov eax, ecx
mov esi, dword [esp + 0x10]
cdq
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], edx
xor esi, esi
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
xor ecx, ecx
movzx eax, byte [ebx + 0x3b]
dec eax
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x462d27
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
nop
mov eax, dword [esi + 0xc]
mov eax, dword [edi + eax + 0x30]
test eax, eax
je 0x462d12
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ebx + 0x3b]
inc ecx
dec eax
mov dword [esp + 0x1c], ecx
add edi, 0x38
cmp ecx, eax
jl 0x462cf0
mov esi, dword [esp + 0x10]
xor edi, edi
xor edx, edx
mov dword [esp + 0x10], edx
nop
movzx eax, byte [ebx + 0x3b]
cmp edi, eax
jge 0x462d7c
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edx + 0x30]
add ecx, edx
test eax, eax
je 0x462d6e
cmp dword [eax + 0x18], esi
je 0x462d62
push ecx
mov ecx, dword [eax]
mov edx, 0x462440
call fcn.00460a20
add esp, 4
jmp 0x462d6c
mov edx, 1
call fcn.00462330
mov esi, eax
add dword [esp + 0x10], 0x38
inc edi
mov edx, dword [esp + 0x10]
test esi, esi
je 0x462d30
xor edi, edi
mov dword [esp + 0x10], esi
test esi, esi
jne 0x462da7
mov ecx, dword [esp + 0x18]
lea edx, [esi + 2]
call fcn.00462330
jmp 0x462e46
mov dword [ebx + 0x10], edi
mov esi, 7
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x462e65
xor ebx, ebx
cmp dword [edi], ebx
jle 0x462dd6
xor esi, esi
nop word [eax + eax]
mov ecx, dword [edi + 0xc]
add ecx, esi
call fcn.0045fd30
inc ebx
add esi, 0x38
cmp ebx, dword [edi]
jl 0x462dc0
mov esi, dword [esp + 0x10]
cmp dword [0x4fc180], 0
je 0x462e5b
mov eax, dword [0x4fed70]
test eax, eax
je 0x462df2
push eax
call dword [0x4fc1d0]
add esp, 4
push edi
call dword [0x4fc1ac]
sub dword [0x4febf8], eax
add esp, 4
dec dword [0x4fec1c]
push edi
call dword [0x4fc1a4]
mov eax, dword [0x4fed70]
add esp, 4
test eax, eax
je 0x462e65
push eax
call dword [0x4fc1d8]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 0x40]
push 0
mov edx, edi
call fcn.004621b0
add esp, 4
mov dword [ebx + 0x14], edi
xor edi, edi
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x462da7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x4fc1a4]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret