Function at 0x100940e0
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 0x100941a7
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 0x10094136
test dx, dx
jne 0x10094121
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x10094151
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10094151
push dword [ebp + 0x1c]
push eax
push edi
call fcn.10051290
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x1c]
mov edi, eax
cmp dword [ecx], 0
jg 0x10094a95
push 0
push eax
call fcn.10051290
mov dword [ebp - 0xc], eax
add esp, 8
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
je 0x100941a4
push dword [ebp - 0x1c]
add eax, 0xfffffffe
mov ecx, ebx
mov dword [ebp - 0x28], eax
movzx eax, word [eax]
push eax
call fcn.10051290
test al, al
je 0x10094195
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
jmp 0x100941a4
push 1
mov ecx, esi
call fcn.10051290
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 0x10094aa0
movzx ebx, word [edi]
cmp ebx, dword [ebp - 0x24]
jb 0x10094297
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 0x10094294
mov eax, ebx
mov ecx, edi
and eax, 0xfffffc00
mov dword [ebp - 0x10], ecx
add edi, 2
cmp eax, 0xd800
jne 0x1009429f
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x10094aa0
movzx eax, word [edi]
mov dword [ebp - 0x28], eax
and eax, 0xfffffc00
cmp eax, 0xdc00
mov eax, dword [ebp - 0xc]
jne 0x100941b0
add ebx, 0xffff2809
add edi, 2
shl ebx, 0xa
add ebx, dword [ebp - 0x28]
cmp ebx, dword [edx + 0x10]
jl 0x1009425c
mov eax, dword [edx + 0xc]
sub eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
jmp 0x10094276
push ebx
push edx
call fcn.10051290
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 0x100942a2
mov eax, dword [ebp - 0xc]
jmp 0x100941b0
mov eax, dword [ebp - 0xc]
add edi, 2
jmp 0x100941b0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ax, word [edx + 0x1a]
jae 0x10094563
cmp byte [ebp + 0x14], 0
je 0x10094a95
cmp ax, word [edx + 0x16]
jb 0x100943e7
test al, 1
je 0x100942d9
cmp byte [ebp - 0x1c], 0
je 0x100942ec
cmp ax, 1
je 0x100942ec
and al, 6
cmp al, 2
jbe 0x100942ec
push dword [ebp - 0xc]
mov ecx, edx
push edi
call fcn.10051290
test al, al
je 0x10094881
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x1009433e
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x14], eax
jge 0x1009431b
push dword [ebp + 0x1c]
mov ecx, esi
push eax
call fcn.10051290
test al, al
je 0x10094aeb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push eax
push ecx
push dword [esi + 0x10]
call fcn.10051290
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 0x1009438a
test eax, eax
jne 0x1009437b
push dword [ebp + 0x1c]
mov ecx, esi
push 1
call fcn.10051290
test al, al
je 0x10094aeb
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
mov word [eax], dx
add dword [esi + 0x10], 2
dec dword [esi + 0x14]
jmp 0x100943d2
cmp eax, 2
jge 0x100943a6
push dword [ebp + 0x1c]
mov ecx, esi
push 2
call fcn.10051290
test al, al
je 0x10094aeb
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 0x100941b0
mov ebx, edx
cmp ax, word [ebx + 0x10]
jae 0x100944df
test al, 1
je 0x10094416
cmp byte [ebp - 0x1c], 0
je 0x10094429
cmp ax, 1
je 0x10094429
movzx ecx, ax
mov edx, 0x1ff
mov eax, dword [ebx + 0x24]
shr ecx, 1
cmp word [eax + ecx*2], dx
jbe 0x10094429
push dword [ebp - 0xc]
mov ecx, ebx
push edi
call fcn.10051290
test al, al
je 0x10094783
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x10094472
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x10094452
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10051290
test al, al
je 0x10094aeb
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.10051290
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 0x100944d4
cmp dword [esi + 0x14], ebx
jge 0x100944b4
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10051290
test al, al
je 0x10094aeb
mov ecx, dword [ebp - 0x2c]
push ebx
push ecx
push dword [esi + 0x10]
call fcn.10051290
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 0x100941b0
cmp ax, word [ebx + 0x14]
jb 0x100945d5
push dword [ebp - 0xc]
mov ecx, ebx
push edi
call fcn.10051290
mov ebx, dword [ebp - 0x10]
test al, al
jne 0x10094512
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 8]
call fcn.10051290
test al, al
je 0x10094881
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x100944d4
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x10094538
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10051290
test al, al
je 0x10094aeb
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.10051290
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 0x100941b0
cmp ax, word [ebp - 0x30]
jne 0x10094749
cmp dword [ebp - 8], ecx
je 0x10094935
lea eax, [ecx - 2]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp ebx, 0x11a7
jge 0x100946ee
add eax, 0xffffef00
movzx eax, ax
mov dword [ebp - 0x28], eax
cmp eax, 0x13
jae 0x10094889
cmp byte [ebp + 0x14], 0
je 0x10094a95
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x10094634
movzx eax, word [edi]
sub eax, 0x11a7
mov dword [ebp - 0x2c], eax
dec eax
cmp eax, 0x1a
ja 0x10094631
mov edx, dword [ebp - 0x2c]
add edi, 2
test edx, edx
jns 0x10094647
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cmp edx, ecx
je 0x10094938
cmp ax, word [ebx + 0x12]
jb 0x10094938
cmp word [ebx + 0x16], ax
ja 0x100945fa
cmp ax, word [ebx + 0x1a]
jb 0x10094938
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 0x10094893
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 0x100948ef
mov eax, dword [ebp - 0xc]
push eax
push edi
mov ecx, edx
call fcn.10051290
test al, al
je 0x10094881
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 0x100946af
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x1009468f
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10051290
test al, al
je 0x10094aeb
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.10051290
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 0x100946c9
push dword [ebp + 0x1c]
mov ecx, esi
push 1
call fcn.10051290
test al, al
je 0x10094aeb
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 0x100941b0
lea edx, [eax - 0xac00]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
cmp edx, 0x2ba3
ja 0x100945cf
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 0x10094881
cmp byte [ebp + 0x14], cl
je 0x10094a95
mov eax, dword [ebp - 0x2c]
add eax, 0xffffee59
add eax, ebx
jmp 0x10094663
mov edx, 0xfe00
cmp ax, dx
jbe 0x100945d2
mov ebx, dword [ebp - 0x14]
mov edx, eax
shr edx, 1
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x2c], edx
je 0x10094790
push ecx
push dword [ebp - 8]
mov ecx, ebx
call fcn.10051290
mov edx, dword [ebp - 0x2c]
cmp al, dl
jbe 0x10094790
cmp byte [ebp + 0x14], 0
je 0x10094a95
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
jmp 0x100945d5
cmp edi, dword [ebp - 0xc]
je 0x10094a4d
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 0x100947cc
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 0x10094825
test ecx, 0x400
jne 0x1009481e
cmp edx, dword [ebp - 0xc]
je 0x1009481e
movzx eax, word [edx]
mov dword [ebp - 0x2c], eax
and eax, 0xfffffc00
cmp eax, 0xdc00
jne 0x1009481e
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 0x1009480d
mov ecx, dword [edx + 0xc]
sub ecx, 2
jmp 0x10094825
push eax
push edx
call fcn.10051290
mov edx, dword [ebx + 0x1c]
add esp, 8
mov ecx, eax
jmp 0x10094825
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 0x10094853
mov eax, ecx
shr eax, 1
mov dl, al
cmp byte [ebp - 1], dl
ja 0x10094849
mov edi, dword [ebp - 0x20]
jmp 0x10094790
cmp byte [ebp + 0x14], 0
je 0x10094a95
cmp cx, word [ebx + 0x12]
jb 0x1009486d
cmp word [ebx + 0x16], cx
ja 0x10094783
cmp cx, word [ebx + 0x1a]
jae 0x10094783
cmp cx, word [ebx + 0xe]
mov eax, dword [ebp - 0x20]
cmovae eax, edi
mov edi, eax
mov eax, dword [ebp - 0xc]
jmp 0x100941b0
mov ecx, dword [ebp - 0x10]
jmp 0x100945cf
mov eax, dword [ebp - 0x18]
mov ebx, edx
jmp 0x100945d5
test ecx, 0x400
je 0x100948e8
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x100948e8
lea edx, [eax - 2]
movzx eax, word [edx]
mov dword [ebp - 0x2c], eax
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x100948e8
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 0x100948d7
mov ecx, dword [edx + 0xc]
sub ecx, 2
jmp 0x100948ef
push eax
push edx
call fcn.10051290
mov edx, dword [ebx + 0x1c]
add esp, 8
mov ecx, eax
jmp 0x100948ef
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 0x1009492a
cmp byte [ebp - 0x1c], 0
je 0x10094932
cmp eax, 1
je 0x10094932
cmp ax, word [ebx + 0x16]
jb 0x10094913
and al, 6
mov cl, 2
cmp cl, al
jmp 0x10094923
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 0x10094932
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x10094935
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp byte [ebp + 0x14], 0
je 0x10094983
cmp edx, ecx
je 0x10094983
mov ebx, ecx
sub ebx, edx
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x10094963
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10051290
test al, al
je 0x10094aeb
mov edx, dword [ebp - 8]
push ebx
push edx
push dword [esi + 0x10]
call fcn.10051290
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.10051290
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.10051290
mov edi, eax
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0
jg 0x10094aeb
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.10051290
cmp byte [ebp + 0x14], 0
jne 0x100946e3
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x28]
jne 0x10094a95
push eax
push ebx
push ecx
call fcn.10051290
add esp, 0xc
test eax, eax
jne 0x10094a95
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 0x10094a38
mov eax, 0x1d
mov byte [esi + 0x18], 0
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edi
jmp 0x100941b0
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 0x100941b0
cmp byte [ebp + 0x14], 0
je 0x10094aeb
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
cmp ebx, edi
je 0x10094aeb
sub edi, ebx
sar edi, 1
cmp dword [esi + 0x14], edi
jge 0x10094a7d
push dword [ebp + 0x1c]
mov ecx, esi
push edi
call fcn.10051290
test al, al
je 0x10094aeb
push edi
push ebx
push dword [esi + 0x10]
call fcn.10051290
lea eax, [edi + edi]
add esp, 0xc
add dword [esi + 0x10], eax
sub dword [esi + 0x14], edi
jmp 0x10094ae1
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 0x10094aeb
cmp byte [ebp + 0x14], 0
je 0x10094aeb
sub ebx, eax
sar ebx, 1
cmp dword [esi + 0x14], ebx
jge 0x10094acb
push dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10051290
test al, al
je 0x10094aeb
mov eax, dword [ebp - 8]
push ebx
push eax
push dword [esi + 0x10]
call fcn.10051290
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