Function at 0x4835d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x30], edi
mov esi, dword [edi + 4]
lea edx, [edi + 0xc]
mov dword [esp + 0x1c], edx
test esi, esi
jne 0x483608
mov eax, dword [edx]
push ebp
call eax
add esp, 4
test al, al
je 0x483955
mov esi, dword [edi + 4]
lea edx, [edi + 0xc]
jmp 0x48360c
mov dword [esp + 0x1c], edx
mov eax, edi
mov eax, dword [eax]
movzx ecx, byte [eax]
lea ebx, [eax + 1]
shl ecx, 8
mov dword [esp + 0x28], ecx
sub esi, 1
jne 0x48363b
mov eax, dword [edx]
push ebp
call eax
add esp, 4
test al, al
je 0x483955
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x28]
movzx eax, byte [ebx]
sub ecx, 2
add ecx, eax
dec esi
inc ebx
test ecx, ecx
jle 0x48392f
lea ecx, [ecx]
dec ecx
mov dword [esp + 0x28], ecx
test esi, esi
jne 0x483672
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x483955
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [ebp]
dec esi
movzx ecx, byte [ebx]
inc ebx
mov edx, ecx
mov dword [esp + 0x34], ebx
and ecx, 0xf
shr edx, 4
mov dword [eax + 0x14], 0x53
mov eax, dword [ebp]
push 1
push ebp
mov dword [esp + 0x34], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov dword [esp + 0x2c], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp ecx, 4
jb 0x4836d7
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0x20
mov eax, dword [ebp]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x28]
add esp, 4
lea eax, [ecx*4 + 0x90]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x483701
push ebp
call fcn.00481830
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test ecx, ecx
je 0x483720
cmp edx, 0x80
jge 0x483719
sar edx, 1
jmp 0x483729
mov edx, 0x40
jmp 0x483741
cmp edx, 0x40
jge 0x4837bb
mov edi, dword [esp + 0x20]
mov ecx, 0x20
mov eax, 0x10001
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea eax, [edx - 4]
mov dword [esp + 0x24], edx
cmp eax, 0x2d
ja case.0x483754.5
movzx eax, byte [eax + 0x48397c]
jmp dword [eax*4 + 0x483960]
xor eax, eax
mov dword [esp + 0x18], 0x506fb8
mov dword [esp + 0x14], eax
jmp 0x4837e0
xor eax, eax
mov dword [esp + 0x18], 0x506f50
mov dword [esp + 0x14], eax
jmp 0x4837e0
xor eax, eax
mov dword [esp + 0x18], 0x506ed0
mov dword [esp + 0x14], eax
jmp 0x4837e0
xor eax, eax
mov dword [esp + 0x18], 0x506e28
mov dword [esp + 0x14], eax
jmp 0x4837e0
xor eax, eax
mov dword [esp + 0x18], 0x506d58
mov dword [esp + 0x14], eax
jmp 0x4837e0
xor eax, eax
mov dword [esp + 0x18], 0x506c50
mov dword [esp + 0x14], eax
jmp 0x4837e0
mov edx, 0x40
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x18], 0x506b10
mov dword [esp + 0x14], eax
test edx, edx
jle 0x483894
lea ebx, [ebx]
test ecx, ecx
je 0x483841
test esi, esi
jne 0x483801
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x483955
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov al, byte [ebx]
inc ebx
mov byte [esp + 0x13], al
sub esi, 1
jne 0x48382a
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x483955
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov al, byte [esp + 0x13]
movzx ecx, al
dec esi
mov eax, 0x100
imul ecx, eax
movzx eax, byte [ebx]
add cx, ax
movzx edx, cx
jmp 0x483862
test esi, esi
jne 0x48385e
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x483955
mov ebx, dword [edi]
mov esi, dword [edi + 4]
movzx edx, byte [ebx]
dec esi
mov ecx, dword [esp + 0x14]
inc ebx
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x14], ecx
mov word [ebp + eax*2], dx
mov edx, dword [esp + 0x24]
cmp ecx, edx
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
jl 0x4837e0
mov eax, dword [ebp]
cmp dword [eax + 0x68], 2
jl 0x483916
mov edi, dword [esp + 0x20]
mov ebx, 8
add edi, 4
lea esp, [esp]
mov ecx, dword [ebp]
movzx eax, word [edi - 4]
push 2
push ebp
mov dword [ecx + 0x18], eax
movzx eax, word [edi - 2]
mov dword [ecx + 0x1c], eax
movzx eax, word [edi]
mov dword [ecx + 0x20], eax
movzx eax, word [edi + 2]
mov dword [ecx + 0x24], eax
movzx eax, word [edi + 4]
mov dword [ecx + 0x28], eax
movzx eax, word [edi + 6]
mov dword [ecx + 0x2c], eax
movzx eax, word [edi + 8]
mov dword [ecx + 0x30], eax
movzx eax, word [edi + 0xa]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x5f
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
add esp, 8
lea edi, [edi + 0x10]
sub ebx, 1
jne 0x4838b0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, edx
cmp dword [esp + 0x2c], 0
je 0x483925
sub ecx, edx
test ecx, ecx
jg 0x483650
test ecx, ecx
je 0x483946
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xc
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [edi], ebx
mov al, 1
mov dword [edi + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret