Function at 0x4632f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xe4
push ebx
mov ebx, dword [esp + 0xf0]
push ebp
push esi
push edi
push ebx
call fcn.00462e90
mov esi, eax
test esi, esi
jne 0x46375f
mov esi, dword [esp + 0xf8]
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00463790
test eax, eax
jne 0x463761
lea ecx, [esp + 0x6c]
push 0x20
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x34], ebp
jge 0x463355
mov eax, 0xfffffffc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
mov eax, dword [esp + 0x54]
sub edi, esi
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jbe 0x463370
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
sub eax, ecx
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jbe 0x463389
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], 0xfffffff0
cmp eax, 1
jne 0x4633c7
mov eax, dword [esp + 0x58]
cmp eax, 8
jne 0x4633ad
mov dword [esp + 0x10], 1
jmp 0x4633f1
cmp eax, 1
jne 0x4633bc
mov dword [esp + 0x10], 2
jmp 0x4633f1
cmp eax, 4
jne 0x4633f1
mov dword [esp + 0x10], eax
jmp 0x4633f1
mov ecx, dword [esp + 0x58]
cmp eax, 4
jne 0x4633df
cmp ecx, 1
jne 0x4633df
mov dword [esp + 0x10], 3
jmp 0x4633f1
cmp eax, 3
jne 0x4633f1
cmp ecx, 8
jne 0x4633f1
mov dword [esp + 0x10], 5
mov esi, dword [esp + 0x10]
cmp esi, 0xfffffff0
je 0x463698
push 0
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll__llseek]
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x5c]
mov dl, byte [ecx + 0x4c5497]
mov dword [esp + 0x2c], edi
imul edx, eax
add edx, 0x10004
xor esi, esi
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], 3
call fcn.00450a4c
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x463463
mov esi, 0xfffffff2
jmp 0x463698
mov ecx, dword [esp + 0x40]
lea ebp, [edi + 0x10004]
lea eax, [edi + ecx + 0x10004]
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], 5
jne 0x46348d
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], edx
jmp 0x463491
mov dword [esp + 0x3c], ecx
mov ebx, dword [ebx + 0x24]
mov ecx, dword [esp + 0xfc]
xor eax, eax
mov ax, word [ebx + 0xe]
mov ebx, dword [ebx + 8]
mov edx, dword [ecx + 8]
sub ebx, edx
mov edx, eax
imul edx, dword [ecx + 4]
dec ebx
imul ebx, dword [ecx + 0x14]
shr eax, 3
imul eax, dword [esp + 0x18]
shr edx, 3
add ebx, edx
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
add ebx, edx
test eax, eax
mov dword [esp + 0x38], ebx
je 0x463682
cmp esi, dword [esp + 0x28]
jb 0x463557
mov eax, dword [esp + 0x30]
mov ebx, 0
sub eax, esi
mov edx, dword [esp + 0x1c]
sets bl
dec ebx
add esi, edi
and ebx, eax
mov ecx, ebx
add edx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10004
sub ecx, ebx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll__lread]
add eax, ebx
mov ecx, eax
mov dword [esp + 0x30], ecx
je 0x46367e
mov edx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea eax, [edx + edx]
mov edx, eax
mov eax, ecx
sub eax, edx
test eax, eax
jle 0x463543
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
lea ecx, [esi + edi]
push eax
push ecx
push ebp
call fcn.00463a00
mov edx, dword [esp + 0x1c]
add esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
lea eax, [edx - 1]
cmp eax, 4
ja case.default.0x46357f
jmp dword [eax*4 + 0x463770]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ebp - 1]
test cl, 1
jne 0x4635a2
mov al, byte [esi]
and eax, 0xf
jmp 0x4635aa
xor eax, eax
mov al, byte [esi]
shr eax, 4
dec esi
mov byte [ecx + ebp - 1], al
dec ecx
jne 0x463596
jmp case.0x46357f.1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push ebp
push ebx
call fcn.00463a60
add esp, 0x10
jmp case.default.0x46357f
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0x18]
push edx
mov ecx, dword [eax + 4]
push ecx
push ebp
push ebx
call fcn.00463c10
jmp case.default.0x46357f
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov esi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add edx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
dec ecx
mov dword [esp + 0x24], ecx
jne 0x463668
mov ecx, dword [esp + 0x44]
push eax
push ecx
push ebp
mov dword [esp + 0x30], 3
mov dword [esp + 0x2c], ecx
call fcn.00463ad0
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov esi, ebp
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx + 0x14]
sub ebx, edx
dec eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
jmp 0x463670
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4634d9
jmp 0x463682
mov edi, dword [esp + 0x1c]
push edi
call fcn.0044ffaa
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x100]
add esp, 4
xor esi, esi
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
test esi, esi
jne 0x46375f
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4636be
mov edx, dword [esp + 0xf8]
push eax
push edx
call fcn.004638c0
jmp 0x4636c0
xor eax, eax
cmp eax, 2
mov dword [ebx + 0x1c], eax
jne 0x4636ef
mov eax, dword [ebx + 0x18]
mov cl, byte [eax + 2]
mov dl, byte [eax + 6]
cmp cl, dl
jne 0x4636ef
mov dl, byte [eax + 1]
mov cl, byte [eax + 5]
cmp dl, cl
jne 0x4636ef
mov cl, byte [eax]
mov dl, byte [eax + 4]
cmp cl, dl
jne 0x4636ef
mov dword [ebx + 0x1c], 0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
and ecx, 0xfffffffe
test eax, eax
mov dword [ebx + 0x20], ecx
jne 0x463752
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46374c
mov eax, dword [esp + 0x10]
cmp eax, 3
je 0x463714
cmp eax, 4
jne 0x46374c
mov dword [ebx + 0x1c], 0x10
xor ecx, ecx
mov eax, 0x4c5469
mov edi, dword [ebx + 0x18]
mov dl, byte [eax - 1]
add eax, 3
mov byte [edi + ecx*4 + 2], dl
mov edi, dword [ebx + 0x18]
mov dl, byte [eax - 3]
mov byte [edi + ecx*4 + 1], dl
mov edi, dword [ebx + 0x18]
mov dl, byte [eax - 2]
mov byte [edi + ecx*4], dl
mov edx, dword [ebx + 0x1c]
inc ecx
cmp ecx, edx
jl 0x463722
jmp 0x463752
push ebx
call fcn.00462eb0
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x46375f
push ebx
call fcn.00462d00
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8