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

Disassembly:
push 0xffffffffffffffff
push 0x1000bf56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x90]
mov dword [esp + 0x20], ebx
call fcn.1000a2a0
mov al, byte [esp + 0x27]
mov dword [esp + 0xd8], ebx
mov word [esp + 0x4c], bx
mov word [esp + 0x4e], bx
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov cl, byte [esp + 0x27]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], cl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0xf8]
mov byte [esp + 0xd8], 2
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x10008647
mov edx, dword [esp + 0x3c]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x90]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xd8], 0xffffffff
call fcn.1000a2f0
mov eax, 1
jmp 0x10008d1a
mov cx, word [esi]
mov edi, dword [esp + 0x100]
mov ebp, dword [esp + 0xfc]
lea edx, [esp + 0x38]
mov word [esp + 0x4c], cx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
push edi
lea edx, [esp + 0x5c]
push ebp
push edx
call fcn.10007ef0
mov ecx, dword [esp + 0x44]
add esp, 0x18
cmp ecx, ebx
jne 0x10008689
mov dword [esp + 0x60], ebx
jmp 0x10008696
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jne 0x100086a4
mov dword [esp + 0x54], ebx
jmp 0x100086b1
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x10008758
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0xf4]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0xf4]
add esi, 2
push edi
push ebp
push esi
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x100]
push edx
push eax
push ecx
mov dword [esp + 0x74], ebx
call fcn.10008570
mov edx, dword [esp + 0x68]
mov esi, eax
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], ebx
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call sub.MFC42.DLL_operatordelete
add esp, 0x34
lea ecx, [esp + 0x90]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xd8], 0xffffffff
call fcn.1000a2f0
mov eax, esi
jmp 0x10008d1a
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xf4]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0xf4]
push edx
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [esp + 0xf4]
dec edx
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xf4]
push ecx
lea ecx, [esp + 0xa0]
mov eax, dword [edx]
push eax
call fcn.1000a300
lea ecx, [esp + 0x90]
call fcn.1000a760
mov ebp, eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x48], ebp
call fcn.1000a780
push eax
mov ecx, ebp
call fcn.1000a7b0
test eax, eax
je 0x10008cd0
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x108]
jmp 0x100087dd
mov ebp, dword [esp + 0x48]
xor ebx, ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], 1
call fcn.1000a2a0
mov ecx, ebp
mov byte [esp + 0xd8], 3
mov dword [esp + 0x10], ebx
call fcn.1000a790
mov ecx, ebp
mov ebx, eax
call fcn.1000a7a0
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esi + 0x30]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
add ecx, ebx
add edx, eax
cmp ecx, ebp
jl 0x10008828
lea ecx, [ebp - 1]
mov ebp, dword [esi + 0x34]
cmp edx, ebp
jge 0x10008833
mov ebp, edx
jmp 0x10008834
dec ebp
mov edx, dword [esi + 0x3c]
imul edx, ebp
mov ebp, dword [esi + 0x38]
imul ebp, ecx
mov ecx, dword [esi + 0x40]
add edx, ebp
add ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
add edx, eax
mov dword [esp + 0x64], edx
mov eax, dword [ecx]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x7c]
push ecx
add eax, ebx
push edx
push esi
mov dword [esp + 0x88], eax
call fcn.10006380
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10005760
lea edx, [esp + 0x74]
push edi
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.10005760
add esp, 0x24
test eax, eax
jne 0x10008c6c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x84]
lea ecx, [esp + 0x6c]
push eax
add edx, ebx
push ecx
push esi
mov dword [esp + 0x78], edx
call fcn.10006380
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x5c]
push edi
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10005760
lea ecx, [esp + 0x68]
push edi
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.10005760
add esp, 0x24
test eax, eax
je 0x10008c6c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
mov edx, dword [eax + ecx*8 - 4]
add edx, ebp
mov dword [esp + 0x8c], edx
mov eax, dword [eax + ecx*8 - 8]
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x78]
push ecx
add eax, ebx
push edx
push esi
mov dword [esp + 0x84], eax
call fcn.10006380
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10005760
lea edx, [esp + 0x70]
push edi
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.10005760
add esp, 0x24
test eax, eax
jne 0x10008c6c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [eax + edx*8 - 4]
mov eax, dword [eax + edx*8 - 8]
mov edx, dword [esi + 0x30]
add eax, ebx
add ecx, ebp
cmp eax, edx
jl 0x1000898b
lea eax, [edx - 1]
mov edx, dword [esi + 0x34]
cmp ecx, edx
jl 0x10008995
lea ecx, [edx - 1]
imul ecx, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
add ecx, eax
add edx, ecx
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x20], edx
call fcn.10005760
lea edx, [esp + 0x20]
push edi
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10005760
add esp, 0x18
test eax, eax
je 0x10008c6c
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
cmp ebp, eax
mov dword [esp + 0x14], ecx
je 0x10008b4f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp edx, ecx
je 0x10008ada
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x30]
add ecx, eax
mov eax, dword [ebp]
add eax, ebx
cmp eax, edx
jl 0x10008a13
lea eax, [edx - 1]
mov edx, dword [esi + 0x34]
cmp ecx, edx
jl 0x10008a1d
lea ecx, [edx - 1]
imul ecx, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
add ecx, eax
mov eax, dword [esi + 0x40]
add eax, ecx
lea ecx, [esp + 0x18]
push edi
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.10005760
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10005760
add esp, 0x18
test eax, eax
jne 0x10008c6c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, ebx
add eax, dword [edx]
mov edx, dword [esi + 0x30]
cmp eax, edx
jl 0x10008a76
lea eax, [edx - 1]
mov edx, dword [esi + 0x34]
cmp ecx, edx
jl 0x10008a80
lea ecx, [edx - 1]
imul ecx, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
add ecx, eax
add edx, ecx
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.10005760
lea edx, [esp + 0x24]
push edi
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10005760
add esp, 0x18
test eax, eax
je 0x10008c6c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
add ebp, 8
add edx, 8
cmp ebp, eax
mov dword [esp + 0x14], edx
jne 0x100089eb
jmp 0x10008b4f
cmp ebp, eax
je 0x10008b4f
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x30]
add ecx, eax
mov eax, dword [ebp]
add eax, ebx
cmp eax, edx
jl 0x10008af6
lea eax, [edx - 1]
mov edx, dword [esi + 0x34]
cmp ecx, edx
jl 0x10008b00
lea ecx, [edx - 1]
imul ecx, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
add ecx, eax
add edx, ecx
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.10005760
lea edx, [esp + 0x24]
push edi
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10005760
add esp, 0x18
test eax, eax
jne 0x10008b47
mov eax, dword [esp + 0x40]
add ebp, 8
cmp ebp, eax
jne 0x10008ade
jmp 0x10008b4f
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x10008bd3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
mov edx, dword [esi + 0x30]
add ecx, eax
mov eax, ebx
add eax, ebp
cmp eax, edx
jl 0x10008b78
lea eax, [edx - 1]
mov edx, dword [esi + 0x34]
cmp ecx, edx
jl 0x10008b82
lea ecx, [edx - 1]
imul ecx, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
add ecx, eax
add edx, ecx
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.10005760
lea edx, [esp + 0x24]
push edi
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10005760
add esp, 0x18
test eax, eax
je 0x10008c6c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
add eax, 8
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x10008b5b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10008c74
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
push edi
mov ebp, dword [esp + 0xe8]
lea eax, [edx + ecx - 1]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xfc]
lea edx, [ebx + ecx - 1]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x104]
add eax, 2
push edx
push ecx
mov dword [esp + 0x108], eax
push eax
mov eax, dword [esp + 0x104]
lea edx, [esp + 0x94]
lea ecx, [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x84]
push ecx
push edx
push ebp
push esi
mov dword [esp + 0xb4], 0
call fcn.10008570
add esp, 0x2c
mov dword [esp + 0x20], eax
test eax, eax
jne 0x10008cb0
jmp 0x10008c74
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 2
call fcn.1000a2f0
mov ebx, dword [esp + 0x48]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax]
lea ecx, [esp + 0x90]
call fcn.1000a780
push eax
mov ecx, ebx
call fcn.1000a7b0
test eax, eax
jne 0x100087d7
jmp 0x10008cce
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ebx
mov dword [ebp + 4], ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 2
call fcn.1000a2f0
xor ebx, ebx
mov edx, dword [esp + 0x3c]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x90]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xd8], 0xffffffff
call fcn.1000a2f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret