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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100277a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1002baa4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 0x38]
mov dword [ebx], 0x10001808
mov dword [ebx + 4], 0x100017b8
mov dword [ebx + 8], 0x10001828
mov dword [ebx + 0xc], 0x100017d4
mov dword [ebx + 0x10], 0x100017e8
mov dword [ebx + 0x14], 0x10001070
mov dword [ebx + 0x18], 0x10001184
test ecx, ecx
je 0x1001f3d0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1002c1a8]
call esi
mov dword [ebx + 0x38], 0
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1001f3e8
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1001f400
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x1001f463
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x1001f422
push esi
mov ecx, eax
call fcn.10025a40
mov eax, dword [esi]
test eax, eax
jne 0x1001f414
mov eax, dword [esi + 4]
lea edi, [esi + 4]
test eax, eax
je 0x1001f43e
lea esp, [esp]
push edi
mov ecx, eax
call fcn.10025a40
mov eax, dword [edi]
test eax, eax
jne 0x1001f430
lea eax, [esi + 8]
push eax
call dword [sym.imp.MSDART.DLL_MPDeleteCriticalSection]
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov edi, dword [ebx + 0x58]
test edi, edi
je 0x1001f47c
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1002c1a8]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1001f589
mov edi, dword [eax]
xor esi, esi
test edi, edi
je 0x1001f578
test esi, esi
je 0x1001f49c
mov edi, esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1001f4c1
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1001f4d9
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1001f4f1
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1001f550
mov eax, dword [edi + 0x18]
xor ebx, ebx
mov eax, dword [eax + 8]
cmp dword [eax + 0x48], ebx
jbe 0x1001f53b
mov esi, ecx
mov edx, dword [ecx + ebx*4]
test edx, edx
je 0x1001f52a
mov eax, dword [pe_dos_header]
push 0
push edx
push 0
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002c1a8]
call esi
mov ecx, dword [edi + 0x28]
mov esi, ecx
mov eax, dword [edi + 0x18]
inc ebx
mov eax, dword [eax + 8]
cmp ebx, dword [eax + 0x48]
jb 0x1001f507
mov ecx, esi
mov esi, dword [ebp - 0x14]
test ecx, ecx
je 0x1001f550
push ecx
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
mov eax, dword [ebp - 0x18]
add esp, 8
mov edi, dword [eax]
cmp esi, edi
jne 0x1001f496
mov ebx, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x1001f5d9
xor edi, edi
cmp dword [ebx + 0x48], edi
jbe 0x1001f5c4
mov edx, eax
lea esp, [esp]
mov ecx, dword [eax + edi*8]
test ecx, ecx
je 0x1001f5bc
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1002c1a8]
call esi
mov eax, dword [ebx + 0x6c]
mov edx, eax
inc edi
cmp edi, dword [ebx + 0x48]
jb 0x1001f5a0
mov eax, edx
test eax, eax
je 0x1001f5d9
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x1001f5f1
push eax
call dword [sym.imp.MSDART.DLL_MpGetHeapHandle]
push eax
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1001f654
cmp dword [ebx + 0x74], 0
mov dword [ebp - 0x14], 0
jbe 0x1001f63e
xor edi, edi
jmp 0x1001f610
mov ecx, dword [0x1002befc]
mov eax, dword [ebx + 0x78]
mov edx, dword [ecx]
push dword [edi + eax]
push ecx
mov esi, dword [edx + 0x14]
mov ecx, esi
call dword [0x1002c1a8]
call esi
mov eax, dword [ebp - 0x14]
lea edi, [edi + 0x18]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebx + 0x74]
jb 0x1001f610
mov edx, dword [ebx + 0x78]
mov eax, dword [0x1002befc]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x1002c1a8]
call esi
mov ecx, dword [ebx + 0x11c0]
test ecx, ecx
je 0x1001f66e
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1002c1a8]
call esi
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x11e0]
mov dword [ebx + 0x11dc], 0x100017b4
test eax, eax
je 0x1001f6bd
cmp dword [0x1002bb48], 0xffffffff
je 0x1001f6b3
push 0
push eax
mov eax, dword [0x1002d71c]
mov esi, dword [0x1002b03c]
mov ecx, esi
push 7
push eax
push dword [0x1002bb48]
call dword [0x1002c1a8]
call esi
mov dword [ebx + 0x11e0], 0
lea eax, [ebx + 0x24]
mov dword [ebx + 0x11e0], 0
push eax
call dword [sym.imp.MSDART.DLL_MPDeleteCriticalSection]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.MSDART.DLL_MPDeleteCriticalSection]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026210
mov esp, ebp
pop ebp
ret