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

Disassembly:
push 0xffffffffffffffff
push 0x10004068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.10001000
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x38]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x10001655
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.10001010
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
push eax
push ebp
push esi
call fcn.10002260
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x74], edi
jge 0x1000169c
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.10001010
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov edx, dword [esi]
push ebx
push edi
push ebp
mov ecx, esi
call dword [edx + 8]
cmp edi, eax
jne 0x100017dd
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push 4
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0xc]
cmp eax, 4
jne 0x10001817
mov edx, dword [esp + 0x14]
cmp edx, ebx
je 0x10001861
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x38]
push edx
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x1c]
mov dword [esp + 0x5c], ebx
test edx, 0x80000000
mov word [esp + 0x3c], ax
je 0x10001712
lea ecx, [esp + 0x3e]
push str._08x
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x10001795
push ebp
push esi
call fcn.10002260
mov edi, eax
add esp, 0xc
cmp edi, ebx
jl 0x1000183b
mov edx, dword [esi]
push ebx
push edi
push ebp
mov ecx, esi
call dword [edx + 8]
cmp edi, eax
jne 0x10001821
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x18]
push 0x20
rep stosd dword es:[edi], eax
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 4
jl 0x100017dd
mov dx, word [esp + 0x18]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1a]
push 0x1d
lea ecx, [esp + 0x3e]
push eax
push ecx
mov byte [esp + 0x43], bl
mov dword [esp + 0x64], ebx
mov word [esp + 0x44], dx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [esp + 0x57], bl
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x38]
push edx
lea eax, [edi + 0x1e]
lea ecx, [edi + 0x22]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.10001020
cmp eax, ebx
je 0x1000182b
cmp dword [esp + 0x14], ebx
je 0x10001861
mov edi, dword [esp + 0x74]
mov edx, dword [esi]
add edi, 4
push ebx
push edi
push ebp
mov ecx, esi
mov dword [esp + 0x80], edi
call dword [edx + 8]
cmp edi, eax
je 0x100016ae
mov esi, dword [esp + 0x78]
lea eax, [esi + 0x22]
push eax
lea ecx, [esp + 0x14]
call fcn.100010b0
lea ecx, [esp + 0x10]
mov dword [esi + 0x1e], ebx
mov dword [esp + 0x64], 0xffffffff
call fcn.10001010
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov esi, dword [esp + 0x78]
lea ecx, [esi + 0x22]
push ecx
jmp 0x100017e5
mov esi, dword [esp + 0x78]
lea edx, [esi + 0x22]
push edx
jmp 0x100017e5
lea ecx, [edi + 0x22]
push ecx
lea ecx, [esp + 0x14]
call fcn.100010b0
mov dword [edi + 0x1e], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.10001010
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.10001010
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret