Function at 0x10090f20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], edx
mov cl, byte [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
movzx eax, word [ebx + 6]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edi
test eax, eax
jne 0x10090fe7
xor eax, eax
test cl, cl
mov ecx, edi
cmovne eax, esi
mov dword [ebp - 0x28], eax
movzx edx, word [ecx]
mov dword [ebp - 0x18], ecx
mov eax, edx
add ecx, 2
cmp eax, dword [ebp - 0x24]
jae 0x10090f76
test dx, dx
jne 0x10090f61
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x10090f91
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10090f91
push dword [ebp + 0x1c]
push eax
push edi
call fcn.1013e704
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x1c]
mov edi, eax
cmp dword [ecx], 0
jg 0x100918d5
push 0
push eax
call fcn.1013e704
mov dword [ebp - 0xc], eax
add esp, 8
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
je 0x10090fe4
push dword [ebp - 0x1c]
add eax, 0xfffffffe
mov ecx, ebx
mov dword [ebp - 0x28], eax
movzx eax, word [eax]
push eax
call fcn.1013e704
test al, al
je 0x10090fd5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
jmp 0x10090fe4
push 1
mov ecx, esi
call fcn.1013e704
mov edi, dword [ebp - 0x28]
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], 0xfe00
nop
cmp edi, eax
je 0x100918e0
movzx ebx, word [edi]
cmp ebx, dword [ebp - 0x24]
jb 0x100910d7
mov edx, dword [ebp - 0x14]
mov ecx, ebx
shr ecx, 6
mov edx, dword [edx + 0x1c]
mov eax, dword [edx]
movzx ecx, word [eax + ecx*2]
mov eax, ebx
and eax, 0x3f
add ecx, eax
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx*2]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x2c], eax
cmp cx, ax
jb 0x100910d4
mov eax, ebx
mov ecx, edi
and eax, 0xfffffc00
mov dword [ebp - 0x10], ecx
add edi, 2
cmp eax, 0xd800
jne 0x100910df
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x100918e0
movzx eax, word [edi]
mov dword [ebp - 0x28], eax
and eax, 0xfffffc00
cmp eax, 0xdc00
mov eax, dword [ebp - 0xc]
jne 0x10090ff0
add ebx, 0xffff2809
add edi, 2
shl ebx, 0xa
add ebx, dword [ebp - 0x28]
cmp ebx, dword [edx + 0x10]
jl 0x1009109c
mov eax, dword [edx + 0xc]
sub eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
jmp 0x100910b6
push ebx
push edx
call fcn.1013e704
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x1c]
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x20]
movzx eax, word [eax + edx*2]
mov dword [ebp - 0x18], eax
cmp ax, word [ebp - 0x28]
jae 0x100910e2
mov eax, dword [ebp - 0xc]
jmp 0x10090ff0
mov eax, dword [ebp - 0xc]
add edi, 2
jmp 0x10090ff0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ax, word [edx + 0x1a]
jae 0x100913a3
cmp byte [ebp + 0x14], 0
je 0x100918d5
cmp ax, word [edx + 0x16]
jb 0x10091227
test al, 1
je 0x10091119
cmp byte [ebp - 0x1c], 0
je 0x1009112c
cmp ax, 1
je 0x1009112c
and al, 6
cmp al, 2
jbe 0x1009112c
push dword [ebp - 0xc]
mov ecx, edx
push edi
call fcn.1013e704
test al, al
je 0x100916c1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x1009117e
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x14], eax
jge 0x1009115b
push dword [ebp + 0x1c]
mov ecx, esi
push eax
call fcn.1013e704
test al, al
je 0x1009192b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push eax
push ecx
push dword [esi + 0x10]
call fcn.1013e704
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov byte [esi + 0x18], 0
lea eax, [ecx + ecx]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
sub dword [esi + 0x14], ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx edx, cx
shr edx, 3
movzx eax, word [eax + 0x18]
sub edx, eax
mov eax, dword [esi + 0x14]
add edx, ebx
mov dword [ebp - 0x28], edx
cmp edx, 0xffff
jg 0x100911ca
test eax, eax
jne 0x100911bb
push dword [ebp + 0x1c]
mov ecx, esi
push 1
call fcn.1013e704
test al, al
je 0x1009192b
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
mov word [eax], dx
add dword [esi + 0x10], 2
dec dword [esi + 0x14]
jmp 0x10091212
cmp eax, 2
jge 0x100911e6
push dword [ebp + 0x1c]
mov ecx, esi
push 2
call fcn.1013e704
test al, al
je 0x1009192b
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
mov ecx, edx
sar ecx, 0xa
and edx, 0x3ff
sub ecx, 0x2840
or edx, 0xdc00
mov word [eax], cx
mov eax, dword [esi + 0x10]
mov word [eax + 2], dx
add dword [esi + 0x10], 4
add dword [esi + 0x14], 0xfffffffe
mov eax, dword [esi + 0x10]
mov byte [esi + 0x18], 0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edi
jmp 0x10090ff0
mov ebx, edx
cmp ax, word [ebx + 0x10]
jae 0x1009131f
test al, 1
je 0x10091256
cmp byte [ebp - 0x1c], 0
je 0x10091269
cmp ax, 1
je 0x10091269
movzx ecx, ax
mov edx, 0x1ff
mov eax, dword [ebx + 0x24]
shr ecx, 1
cmp word [eax + ecx*2], dx
jbe 0x10091269
push dword [ebp - 0xc]
mov ecx, ebx
push edi
call fcn.1013e704
test al, al
je 0x100915c3
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x100912b2
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x10091292
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.1013e704
test al, al
je 0x1009192b
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [ebx + ebx]
mov byte [esi + 0x18], 0
add dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esi + 0x10]
sub dword [esi + 0x14], ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx ecx, cx
shr ecx, 1
mov eax, dword [eax + 0x24]
movzx ebx, word [eax + ecx*2]
lea ecx, [eax + ecx*2]
and ebx, 0x1f
add ecx, 2
mov dword [ebp - 0x2c], ecx
lea eax, [ebx + ebx]
add eax, ecx
cmp ecx, eax
je 0x10091314
cmp dword [esi + 0x14], ebx
jge 0x100912f4
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.1013e704
test al, al
je 0x1009192b
mov ecx, dword [ebp - 0x2c]
push ebx
push ecx
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [ebx + ebx]
mov byte [esi + 0x18], 0
add dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esi + 0x10]
sub dword [esi + 0x14], ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edi
jmp 0x10090ff0
cmp ax, word [ebx + 0x14]
jb 0x10091415
push dword [ebp - 0xc]
mov ecx, ebx
push edi
call fcn.1013e704
mov ebx, dword [ebp - 0x10]
test al, al
jne 0x10091352
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 8]
call fcn.1013e704
test al, al
je 0x100916c1
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x10091314
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x10091378
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.1013e704
test al, al
je 0x1009192b
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [ebx + ebx]
mov byte [esi + 0x18], 0
add dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esi + 0x10]
sub dword [esi + 0x14], ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edi
jmp 0x10090ff0
cmp ax, word [ebp - 0x30]
jne 0x10091589
cmp dword [ebp - 8], ecx
je 0x10091775
lea eax, [ecx - 2]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp ebx, 0x11a7
jge 0x1009152e
add eax, 0xffffef00
movzx eax, ax
mov dword [ebp - 0x28], eax
cmp eax, 0x13
jae 0x100916c9
cmp byte [ebp + 0x14], 0
je 0x100918d5
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x10091474
movzx eax, word [edi]
sub eax, 0x11a7
mov dword [ebp - 0x2c], eax
dec eax
cmp eax, 0x1a
ja 0x10091471
mov edx, dword [ebp - 0x2c]
add edi, 2
test edx, edx
jns 0x10091487
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cmp edx, ecx
je 0x10091778
cmp ax, word [ebx + 0x12]
jb 0x10091778
cmp word [ebx + 0x16], ax
ja 0x1009143a
cmp ax, word [ebx + 0x1a]
jb 0x10091778
lea eax, [ecx - 2]
movzx ecx, word [eax]
mov dword [ebp - 0x20], eax
mov eax, ecx
and eax, 0xfffff800
mov dword [ebp - 0x2c], ecx
cmp eax, 0xd800
je 0x100916d3
mov edx, dword [ebx + 0x1c]
shr ecx, 6
mov eax, dword [edx]
movzx ecx, word [eax + ecx*2]
mov eax, dword [ebp - 0x2c]
and eax, 0x3f
add ecx, eax
jmp 0x1009172f
mov eax, dword [ebp - 0xc]
push eax
push edi
mov ecx, edx
call fcn.1013e704
test al, al
je 0x100916c1
xor edx, edx
mov eax, dword [ebp - 0x28]
movzx eax, ax
imul ecx, eax, 0x15
add ecx, ebx
lea eax, [ecx*8]
sub eax, ecx
add eax, 0xffffb159
lea eax, [edx + eax*4]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x100914ef
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x100914cf
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.1013e704
test al, al
je 0x1009192b
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [ebx + ebx]
mov byte [esi + 0x18], 0
add dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esi + 0x10]
sub dword [esi + 0x14], ebx
mov dword [esi + 0xc], eax
cmp dword [esi + 0x14], 0
jne 0x10091509
push dword [ebp + 0x1c]
mov ecx, esi
push 1
call fcn.1013e704
test al, al
je 0x1009192b
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x2c]
mov word [eax], cx
add dword [esi + 0x10], 2
mov eax, dword [esi + 0x10]
dec dword [esi + 0x14]
mov dword [esi + 0xc], eax
mov byte [esi + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edi
jmp 0x10090ff0
lea edx, [eax - 0xac00]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
cmp edx, 0x2ba3
ja 0x1009140f
mov eax, 0x92492493
imul edx
add edx, dword [ebp - 0x28]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x28]
shl eax, 2
sub ecx, eax
jne 0x100916c1
cmp byte [ebp + 0x14], cl
je 0x100918d5
mov eax, dword [ebp - 0x2c]
add eax, 0xffffee59
add eax, ebx
jmp 0x100914a3
mov edx, 0xfe00
cmp ax, dx
jbe 0x10091412
mov ebx, dword [ebp - 0x14]
mov edx, eax
shr edx, 1
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x2c], edx
je 0x100915d0
push ecx
push dword [ebp - 8]
mov ecx, ebx
call fcn.1013e704
mov edx, dword [ebp - 0x2c]
cmp al, dl
jbe 0x100915d0
cmp byte [ebp + 0x14], 0
je 0x100918d5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
jmp 0x10091415
cmp edi, dword [ebp - 0xc]
je 0x1009188d
movzx ecx, word [edi]
mov eax, ecx
mov byte [ebp - 1], dl
and eax, 0xfffff800
mov dword [ebp - 0x2c], ecx
lea edx, [edi + 2]
mov dword [ebp - 0x20], edx
cmp eax, 0xd800
je 0x1009160c
mov edx, dword [ebx + 0x1c]
shr ecx, 6
mov eax, dword [edx]
movzx ecx, word [eax + ecx*2]
mov eax, dword [ebp - 0x2c]
and eax, 0x3f
add ecx, eax
jmp 0x10091665
test ecx, 0x400
jne 0x1009165e
cmp edx, dword [ebp - 0xc]
je 0x1009165e
movzx eax, word [edx]
mov dword [ebp - 0x2c], eax
and eax, 0xfffffc00
cmp eax, 0xdc00
jne 0x1009165e
add edx, 2
lea eax, [ecx - 0xd7f7]
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + 0x1c]
shl eax, 0xa
add eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0x10]
jl 0x1009164d
mov ecx, dword [edx + 0xc]
sub ecx, 2
jmp 0x10091665
push eax
push edx
call fcn.1013e704
mov edx, dword [ebx + 0x1c]
add esp, 8
mov ecx, eax
jmp 0x10091665
mov edx, dword [ebx + 0x1c]
mov ecx, dword [edx + 0xc]
dec ecx
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx*2]
mov eax, 0xfe02
cmp cx, ax
jb 0x10091693
mov eax, ecx
shr eax, 1
mov dl, al
cmp byte [ebp - 1], dl
ja 0x10091689
mov edi, dword [ebp - 0x20]
jmp 0x100915d0
cmp byte [ebp + 0x14], 0
je 0x100918d5
cmp cx, word [ebx + 0x12]
jb 0x100916ad
cmp word [ebx + 0x16], cx
ja 0x100915c3
cmp cx, word [ebx + 0x1a]
jae 0x100915c3
cmp cx, word [ebx + 0xe]
mov eax, dword [ebp - 0x20]
cmovae eax, edi
mov edi, eax
mov eax, dword [ebp - 0xc]
jmp 0x10090ff0
mov ecx, dword [ebp - 0x10]
jmp 0x1009140f
mov eax, dword [ebp - 0x18]
mov ebx, edx
jmp 0x10091415
test ecx, 0x400
je 0x10091728
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x10091728
lea edx, [eax - 2]
movzx eax, word [edx]
mov dword [ebp - 0x2c], eax
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x10091728
mov eax, dword [ebp - 0x2c]
add eax, 0xffff2809
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + 0x1c]
shl eax, 0xa
add eax, ecx
cmp eax, dword [edx + 0x10]
jl 0x10091717
mov ecx, dword [edx + 0xc]
sub ecx, 2
jmp 0x1009172f
push eax
push edx
call fcn.1013e704
mov edx, dword [ebx + 0x1c]
add esp, 8
mov ecx, eax
jmp 0x1009172f
mov edx, dword [ebx + 0x1c]
mov ecx, dword [edx + 0xc]
dec ecx
mov eax, dword [edx + 4]
movzx eax, word [eax + ecx*2]
test al, 1
je 0x1009176a
cmp byte [ebp - 0x1c], 0
je 0x10091772
cmp eax, 1
je 0x10091772
cmp ax, word [ebx + 0x16]
jb 0x10091753
and al, 6
mov cl, 2
cmp cl, al
jmp 0x10091763
mov ecx, eax
mov edx, 0x1ff
mov eax, dword [ebx + 0x24]
shr ecx, 1
cmp dx, word [eax + ecx*2]
sbb eax, eax
inc eax
test eax, eax
jne 0x10091772
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x10091775
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp byte [ebp + 0x14], 0
je 0x100917c3
cmp edx, ecx
je 0x100917c3
mov ebx, ecx
sub ebx, edx
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x100917a3
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.1013e704
test al, al
je 0x1009192b
mov edx, dword [ebp - 8]
push ebx
push edx
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [ebx + ebx]
mov byte [esi + 0x18], 0
add dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esi + 0x10]
sub dword [esi + 0x14], ebx
mov dword [esi + 0xc], eax
push dword [ebp + 0x1c]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
sar eax, 1
push 0
push edi
push ebx
mov dword [ebp - 0x2c], eax
call fcn.1013e704
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
push 1
push dword [ebp - 0xc]
push edi
call fcn.1013e704
mov edi, eax
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0
jg 0x1009192b
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, edi
push dword [ebp - 0x2c]
sub eax, ebx
sar eax, 1
push esi
mov dword [ebp - 0x28], eax
call fcn.1013e704
cmp byte [ebp + 0x14], 0
jne 0x10091523
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x28]
jne 0x100918d5
push eax
push ebx
push ecx
call fcn.1013e704
add esp, 0xc
test eax, eax
jne 0x100918d5
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
test byte [eax + 4], 2
je 0x10091878
mov eax, 0x1d
mov byte [esi + 0x18], 0
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edi
jmp 0x10090ff0
mov eax, dword [eax + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
mov byte [esi + 0x18], 0
mov dword [ebp - 8], edi
jmp 0x10090ff0
cmp byte [ebp + 0x14], 0
je 0x1009192b
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
cmp ebx, edi
je 0x1009192b
sub edi, ebx
sar edi, 1
cmp dword [esi + 0x14], edi
jge 0x100918bd
push dword [ebp + 0x1c]
mov ecx, esi
push edi
call fcn.1013e704
test al, al
je 0x1009192b
push edi
push ebx
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [edi + edi]
add esp, 0xc
add dword [esi + 0x10], eax
sub dword [esi + 0x14], edi
jmp 0x10091921
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x1009192b
cmp byte [ebp + 0x14], 0
je 0x1009192b
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x1009190b
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.1013e704
test al, al
je 0x1009192b
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.1013e704
lea eax, [ebx + ebx]
add esp, 0xc
add dword [esi + 0x10], eax
sub dword [esi + 0x14], ebx
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov byte [esi + 0x18], 0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18