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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
movzx eax, byte [ecx + 0x10598960]
push esi
mov esi, dword [ebp + 0x14]
shr eax, 1
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
add esi, eax
mov dword [ebx + 0xc], edi
add edi, eax
movzx eax, byte [ecx + 0x10598990]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
mov eax, dword [edx + 0x141f8]
push 3
push ecx
movzx eax, byte [eax + 0x10598990]
mov dword [ebx + 0x1c], eax
call fcn.1022dba0
mov ecx, dword [ebp + 0x1c]
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
xor eax, eax
cmp ecx, 3
mov dword [ebx + 0x2c], ecx
setge al
mov dword [ebx + 0x20], eax
xor eax, eax
cmp esi, dword [edx + 0x3ad24]
mov esi, dword [ebp + 8]
setl al
mov dword [ebx + 0x24], eax
xor eax, eax
cmp edi, dword [edx + 0x3ad28]
mov edi, dword [ebp + 0xc]
lea edx, [esi + 0x161b4]
setl al
mov dword [ebx + 0x28], eax
mov dword [ebx], edx
mov al, byte [edi + 0x3ab40]
test al, al
je 0x1022dd58
cmp al, 2
jne 0x1022dd6c
cmp ecx, 0xc
jne 0x1022dd6c
mov dword [edx], 0
mov eax, dword [ebx]
mov dword [eax + 4], 0
cmp dword [ebx + 0x20], 0
je 0x1022ddb1
movzx edx, byte [ecx + 0x10598930]
mov eax, dword [ebp + 0x14]
dec edx
and eax, 0x1f
movsx ebx, dl
mov cl, bl
movsx eax, byte [eax + esi + 0x115c]
sar eax, cl
mov ecx, dword [ebp + 0x18]
and eax, 1
lea edx, [eax + edx*2]
mov eax, dword [esi + 0x1158]
movsx eax, byte [eax + ecx]
mov cl, bl
mov ebx, dword [ebp + 0x10]
sar eax, cl
and eax, 1
lea eax, [eax + edx*2]
jmp 0x1022ddb3
xor eax, eax
mov dword [ebx + 0x140], eax
lea eax, [eax + eax*4]
lea eax, [eax + 0x63d]
lea eax, [esi + eax*8]
mov dword [ebx + 0xb8], eax
lea eax, [ebx + 0xc8]
mov dword [ebx + 0x38], 1
mov dword [ebx + 0x3c], 1
mov dword [ebx + 0x40], 1
mov dword [ebx + 0x44], 1
mov dword [ebx + 0x48], 1
mov dword [ebx + 0x4c], 1
mov dword [ebx + 0x50], 1
mov dword [ebx + 0x54], 1
push 0x50
push 0
push eax
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov byte [ebx + 0x78], 1
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
call fcn.1039a3e0
mov eax, dword [esi + 0x62c]
add esp, 0xc
mov dword [ebx + 0x138], eax
mov eax, dword [esi + 0x630]
mov dword [ebx + 0x13c], eax
mov dword [ebx + 0x118], 0
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x12c], eax
cmp byte [edi + 0x3ed9c], 0
je 0x1022dea5
test eax, eax
je 0x1022dea5
mov eax, 1
jmp 0x1022dea7
xor eax, eax
mov dword [ebx + 0x128], eax
xorps xmm0, xmm0
movq qword [ebx + 0x130], xmm0
cmp dword [ebx + 0x24], 0
je 0x1022decb
cmp dword [ebx + 0x28], 0
je 0x1022decb
mov eax, 1
jmp 0x1022decd
xor eax, eax
mov edi, dword [ebx + 0x128]
mov esi, dword [ebp + 0x1c]
mov dword [ebx + 0x11c], eax
test edi, edi
je 0x1022df1c
cmp dword [ebx + 0x28], 0
je 0x1022df1c
push 1
push esi
call fcn.1022dba0
mov ecx, dword [ebx + 0x138]
add esp, 8
lea ecx, [ecx + eax*2]
mov eax, dword [ebx + 0x13c]
lea eax, [eax + ecx*2]
cmp dword [eax*4 + 0x103fa250], 0xff
je 0x1022df1c
mov dword [ebx + 0x120], 1
jmp 0x1022df2a
mov dword [ebx + 0x120], 0
test edi, edi
je 0x1022df70
cmp dword [ebx + 0x24], 0
je 0x1022df70
push 2
push esi
call fcn.1022dba0
mov ecx, dword [ebx + 0x138]
add esp, 8
lea ecx, [ecx + eax*2]
mov eax, dword [ebx + 0x13c]
lea eax, [eax + ecx*2]
cmp dword [eax*4 + 0x103fa250], 0xff
je 0x1022df70
pop edi
pop esi
mov dword [ebx + 0x124], 1
mov byte [ebx + 0x144], 0
pop ebx
pop ebp
ret
pop edi
pop esi
mov dword [ebx + 0x124], 0
mov byte [ebx + 0x144], 0
pop ebx
pop ebp
ret