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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x17c]
mov dword [ebp - 0x10], edi
test esi, esi
je 0x1003fed1
cmp dword [edi + 0x174], 0
je 0x1003fec6
mov eax, dword [0x1035648c]
push dword [edi + 0x170]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [edi + 0x180], 0
jne 0x1003fee3
jmp 0x1003fef2
cmp dword [edi + 0x174], 0
je 0x1003fef2
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x170]
mov eax, dword [0x1035648c]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x18c], 0
je 0x1003ff12
mov eax, dword [0x1035648c]
push dword [esi + 0x188]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x5c]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x10040128
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x100400f5
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x58]
movdqa xmm0, xmmword [ebx]
lea esi, [ebx + 0x10]
pmovmskb eax, xmm0
not eax
jmp 0x1003ff52
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
and eax, ecx
mov ecx, dword [ebp - 0x28]
dec ecx
je 0x100400f5
test ax, ax
jne 0x1003ff79
nop word [eax + eax]
movdqa xmm0, xmmword [esi]
add ebx, 0xfffff180
add esi, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x1003ff60
not eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
tzcnt eax, eax
mov dword [ebp - 0x1c], ebx
neg eax
imul eax, eax, 0xe8
cmp dword [ebx + eax - 0x3c], 0
lea edi, [ebx + eax]
je 0x1003ffa9
push dword [edi - 0x40]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [edi - 0x2c]
mov eax, dword [edi - 0x34]
test ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
je 0x1003fff0
mov eax, dword [ebp - 0x14]
lea edi, [eax + 4]
jmp 0x1003ffd6
add edi, 0xc
dec ebx
je 0x1003fff0
cmp dword [edi], 0
je 0x1003ffd0
push dword [edi - 4]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x1003ffd0
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0x30], 0
je 0x1004000a
push dword [ebp - 0x14]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [edi - 0xcc], 0
je 0x10040027
push dword [edi - 0xd0]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [edi - 0x18]
test eax, eax
je 0x10040043
cmp dword [edi - 0x14], 0
je 0x10040043
push eax
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [edi - 0x20]
mov eax, dword [edi - 0x28]
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x10040080
mov eax, dword [ebp - 0x14]
lea edi, [eax + 4]
jmp 0x10040066
add edi, 0xc
dec ebx
je 0x10040080
cmp dword [edi], 0
je 0x10040060
push dword [edi - 4]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x10040060
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0x24], 0
je 0x1004009a
push dword [ebp - 0x14]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [edi - 0xbc], 0
mov ebx, dword [ebp - 0x1c]
je 0x100400ba
push dword [edi - 0xc0]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [edi - 0xac], 0
je 0x100400d7
push dword [edi - 0xb0]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x1003ff40
lock dec dword [ecx]
jne 0x1003ff40
call fcn.10043ee0
jmp 0x1003ff40
mov esi, dword [ebp - 0x20]
mov ecx, 0xe8
lea eax, [esi + 1]
mul ecx
add eax, 0xf
and eax, 0xfffffff0
add esi, eax
cmp esi, 0xffffffef
mov esi, dword [ebp - 0x10]
je 0x10040128
mov ecx, dword [esi + 0x58]
sub ecx, eax
mov eax, dword [0x1035648c]
push dword [ecx - 4]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea ecx, [esi + 0xe8]
call fcn.10041910
lea ecx, [esi + 0x138]
call fcn.10042c60
lea ecx, [esi + 0x144]
call fcn.10042760
lea ecx, [esi + 0xb8]
call fcn.100429f0
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1004021c
mov edx, dword [esi + 0x84]
test edx, edx
je 0x100401f4
mov esi, dword [esi + 0x78]
mov dword [ebp - 0x14], ecx
movdqa xmm0, xmmword [esi]
lea edi, [esi + 0x10]
mov dword [ebp - 0x1c], esi
pmovmskb eax, xmm0
not eax
jmp 0x10040196
test edx, edx
mov eax, ebx
je 0x100401e9
test ax, ax
jne 0x100401b9
nop dword [eax + eax]
movdqa xmm0, xmmword [edi]
add esi, 0xfffff800
add edi, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x100401a0
not eax
lea ebx, [eax - 1]
tzcnt ecx, eax
dec edx
and ebx, eax
shl ecx, 7
mov eax, esi
sub eax, ecx
cmp dword [eax - 0x7c], 0
je 0x10040190
push dword [eax - 0x80]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
mov dword [ebp - 0x18], edx
call sub.KERNEL32.dll_HeapFree
mov edx, dword [ebp - 0x18]
jmp 0x10040190
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
jmp 0x100401f7
mov edx, dword [esi + 0x78]
mov eax, ecx
shl eax, 7
add ecx, eax
cmp ecx, 0xffffff6f
je 0x1004021c
sub edx, eax
mov eax, dword [0x1035648c]
push dword [edx - 0x84]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, esi
mov esi, dword [esi + 0x150]
mov ebx, dword [eax + 0x158]
test ebx, ebx
je 0x1004023d
mov edi, esi
mov ecx, edi
call fcn.100411a0
add edi, 0x28
dec ebx
jne 0x10040230
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x154], 0
je 0x10040258
mov eax, dword [0x1035648c]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x164], 0
je 0x10040278
mov eax, dword [0x1035648c]
push dword [esi + 0x160]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea ecx, [esi + 8]
call fcn.10041760
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.100422d0
lea ecx, [esi + 0x198]
call fcn.10043190
add esi, 0x23c
mov ecx, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10042160