Function at 0x10022110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x101c8c40]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov ebx, ecx
xor esi, esi
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
nop
cmp edi, dword [ecx]
jb 0x1002216f
mov eax, edi
sub eax, dword [ecx + 4]
cmp eax, dword [ecx + 0x10]
je 0x100226f7
push dword [ecx + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10081690
cmp byte [esp + 0x2c], 0
mov edi, dword [esp + 0x28]
jne 0x10022719
movzx ebx, byte [edi]
cmp ebx, 0x80
jae 0x1002217d
inc edi
jmp 0x100221af
movzx ecx, byte [edi + 1]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x10022198
add edi, 2
jmp 0x100221af
push ebx
lea eax, [esp + 0x34]
push edi
push eax
call fcn.10082080
mov ebx, dword [esp + 0x40]
add esp, 0xc
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10022713
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 0xb
ja case.default.0x100221c6
jmp dword [eax*4 + 0x10022738]
cmp bl, 9
jne case.default.0x100221c6
mov ebx, dword [esp + 0xc]
or esi, 8
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add edi, 8
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x20], eax
jmp 0x10022140
cmp bl, 0x12
jne case.default.0x100221c6
mov ebx, dword [esp + 0xc]
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x10022212
and ecx, 0xfffffffc
jmp 0x10022223
mov eax, ecx
shr eax, 1
test al, 1
je 0x1002221e
xor ecx, ecx
jmp 0x10022223
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
mov byte [esp + 0x28], 0
lea ecx, [ebx + 0x10]
push dword [esp + 0x28]
call fcn.100474b0
mov ecx, dword [esp + 0x10]
push ecx
push edi
push eax
call fcn.10081850
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x18
jne case.default.0x100221c6
movzx edx, byte [edi]
or esi, 0x10
test dl, dl
js 0x1002226d
inc edi
jmp 0x1002229b
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10022284
add edi, 2
jmp 0x1002229b
push edx
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x48]
add esp, 0xc
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x28], edx
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x20
jne case.default.0x100221c6
movzx edx, byte [edi]
mov dword [esp + 0x14], edx
test dl, dl
js 0x100222d2
mov dword [esp + 0x18], 0
inc edi
jmp 0x10022318
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
mov dword [esp + 0x14], edx
test cl, cl
js 0x100222f5
mov dword [esp + 0x18], 0
add edi, 2
jmp 0x10022318
push edx
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.10082180
mov edx, dword [esp + 0x6c]
add esp, 0xc
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test edi, edi
je 0x10022713
cmp edx, 3
ja case.default.0x10022325
jmp dword [edx*4 + 0x10022768]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or dword [ebx + 8], 0x20
mov dword [ebx + 0x2c], edx
jmp 0x10022140
mov ebx, dword [esp + 0xc]
test byte [ebx + 4], 1
lea ecx, [ebx + 4]
je 0x10022357
mov eax, dword [ecx]
and eax, 0xfffffffc
add eax, 4
jmp 0x10022360
call fcn.100290c0
mov edx, dword [esp + 0x14]
push dword [esp + 0x18]
mov ecx, eax
push edx
push 4
call fcn.1007fd90
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x28
jne case.default.0x100221c6
movzx edx, byte [edi]
mov dword [esp + 0x18], edx
test dl, dl
js 0x10022396
mov dword [esp + 0x14], 0
inc edi
jmp 0x100223dc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
mov dword [esp + 0x18], edx
test cl, cl
js 0x100223b9
mov dword [esp + 0x14], 0
add edi, 2
jmp 0x100223dc
push edx
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.10082180
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test edi, edi
je 0x10022713
cmp edx, 0x63
ja case.0x100223f0.7
movzx eax, byte [edx + 0x10022780]
jmp dword [eax*4 + 0x10022778]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or dword [ebx + 8], 0x80
mov dword [ebx + 0x38], edx
jmp 0x10022140
mov ebx, dword [esp + 0xc]
test byte [ebx + 4], 1
lea ecx, [ebx + 4]
je 0x10022425
mov eax, dword [ecx]
and eax, 0xfffffffc
add eax, 4
jmp 0x1002242e
call fcn.100290c0
mov edx, dword [esp + 0x18]
push dword [esp + 0x14]
mov ecx, eax
push edx
push 5
call fcn.1007fd90
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x31
jne case.default.0x100221c6
mov ebx, dword [esp + 0xc]
or esi, 0x40
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add edi, 8
mov dword [ebx + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x30], eax
jmp 0x10022140
cmp bl, 0x38
jne case.default.0x100221c6
movzx edx, byte [edi]
or esi, 0x100
test dl, dl
js 0x10022485
inc edi
jmp 0x100224b3
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x1002249c
add edi, 2
jmp 0x100224b3
push edx
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x50]
add esp, 0xc
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x3c], edx
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x40
jne case.default.0x100221c6
movzx edx, byte [edi]
or esi, 0x200
test dl, dl
js 0x100224ec
mov dword [esp + 0x1c], 0
inc edi
jmp 0x10022525
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x1002250b
mov dword [esp + 0x1c], 0
add edi, 2
jmp 0x10022525
push edx
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.10082180
mov edx, dword [esp + 0x8c]
add esp, 0xc
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x40], edx
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x48
jne case.default.0x100221c6
movzx edx, byte [edi]
or esi, 0x400
test dl, dl
js 0x10022556
inc edi
jmp 0x10022584
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x1002256d
add edi, 2
jmp 0x10022584
push edx
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x58]
add esp, 0xc
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x44], edx
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x50
jne case.default.0x100221c6
movzx edx, byte [edi]
or esi, 0x800
test dl, dl
js 0x100225b5
inc edi
jmp 0x100225e3
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x100225cc
add edi, 2
jmp 0x100225e3
push edx
lea eax, [esp + 0x54]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x60]
add esp, 0xc
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x48], edx
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x5a
jne case.default.0x100221c6
mov ebx, dword [esp + 0xc]
or dword [ebx + 8], 2
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x10022639
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x10022620
and ecx, 0xfffffffc
jmp 0x10022631
mov eax, ecx
shr eax, 1
test al, 1
je 0x1002262c
xor ecx, ecx
jmp 0x10022631
and ecx, 0xfffffffc
mov ecx, dword [ecx]
call fcn.10027a40
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.10028d20
mov edi, eax
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
cmp bl, 0x62
jne case.default.0x100221c6
mov ebx, dword [esp + 0xc]
or dword [ebx + 8], 4
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10022691
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x10022678
and ecx, 0xfffffffc
jmp 0x10022689
mov eax, ecx
shr eax, 1
test al, 1
je 0x10022684
xor ecx, ecx
jmp 0x10022689
and ecx, 0xfffffffc
mov ecx, dword [ecx]
call fcn.10027a40
mov dword [ebx + 0x18], eax
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.10028d20
mov edi, eax
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
mov eax, ebx
and al, 7
cmp al, 4
je 0x10022703
test ebx, ebx
je 0x10022703
mov ecx, dword [esp + 0xc]
add ecx, 4
test byte [ecx], 1
je 0x100226cd
mov eax, dword [ecx]
and eax, 0xfffffffc
add eax, 4
jmp 0x100226d2
call fcn.100290c0
mov ecx, dword [esp + 0x10]
push ecx
push edi
push eax
push 0
push ebx
call fcn.10080550
mov ebx, dword [esp + 0x20]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10022717
mov ecx, dword [esp + 0x10]
jmp 0x10022140
test eax, eax
jle 0x10022719
cmp dword [ecx + 8], 0
jne 0x10022719
jmp 0x10022717
mov ecx, dword [esp + 0x10]
lea eax, [ebx - 1]
mov ebx, dword [esp + 0xc]
mov dword [ecx + 0x3c], eax
jmp 0x10022719
mov ebx, dword [esp + 0xc]
xor edi, edi
or dword [ebx + 8], esi
mov eax, edi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10122cc7
mov esp, ebp
pop ebp
ret 8