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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 8]
push edi
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp + 8]
mov edi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], 0
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call fcn.100184d0
mov esi, eax
test esi, esi
jne 0x10015ae2
push eax
push eax
push dword [ebp + 0x1c]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call fcn.1001d7f0
test eax, eax
je 0x1001596c
lea esi, [ebx - 0x39]
jmp 0x10015ae2
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.1001d930
mov esi, eax
test esi, esi
jne 0x10015ae2
cmp dword [edi + 0x64], ebx
jne 0x10015996
cmp dword [edi + 0x68], ebx
jne 0x10015996
lea esi, [eax - 0x22]
jmp 0x10015ae2
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x100159f6
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 8]
cmp dword [eax + 0xd8], 2
jne 0x10015a13
cmp dword [eax + 0x14], ebx
jle 0x10015a09
inc ecx
cmp ecx, esi
jb 0x100159a2
test esi, esi
je 0x100159f6
xor ebx, ebx
xor edi, edi
mov eax, dword [edx + ebx*4]
or ecx, 0xffffffff
mov edx, dword [eax + 8]
lea eax, [edx + 0x14]
lock xadd dword [eax], ecx
dec ecx
cmp dword [edx + 0xdc], 0
mov edx, dword [ebp + 0x10]
mov eax, 1
cmove edi, eax
inc ebx
mov dword [ebp - 0xc], ecx
cmp ebx, esi
jb 0x100159c3
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x40], 0
jne 0x10015a1d
mov esi, 0xffffffdc
jmp 0x10015ae2
mov esi, 0xfffffc0b
jmp 0x10015ae2
mov esi, 0xffffffda
jmp 0x10015ae2
lea eax, [ebp - 4]
push eax
push 1
mov ecx, edi
call fcn.10019ce0
mov ebx, dword [ebp - 4]
mov esi, eax
test esi, esi
jne 0x10015ae2
mov eax, dword [ebx + 0x3c]
push dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x20]
push dword [ebp + 0x18]
mov dword [ecx], eax
push ebx
mov ecx, edi
call fcn.1001d650
test eax, eax
je 0x10015add
push esi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x1c]
mov ecx, edi
push ebx
call fcn.10019b20
test eax, eax
je 0x10015add
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
lea eax, [ebx + 0x20]
push eax
lea eax, [ebx + 0x1c]
push eax
mov ecx, edi
call fcn.1001d6c0
test eax, eax
jne 0x10015a8e
lea esi, [eax - 4]
jmp 0x10015ae2
cmp dword [ebp - 0xc], 1
jne 0x10015aa0
push esi
mov ecx, edi
call fcn.1000bac0
test eax, eax
jne 0x10015add
mov ecx, dword [ebp - 0x10]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor ebx, ebx
test esi, esi
jne 0x10015ae2
cmp dword [edi + 0x60], ebx
jne 0x10015ac6
push dword [ebp - 0x14]
mov ecx, edi
call fcn.1000bac0
mov esi, eax
test esi, esi
jne 0x10015ae2
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x10015ad2
mov eax, dword [ebp - 8]
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, 0xfffffffa
push dword [ebp - 8]
mov ecx, edi
push ebx
call fcn.1001bfd0
test esi, esi
je 0x10015b59
mov edx, dword [0x10173674]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x10015b27
cmp dword [eax + 0x10], esi
jge 0x10015b0c
mov eax, dword [eax + 8]
jmp 0x10015b10
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10015b02
cmp ecx, edx
je 0x10015b27
cmp esi, dword [ecx + 0x10]
jl 0x10015b27
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x1c]
jmp 0x10015b2d
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x20]
mov eax, dword [eax]
cmp edx, eax
jne 0x10015b37
xor ecx, ecx
jmp 0x10015b3a
mov ecx, dword [eax + 0x14]
test ecx, ecx
mov eax, str.Unknown_error
cmovne eax, ecx
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x10015b59
test eax, eax
je 0x10015b59
push dword [edi + 0x78]
push 0
push 0
push eax
call ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c