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

Disassembly:
push 0xffffffffffffffff
push 0x1015f6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10438fc0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x78]
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ecx
lea esi, [edi + 0x20]
cmp eax, edx
je 0x1015251d
cmp dword [edi + 8], 0
mov ebp, dword [ecx + 0x10]
mov bl, byte [esp + 0x80]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], 0
jbe 0x10152142
jmp 0x10152090
cmp word [esi], 0
mov edx, dword [esp + 0x14]
mov edi, edx
jne 0x101520d0
movzx ecx, word [edx]
test bl, bl
je 0x101520b2
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.1015e890
movzx eax, ax
jmp 0x101520b4
mov eax, ecx
movzx ecx, word [esi]
cmp ax, cx
je 0x10152160
test cx, cx
jne 0x1015212c
add esi, 2
cmp word [esi], 0
je 0x101520c5
jmp 0x1015212c
cmp edi, dword [esp + 0x20]
je 0x10152114
movzx ecx, word [edi]
test bl, bl
je 0x101520f0
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.1015e890
mov edx, dword [esp + 0x14]
movzx eax, ax
jmp 0x101520f2
mov eax, ecx
cmp ax, word [esi]
jne 0x10152114
add esi, 2
add edi, 2
cmp word [esi], 0
jne 0x101520d0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1c], 0
je 0x10152175
mov eax, edx
jmp 0x1015251d
cmp word [esi], 0
je 0x10152103
lea ebx, [ebx]
add esi, 2
cmp word [esi], 0
jne 0x10152120
add esi, 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 8]
jb 0x10152090
mov ecx, dword [esp + 0x14]
movzx ecx, word [ecx]
test bl, bl
je 0x10152187
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.1015e890
movzx ebx, ax
mov dword [esp + 0x20], ebx
jmp 0x1015218f
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x1c], 0
mov eax, edi
jne 0x1015251d
jmp 0x1015251a
lea eax, [edx + 2]
cmp edi, edx
je 0x1015251d
mov eax, edi
jmp 0x1015251d
mov edx, ecx
mov dword [esp + 0x20], edx
mov ebx, ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x101521a5
cmp dword [edi + 0x10], ecx
je 0x101524d7
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ecx
mov word [esp + 0x2c], dx
mov dword [esp + 0x70], ecx
cmp eax, ecx
je 0x1015234b
mov eax, dword [esp + 0x28]
test dword [eax + 0x18], 0x200000
jne 0x101521e8
mov edi, 1
xor ecx, ecx
mov word [esp + 0x2c], bx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2e], cx
jmp 0x10152236
xor edx, edx
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x1e], dx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov word [esp + 0x24], bx
call fcn.1014c100
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 1
call fcn.10008280
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x70], 0
jb 0x10152232
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x1015234b
xor ecx, ecx
cmp cx, word [esi]
jne 0x10152269
test edi, edi
je 0x101522a0
cmp edi, 1
jne 0x10152269
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x10152264
lea eax, [esp + 0x2c]
cmp word [eax], cx
je 0x101522a0
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10152270
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.100077b0
test eax, eax
js 0x10152320
mov edi, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x101522a0
add esi, 2
xor edx, edx
cmp dx, word [esi]
jne 0x101522d0
test edi, edi
je 0x101522f6
cmp edi, 1
jne 0x101522d0
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x101522cb
lea eax, [esp + 0x2c]
cmp word [eax], dx
je 0x101522f6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101522d5
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.100077b0
test eax, eax
jg 0x10152330
cmp byte [ebp + 0x1c], 0
mov esi, dword [esp + 0x14]
jne 0x10152303
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x10152317
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x1015251d
add esi, 2
cmp word [esi], 0
jne 0x10152320
add esi, 2
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x10152330
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x1015234b
mov edi, dword [esp + 0x3c]
jmp 0x10152245
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x10152498
mov dx, word [esp + 0x20]
xor eax, eax
lea ecx, [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x1c], dx
lea edx, [esp + 0x1c]
mov word [esp + 0x1e], ax
push edx
lea eax, [esp + 0x50]
push eax
call fcn.10151e80
mov edi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 2
mov ebx, 8
cmp ecx, edi
je 0x101523f8
cmp dword [esp + 0x40], ebx
jb 0x101523a9
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], ax
cmp dword [edi + 0x14], ebx
jae 0x101523dc
mov eax, dword [edi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x30]
push edi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x101523e4
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [edi], ebp
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x40], edx
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], ebx
jb 0x10152410
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
cmp dword [ebx + 0x10], ebp
jbe 0x10152498
mov edi, edi
mov edi, dword [esp + 0x3c]
xor edx, edx
cmp dx, word [esi]
jne 0x10152460
test edi, edi
je 0x101524f3
cmp edi, 1
jne 0x10152460
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x10152457
lea eax, [esp + 0x2c]
cmp word [eax], dx
je 0x101524f3
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10152465
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.100077b0
test eax, eax
je 0x101524f3
add esi, 2
cmp word [esi], 0
jne 0x10152486
inc ebp
add esi, 2
cmp ebp, dword [ebx + 0x10]
jb 0x10152430
cmp dword [esp + 0x40], 8
mov dword [esp + 0x70], 0xffffffff
jb 0x101524b4
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], dx
mov eax, dword [edi + 0x14]
push eax
push ebx
mov ecx, ebp
call fcn.10149f60
cmp al, 1
jne 0x101524fc
cmp byte [edi + 0x1c], 0
mov eax, dword [esp + 0x14]
jne 0x1015251d
jmp 0x1015251a
cmp byte [ebx + 0x1c], 0
jmp 0x101522fa
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10152510
push eax
push ebx
mov ecx, ebp
call fcn.10149f60
test al, al
je 0x101524e7
cmp byte [edi + 0x1c], 0
mov eax, dword [esp + 0x14]
je 0x1015251d
add eax, 2
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.10148524
add esp, 0x60
ret 0xc