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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10079914]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1003794c
mov ecx, dword [edi + 0x1c]
push dword [edi + 8]
push eax
mov ecx, dword [ecx + 0x23c]
call fcn.10032e20
push dword [edi + 0x74]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [edi + 0x78]
test eax, eax
je 0x1003796c
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x10037983
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x1003799d
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0xac]
test eax, eax
je 0x100379b7
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x100379d1
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0x64]
test eax, eax
je 0x100379e8
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x10037a02
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov eax, dword [edi + 0x90]
test eax, eax
je 0x10037a1c
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
cmp dword [edi + 0x10], 0
push ebx
push esi
je 0x10037ad5
cmp dword [edi + 0x68], 0
je 0x10037a72
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
jbe 0x10037a5b
mov eax, dword [edi + 0x68]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x10037a55
mov eax, dword [edi + 0x10]
push 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x1007f468]
call esi
inc ebx
cmp ebx, dword [edi + 0x3c]
jb 0x10037a35
mov eax, dword [edi + 0x68]
test eax, eax
je 0x10037a72
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
cmp dword [edi + 0x5c], 0
je 0x10037ab8
xor ebx, ebx
cmp dword [edi + 0x60], ebx
jbe 0x10037aa1
nop
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x5c]
push 0
mov esi, dword [ecx]
push dword [eax + ebx*4]
push ecx
mov esi, dword [esi + 0x18]
mov ecx, esi
call dword [0x1007f468]
call esi
inc ebx
cmp ebx, dword [edi + 0x60]
jb 0x10037a80
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x10037ab8
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov edx, dword [edi + 0x58]
test edx, edx
je 0x10037ad5
mov eax, dword [edi + 0x10]
push 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x1007f468]
call esi
cmp dword [edi + 0x18], 0
jne 0x10037b20
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10037af2
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1007f468]
call esi
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x10037b09
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1007f468]
call esi
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10037b20
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1007f468]
call esi
cmp dword [edi + 0x40], 0
je 0x10037b67
xor esi, esi
cmp dword [edi + 0x3c], esi
jbe 0x10037b50
xor ebx, ebx
nop
mov ecx, dword [edi + 0x40]
mov edx, 0x13
push 0x10002270
add ecx, ebx
call fcn.10035b70
inc esi
add esp, 4
add ebx, 0x5c
cmp esi, dword [edi + 0x3c]
jb 0x10037b30
mov eax, dword [edi + 0x40]
test eax, eax
je 0x10037b67
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
cmp dword [edi + 0x54], 0
pop esi
pop ebx
je 0x10037b86
mov eax, dword [edi + 0x50]
test eax, eax
je 0x10037b86
push eax
push dword [0x1007e050]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 8
mov word [edi + 0x34], ax
xor ecx, ebp
pop edi
call fcn.10071a90
mov esp, ebp
pop ebp
ret