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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x408826
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, dword [esp + 0x94]
xor ebp, ebp
push edi
cmp esi, ebp
je 0x405396
lea ecx, [esp + 0x34]
call fcn.004075fc
lea ecx, [esp + 0x38]
mov dword [esp + 0x90], ebp
call fcn.004075fc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 1
call fcn.004056b0
push 0xa
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 2
call fcn.004058b0
mov edi, 0x409888
push ebp
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 3
mov dword [esp + 0x34], edi
call fcn.004062e0
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], 4
call fcn.00406510
test al, al
jne 0x404f9d
mov dword [esp + 0x30], edi
mov ebx, 5
mov dword [esp + 0x90], ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0x409874
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 8
call fcn.00405db0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0x40947c
mov byte [esp + 0x90], 6
call fcn.004056d0
jmp 0x405372
push str.UpdateData
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x64], ebp
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 9
call fcn.00406610
test al, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4052b5
push str.Head
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0xa
call fcn.00406670
test al, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4052b5
lea ecx, [esp + 0x30]
call fcn.004066e0
push str.FileName
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0xb
call fcn.00406670
test al, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4052b5
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404e70
mov edi, dword [esp + 0x9c]
push eax
mov ecx, edi
mov byte [esp + 0x94], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
push str.OperationFlag
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0xd
call fcn.00406670
test al, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4052b0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
call fcn.00404e70
push eax
lea ecx, [edi + 0x2c]
mov byte [esp + 0x94], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call fcn.00406720
push str.Body
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0xf
call fcn.00406670
test al, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4052b0
lea ecx, [esp + 0x30]
call fcn.004066e0
push str.BoidList
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x10
call fcn.00406670
test al, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4052b0
lea ecx, [esp + 0x30]
call fcn.004066e0
push str.Boid
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x11
call fcn.00406670
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x405267
lea esi, [edi + 4]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
call fcn.00404e70
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x98], 0x12
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
push str.Boid
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x11
call fcn.00406670
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4051fb
lea ecx, [esp + 0x30]
call fcn.00406720
push str.UpdateList
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x13
call fcn.00406670
test al, al
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 4
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40539d
mov edi, 0x409888
mov dword [esp + 0x30], edi
mov ebx, 0x22
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x409874
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x70]
mov byte [esp + 0x90], 0x25
cmp eax, ebp
je 0x405314
mov ecx, dword [esp + 0x74]
xor edi, edi
cmp ecx, ebp
jbe 0x405314
mov esi, dword [eax + edi*4]
cmp esi, ebp
je 0x40530b
lea edx, [esi + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x4052f6
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
inc edi
cmp edi, ecx
jb 0x4052ef
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
mov esi, 0x40947c
lea eax, [esp + 0x3c]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 0x40988c
mov eax, dword [esp + 0x40]
mov byte [esp + 0x90], 0x26
cmp eax, ebp
je 0x40536e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x405684
lea ecx, [esp + 0x30]
call fcn.004066e0
push str.Update
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x14
call fcn.00406670
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40559a
lea ecx, [esp + 0x30]
call fcn.004066e0
lea ecx, [esp + 0x28]
call fcn.004075fc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 0x15
call fcn.004075fc
push str.SourceFile
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0x16
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x17
call fcn.00406670
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x90], 0x16
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x405478
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404e70
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0x18
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0x16
call sub.MFC42.DLL_CString::CString
push str.DestinationFile
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x19
call fcn.00406670
lea ecx, [esp + 0x1c]
mov bl, al
mov byte [esp + 0x90], 0x16
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4054e2
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
push edx
call fcn.00404e70
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 0x16
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
cmp dword [eax - 8], ebp
jne 0x4054f4
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 8], ebp
jne 0x405532
sub esp, 8
lea edx, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push edx
mov ecx, esi
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x34]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x9c], 0x1b
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x18]
mov byte [esp + 0x98], 0x16
call fcn.00405cd0
lea ecx, [esp + 0x30]
call fcn.00406720
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
push str.Update
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x94], 0x14
call fcn.00406670
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4053e3
mov dword [esp + 0x30], 0x409888
mov ebx, 0x1d
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x409874
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x70]
mov byte [esp + 0x90], 0x20
cmp eax, ebp
je 0x4055fd
mov ecx, dword [esp + 0x74]
xor edi, edi
cmp ecx, ebp
jbe 0x4055fd
mov esi, dword [eax + edi*4]
cmp esi, ebp
je 0x4055f4
lea edx, [esi + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x4055df
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
inc edi
cmp edi, ecx
jb 0x4055d8
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
mov esi, 0x40947c
lea eax, [esp + 0x3c]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0x40988c
mov eax, dword [esp + 0x40]
mov byte [esp + 0x90], 0x21
cmp eax, ebp
je 0x405657
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], esi
mov byte [esp + 0x90], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret