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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0x24]
push ebx
push esi
push edi
movzx ebx, byte [ecx + 0x10598960]
mov edi, dword [ebp + 0xc]
mov eax, ebx
add edi, 0xe0
shr eax, 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
cmp ecx, 3
jl 0x1022c6b3
movzx edx, byte [ecx + 0x10598930]
mov eax, dword [ebp + 0x18]
dec edx
and eax, 0x1f
movsx ebx, dl
mov cl, bl
movsx eax, byte [eax + edi + 0x107c]
sar eax, cl
mov ecx, dword [ebp + 0x1c]
and eax, 1
lea edx, [eax + edx*2]
mov eax, dword [edi + 0x1078]
movsx eax, byte [eax + ecx]
mov cl, bl
mov ebx, dword [ebp - 0x14]
sar eax, cl
mov ecx, dword [ebp + 0x24]
and eax, 1
lea eax, [eax + edx*2]
mov dword [ebp - 0x18], eax
jmp 0x1022c6ba
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp + 0x28]
mov al, byte [eax]
mov byte [ebp - 8], al
mov edi, dword [ebp - 8]
push edi
push ecx
call fcn.1022dba0
push 3
push dword [ebp + 0x24]
shr ebx, 2
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
call fcn.1022dba0
mov ebx, dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebx + 0x3ad24]
jge 0x1022cc04
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebx + 0x3ad28]
jge 0x1022cc04
cmp dword [ebp - 4], 0xff
je 0x1022cc04
mov ecx, dword [ebp + 0x20]
test cl, cl
jne 0x1022c786
cmp dword [ebp - 0x18], 0
jl 0x1022c786
add eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
cmp eax, dword [ebx + 0x3ad24]
jge 0x1022c786
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebx + 0x3ad28]
mov eax, dword [ebp + 0x10]
jge 0x1022c789
cmp byte [eax + 0x5328], cl
je 0x1022c789
mov ecx, dword [ebp + 0x24]
cmp ecx, 3
jg 0x1022c755
mov eax, 4
jmp 0x1022c764
xor eax, eax
cmp ecx, 0xf
setne al
lea eax, [eax*2 + 8]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x26b
imul eax, eax, 0x16
push edi
add eax, dword [esi + 0x1b54]
push eax
call fcn.101e80a0
mov ecx, dword [ebp + 0x20]
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
movzx ebx, byte [ebp - 8]
mov dword [ebp - 0x18], ebx
cmp ebx, 9
mov ebx, dword [ebp + 8]
ja case.default.0x1022c79f
mov esi, dword [ebp - 0x18]
jmp dword [esi*4 + 0x1022cc0c]
push dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
push dword [esi + 8]
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp - 4]
push ecx
push edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.1022be70
add esp, 0x2c
jmp case.default.0x1022c79f
push dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebp + 0xc]
push dword [ebx + 0x14]
mov ebx, dword [ebp + 8]
push edi
push dword [ebp - 4]
push ecx
push edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.1022be70
mov ecx, dword [ebp - 0xc]
add esp, 0x2c
add ecx, dword [ebp + 0x1c]
cmp ecx, dword [ebx + 0x3ad28]
jge case.default.0x1022c79f
push dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push dword [eax + 0x18]
mov eax, dword [ebp + 0x20]
push edi
push dword [ebp - 4]
push eax
push ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push ebx
call fcn.1022be70
add esp, 0x2c
jmp case.default.0x1022c79f
push dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebp + 0xc]
push dword [ebx + 0xc]
mov ebx, dword [ebp + 8]
push edi
push dword [ebp - 4]
push ecx
push edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.1022be70
mov ecx, dword [ebp - 0xc]
add esp, 0x2c
add ecx, dword [ebp + 0x18]
cmp ecx, dword [ebx + 0x3ad24]
jge case.default.0x1022c79f
push dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
mov eax, dword [ebp + 0x20]
push edi
push dword [ebp - 4]
push eax
push dword [ebp + 0x1c]
push ecx
jmp 0x1022c81b
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x2c]
push esi
push dword [ebx + 0x6c]
mov ebx, dword [ebp + 0x14]
push dword [ebp - 4]
push ecx
push edx
push dword [ebp + 0x18]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1022c640
mov eax, dword [ebp + 0x28]
mov edi, dword [ebp - 0xc]
add edi, dword [ebp + 0x1c]
push esi
push dword [eax + 0x70]
mov eax, dword [ebp + 0x20]
push dword [ebp - 4]
mov esi, dword [ebp + 0x18]
push eax
push edi
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1022c640
mov eax, dword [ebp + 0x28]
add esp, 0x50
add esi, dword [ebp - 0xc]
push dword [ebp + 0x2c]
push dword [eax + 0x74]
push dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1022c640
push dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push dword [eax + 0x78]
push dword [ebp - 4]
push dword [ebp + 0x20]
push edi
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1022c640
mov edi, dword [ebp - 8]
add esp, 0x50
jmp case.default.0x1022c79f
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x2c]
push esi
push dword [ebx + 0x1c]
mov ebx, dword [ebp + 8]
push edi
push dword [ebp - 0x10]
mov edi, dword [ebp + 0x14]
push ecx
push edx
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1022be70
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp - 8]
push esi
push dword [eax + 0x20]
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 0xc]
push edx
push dword [ebp - 0x10]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
call fcn.1022be70
mov eax, dword [ebp + 0x28]
add esp, 0x58
push esi
push dword [eax + 0x24]
mov eax, dword [ebp + 0x18]
push dword [ebp - 8]
add eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
call fcn.1022be70
mov edi, dword [ebp - 8]
add esp, 0x2c
jmp case.default.0x1022c79f
mov edx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
push edi
push dword [edx + 0x28]
mov edx, dword [ebp - 8]
push edx
push dword [ebp - 4]
push ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push esi
push eax
push dword [ebp + 8]
call fcn.1022be70
mov eax, dword [ebp + 0x28]
mov esi, dword [ebp - 0xc]
add esi, dword [ebp + 0x18]
push edi
push dword [eax + 0x2c]
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1022be70
mov eax, dword [ebp + 0x28]
add esp, 0x58
push edi
push dword [eax + 0x30]
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0x20]
push eax
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1022be70
add esp, 0x2c
jmp case.default.0x1022c79f
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x2c]
push esi
push dword [ebx + 0x34]
mov ebx, dword [ebp + 8]
push edi
push dword [ebp - 0x10]
mov edi, dword [ebp + 0x14]
push ecx
push edx
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1022be70
mov eax, dword [ebp + 0x28]
push esi
push dword [eax + 0x38]
mov eax, dword [ebp + 0x18]
push dword [ebp - 8]
add eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
call fcn.1022be70
mov eax, dword [ebp + 0x28]
add esp, 0x58
push esi
push dword [eax + 0x3c]
mov eax, dword [ebp + 0x1c]
push dword [ebp - 8]
add eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
jmp 0x1022c985
mov edx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
push edi
push dword [edx + 0x40]
mov edx, dword [ebp - 8]
push edx
push dword [ebp - 4]
push ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push esi
push eax
push dword [ebp + 8]
call fcn.1022be70
mov eax, dword [ebp + 0x28]
mov esi, dword [ebp - 0xc]
add esi, dword [ebp + 0x1c]
push edi
push dword [eax + 0x44]
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp + 0x20]
push esi
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1022be70
mov eax, dword [ebp + 0x28]
add esp, 0x58
push edi
push dword [eax + 0x48]
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0x20]
push esi
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1022be70
add esp, 0x2c
jmp case.default.0x1022c79f
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x28]
add eax, 0x4c
mov dword [ebp - 0x18], 0
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x18], 0
jle 0x1022cb48
mov esi, dword [ebp + 8]
cmp esi, dword [ebx + 0x3ad24]
mov esi, dword [ebp + 0xc]
jge case.default.0x1022c79f
push dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push dword [edx]
mov edx, dword [ebp + 0x1c]
push edi
push dword [ebp - 4]
push ecx
push edx
push dword [ebp + 8]
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.1022be70
mov eax, dword [ebp - 0x18]
add esp, 0x2c
mov ecx, dword [ebp - 0x14]
inc eax
add dword [ebp + 8], ecx
add dword [ebp + 0x28], 4
cmp eax, 4
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
jl 0x1022cb30
jmp case.default.0x1022c79f
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x28]
add edx, 0x5c
mov dword [ebp - 0x18], 0
mov dword [ebp + 0x28], edx
nop
cmp dword [ebp - 0x18], 0
mov edx, dword [ebp + 8]
jle 0x1022cbb1
cmp edx, dword [ebx + 0x3ad28]
jge case.default.0x1022c79f
push dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push dword [eax]
mov eax, dword [ebp + 0x10]
push edi
push dword [ebp - 4]
push ecx
push edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.1022be70
mov eax, dword [ebp - 0x18]
add esp, 0x2c
mov ecx, dword [ebp - 0x14]
inc eax
add dword [ebp + 8], ecx
add dword [ebp + 0x28], 4
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
cmp eax, 4
jl 0x1022cba0
push edi
push dword [ebp + 0x24]
push dword [ebp - 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.102319a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret