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

Disassembly:
push 0xffffffffffffffff
push 0x80e030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xb4]
mov dword [esp + 0xa4], str.ONSCRIPTLOAD
mov dword [esp + 0xa8], str.ONSCRIPTEXIT
mov dword [esp + 0xac], 0x8bd670
mov dword [esp + 0xb0], str.ONTHREADEXIT
test ebx, ebx
rep stosd dword es:[edi], eax
je 0x7082fe
push eax
push ebx
call dword [ebx + 0x38]
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x7082fe
push ebx
call dword [ebx + 0x50]
lea esi, [ebp + 0x1c]
add esp, 4
mov edi, eax
mov ecx, esi
mov eax, dword [esi + 4]
push eax
push 0
call fcn.00712ca0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x707afb
mov dword [ecx + 4], eax
jmp 0x707afe
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
mov dword [esi + 4], eax
call fcn.007125e0
lea ecx, [esp + 0x10]
mov dword [esp + 0xec], 0
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0x10]
push 0x8bd670
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x707b59
push eax
push 0x4e6
push 1
push ebx
call dword [ebx + 0x58]
add esp, 4
mov ecx, ebp
push eax
call fcn.007022f0
jmp 0x7082ea
lea ecx, [esp + 0x10]
push 0x3a
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [ebp + 0x13c]
push eax
mov byte [esp + 0xf0], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x1b8]
xor esi, esi
mov dword [esp + 0x21], esi
push ebx
mov dword [esp + 0x7c], eax
mov edi, esi
mov byte [esp + 0x20], 0x10
mov dword [esp + 0x25], esi
call dword [ebx + 0x58]
mov ecx, dword [ebp + 0x180]
mov edx, dword [ebp + 0x1b4]
xor ecx, esi
xor eax, edi
and ecx, 1
add esp, 4
xor esi, ecx
and eax, 0xfffff
mov dword [esp + 0x25], esi
lea esi, [ebp + 0x1ac]
xor edi, eax
push 0
push edx
mov ecx, esi
mov dword [esp + 0x25], edi
call fcn.00701d60
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x28]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x707c0f
mov dword [ecx], eax
jmp 0x707c12
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x1b4]
add eax, 8
lea ecx, [ebp + 0x200]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xa4]
mov dword [ebp + 0x180], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0x10
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
test eax, eax
je 0x707f8f
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x707f8f
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1b8]
mov dword [ecx], eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0xf4], 2
call fcn.00712390
add esp, 8
mov ecx, dword [eax]
push str.F2730835_2229_445E_97C7_13F76l277lDA
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str.F2730835_2229_445E_97C7_13F76l2771DA
push str.F2730835_2229_445E_97C7_13F76l277lDA
push ecx
push str.F2730835_2229_445E_97C7_13F761277lDA
push str.F2730835_2229_445E_97C7_13F76l277lDA
lea edx, [esp + 0x50]
push str.Set__sNew__s__s:Set__s._s_s:Set__s_s
push edx
mov byte [esp + 0x114], 3
call sub.MFC42.DLL_CString::Format_1
add esp, 0x28
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x17c]
test eax, eax
je 0x707dfa
mov dword [ebp + 0x17c], 0
mov eax, dword [ebp + 0x1d4]
xor edi, edi
push ebx
mov dword [esp + 0x5d], edi
mov dword [esp + 0x59], edi
mov byte [esp + 0x58], 0x1e
mov dword [esp + 0x5d], eax
call dword [ebx + 0x58]
mov ecx, edi
add esp, 4
xor eax, ecx
and eax, 0xfffff
push 0
xor ecx, eax
mov eax, dword [ebp + 0x180]
xor eax, edi
mov dword [esp + 0x59], ecx
mov ecx, dword [esi + 8]
and eax, 1
xor edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x65], edi
call fcn.00701d60
mov ecx, dword [esp + 0x54]
lea edx, [eax + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [edx + 8], ecx
mov cl, byte [esp + 0x60]
mov byte [edx + 0xc], cl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x707d7d
mov dword [ecx], eax
jmp 0x707d80
mov dword [esi + 4], eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x38]
push edx
mov dword [esi + 8], eax
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 4
mov eax, dword [eax - 8]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, 0x1657b78
call fcn.0073fa80
push eax
lea ecx, [ebp + 0x1c8]
mov byte [esp + 0xf0], 5
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 2
call sub.MFC42.DLL_CString::CString
jmp 0x707e87
mov eax, dword [ebp + 0x1d4]
xor edi, edi
mov dword [esp + 0x69], edi
push ebx
mov dword [esp + 0x69], edi
mov byte [esp + 0x68], 2
mov dword [esp + 0x6d], eax
call dword [ebx + 0x58]
mov edx, dword [ebp + 0x180]
mov ecx, edi
xor eax, ecx
xor edx, edi
and eax, 0xfffff
add esp, 4
xor ecx, eax
mov eax, dword [esi + 8]
and edx, 1
mov dword [esp + 0x65], ecx
xor edi, edx
push 0
push eax
mov ecx, esi
mov dword [esp + 0x75], edi
call fcn.00701d60
mov edx, dword [esp + 0x64]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x70]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x707e71
mov dword [ecx], eax
jmp 0x707e74
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x1c8]
call sub.MFC42.DLL_CStringList::AddTail
mov eax, dword [ebp + 0x1b8]
xor edi, edi
add eax, 2
mov dword [esp + 0x49], edi
push ebx
mov dword [esp + 0x49], edi
mov byte [esp + 0x48], 0xc
mov dword [esp + 0x4d], eax
call dword [ebx + 0x58]
mov ecx, edi
mov edx, dword [esi + 8]
xor eax, ecx
add esp, 4
and eax, 0xfffff
xor ecx, eax
push 0
mov dword [esp + 0x49], ecx
mov ecx, dword [ebp + 0x180]
xor ecx, edi
push edx
and ecx, 1
xor edi, ecx
mov ecx, esi
mov dword [esp + 0x55], edi
call fcn.00701d60
mov edx, dword [esp + 0x44]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x50]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x707f01
mov dword [ecx], eax
jmp 0x707f04
mov dword [esi + 4], eax
xor edi, edi
push ebx
mov dword [esp + 0x25], edi
mov dword [esi + 8], eax
mov dword [esp + 0x21], edi
mov byte [esp + 0x20], 0x17
mov dword [esp + 0x25], edi
call dword [ebx + 0x58]
mov ecx, edi
add esp, 4
xor eax, ecx
and eax, 0xfffff
push 0
xor ecx, eax
mov eax, dword [ebp + 0x180]
xor eax, edi
mov dword [esp + 0x21], ecx
mov ecx, dword [esi + 8]
and eax, 1
xor edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x2d], edi
call fcn.00701d60
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 8], ecx
mov cl, byte [esp + 0x28]
mov byte [edx + 0xc], cl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x707f78
mov dword [ecx], eax
jmp 0x707f7b
mov dword [esi + 4], eax
lea ecx, [esp + 0x30]
mov dword [esi + 8], eax
mov byte [esp + 0xec], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], edx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jne 0x707c49
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x1b8]
push edx
lea ecx, [ebp + 0x78]
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], esi
mov dword [esp + 0x7c], 0x81b400
lea ecx, [esp + 0x80]
mov byte [esp + 0xec], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x84]
mov byte [esp + 0xec], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x90]
mov byte [esp + 0xec], 8
call fcn.0072b31a
xor edi, edi
mov dword [esp + 0x7c], 0x81df78
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
lea ecx, [esp + 0x10]
lea eax, [ebp + 0x140]
push ecx
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0xf8], 9
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov byte [esp + 0xec], 0xa
push eax
mov dword [esp + 0x40], eax
lea esi, [ebp + 0x94]
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x7080a2
mov edi, dword [eax + edx*4]
test edi, edi
je 0x7080a2
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x708091
mov edi, dword [edi]
test edi, edi
jne 0x708073
jmp 0x7080a2
test edi, edi
je 0x7080a2
add edi, 0xc
lea ecx, [esp + 0x7c]
push edi
call fcn.006ddaf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x1b8]
lea edx, [esp + 0x10]
mov dword [esp + 0x88], eax
lea eax, [ebp + 0x140]
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov byte [esp + 0xec], 0xb
push eax
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x18], edx
je 0x708123
mov edi, dword [eax + edx*4]
test edi, edi
je 0x708123
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x70811f
mov edi, dword [edi]
test edi, edi
jne 0x708101
jmp 0x708123
test edi, edi
jne 0x708190
mov eax, dword [esi + 4]
test eax, eax
jne 0x708161
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], eax
lea edi, [eax*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov ecx, esi
call fcn.00402734
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, eax
push edx
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + eax*4]
mov dword [edi], edx
mov ecx, dword [esi + 4]
mov dword [ecx + eax*4], edi
lea edx, [esp + 0x7c]
lea ecx, [edi + 0xc]
push edx
call fcn.006ddaf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 9
call sub.MFC42.DLL_CString::CString
push ebx
mov esi, 1
call dword [ebx + 0x44]
add esp, 4
cmp eax, esi
jbe 0x7081ed
push esi
push ebx
call dword [ebx + 0x38]
add esp, 8
cmp esi, 1
mov edi, eax
jne 0x7081d9
push edi
call dword [edi + 0x50]
add esp, 4
cmp eax, 0x6c
je 0x7081e1
push edi
mov ecx, ebp
call fcn.0070e610
push ebx
inc esi
call dword [ebx + 0x44]
add esp, 4
cmp esi, eax
jb 0x7081be
push 0x8bd670
lea ecx, [ebp + 0x13c]
call sub.MFC42.DLL_CString::operator_3
push ebx
mov ecx, ebp
call fcn.00703b80
mov eax, dword [ebp + 0x28]
xor esi, esi
xor edi, edi
cmp eax, esi
je 0x708265
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, eax
mov edi, dword [eax + 0xc]
mov eax, dword [ecx]
cmp eax, esi
mov dword [ebp + 0x20], eax
je 0x70822d
mov dword [eax + 4], esi
jmp 0x708230
mov dword [ebp + 0x24], esi
mov edx, dword [ebp + 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x28]
dec eax
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x28], eax
jne 0x708265
mov eax, dword [ebp + 0x20]
cmp eax, esi
je 0x70824e
mov eax, dword [eax]
cmp eax, esi
jne 0x708248
mov ecx, dword [ebp + 0x30]
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x20], esi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [ebp + 0x30], esi
cmp edi, ebx
je 0x708280
push esi
push 0x526
push 1
push ebx
call dword [ebx + 0x58]
add esp, 4
mov ecx, ebp
push eax
call fcn.007022f0
push 1
mov ecx, ebp
call fcn.007090d0
mov eax, dword [ebp + 0x1b8]
mov ecx, dword [esp + 0x78]
sub eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 5], eax
mov dword [ebp + 0x180], 1
lea ecx, [esp + 0x90]
mov byte [esp + 0xec], 0xe
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x84]
mov byte [esp + 0xec], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0xec], 0xc
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x7c], 0x81b400
lea ecx, [esp + 0x10]
mov dword [esp + 0xec], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 4