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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad7ff
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
cmp byte [esi + 0x122], 0
mov dword [esp + 0x1c], edi
jne 0x1001f01f
cmp byte [esi + 0x28], 0
jne 0x1001f01f
cmp dword [esi + 0x11c], edi
lea eax, [esi + 0x11c]
mov dword [esp + 0x5c], eax
jne 0x1001f01f
cmp dword [esi + 0x118], edi
jne 0x1001f01f
lea eax, [esi + 4]
mov dword [esp + 0x64], eax
call fcn.10088720
test al, al
je 0x1001f01f
mov ecx, esi
mov edx, ebx
call fcn.10022590
test al, al
je 0x1001f01f
mov dword [esp + 0x28], edi
mov edi, dword [ebx + 0x18]
test edi, edi
mov dword [esp + 0x34], edi
je 0x1001eb22
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
test edi, edi
mov dword [esp + 0xb0], 0
je 0x1001eb4d
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
mov dword [esp + 0x28], eax
lea edi, [esi + 0x144]
lea eax, [esp + 0x34]
call fcn.10024e20
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esi + 0x24], eax
call fcn.1001a090
mov byte [esp + 0xb0], 1
mov esi, dword [ebx + 0x28]
test esi, esi
mov dword [esp + 0x60], esi
je 0x1001eb7a
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0xb0], 2
mov edi, dword [ebx + 0x24]
test edi, edi
mov dword [esp + 0x38], edi
je 0x1001eb95
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x28], eax
je 0x1001efc0
cmp esi, eax
je 0x1001efc0
cmp edi, eax
je 0x1001efc0
cmp ecx, eax
je 0x1001efc0
mov byte [esp + 0x17], al
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0xb0], 4
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x20], 0
mov byte [esp + 0xb0], 5
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
mov dword [esp + 0x30], ebx
je 0x1001ec07
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
test ebx, ebx
mov byte [esp + 0xb0], 6
je 0x1001ec61
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call edx
lea edi, [esp + 0x20]
mov byte [esp + 0xb0], 7
call fcn.10024e20
mov byte [esp + 0xb0], 6
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1001ec49
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp dword [esp + 0x20], 0
je 0x1001ec61
lea ebx, [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.10023730
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x40]
lea edi, [esp + 0x4c]
call fcn.10023710
mov dword [esp + 0x70], 0
jmp 0x1001ec80
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, eax
jbe 0x1001ec94
call edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
lea eax, [esp + 0x70]
lea esi, [esp + 0x40]
call fcn.10024e80
test al, al
je 0x1001ef10
mov esi, dword [esp + 0x44]
test esi, esi
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
jne 0x1001eccd
call edi
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
ja 0x1001ecd4
call edi
add ebx, 0xfffffffc
cmp ebx, dword [esi + 8]
jb 0x1001ecde
call edi
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x68], ebx
je 0x1001ecf0
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
lea esi, [esp + 0x7c]
lea edi, [esp + 0x4c]
mov byte [esp + 0xb0], 8
call fcn.10023710
lea esi, [esp + 0x40]
call fcn.10024e80
test al, al
je 0x1001ed36
cmp ebx, dword [esp + 0x20]
jne 0x1001ed36
test ebx, ebx
mov byte [esp + 0xb0], 6
je 0x1001ee3c
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
jmp 0x1001ee3c
test ebx, ebx
je 0x1001ed64
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebx
call edx
or dword [esp + 0x1c], 1
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.1007efa0
test al, al
mov byte [esp + 0x16], 0
jne 0x1001ed69
mov byte [esp + 0x16], 1
test byte [esp + 0x1c], 1
je 0x1001ed81
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x88]
call fcn.10002160
cmp byte [esp + 0x16], 0
je 0x1001eda6
test ebx, ebx
mov byte [esp + 0xb0], 6
je 0x1001ee3c
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
jmp 0x1001ee3c
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], 0
mov edx, dword [ebx]
mov esi, dword [edi]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edx + 0x34]
mov ecx, ebx
add esi, 0x2c
call eax
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], eax
jne 0x1001ee2b
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0xb0], 9
mov edx, dword [ebx]
mov esi, dword [edi]
mov eax, dword [edx + 0x34]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
add esi, 0x28
call eax
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
test al, al
je 0x1001ee2b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x98]
push edx
call eax
mov edi, eax
lea esi, [esp + 0x2c]
call fcn.10024e50
cmp dword [esp + 0x2c], 0
jne 0x1001ee67
mov byte [esp + 0xb0], 6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x1001ee4a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esi + 4]
ja 0x1001ee59
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub dword [esp + 0x48], 4
mov ebx, dword [esp + 0x30]
jmp 0x1001ec80
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, esi
call fcn.1001f040
xor edi, edi
mov dword [esi + 0x118], edi
mov ecx, dword [esi + 0x11c]
cmp ecx, edi
je 0x1001ee93
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x11c], edi
lea edi, [esi + 0x150]
lea eax, [esp + 0x18]
call fcn.10024e20
lea edi, [esi + 0x140]
lea eax, [esp + 0x2c]
call fcn.10024e20
mov byte [esi + 0x2a], 0
mov byte [esi + 0x29], 0
mov byte [esi + 0x2b], 1
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x5c]
mov dword [esi + 0x118], eax
lea eax, [esp + 0x68]
call fcn.10024e20
mov byte [esp + 0xb0], 8
mov ecx, dword [esp + 0x2c]
mov byte [esi + 0x122], 1
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov byte [esp + 0x17], 1
call eax
mov byte [esp + 0xb0], 6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov byte [esp + 0xb0], 5
je 0x1001ef25
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov byte [esp + 0xb0], 4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1001ef3c
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x4c]
mov byte [esp + 0xb0], 3
call fcn.10055160
mov byte [esp + 0xb0], 2
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 1
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1001ef8a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1001efa4
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, eax
mov byte [esp + 0xb0], 2
je 0x1001efd9
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
test esi, esi
mov byte [esp + 0xb0], 1
je 0x1001eff2
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov byte [esp + 0xb0], 0
je 0x1001f005
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1001f01f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8