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

Disassembly:
push 0xffffffffffffffff
push 0x4666a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa4]
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, ebp
mov ebx, ecx
push edi
mov dword [esp + 0x24], ebx
mov edi, 1
je 0x40749a
cmp dword [esi + 0xc], ebp
push edi
jge 0x40748f
mov ecx, dword [esi + 0x10]
lea eax, [ecx - 1]
cdq
idiv ecx
mov edx, dword [esi + 0x18]
imul edx, ecx
mov dword [esi + 0x10], edx
mov edx, dword [esi]
imul eax, ecx
push eax
mov ecx, esi
call dword [edx + 4]
jmp 0x407497
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 8], ebp
push edi
push ebp
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x50], 0x46e310
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
call dword [0x46e314]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x64]
push ecx
push 0x40040038
push 0x20000000
push esi
mov dword [esp + 0xb0], ebp
mov byte [esp + 0x2f], 0
call sub.MILMOD.dll_Ordinal_108
cmp dword [esp + 0x54], ebp
push edi
jge 0x40753e
mov ecx, dword [esp + 0x5c]
lea eax, [ecx - 1]
cdq
idiv ecx
mov edx, dword [esp + 0x64]
imul edx, ecx
mov dword [esp + 0x5c], edx
imul eax, ecx
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x50]
call dword [eax + 4]
jmp 0x40754a
mov edx, dword [esp + 0x4c]
push ebp
lea ecx, [esp + 0x50]
call dword [edx + 4]
lea eax, [esp + 0x28]
push eax
push 0x403f1
push 0x20000000
push esi
mov dword [esp + 0x60], ebp
call sub.MILMOD.dll_Ordinal_108
mov al, byte [ebx + 0x6d]
test al, al
mov dword [esp + 0x18], ebp
je 0x4075f2
mov al, byte [ebx + 0x78]
test al, al
jne 0x4075f2
mov al, byte [esp + 0xc0]
test al, al
jne 0x4075f2
cmp dword [esp + 0x64], ebp
je 0x4075f2
lea ecx, [esp + 0x18]
push ecx
push 0x40038
push 0x20000000
push esi
call sub.MILMOD.dll_Ordinal_108
mov edx, dword [esp + 0x18]
lea eax, [edx*4]
push eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov edi, eax
push edi
push 0x40043
push 0x20000000
push esi
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x18]
mov ebx, dword [edi + eax*4 - 4]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebx
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x34], ecx
mov al, byte [ebx + 0x6e]
test al, al
je 0x4076ad
mov al, byte [ebx + 0x78]
test al, al
jne 0x4076ad
mov al, byte [esp + 0xc0]
test al, al
jne 0x4076ad
cmp dword [esp + 0x64], ebp
je 0x4076ad
mov ecx, dword [esp + 0x28]
xor eax, eax
xor ebx, ebx
cmp ecx, ebp
mov dword [esp + 0x18], eax
jle 0x40768b
lea edx, [esp + 0x10]
push edx
push 0xc0038
push ebp
push esi
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add edi, eax
shl eax, 2
push eax
mov dword [esp + 0x1c], edi
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov edi, eax
push edi
push 0xc0043
push ebp
push esi
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + ecx*4 - 4]
push edi
add ebx, edx
call sub.MFC71.DLL_operator_delete
mov eax, dword [esp + 0x2c]
add esp, 4
inc ebp
cmp ebp, eax
jl 0x407631
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add ecx, ebx
add edx, eax
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
xor ebp, ebp
mov al, byte [ebx + 0x6c]
test al, al
je 0x407744
mov eax, dword [esp + 0x28]
xor ebx, ebx
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x407726
jmp 0x4076d0
lea edx, [esp + 0x10]
push edx
push 0x40038
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
add ebp, eax
shl eax, 2
push eax
mov dword [esp + 0x1c], ebp
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov ebp, eax
push ebp
push 0x40043
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + ecx*4 - 4]
push ebp
add ebx, edx
call sub.MFC71.DLL_operator_delete
mov eax, dword [esp + 0x2c]
add esp, 4
inc edi
cmp edi, eax
jl 0x4076d0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add ecx, edx
add eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], ebx
xor ebp, ebp
mov edi, dword [esp + 0x20]
lea eax, [edi*4]
push eax
call sub.MFC71.DLL_operator_new_1
mov ebx, eax
shl edi, 3
push edi
mov dword [esp + 0x40], ebx
call sub.MFC71.DLL_operator_new_1
push edi
mov dword [esp + 0x4c], eax
call sub.MFC71.DLL_operator_new_1
mov edi, dword [esp + 0xc8]
add esp, 0xc
cmp edi, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ebp
je 0x4077b1
push ebp
push 0x7a
push edi
call sub.MILCAL.dll_Ordinal_105_2
cmp eax, 0x2000
sete al
test al, al
mov byte [esp + 0x1f], al
je 0x4077b1
fld qword [0x46e360]
sub esp, 8
fstp qword [esp]
push 0x7a
push edi
call sub.MILCAL.dll_Ordinal_102_3
mov edi, dword [esp + 0x24]
mov al, byte [edi + 0x6d]
test al, al
je 0x40781e
mov al, byte [edi + 0x78]
test al, al
jne 0x40781e
mov al, byte [esp + 0xc0]
test al, al
jne 0x40781e
cmp dword [esp + 0x64], ebp
je 0x40781e
push ebx
push 0x40043
push 0x20000000
push esi
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x40]
push ecx
push 0x41
push 0x20000000
push esi
call sub.MILMOD.dll_Ordinal_108
mov edx, dword [esp + 0x44]
push edx
push 0x90
push 0x20000000
push esi
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], eax
call fcn.004072b0
mov al, byte [edi + 0x6e]
test al, al
je 0x407928
mov al, byte [edi + 0x78]
test al, al
jne 0x407928
mov al, byte [esp + 0xc0]
test al, al
jne 0x407928
cmp dword [esp + 0x64], ebp
je 0x407928
mov eax, dword [esp + 0x28]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x407916
lea ecx, [ecx]
lea eax, [esp + 0x10]
push eax
push 0xc0038
push edi
push esi
mov dword [esp + 0x20], 0
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
lea ebp, [ebx + ecx]
lea eax, [edx + ebp*4]
push eax
push 0xc0043
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x40]
lea edx, [ecx + ebp*8]
push edx
push 0x80041
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x44]
lea ecx, [eax + ebp*8]
push ecx
push 0x80090
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add ebx, ecx
inc ebp
cmp ebp, eax
jle 0x4078f6
mov ecx, dword [esp + 0x58]
lea eax, [ecx + ebp - 1]
cdq
idiv ecx
mov edx, dword [esp + 0x60]
imul edx, ecx
push 1
mov dword [esp + 0x5c], edx
imul eax, ecx
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x50]
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
lea edx, [ebx + ecx]
mov dword [esp + 0x50], ebp
mov dword [eax + ebp*4 - 4], edx
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x407860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x14], eax
mov al, byte [edi + 0x6c]
test al, al
je 0x4079f6
mov eax, dword [esp + 0x28]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x4079f6
lea edx, [esp + 0x10]
push edx
push 0x40038
push edi
push esi
mov dword [esp + 0x20], 0
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea ebp, [ebx + eax]
lea edx, [ecx + ebp*4]
push edx
push 0x40043
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov eax, dword [esp + 0x40]
lea ecx, [eax + ebp*8]
push ecx
push 0x41
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov edx, dword [esp + 0x44]
lea eax, [edx + ebp*8]
push eax
push 0x90
push edi
push esi
call sub.MILMOD.dll_Ordinal_108
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add ebx, ecx
inc ebp
cmp ebp, eax
jle 0x4079d6
mov ecx, dword [esp + 0x58]
lea eax, [ecx + ebp - 1]
cdq
idiv ecx
mov edx, dword [esp + 0x60]
imul edx, ecx
push 1
mov dword [esp + 0x5c], edx
imul eax, ecx
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x50]
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
lea edx, [ebx + ecx]
mov dword [esp + 0x50], ebp
mov dword [eax + ebp*4 - 4], edx
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x407943
mov al, byte [esp + 0x1f]
test al, al
je 0x407a19
fld qword [0x46e358]
mov ecx, dword [esp + 0xbc]
sub esp, 8
fstp qword [esp]
push 0x7a
push ecx
call sub.MILCAL.dll_Ordinal_102_3
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x2c]
cmp edi, dword [esi + 0xc]
jle 0x407a4d
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi - 1]
cdq
idiv ecx
mov edx, dword [esi + 0x18]
imul edx, ecx
push 1
mov dword [esi + 0x10], edx
mov edx, dword [esi]
imul eax, ecx
push eax
mov ecx, esi
call dword [edx + 4]
xor ebx, ebx
jmp 0x407a5d
xor ebx, ebx
cmp edi, ebx
jne 0x407a5d
mov eax, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
xor edx, edx
cmp eax, ebx
mov dword [esi + 8], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], edx
jle 0x407e6d
mov ecx, dword [esp + 0xb0]
fild dword [esp + 0xb0]
test ecx, ecx
jge 0x407a92
fadd qword [0x46e350]
mov eax, dword [esp + 0xb4]
fstp qword [esp + 0x88]
test eax, eax
fild dword [esp + 0xb4]
jge 0x407ab1
fadd qword [0x46e350]
mov ecx, dword [esp + 0x44]
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x3c], eax
jmp 0x407ae0
mov edx, dword [esp + 0x30]
jmp 0x407ae0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov ecx, dword [eax + ecx]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x407b04
mov esi, dword [esp + 0x38]
cmp dword [esi + eax*4], edx
je 0x407c8d
cmp eax, ecx
jne 0x407b09
add dword [esp + 0x34], 4
test edx, edx
je 0x407c15
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov ebx, dword [eax + edx - 0x44]
fld qword [ebx]
lea edi, [eax + edx]
fcomp qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x407b3d
fld qword [0x46e348]
jmp 0x407b43
fld qword [0x46e340]
fadd qword [ebx]
call fcn.00465938
mov ebp, dword [edi - 0x28]
fld qword [ebp]
mov dword [esp + 0x30], eax
fcomp qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x407b69
fld qword [0x46e348]
jmp 0x407b6f
fld qword [0x46e340]
fadd qword [ebp]
call fcn.00465938
mov dword [esp + 0x80], eax
mov eax, dword [edi - 0x40]
shl eax, 3
fld qword [eax + ebx - 8]
mov dword [esp + 0x74], eax
fcomp qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x407ba1
fld qword [0x46e348]
jmp 0x407ba7
fld qword [0x46e340]
mov esi, dword [edi - 0x40]
shl esi, 3
fadd qword [esi + ebx - 8]
call fcn.00465938
fld qword [esi + ebp - 8]
fcomp qword [0x46d448]
mov ecx, eax
fnstsw ax
test ah, 1
jne 0x407bd1
fld qword [0x46e348]
jmp 0x407bd7
fld qword [0x46e340]
mov eax, dword [esp + 0x30]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x407c0f
mov ecx, dword [esp + 0x74]
fadd qword [ecx + ebp - 8]
call fcn.00465938
mov ecx, dword [esp + 0x80]
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x407c11
mov byte [edi - 0xc], 1
jmp 0x407c15
fstp st(0)
mov byte [edi - 0xc], 0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov edx, dword [edx + esi*4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xa8]
mov esi, dword [edx + 4]
add eax, 0x48
inc ecx
mov dword [eax + esi - 0x10], 0
mov esi, dword [esp + 0x7c]
cmp ecx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
jg 0x407c5f
mov ecx, dword [edx + 4]
mov dword [eax + ecx - 8], 4
jmp 0x407c8d
mov edi, dword [esp + 0x6c]
add edi, esi
cmp ecx, edi
jg 0x407c76
mov edx, dword [edx + 4]
mov dword [eax + edx - 8], 6
jmp 0x407c8d
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x68]
cmp ecx, esi
jle 0x407c8d
mov ecx, dword [edx + 4]
mov dword [eax + ecx - 8], 5
mov edx, dword [esp + 0xa8]
fld qword [esp + 0x88]
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x3c]
fadd qword [edx + ebp]
mov ecx, dword [esp + 0x24]
lea edi, [ecx + eax]
mov ebx, dword [edi - 0x40]
mov eax, dword [edi - 0x3c]
lea esi, [edi - 0x48]
fstp qword [esp + 0x80]
fld qword [esp + 0x90]
add edi, 0xffffffd4
fadd qword [ebp]
inc ebx
cmp ebx, eax
fstp qword [esp + 0x74]
jle 0x407cf6
mov ecx, dword [esi + 0x10]
lea eax, [ecx + ebx - 1]
cdq
idiv ecx
mov edx, dword [esi + 0x18]
imul edx, ecx
push 1
mov dword [esi + 0x10], edx
mov edx, dword [esi]
imul eax, ecx
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 4]
fld qword [esp + 0x80]
mov dword [esi + 8], ebx
fstp qword [eax + ebx*8 - 8]
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
inc esi
cmp esi, eax
jle 0x407d32
mov ecx, dword [edi + 0x10]
lea eax, [ecx + esi - 1]
cdq
idiv ecx
mov edx, dword [edi + 0x18]
imul edx, ecx
push 1
mov dword [edi + 0x10], edx
mov edx, dword [edi]
imul eax, ecx
push eax
mov ecx, edi
call dword [edx + 4]
mov eax, dword [edi + 4]
fld qword [esp + 0x74]
mov ecx, dword [esp + 0x20]
mov dword [edi + 8], esi
fstp qword [eax + esi*8 - 8]
mov eax, dword [esp + 0x14]
inc eax
add ebp, 8
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], ebp
jl 0x407ad4
mov eax, ecx
test eax, eax
jle 0x407e6d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xa8]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 4]
mov ebx, dword [eax + ecx*8 - 0x44]
fld qword [ebx]
lea edi, [eax + ecx*8]
fcomp qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x407d95
fld qword [0x46e348]
jmp 0x407d9b
fld qword [0x46e340]
fadd qword [ebx]
call fcn.00465938
mov ebp, dword [edi - 0x28]
fld qword [ebp]
mov dword [esp + 0x3c], eax
fcomp qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x407dc1
fld qword [0x46e348]
jmp 0x407dc7
fld qword [0x46e340]
fadd qword [ebp]
call fcn.00465938
mov dword [esp + 0x74], eax
mov eax, dword [edi - 0x40]
shl eax, 3
fld qword [eax + ebx - 8]
mov dword [esp + 0x80], eax
fcomp qword [0x46d448]
fnstsw ax
test ah, 1
jne 0x407df9
fld qword [0x46e348]
jmp 0x407dff
fld qword [0x46e340]
mov esi, dword [edi - 0x40]
shl esi, 3
fadd qword [esi + ebx - 8]
call fcn.00465938
fld qword [esi + ebp - 8]
fcomp qword [0x46d448]
mov ecx, eax
fnstsw ax
test ah, 1
jne 0x407e29
fld qword [0x46e348]
jmp 0x407e2f
fld qword [0x46e340]
mov eax, dword [esp + 0x3c]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x407e67
mov ecx, dword [esp + 0x80]
fadd qword [ecx + ebp - 8]
call fcn.00465938
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x407e69
mov byte [edi - 0xc], 1
jmp 0x407e6d
fstp st(0)
mov byte [edi - 0xc], 0
mov eax, dword [esp + 0x40]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x407e82
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x407e93
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x407ea4
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x3c], 0x46e310
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
add esp, 0x98
ret 0x1c