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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038420
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1003a084]
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 edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x20]
mov dword [edi], 0x100029cc
test eax, eax
je 0x1001a06f
push eax
mov dword [eax], 0x100029a8
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1001a086
push eax
mov dword [eax], 0x10002994
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov esi, dword [edi + 0x28]
test esi, esi
je 0x1001a0e8
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x14]
mov dword [esi], 0x10002a30
test ecx, ecx
je 0x1001a0cd
push fcn.10023480
call fcn.10036ef0
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x1001a0cd
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1001a0c3
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push ebx
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.MSDART.DLL_MPDeleteCriticalSection]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 8
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1001a0ff
push eax
mov dword [eax], 0x1000273c
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1001a116
push eax
mov dword [eax], 0x10002980
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1001a12d
push eax
mov dword [eax], 0x10002970
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x38]
test eax, eax
je 0x1001a144
push eax
mov dword [eax], 0x1000295c
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1001a1e5
mov dword [ebp - 4], 1
mov dword [eax], 0x100029e0
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x78]
test ebx, ebx
je 0x1001a1d2
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1003b29c]
call esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1003b29c]
call esi
test eax, eax
jne 0x1001a1d2
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1003b29c]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call esi
test eax, eax
je 0x1001a1b7
push dword [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10025640
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1003b29c]
call esi
test eax, eax
je 0x1001a194
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x44]
test eax, eax
je 0x1001a1fc
push eax
mov dword [eax], 0x1000294c
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1001a213
push eax
mov dword [eax], 0x10002934
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x48]
test eax, eax
je 0x1001a22a
push eax
mov dword [eax], 0x1000291c
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1001a241
push eax
mov dword [eax], 0x10002904
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1001a258
push eax
mov dword [eax], 0x100028f4
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x54]
test eax, eax
je 0x1001a26f
push eax
mov dword [eax], 0x100028e0
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [edi + 0x58]
test eax, eax
je 0x1001a286
push eax
mov dword [eax], 0x100028cc
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1001a29d
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1003b29c]
call esi
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x68]
call fcn.1002b320
mov ebx, dword [edi + 0x78]
test ebx, ebx
je 0x1001a2c2
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1003b29c]
mov ecx, ebx
call esi
mov ebx, dword [edi + 0x80]
test ebx, ebx
je 0x1001a2df
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1003b29c]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x1001a2ef
push ecx
call fcn.1000d830
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x1001a303
push eax
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
lea eax, [edi + 0x1c]
mov dword [edi], 0x10002700
push eax
call dword [sym.imp.MSDART.DLL_MPDeleteCriticalSection]
add esp, 4
lock dec dword [0x1003a480]
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.10037970
mov esp, ebp
pop ebp
ret