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

Disassembly:
push 0xffffffffffffffff
push 0x102666ea
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
call fcn.10026870
mov dword [esp + 0x8c], 0
cmp dword [esi + 0x18], 8
jb 0x10022818
mov eax, dword [esi + 4]
jmp 0x1002281b
lea eax, [esi + 4]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.10032680
cmp dword [esi + 0x18], 8
jb 0x10022831
mov eax, dword [esi + 4]
jmp 0x10022834
lea eax, [esi + 4]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.10032680
nop
cmp edi, 0xfffffffc
je 0x10022854
test edi, edi
je 0x1002284f
cmp edi, dword [esp + 0x64]
je 0x10022854
call fcn.1022e9da
mov eax, ebx
sub eax, ebp
neg eax
sbb eax, eax
test eax, 0x1002e3f0
je 0x10022985
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x58]
call fcn.1002d050
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
lea edi, [ecx + eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
cmp eax, edi
jbe 0x100228bb
call fcn.1022e9da
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0xbc]
push ecx
push edi
push eax
push edx
lea eax, [esp + 0x58]
push eax
call fcn.100225e0
mov eax, dword [esi + 0x18]
cmp eax, 8
jb 0x100228f4
mov edx, dword [esi + 4]
jmp 0x100228f7
lea edx, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, ecx
lea edi, [ecx + edx]
test edi, edi
je 0x10022922
lea edx, [esi + 4]
cmp eax, 8
jb 0x1002290f
mov ebx, dword [edx]
jmp 0x10022911
mov ebx, edx
cmp ebx, edi
ja 0x10022922
cmp eax, 8
jb 0x1002291c
mov edx, dword [edx]
add ecx, edx
cmp edi, ecx
jbe 0x10022927
call fcn.1022e9da
mov ecx, dword [esp + 0x64]
push edi
push esi
push ebp
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.1002d950
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
mov ebx, ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xa4]
mov ebp, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
jmp 0x10022840
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x10022994
mov eax, dword [esi + 4]
jmp 0x10022997
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
lea eax, [eax + edx*2]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.10032680
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x58]
call fcn.1002d050
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x10022a1c
cmp dword [esi + 0x18], edi
jb 0x100229e6
mov eax, dword [esi + 4]
jmp 0x100229e9
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea eax, [eax + ecx*2]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.10032680
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push eax
mov edi, esi
call fcn.1002eac0
jmp 0x10022a8d
mov eax, dword [esp + 0x54]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
cmp eax, edx
jbe 0x10022a38
call fcn.1022e9da
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x3c]
add ecx, eax
mov ebp, eax
cmp eax, ecx
jbe 0x10022a49
call fcn.1022e9da
cmp dword [esi + 0x18], 8
mov edi, dword [esp + 0x3c]
jb 0x10022a58
mov eax, dword [esi + 4]
jmp 0x10022a5b
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea eax, [eax + ecx*2]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.10032680
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
push ebx
push ebp
push edi
push eax
push ecx
push eax
mov eax, dword [esp + 0xcc]
push ecx
push eax
call fcn.1002d3e0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x3c]
push ecx
call fcn.10026940
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret