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

Disassembly:
mov eax, 0x140
call fcn.101cf170
push ebx
push esi
mov esi, dword [esp + 0x14c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1015d431
mov edi, dword [esi + 0x1b8]
cmp edi, ebx
jne 0x1015d0d4
cmp dword [esi + 0x1bc], ebx
je 0x1015d431
push 0x78
lea eax, [esp + 0x18]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
cmp edi, ebx
jne 0x1015d0fe
mov eax, dword [esi + 0x1bc]
jmp 0x1015d101
mov eax, dword [edi + 0xc]
mov edx, eax
sar edx, 8
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x10], dl
mov dword [esp + 0x114], eax
mov dword [esp + 0x10c], 2
mov dword [esp + 0x118], ebx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x1b4], ebx
je 0x1015d170
mov dl, byte [esi + 0x1b4]
lea eax, [esp + 0xf]
lea ecx, [esp + 0x13c]
mov byte [esp + 0xf], dl
mov dword [esp + 0x144], eax
mov dword [esp + 0x13c], 1
mov dword [esp + 0x148], ebx
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x148]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x16c]
lea edx, [esi + 0x48]
mov dword [esp + 0xb4], edx
lea edx, [esi + 0x14c]
mov dword [esp + 0x134], edx
mov dword [esp + 0xcc], eax
mov eax, dword [esi + 0x1b0]
lea edx, [esi + 0x170]
mov dword [esp + 0xd4], edx
cdq
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1ac]
mov dword [esp + 0x38], edx
cdq
lea ecx, [esp + 0xac]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x1a4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x1cc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x19c]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
cmp edx, ebx
je 0x1015d25b
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1015d230
sub eax, edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x50], ecx
jmp 0x1015d25f
mov dword [esp + 0x50], ebx
mov eax, dword [esi + 0x1d0]
cmp eax, ebx
je 0x1015d28f
mov edx, dword [esi + 0x1d4]
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1d8]
cmp eax, ebx
jbe 0x1015d2a1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov edx, dword [esi + 0x190]
mov ecx, dword [esi + 0x1dc]
mov dword [esp + 0x5c], ecx
cmp edx, ebx
je 0x1015d2eb
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1015d2c0
mov dword [esp + 0xa4], edx
sub eax, edi
lea edx, [esp + 0x9c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x64], edx
jmp 0x1015d2ef
mov dword [esp + 0x64], ebx
mov edx, dword [esi + 0x194]
cmp edx, ebx
je 0x1015d32b
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1015d300
sub eax, edi
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x68], eax
jmp 0x1015d32f
mov dword [esp + 0x68], ebx
mov edx, dword [esi + 0x1f0]
cmp edx, ebx
je 0x1015d36b
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1015d340
sub eax, edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x6c], ecx
jmp 0x1015d36f
mov dword [esp + 0x6c], ebx
mov eax, dword [esi + 0x1e0]
mov edx, dword [esi + 0x1fc]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
cmp eax, ebx
jne 0x1015d39a
mov dword [esp + 0x80], ebx
jmp 0x1015d3c3
mov ecx, dword [esi + 0x1e8]
lea edx, [esp + 0xfc]
mov dword [esp + 0x104], eax
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x80], edx
movzx eax, byte [esi + 0x1ec]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x1f4]
cmp eax, ebx
jne 0x1015d3e4
mov dword [esp + 0x88], ebx
jmp 0x1015d40d
mov ecx, dword [esi + 0x1f8]
lea edx, [esp + 0x11c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x154]
push 0x10232408
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.100308b0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x140
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x140
ret