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

Disassembly:
push 0xffffffffffffffff
push 0x1015fdb0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10438fc0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
add dword [esi + 0x4c], 2
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x48]
jne 0x1015b44d
mov edx, dword [str.Character_set_declaration_starting_with___terminated_prematurely___either_no___was_found_or_the_set_had_no_content.]
xor ebx, ebx
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1015b3e5
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.1000aa70
mov edi, dword [esi + 0x4c]
sub edi, dword [esi + 0x44]
lea eax, [esp + 0x64]
sar edi, 1
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push eax
mov dword [esp + 0xb8], ebx
mov byte [ecx], 0
call fcn.10008690
push edi
push 7
mov ecx, esi
call fcn.1014eba0
cmp dword [esp + 0x78], 0x10
jb 0x1015b446
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1015b553
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov word [esp + 0x3c], cx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x48], 1
mov dword [esp + 0x8c], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 4]
mov ebp, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp byte [eax + 0x11], 0
mov edi, dword [esi + 0x4c]
movzx ecx, word [edi]
jne 0x1015b4c5
nop
cmp word [eax + 0xc], cx
jae 0x1015b4bb
mov eax, dword [eax + 8]
jmp 0x1015b4bf
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x11], 0
je 0x1015b4b0
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], edx
cmp edx, eax
je 0x1015b4dc
cmp cx, word [edx + 0xc]
jb 0x1015b4dc
lea eax, [esp + 0x60]
jmp 0x1015b4e4
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x1015b4ef
xor eax, eax
jmp 0x1015b4f3
movzx eax, byte [eax + 0xe]
movzx eax, al
add eax, 0xfffffffc
cmp eax, 8
ja case.0x1015b4fe.5
jmp dword [eax*4 + 0x1015b660]
cmp edi, dword [esp + 0x18]
jne 0x1015b60b
lea eax, [edi + 2]
mov byte [esp + 0x3c], 1
mov dword [esi + 0x4c], eax
mov dword [esp + 0x14], eax
jmp 0x1015b536
cmp edi, dword [esp + 0x14]
jne 0x1015b615
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10159fa0
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [esi + 0x48]
jne 0x1015b498
cmp ecx, dword [esi + 0x48]
lea ecx, [esp + 0x1c]
setne bl
call fcn.10151eb0
mov al, bl
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10148524
add esp, 0x7c
ret
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.1015a110
test al, al
jne 0x1015b536
lea ecx, [esp + 0x1c]
call fcn.10151eb0
mov al, 1
jmp 0x1015b553
lea eax, [edi + 2]
mov dword [esi + 0x4c], eax
movzx edx, word [eax]
push edx
mov ecx, ebx
call fcn.1014e4f0
mov ecx, dword [esi + 4]
cmp al, 0x16
jne 0x1015b5cf
mov eax, dword [esi + 0x4c]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.1014fe10
test eax, eax
je 0x1015b607
or dword [esp + 0x40], eax
add dword [esi + 0x4c], 2
mov byte [esp + 0x48], 0
jmp 0x1015b536
mov edx, dword [esi + 0x4c]
movzx eax, word [edx]
push eax
call fcn.1014e4f0
cmp al, 0x17
jne 0x1015b607
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
lea edx, [eax + 2]
push edx
push eax
call fcn.1014fe10
test eax, eax
je 0x1015b607
or dword [esp + 0x44], eax
add dword [esi + 0x4c], 2
mov byte [esp + 0x48], 0
jmp 0x1015b536
add dword [esi + 0x4c], 0xfffffffe
lea edx, [esp + 0x1c]
push edx
jmp 0x1015b52f
add dword [esi + 0x4c], 2
cmp byte [esp + 0x3d], 0
push 0
mov ecx, esi
je 0x1015b62b
lea edx, [esp + 0x20]
push edx
jmp 0x1015b630
lea eax, [esp + 0x20]
push eax
call fcn.10152ec0
test eax, eax
jne 0x1015b585
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x44]
sar ecx, 1
push ecx
push 4
mov ecx, esi
call fcn.1014f980
lea ecx, [esp + 0x1c]
call fcn.10151eb0
xor al, al
jmp 0x1015b553