Function at 0x510e10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
movzx eax, byte [ecx]
push ebx
dec eax
mov dword [esp + 0xc], ecx
mov ebx, edx
mov dword [esp + 0x10], ebx
push esi
push edi
cmp eax, 6
ja case.default.0x510e33
jmp dword [eax*4 + 0x511440]
mov eax, dword [ebx]
mov ecx, 0x9000
test word [eax + 0x10], cx
je 0x510e5c
push 0
push 1
mov ecx, eax
call fcn.0045f8d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], 1
mov ecx, 4
mov dword [eax + 4], 0
mov word [eax + 0x10], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, 0x9000
test word [eax + 0x10], cx
je 0x510e9b
push 0
push 0
mov ecx, eax
call fcn.0045f8d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], 0
mov ecx, 4
mov dword [eax + 4], 0
mov word [eax + 0x10], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], ecx
mov al, byte [ecx]
cmp al, 0x2d
jne 0x510ed1
mov al, byte [ecx + 1]
mov esi, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x28]
cmovne ebx, ecx
cmp al, 0x30
jl 0x510f5e
cmp al, 0x39
ja 0x510f5a
movzx edi, al
inc ebx
sub edi, 0x30
cmp esi, 0xccccccc
jl 0x510f3a
jg 0x510ff2
cmp edx, 0xcccccccc
jb 0x510f3a
cmp esi, 0xccccccc
jg 0x510ff2
jl 0x510f1e
cmp edx, 0xcccccccc
ja 0x510ff2
mov al, byte [ebx]
cmp al, 0x30
jl 0x510f2c
cmp al, 0x39
jle 0x510ff2
cmp edi, 9
je 0x510ff2
cmp edi, 8
je 0x510f8e
mov eax, edx
mov ecx, esi
shld ecx, eax, 2
shl eax, 2
add edx, eax
mov al, byte [ebx]
adc esi, ecx
shld esi, edx, 1
add edx, edx
add edx, edi
adc esi, 0
cmp al, 0x30
jge 0x510ee3
mov ecx, dword [esp + 0x20]
cmp byte [ecx], 0x2d
jne 0x510f6a
neg edx
adc esi, 0
neg esi
mov eax, dword [esp + 0x18]
mov ecx, 0x9000
mov eax, dword [eax]
test word [eax + 0x10], cx
je 0x510fdd
push esi
push edx
mov ecx, eax
call fcn.0045f8d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
cmp byte [eax], 0x2d
jne 0x510ff2
mov eax, dword [esp + 0x18]
mov ecx, 0x9000
mov eax, dword [eax]
test word [eax + 0x10], cx
je 0x510fc0
push 0x80000000
push 0
mov ecx, eax
call fcn.0045f8d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], 0
mov ecx, 4
mov dword [eax + 4], 0x80000000
mov word [eax + 0x10], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], edx
mov ecx, 4
mov dword [eax + 4], esi
mov word [eax + 0x10], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x511005
xor ecx, ecx
jmp 0x51101f
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511010
sub ecx, edx
and ecx, 0x3fffffff
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.0043f290
mov esi, dword [ebx]
mov eax, 0x9000
add esp, 8
test word [esi + 0x10], ax
je 0x511046
mov ecx, esi
call fcn.0045f270
jmp 0x51104f
mov eax, 1
mov word [esi + 0x10], ax
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x28], xmm0
mov ecx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ff00000
jne 0x51107f
mov eax, dword [esp + 0x28]
and ecx, 0xfffff
or eax, ecx
jne 0x511438
mov eax, 8
movsd qword [esi], xmm0
mov word [esi + 0x10], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ecx + 1], 2
jne 0x5110bb
mov esi, dword [ecx + 4]
or eax, 0xffffffff
mov edx, dword [ecx + 8]
sub esi, 2
push eax
push 1
inc edx
mov ecx, ebx
push esi
call fcn.00465ff0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
lea esi, [edx + 1]
call fcn.004e4f50
test eax, eax
jne 0x5113cc
test esi, esi
jle 0x5113cc
mov eax, esi
cdq
push edx
push eax
call fcn.0043b050
mov edx, eax
add esp, 8
mov dword [esp + 0x20], edx
test edx, edx
je 0x5113cc
mov eax, dword [esp + 0x24]
mov edi, 1
dec eax
xor esi, esi
mov dword [esp + 0x28], eax
cmp eax, edi
jbe 0x5113ae
mov ecx, dword [esp + 0x10]
lea ebx, [edi + 8]
nop dword [eax + eax]
mov al, byte [edi + ecx]
cmp al, 0x5c
je 0x51112f
mov byte [esi + edx], al
jmp 0x51139a
mov al, byte [edi + ecx + 1]
inc edi
cmp al, 0x75
jne 0x51136b
mov bl, byte [ecx + edi + 2]
mov dl, byte [ecx + edi + 1]
mov ch, byte [ecx + edi + 3]
mov cl, dl
mov eax, dword [esp + 0x10]
sar cl, 6
and cl, 1
mov byte [esp + 0x14], dl
mov dh, byte [eax + edi + 4]
mov al, cl
shl al, 3
add edi, 4
sub al, cl
sub byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
and eax, 0xf
shl eax, 4
mov dword [esp + 0x14], eax
mov al, bl
sar al, 6
and al, 1
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
mov ebx, dword [esp + 0x14]
sub al, cl
and eax, 0xf
add ebx, eax
mov al, ch
sar al, 6
and al, 1
shl ebx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, ch
sub al, cl
and eax, 0xf
add ebx, eax
mov al, dh
sar al, 6
and al, 1
shl ebx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, dh
sub al, cl
and eax, 0xf
add ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x5113a6
cmp ebx, 0x7f
ja 0x5111e9
mov edx, dword [esp + 0x20]
mov byte [esi + edx], bl
mov ebx, 9
jmp 0x511396
mov eax, ebx
cmp ebx, 0x7ff
ja 0x511213
mov edx, dword [esp + 0x20]
and bl, 0x3f
shr eax, 6
or al, 0xc0
mov byte [esi + edx], al
inc esi
or bl, 0x80
mov byte [esi + edx], bl
mov ebx, 9
jmp 0x511396
mov ecx, dword [esp + 0x10]
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51133d
mov eax, dword [esp + 0x24]
add eax, 0xfffffffa
cmp edi, eax
jae 0x51133d
cmp byte [ecx + edi + 1], 0x5c
jne 0x51133d
cmp byte [ecx + edi + 2], 0x75
jne 0x51133d
mov bl, byte [ecx + edi + 4]
mov dl, byte [ecx + edi + 3]
mov ch, byte [edi + ecx + 5]
mov cl, dl
mov eax, dword [esp + 0x10]
sar cl, 6
and cl, 1
mov byte [esp + 0x1c], dl
mov dh, byte [edi + eax + 6]
mov al, cl
shl al, 3
sub al, cl
sub byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
and eax, 0xf
shl eax, 4
mov dword [esp + 0x1c], eax
mov al, bl
sar al, 6
and al, 1
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
mov ebx, dword [esp + 0x1c]
sub al, cl
and eax, 0xf
add ebx, eax
mov al, ch
sar al, 6
and al, 1
shl ebx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, ch
sub al, cl
and eax, 0xf
add ebx, eax
mov al, dh
sar al, 6
and al, 1
shl ebx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, dh
sub al, cl
and eax, 0xf
add ebx, eax
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x511335
mov ecx, dword [esp + 0x14]
and ebx, 0x3ff
mov edx, dword [esp + 0x20]
and ecx, 0x3ff
add ecx, 0x40
add edi, 6
shl ecx, 0xa
add ecx, ebx
mov ebx, 9
mov eax, ecx
shr eax, 0x12
or al, 0xf0
mov byte [esi + edx], al
mov eax, ecx
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [esi + edx + 1], al
mov eax, ecx
shr eax, 6
and cl, 0x3f
and al, 0x3f
or al, 0x80
mov byte [esi + edx + 2], al
add esi, 3
or cl, 0x80
jmp 0x511393
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [esi + edx], al
mov eax, ebx
shr eax, 6
and bl, 0x3f
and al, 0x3f
or al, 0x80
mov byte [esi + edx + 1], al
add esi, 2
or bl, 0x80
mov byte [esi + edx], bl
mov ebx, 9
jmp 0x51139a
cmp al, 0x62
jne 0x511373
mov cl, 8
jmp 0x511393
cmp al, 0x66
jne 0x51137b
mov cl, 0xc
jmp 0x511393
cmp al, 0x6e
jne 0x511383
mov cl, 0xa
jmp 0x511393
cmp al, 0x72
jne 0x51138b
mov cl, 0xd
jmp 0x511393
cmp al, 0x74
movzx ecx, al
cmove ecx, ebx
mov byte [esi + edx], cl
mov ecx, dword [esp + 0x10]
inc edi
inc esi
cmp edi, dword [esp + 0x28]
jb 0x511120
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov eax, fcn.0043b270
mov byte [esi + edx], 0
push eax
push 1
push esi
mov ecx, ebx
call fcn.00465ff0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, 0x9000
test word [eax + 0x10], cx
je 0x5113e2
mov ecx, eax
call fcn.0045f270
jmp 0x5113eb
mov ecx, 1
mov word [eax + 0x10], cx
mov ecx, dword [ebx]
mov dword [ebx + 0x14], 7
mov ecx, dword [ecx + 0x14]
call fcn.0043ba90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00510cf0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, 0x9000
test word [eax + 0x10], cx
je 0x51142f
mov ecx, eax
call fcn.0045f270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
mov word [eax + 0x10], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret