Function at 0x10154250
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 ebx, dword [esp + 0x80]
mov edi, edx
mov edx, dword [esp + 0x78]
mov eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
lea esi, [edi + 0x20]
cmp edx, dword [esp + 0x7c]
je 0x101547b7
cmp dword [edi + 8], 0
mov ebp, dword [ebx + 0x10]
mov bl, byte [esp + 0x84]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], 0
jbe 0x101543a6
lea ebx, [ebx]
cmp word [esi], 0
mov edi, edx
mov dword [esp + 0x18], edi
jne 0x10154320
movzx ecx, word [edx]
test bl, bl
je 0x101542f6
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.1015e890
mov edx, dword [esp + 0x78]
movzx eax, ax
jmp 0x101542f8
mov eax, ecx
movzx ecx, word [esi]
cmp ax, cx
je 0x101543c0
test cx, cx
jne 0x10154390
lea ecx, [ecx]
add esi, 2
cmp word [esi], 0
je 0x10154310
jmp 0x10154390
cmp edi, dword [esp + 0x7c]
je 0x10154377
movzx ecx, word [edi]
test bl, bl
je 0x1015433c
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.1015e890
movzx eax, ax
jmp 0x1015433e
mov eax, ecx
cmp ax, word [esi]
jne 0x10154377
add esi, 2
add edi, 2
cmp word [esi], 0
mov dword [esp + 0x18], edi
jne 0x10154320
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x1c], 0
jne 0x1015436c
cmp edi, dword [esp + 0x78]
jne 0x101543e0
add dword [esp + 0x78], 2
lea eax, [esp + 0x78]
mov ecx, dword [eax]
jmp 0x101547ca
cmp word [esi], 0
je 0x10154353
lea ecx, [ecx]
add esi, 2
cmp word [esi], 0
jne 0x10154380
mov edx, dword [esp + 0x78]
add esi, 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 8]
jb 0x101542d0
movzx ecx, word [edx]
test bl, bl
je 0x101543eb
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.1015e890
movzx ebx, ax
mov dword [esp + 0x18], ebx
jmp 0x101543f3
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1c], 0
jne 0x101543d5
cmp edi, edx
jne 0x101543e0
add edx, 2
mov dword [esp + 0x78], edx
lea eax, [esp + 0x78]
mov ecx, dword [eax]
jmp 0x101547ca
lea eax, [esp + 0x18]
mov ecx, dword [eax]
jmp 0x101547ca
mov edx, ecx
mov dword [esp + 0x18], edx
mov ebx, ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x10154409
cmp dword [edi + 0x10], ecx
je 0x10154748
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 0x101545bd
mov eax, dword [esp + 0x28]
test dword [eax + 0x18], 0x200000
jne 0x1015444c
mov edi, 1
xor ecx, ecx
mov word [esp + 0x2c], bx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2e], cx
jmp 0x1015449a
xor edx, edx
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x18]
mov word [esp + 0x1a], dx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov word [esp + 0x20], 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 0x10154496
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 0x101545bd
lea esp, [esp]
xor ecx, ecx
cmp cx, word [esi]
jne 0x101544d4
test edi, edi
je 0x10154510
cmp edi, 1
jne 0x101544d4
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x101544cf
lea eax, [esp + 0x2c]
cmp word [eax], cx
je 0x10154510
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101544e0
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 0x10154596
mov edi, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x10154510
add esi, 2
xor edx, edx
cmp dx, word [esi]
jne 0x10154540
test edi, edi
je 0x10154566
cmp edi, 1
jne 0x10154540
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x1015453b
lea eax, [esp + 0x2c]
cmp word [eax], dx
je 0x10154566
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10154545
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 0x101545a2
cmp byte [ebp + 0x1c], 0
jne 0x10154571
add dword [esp + 0x78], 2
cmp dword [esp + 0x40], 8
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov dword [esi], eax
jb 0x1015458f
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x101547d0
add esi, 2
cmp word [esi], 0
jne 0x10154596
add esi, 2
add esi, 2
cmp word [esi], 0
jne 0x101545a2
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x101545bd
mov edi, dword [esp + 0x3c]
jmp 0x101544b0
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x10], 0
je 0x10154709
mov ax, word [esp + 0x18]
xor ecx, ecx
lea edx, [esp + 0x16]
mov word [esp + 0x14], ax
push edx
mov word [esp + 0x1a], cx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.10151e80
mov edi, eax
lea edx, [esp + 0x2c]
mov byte [esp + 0x70], 2
mov ebx, 8
cmp edx, edi
je 0x1015466a
cmp dword [esp + 0x40], ebx
jb 0x1015461b
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], cx
cmp dword [edi + 0x14], ebx
jae 0x1015464e
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x30]
push edi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x10154656
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
mov dword [edi], ebp
mov edx, dword [edi + 0x10]
mov dword [esp + 0x3c], edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], ebx
jb 0x10154682
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
cmp dword [ebx + 0x10], ebp
jbe 0x10154709
mov edi, dword [esp + 0x3c]
xor eax, eax
cmp ax, word [esi]
jne 0x101546d1
test edi, edi
je 0x10154760
cmp edi, 1
jne 0x101546d1
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x101546c7
lea eax, [esp + 0x2c]
cmp word [eax], 0
je 0x10154760
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101546d6
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 0x10154760
add esi, 2
cmp word [esi], 0
jne 0x101546f7
inc ebp
add esi, 2
cmp ebp, dword [ebx + 0x10]
jb 0x101546a0
cmp dword [esp + 0x40], 8
mov dword [esp + 0x70], 0xffffffff
jb 0x10154725
mov eax, dword [esp + 0x2c]
push eax
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 + 0x18]
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
mov edx, dword [edi + 0x14]
push edx
push ebx
mov ecx, ebp
call fcn.10149f60
cmp al, 1
jne 0x10154791
cmp byte [edi + 0x1c], 0
jne 0x101547c6
jmp 0x101547c1
cmp byte [ebx + 0x1c], 0
jne 0x1015476b
add dword [esp + 0x78], 2
cmp dword [esp + 0x40], 8
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov dword [esi], ecx
jb 0x1015458f
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x101547d0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x101547bb
push eax
push ebx
mov ecx, ebp
call fcn.10149f60
test al, al
jne 0x101547bb
cmp byte [edi + 0x1c], al
jne 0x101547af
add dword [esp + 0x78], 2
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax], edx
jmp 0x101547d0
cmp byte [edi + 0x1c], 0
je 0x101547c6
add dword [esp + 0x78], 2
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
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 0x10