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

Disassembly:
push 0xffffffffffffffff
push 0x4fb587
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x68]
call fcn.0044e9a0
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa8], esi
call fcn.0044e9a0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 1
call fcn.0044e9a0
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 4
call sub.MFC42.DLL_CString::CString_4
push str._start_:0__num_:99999__id_:1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 5
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0xb0]
push esi
push eax
lea ecx, [esp + 0x6c]
push 7
push ecx
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esp + 0xc0]
push 0x27
push edi
mov ecx, ebp
call fcn.004930b0
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x49a715
push 0x52630c
lea ecx, [esp + 0x68]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x4c]
call fcn.0044f040
lea ecx, [esp + 0x48]
call fcn.0044f140
xor ecx, ecx
cmp eax, 6
sete cl
mov eax, ecx
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x49a69a
mov ecx, ebp
call fcn.0048e370
mov ecx, dword [ebp + 0x28]
cmp ecx, esi
je 0x49a12e
mov edx, ecx
mov ecx, dword [ecx]
mov edx, dword [edx + 8]
cmp dword [edx + 4], edi
jne 0x49a12a
mov ebx, eax
sub ebx, dword [edx + 0xa0]
cmp ebx, 0x708
jle 0x49a12a
mov dword [edx], esi
cmp ecx, esi
jne 0x49a10c
mov ecx, ebp
call fcn.0048e370
push 0x52c618
lea ecx, [esp + 0x68]
mov dword [ebp + 0x68c], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x64]
mov dword [ebp + 0x700], eax
push str.buin
call fcn.0044fea0
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [ebp + edi*4 + 0x704]
mov byte [esp + 0xa8], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.0044fc80
test eax, eax
jbe 0x49a715
push esi
lea ecx, [esp + 0x4c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x38]
call fcn.0044f040
cmp edi, 1
push 0x526278
lea ecx, [esp + 0x38]
jne 0x49a1f1
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
test eax, eax
je 0x49a682
push eax
mov ecx, ebp
call fcn.00496f00
jmp 0x49a262
call fcn.0044fea0
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49a682
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00498100
test eax, eax
jne 0x49a682
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00496f20
push 0x52c61c
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.0044fea0
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x58]
mov byte [esp + 0xa4], 5
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x49a3a2
push 0x52c5c8
lea ecx, [esp + 0x38]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp eax, 1
jne 0x49a2e9
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.0049a7a0
mov esi, eax
test esi, esi
jne 0x49a3a2
push 0xb8
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x2e
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esi + 0xc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 6
xor eax, eax
lea edi, [esi + 0x54]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xac], ebx
mov eax, dword [ebp + 0x34]
mov edi, dword [ebp + 0x2c]
add esp, 4
cmp eax, ebx
jne 0x49a370
mov eax, dword [ebp + 0x3c]
push 0xc
lea ecx, [ebp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebp + 0x3c]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebx
lea eax, [eax + edx*4 - 8]
jl 0x49a370
inc ecx
mov edx, dword [ebp + 0x34]
mov dword [eax], edx
mov dword [ebp + 0x34], eax
sub eax, 0xc
dec ecx
jne 0x49a362
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp + 0x34], ecx
mov dword [eax + 4], edi
mov dword [eax], ebx
mov edi, dword [ebp + 0x30]
inc edi
mov dword [ebp + 0x30], edi
mov dword [eax + 8], ebx
mov dword [eax + 8], esi
mov ecx, dword [ebp + 0x2c]
cmp ecx, ebx
je 0x49a395
mov dword [ecx], eax
jmp 0x49a398
mov dword [ebp + 0x28], eax
mov edi, dword [esp + 0xac]
mov dword [ebp + 0x2c], eax
push 0x52c618
lea ecx, [esp + 0x38]
mov dword [esi + 4], edi
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp edi, 1
mov dword [esi + 0x7c], eax
jne 0x49a3ed
push 0x526278
lea ecx, [esp + 0x38]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, esp
mov dword [esp + 0x48], esp
push eax
push edx
mov dword [esi + 8], eax
call fcn.0040a7e0
add esp, 8
jmp 0x49a43a
lea ebx, [esi + 0xc]
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x526278
lea ecx, [esp + 0x38]
stosb byte es:[edi], al
call fcn.0044fea0
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0040c8b0
mov eax, dword [eax]
push 0x40
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
call fcn.004a0df0
mov dword [esi + 0xb4], eax
push 0x52c604
lea ecx, [esp + 0x38]
mov dword [esi + 0x50], 0
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [esi + 0x6c], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
push 0x52cafc
mov dword [esp + 0x34], 0
call fcn.0044fea0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCRT.dll_sscanf]
lea edx, [esp + 0x2c]
mov byte [esp + 0xa4], 9
push edx
push 0x52394c
push eax
call edi
fld qword [esp + 0x38]
fmul qword [0x504b20]
add esp, 0xc
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xa4], eax
push 0x52caf8
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.0044fea0
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 0xa
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push 0x52394c
push eax
call edi
fld qword [esp + 0x38]
fmul qword [0x504b20]
call sub.MSVCRT.dll__ftol
mov edi, dword [esi + 0x6c]
lea edx, [esi + 0x54]
cmp edi, 0xa
mov dword [esi + 0xa8], eax
sbb ecx, ecx
xor eax, eax
inc ecx
mov edi, edx
mov dword [esi + 0x70], ecx
mov ecx, 6
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
push 0x17
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
lea ecx, [esp + 0x34]
push 0x52c5c8
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov ecx, dword [esi + 0x7c]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push ecx
mov ecx, ebp
mov dword [esi + 0x84], eax
call fcn.004945b0
xor edi, edi
cmp eax, edi
je 0x49a5f0
mov ecx, 0x52c57c
mov edi, eax
mov bl, byte [edi]
mov dl, bl
cmp bl, byte [ecx]
jne 0x49a5da
test dl, dl
je 0x49a5c7
mov bl, byte [edi + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x49a5da
add edi, 2
add ecx, 2
test dl, dl
jne 0x49a5a7
xor ecx, ecx
xor edx, edx
test ecx, ecx
sete dl
mov dword [esi + 0x80], edx
xor edi, edi
jmp 0x49a5f6
sbb ecx, ecx
sbb ecx, 0xffffffff
xor edx, edx
test ecx, ecx
sete dl
mov dword [esi + 0x80], edx
xor edi, edi
jmp 0x49a5f6
mov dword [esi + 0x80], edi
push 0x52c628
lea ecx, [esp + 0x38]
mov dword [esi + 0xac], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [esi + 0x9c], eax
mov eax, dword [ebp + 0x1f0]
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, ebp
call fcn.00494430
cmp dword [eax], 6
jae 0x49a640
cmp dword [esi + 0x84], edi
je 0x49a640
mov eax, 1
jmp 0x49a642
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esi + 0x98], eax
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x8c], edi
mov dword [esi], 1
mov byte [esp + 0xa4], 5
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0x14]
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.0044fc80
cmp esi, eax
jb 0x49a1af
jmp 0x49a715
lea ecx, [esp + 0x48]
call fcn.0044f140
cmp eax, 4
jne 0x49a715
lea edx, [esp + 0x48]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040c8b0
mov eax, dword [eax]
push 0x5307a8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x10
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49a715
mov ecx, ebp
call fcn.0048e370
mov ebp, dword [ebp + 0x28]
cmp ebp, esi
je 0x49a70d
mov ecx, ebp
mov ebp, dword [ebp]
mov ecx, dword [ecx + 8]
cmp dword [ecx + 4], edi
jne 0x49a709
mov ebx, dword [ecx + 0xa0]
mov edx, eax
sub edx, ebx
cmp edx, 0x708
jle 0x49a709
mov dword [ecx], esi
cmp ebp, esi
jne 0x49a6e8
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 1
call fcn.0044eec0
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 0
call fcn.0044eec0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0044eec0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 8