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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x94]
mov eax, dword [edi + 0x98]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp ebx, eax
je 0x1003d96c
mov eax, dword [edi + 0x90]
mov edx, ebx
dec eax
shr edx, 2
and edx, eax
mov ecx, ebx
mov eax, dword [edi + 0x8c]
and ecx, 3
mov eax, dword [eax + edx*4]
mov esi, dword [eax + ecx*4]
cmp dword [esi + 4], 0
je 0x1003db9f
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x1003db98
push 0
push dword [esi + 4]
push dword [esi]
call fcn.10054d6f
add esp, 0xc
test eax, eax
jne 0x1003db91
inc ebx
mov dword [esi], eax
mov dword [esi + 4], eax
cmp ebx, dword [ebp - 0x10]
jne 0x1003d913
lea ecx, [edi + 0xcc]
call fcn.10047fb0
mov eax, dword [edi + 0xcc]
push 8
push eax
mov dword [edi + 0xcc], 0
call fcn.100568db
add esp, 8
lea ecx, [edi + 0x9c]
call fcn.10002710
lea ecx, [edi + 0x88]
call fcn.1003cae0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x1003d9fa
mov ecx, dword [edi + 0x84]
sub ecx, eax
cmp ecx, 0x1000
jb 0x1003d9d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003db8c
mov eax, edx
push ecx
push eax
call fcn.100568db
mov dword [edi + 0x7c], 0
add esp, 8
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov ebx, dword [edi + 0x78]
test ebx, ebx
je 0x1003da8d
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.100090c0
push 0x40
push dword [esi]
call fcn.100568db
mov esi, dword [ebx + 0x1c]
add esp, 8
test esi, esi
je 0x1003da3e
mov ecx, esi
call fcn.1003e120
push 0xc8
push esi
call fcn.100568db
add esp, 8
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xf
jbe 0x1003da71
mov eax, dword [ebx]
inc ecx
cmp ecx, 0x1000
jb 0x1003da67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003db8c
mov eax, edx
push ecx
push eax
call fcn.100568db
add esp, 8
push 0x34
push ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
call fcn.100568db
add esp, 8
mov ecx, dword [edi + 0x70]
cmp ecx, 7
jbe 0x1003dac7
mov eax, dword [edi + 0x5c]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003dabd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003db8c
mov eax, edx
push ecx
push eax
call fcn.100568db
add esp, 8
xor eax, eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 7
mov word [edi + 0x5c], ax
mov ecx, dword [edi + 0x58]
cmp ecx, 7
jbe 0x1003db15
mov eax, dword [edi + 0x44]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003db0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003db8c
mov eax, edx
push ecx
push eax
call fcn.100568db
add esp, 8
xor eax, eax
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 7
mov word [edi + 0x44], ax
mov ecx, dword [edi + 0x40]
cmp ecx, 7
jbe 0x1003db5f
mov eax, dword [edi + 0x2c]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003db55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003db8c
mov eax, edx
push ecx
push eax
call fcn.100568db
add esp, 8
xor eax, eax
mov dword [edi + 0x3c], 0
lea ecx, [edi + 8]
mov dword [edi + 0x40], 7
mov word [edi + 0x2c], ax
call fcn.10002710
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1005bb75
push 2
call fcn.1005505d
push 5
call fcn.1005505d
push 1
call fcn.1005505d
int3