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

Disassembly:
push 0xffffffffffffffff
push 0x4ffa64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
push esi
push edi
cmp ebp, ebx
mov edi, ecx
mov dword [esp + 0x40], str.ONSCRIPTLOAD
mov dword [esp + 0x44], str.ONSCRIPTEXIT
je 0x4631f4
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4631f4
push ebp
call dword [ebp + 0x50]
add esp, 4
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
lea ecx, [edi + 0x1c]
push eax
mov dword [esp + 0x3c], ebp
call fcn.0046b8a0
push esi
call dword [esi + 0x6c]
mov esi, dword [eax + 4]
add esp, 4
call sub.MFC42.DLL_AfxGetEmptyString
mov ecx, dword [eax]
push esi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0xa4], ebx
call sub.MFC42.DLL_CString::MakeUpper
lea edx, [esp + 0x10]
push 0x3a
lea eax, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [edi + 0xfc]
push eax
mov byte [esp + 0xa8], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi + 0x170]
xor edx, edx
mov esi, edx
push ebp
mov dword [esp + 0x3d], edx
mov dword [esp + 0x34], ecx
mov byte [esp + 0x38], 0x10
mov dword [esp + 0x3d], ebx
call dword [ebp + 0x58]
xor eax, esi
add esp, 4
and eax, 0xfffff
xor esi, eax
mov eax, dword [edi + 0x16c]
mov dword [esp + 0x35], esi
lea esi, [edi + 0x164]
push ebx
push eax
mov ecx, esi
call fcn.0046c170
mov edx, dword [esp + 0x34]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov dl, byte [esp + 0x3c]
mov byte [ecx + 8], dl
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x462bbb
mov dword [ecx], eax
jmp 0x462bbe
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [edi + 0x16c]
add eax, 8
lea ecx, [edi + 0x1b8]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 2
jmp 0x462bec
xor ebx, ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x462eb1
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x170]
mov dword [ecx], eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0xac], 2
call fcn.0046b530
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 + 0x34]
push str.Set__sNew__s__s:Set__s._s_s:Set__s_s
push edx
mov byte [esp + 0xcc], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x28
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_CString::CString
cmp dword [edi + 0x13c], ebx
je 0x462d70
xor eax, eax
mov dword [edi + 0x13c], ebx
mov ebx, eax
push ebp
mov dword [esp + 0x51], eax
mov eax, dword [edi + 0x18c]
mov byte [esp + 0x4c], 0x1e
mov dword [esp + 0x51], eax
call dword [ebp + 0x58]
mov ecx, dword [esi + 8]
add esp, 4
xor eax, ebx
and eax, 0xfffff
push 0
xor ebx, eax
push ecx
mov ecx, esi
mov dword [esp + 0x51], ebx
call fcn.0046c170
mov ecx, dword [esp + 0x48]
lea edx, [eax + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov cl, byte [esp + 0x50]
mov byte [edx + 8], cl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x462cf6
mov dword [ecx], eax
jmp 0x462cf9
mov dword [esi + 4], eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov dword [esi + 8], eax
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 4
mov eax, dword [eax - 8]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0x5df710
call fcn.004928f0
push eax
lea ecx, [edi + 0x180]
mov byte [esp + 0xa8], 5
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_CString::CString
jmp 0x462de1
mov eax, dword [edi + 0x18c]
xor edx, edx
mov ebx, edx
push ebp
mov dword [esp + 0x5d], edx
mov byte [esp + 0x58], 2
mov dword [esp + 0x5d], eax
call dword [ebp + 0x58]
xor eax, ebx
add esp, 4
and eax, 0xfffff
mov ecx, esi
xor ebx, eax
mov eax, dword [esi + 8]
push 0
push eax
mov dword [esp + 0x5d], ebx
call fcn.0046c170
mov edx, dword [esp + 0x54]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], edx
mov dl, byte [esp + 0x5c]
mov byte [ecx + 8], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x462dcb
mov dword [ecx], eax
jmp 0x462dce
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x180]
call sub.MFC42.DLL_CStringList::AddTail
mov eax, dword [edi + 0x170]
xor ecx, ecx
mov ebx, ecx
add eax, 2
mov dword [esp + 0x65], ecx
push ebp
mov byte [esp + 0x64], 0xc
mov dword [esp + 0x69], eax
call dword [ebp + 0x58]
mov edx, dword [esi + 8]
xor eax, ebx
add esp, 4
and eax, 0xfffff
xor ebx, eax
mov ecx, esi
push 0
push edx
mov dword [esp + 0x69], ebx
call fcn.0046c170
mov edx, dword [esp + 0x60]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
mov dword [ecx + 4], edx
mov dl, byte [esp + 0x68]
mov byte [ecx + 8], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x462e3f
mov dword [ecx], eax
jmp 0x462e42
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov ebx, eax
push ebp
mov dword [esp + 0x75], eax
mov byte [esp + 0x70], 0x17
mov dword [esp + 0x75], eax
call dword [ebp + 0x58]
mov ecx, dword [esi + 8]
add esp, 4
xor eax, ebx
and eax, 0xfffff
push 0
xor ebx, eax
push ecx
mov ecx, esi
mov dword [esp + 0x75], ebx
call fcn.0046c170
mov ecx, dword [esp + 0x6c]
lea edx, [eax + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [edx + 4], ecx
mov cl, byte [esp + 0x74]
mov byte [edx + 8], cl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x462e9a
mov dword [ecx], eax
jmp 0x462e9d
mov dword [esi + 4], eax
lea ecx, [esp + 0x14]
mov dword [esi + 8], eax
mov byte [esp + 0xa4], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x462bea
mov edx, dword [esp + 0x10]
mov esi, dword [edi + 0x170]
push edx
lea ecx, [edi + 0x70]
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov dword [eax], esi
mov dword [esp + 0x78], 0x507704
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 7
call fcn.00445852
mov dword [esp + 0x78], 0x5380e0
lea ecx, [esp + 0x10]
lea eax, [edi + 0x100]
push ecx
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0xb0], 8
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0xa4], 9
push eax
mov dword [esp + 0x30], eax
lea esi, [edi + 0x8c]
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x462fc1
mov ebx, dword [eax + edx*4]
test ebx, ebx
je 0x462fc1
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x462f8c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x462f6e
jmp 0x462fc1
test ebx, ebx
je 0x462fc1
lea edx, [ebx + 0x10]
lea ecx, [esp + 0x7c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebx + 0x14]
add ebx, 0x1c
mov dword [esp + 0x80], eax
mov ecx, dword [ebx - 4]
mov dword [esp + 0x84], ecx
push ebx
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x170]
lea edx, [esp + 0x10]
mov dword [esp + 0x80], eax
lea eax, [edi + 0x100]
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0xa4], 0xa
push eax
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x20], edx
je 0x463042
mov ebx, dword [eax + edx*4]
test ebx, ebx
je 0x463042
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x46303e
mov ebx, dword [ebx]
test ebx, ebx
jne 0x463020
jmp 0x463042
test ebx, ebx
jne 0x463085
mov eax, dword [esi + 4]
test eax, eax
jne 0x463056
mov edx, dword [esi + 8]
push 1
push edx
mov ecx, esi
call fcn.0044e7c0
mov ecx, esi
call fcn.0044e830
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x20]
push ecx
lea ecx, [ebx + 8]
mov dword [ebx + 4], eax
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
mov dword [ebx], ecx
mov edx, dword [esi + 4]
mov dword [edx + eax*4], ebx
lea eax, [esp + 0x7c]
lea ecx, [ebx + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x88]
mov dword [ebx + 0x14], ecx
mov edx, dword [esp + 0x84]
push eax
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x18], edx
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 8
call sub.MFC42.DLL_CString::CString
push ebp
mov esi, 1
call dword [ebp + 0x44]
add esp, 4
cmp eax, esi
jbe 0x463106
push esi
push ebp
call dword [ebp + 0x38]
add esp, 8
cmp esi, 1
mov ebx, eax
jne 0x4630f2
push ebx
call dword [ebx + 0x50]
add esp, 4
cmp eax, 0x66
je 0x4630fa
push ebx
mov ecx, edi
call fcn.00468530
push ebp
inc esi
call dword [ebp + 0x44]
add esp, 4
cmp esi, eax
jb 0x4630d7
push 0x5b2c3c
lea ecx, [edi + 0xfc]
call sub.MFC42.DLL_CString::operator_2
push ebp
mov ecx, edi
call fcn.0045ff70
mov eax, dword [edi + 0x28]
xor esi, esi
xor ebx, ebx
cmp eax, esi
je 0x46317c
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
cmp eax, esi
mov dword [edi + 0x20], eax
je 0x463144
mov dword [eax + 4], esi
jmp 0x463147
mov dword [edi + 0x24], esi
mov eax, dword [edi + 0x2c]
mov dword [ecx], eax
mov eax, dword [edi + 0x28]
dec eax
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x28], eax
jne 0x46317c
mov eax, dword [edi + 0x20]
cmp eax, esi
je 0x463165
mov eax, dword [eax]
cmp eax, esi
jne 0x46315f
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x20], esi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [edi + 0x30], esi
cmp ebx, ebp
je 0x463197
push esi
push 0x451
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0045e5b0
push 1
mov ecx, edi
call fcn.00463220
mov edi, dword [edi + 0x170]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub edi, eax
mov dword [ecx + 5], edi
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 0xc
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0x507704
mov dword [esp + 0xa4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 4