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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10012789
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10018100]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push 0x40
lea eax, [esp + 0x50]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.10006680
add esp, 0xc
cmp dword [ebx + 0x1f8], 0x20314356
jne 0x1000240d
cmp byte [ebx + 0x209], 0
jne 0x100022d7
mov edi, dword [ebx + 0x1f0]
lea ecx, [edi + 0x14]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
cmp dword [ebx + 0xa4], ecx
jae 0x10002221
or eax, 0xffffffff
jmp 0x100026dc
push dword [ebx + 0x1ec]
mov eax, dword [ebx + 0x98]
push ecx
mov dword [esp + 0x7c], eax
call fcn.100026f4
test eax, eax
jne 0x1000228d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
mov esi, ebx
call fcn.100020e8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10002259
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp eax, 0xfffffff6
jne 0x1000228d
mov ecx, dword [esp + 0x78]
push dword [esp + 0x7c]
add ecx, dword [esp + 0x78]
mov eax, dword [ebx + 0xd8]
add eax, dword [ebx + 0xe0]
push ecx
push eax
call fcn.10004990
mov eax, dword [esp + 0x88]
add esp, 0xc
add dword [ebx + 0xe0], eax
push 0x40
lea eax, [esp + 0x50]
push 0
push eax
mov byte [ebx + 0x209], 1
call fcn.10006680
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x100022d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0xd8]
add eax, dword [ebx + 0xe0]
push edi
push dword [ebp + 8]
push eax
call fcn.10004990
add esp, 0xc
add dword [ebx + 0xe0], edi
mov eax, edi
jmp 0x100026dc
xor edi, edi
push 0xd
pop eax
cmp ax, word [ebx + 0x174]
je 0x100022f2
mov ecx, dword [ebx + 0xe0]
mov eax, dword [ebp + 0xc]
lea eax, [ecx + eax + 8]
jmp 0x1000231c
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x10002302
call fcn.1000276e
test al, al
jne 0x10002311
mov ecx, dword [ebx + 0xe0]
mov eax, dword [ebp + 0xc]
lea eax, [ecx + eax + 4]
jmp 0x1000231c
mov ecx, dword [ebx + 0xe0]
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
cmp dword [ebx + 0xa4], eax
jb 0x10002219
mov esi, dword [ebx + 0x98]
mov dword [esp + 0x74], esi
cmp ecx, edi
je 0x10002358
push ecx
push dword [ebx + 0xd8]
push esi
call fcn.10004990
mov esi, dword [esp + 0x80]
add esp, 0xc
push 0xd
pop eax
cmp ax, word [ebx + 0x174]
je 0x100023aa
mov eax, dword [ebx + 0xe0]
push dword [ebp + 0xc]
add eax, esi
call fcn.100017dd
mov eax, dword [ebx + 0xe0]
mov ecx, dword [esp + 0x78]
lea eax, [eax + ecx + 4]
push edi
call fcn.100017dd
push dword [ebp + 0xc]
mov eax, dword [ebx + 0xe0]
mov ecx, dword [esp + 0x80]
push dword [ebp + 8]
lea eax, [eax + ecx + 8]
push eax
call fcn.10004990
add esp, 0x14
jmp 0x10002402
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x100023ba
call fcn.1000276e
test al, al
jne 0x100023eb
mov eax, dword [ebx + 0xe0]
add eax, esi
push 0xd010000
call fcn.100017dd
push dword [ebp + 0xc]
mov eax, dword [ebx + 0xe0]
mov ecx, dword [esp + 0x7c]
push dword [ebp + 8]
lea eax, [eax + ecx + 4]
push eax
call fcn.10004990
add esp, 0x10
jmp 0x10002402
push dword [ebp + 0xc]
mov eax, dword [ebx + 0xe0]
push dword [ebp + 8]
add eax, esi
push eax
call fcn.10004990
add esp, 0xc
mov dword [ebx + 0xe0], edi
jmp 0x100025a2
cmp byte [ebx + 0x20a], 0
je 0x10002633
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x98], edi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x20c]
lea esi, [esp + 0x28]
mov dword [esp + 0x40], eax
call fcn.100016d8
test al, al
je 0x100024b5
cmp dword [esp + 0x44], 9
je 0x100024a4
push dword [esp + 0x10]
mov ecx, dword [ebx + 0x280]
mov edi, dword [esp + 0x4c]
add edi, dword [esp + 0x30]
push ecx
push dword [esp + 0x24]
lea eax, [ecx + 4]
lea esi, [esp + 0x24]
call fcn.10002986
push dword [esp + 0x10]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push edi
push dword [esp + 0x24]
add eax, edi
call fcn.10002986
lea esi, [esp + 0x28]
call fcn.100016d8
test al, al
jne 0x10002462
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
sub esi, edi
je 0x10002595
mov ecx, dword [ebx + 0xe0]
mov eax, ecx
sub eax, edi
add eax, dword [ebx + 0x248]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
cmp dword [ebx + 0xa4], eax
jae 0x100024fc
test edi, edi
je 0x10002219
push edi
call fcn.100048ad
pop ecx
jmp 0x10002219
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x1000251a
push ecx
push dword [ebx + 0xd8]
push eax
call fcn.10004990
add esp, 0xc
mov eax, dword [ebx + 0x248]
test eax, eax
je 0x10002562
push eax
push dword [ebx + 0x240]
push dword [esp + 0x7c]
call fcn.10004990
mov eax, dword [ebx + 0xe0]
add eax, dword [ebx + 0x248]
push esi
add eax, dword [esp + 0x84]
push edi
push eax
call fcn.10004990
and dword [ebx + 0x248], 0
add esp, 0x18
and dword [ebx + 0x240], 0
jmp 0x10002577
mov eax, dword [ebx + 0xe0]
add eax, dword [esp + 0x74]
push esi
push edi
push eax
call fcn.10004990
add esp, 0xc
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edi
push eax
lea edi, [esp + 0x24]
call fcn.1000294f
and dword [ebx + 0xe0], 0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100025a0
push edi
call fcn.100048ad
pop ecx
xor edi, edi
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x7c]
push 8
push edi
push ecx
call fcn.10006680
add esp, 0xc
cmp byte [ebx + 0x208], 0
je 0x1000268f
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
mov esi, ebx
call fcn.100020e8
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100025e3
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x7c]
cmp eax, dword [ebx + 0xe4]
ja 0x10002614
mov ecx, dword [esp + 0x78]
add ecx, dword [esp + 0x74]
push eax
push ecx
push dword [ebx + 0xd8]
call fcn.10004990
mov eax, dword [esp + 0x88]
add esp, 0xc
mov dword [ebx + 0xe0], eax
test esi, esi
je 0x100026d9
cmp esi, 0xfffffff6
je 0x100026d9
and dword [ebx + 0xe0], 0
mov eax, esi
jmp 0x100026dc
mov ecx, dword [ebx + 0xe0]
mov esi, dword [ebp + 0xc]
lea eax, [ecx + esi]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
add eax, 8
cmp dword [ebx + 0xa4], eax
jb 0x10002219
mov eax, dword [ebx + 0x98]
push ecx
push dword [ebx + 0xd8]
mov dword [esp + 0x7c], eax
push eax
call fcn.10004990
mov eax, dword [ebx + 0xe0]
add eax, dword [esp + 0x80]
push esi
push dword [ebp + 8]
push eax
call fcn.10004990
add esp, 0x18
jmp 0x10002402
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [ebx + 0xd8]
call fcn.10004990
mov eax, dword [esp + 0x88]
lea ecx, [ebx + 0xfc]
push ecx
mov dword [ebx + 0xe0], eax
mov eax, dword [ebx + 0xf8]
lea ecx, [ebx + 0xb0]
push ecx
push dword [eax + 4]
call fcn.10003390
add esp, 0x18
test eax, eax
jne 0x100026d9
mov byte [ebx + 0x208], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc