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

Disassembly:
push 0xffffffffffffffff
push 0x1008d747
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x18], 0
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
jne 0x10051b39
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x98], eax
mov dword [esp + 0x18], 1
jmp 0x10051eaa
mov edx, esi
mov ecx, ebx
call fcn.10015080
test al, al
jne 0x10051b5e
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10051b57
mov eax, dword [esi]
jmp 0x10051b59
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x10051b86
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x98], eax
mov dword [esp + 0x18], 1
jmp 0x10051eaa
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x98], 1
lea edx, [esp + 0x44]
mov ecx, ebx
call fcn.10014f90
test al, al
jne 0x10051be0
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
cmovae eax, dword [esp + 0x44]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x44]
cmp ebp, eax
je 0x10051bf4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.10003100
cmp dword [esp + 0x54], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x10051caa
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push eax
push dword [esp + 0x3c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.10003100
mov byte [esp + 0xb0], 2
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x44]
call fcn.10067920
add esp, 0x18
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x44]
push eax
call fcn.10004990
mov byte [esp + 0x98], 1
cmp dword [esp + 0x40], 8
jb 0x10051c73
push dword [esp + 0x2c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x54], eax
jne 0x10051caa
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x18], 1
jmp 0x10051e80
mov ecx, esi
call fcn.1000bac0
test al, al
jne 0x10051cbc
mov ecx, esi
call fcn.1000c500
mov ecx, esi
call fcn.1000bac0
test al, al
jne 0x10051d06
mov esi, dword [esp + 0x20]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x18], 1
mov byte [esp + 0x98], al
lea ecx, [esp + 0x44]
call fcn.10002a80
jmp 0x10051eaa
lea eax, [esp + 0x44]
mov edx, esi
push eax
lea ecx, [esp + 0x78]
call fcn.1000add0
add esp, 4
mov byte [esp + 0x98], 4
lea edx, [esp + 0x74]
push str..tmp
lea ecx, [esp + 0x60]
call fcn.1000cc70
add esp, 4
mov byte [esp + 0x98], 5
lea ecx, [esp + 0x5c]
call fcn.1000b970
test al, al
je 0x10051df1
mov eax, dword [esp + 0xb4]
cmp byte [eax + 0x64], 0
je 0x10051da8
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.10004920
mov dword [esp + 0x18], 1
mov byte [esp + 0x98], 4
lea ecx, [esp + 0x5c]
call fcn.10002a80
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.10002a80
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x44]
call fcn.10002a80
jmp 0x10051eaa
mov esi, 1
lea ecx, [ecx]
push str..tmp
push esi
lea ecx, [esp + 0x7c]
call fcn.10002ff0
push eax
lea eax, [esp + 0x68]
push str._s__u__s
push eax
call fcn.1000a7d0
add esp, 0x14
lea ecx, [esp + 0x5c]
call fcn.1000b970
test al, al
je 0x10051df1
lea ecx, [esp + 0x5c]
call fcn.1000a9d0
inc esi
cmp esi, 0x2710
jb 0x10051db0
cmp dword [esp + 0x6c], 0
jne 0x10051e0d
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x10051e19
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.10004920
mov dword [esp + 0x18], 1
mov byte [esp + 0x98], 4
cmp dword [esp + 0x70], 8
jb 0x10051e39
push dword [esp + 0x5c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov byte [esp + 0x98], 1
cmp dword [esp + 0x88], 8
jb 0x10051e67
push dword [esp + 0x74]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov word [esp + 0x74], ax
mov dword [esp + 0x84], eax
mov byte [esp + 0x98], al
cmp dword [esp + 0x58], 8
jb 0x10051e97
push dword [esp + 0x44]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10081b94
add esp, 0x88
ret 0x18