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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], 0x3f85798e
mov dword [ebp - 0x48], 0xe2308c3a
mov dword [ebp - 0x4c], 0x3f1a36e2
mov dword [ebp - 0x50], 0xeb1c432d
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ecx], eax
call sub.cvirte.dll_GetCurrentDateTime
sub esp, 4
fld qword [ebp - 0x70]
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x40]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov dword [ebp - 0x98], eax
mov eax, esp
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], esi
lea esi, [ebp - 0x68]
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
fstp qword [eax]
call sub.cvirte.dll_GetDateTimeElements
sub esp, 0x20
fld qword [ebp - 0x68]
mov ecx, dword [ebp - 0x10]
fstp qword [ecx + 0x35d0]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x20], 5
jge 0x418854
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x40]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x94], ecx
fild dword [ebp - 0x94]
fstp qword [edx + eax*8 + 0x35d8]
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x418821
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
cmp eax, 0
jne 0x418881
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00412bf0
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1d], cl
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0xd]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1e], cl
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x10
jge 0x4188f9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dl, byte [eax + ecx + 0xe]
movzx eax, dl
mov si, ax
movzx eax, si
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + ecx + 0xf]
add eax, ecx
mov si, ax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2 + 0x2a], si
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x4188a7
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x2f]
movzx eax, byte [eax + 0x2e]
shl eax, 8
or eax, ecx
mov dx, ax
mov eax, dword [ebp - 0x10]
mov word [eax + 0x4a], dx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x31]
movzx eax, byte [eax + 0x30]
shl eax, 8
or eax, ecx
mov dx, ax
mov eax, dword [ebp - 0x10]
mov word [eax + 0x4c], dx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x33]
movzx eax, byte [eax + 0x32]
shl eax, 8
or eax, ecx
mov dx, ax
mov eax, dword [ebp - 0x10]
mov word [eax + 0x4e], dx
mov eax, dword [ebp - 0x14]
mov bl, byte [eax + 0x34]
movzx eax, bl
mov dx, ax
mov eax, dword [ebp - 0x10]
mov word [eax + 0x50], dx
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 8
jge 0x41899e
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x35]
mov eax, dword [ebp - 0x20]
mov dl, al
movzx eax, cl
mov dword [esp], eax
movzx eax, dl
mov dword [esp + 4], eax
call fcn.0041c810
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov byte [edi + esi + 0x21], al
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x418961
mov eax, dword [ebp - 0x14]
fld qword [ebp - 0x48]
movzx ecx, byte [eax + 0x37]
movzx eax, byte [eax + 0x36]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmulp st(1)
mov eax, dword [ebp - 0x10]
fstp qword [eax + 0x58]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + 0x38]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1f], dl
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + 0x39]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x20], dl
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x3a]
mov si, cx
mov word [ebp - 0x8e], si
fld dword [0x4892e8]
fild word [ebp - 0x8e]
fmul st(1)
movzx eax, byte [eax + 0x3b]
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
faddp st(1)
mov eax, dword [ebp - 0x10]
fstp qword [eax + 0x60]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x3c]
mov si, cx
mov word [ebp - 0x90], si
fld dword [0x4892ec]
fild word [ebp - 0x90]
fmulp st(1)
fmulp st(1)
movzx ecx, byte [eax + 0x3d]
shl ecx, 0x10
mov dword [ebp - 0x7c], ecx
fild dword [ebp - 0x7c]
faddp st(1)
movzx ecx, byte [eax + 0x3e]
shl ecx, 8
mov dword [ebp - 0x80], ecx
fild dword [ebp - 0x80]
faddp st(1)
movzx eax, byte [eax + 0x3f]
mov dword [ebp - 0x84], eax
fild dword [ebp - 0x84]
faddp st(1)
mov eax, dword [ebp - 0x10]
fstp qword [eax + 0x68]
fld qword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
fld qword [eax + 0x68]
fmulp st(1)
fstp qword [eax + 0x68]
mov dword [ebp - 0x20], 0x40
mov eax, dword [ebp - 0x20]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 2
jge 0x418b72
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
shl eax, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x70], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 3]
add eax, ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + ecx*4 + 0x70]
add esi, eax
mov dword [edx + ecx*4 + 0x70], esi
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
shl eax, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x10c4], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 3]
add eax, ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + ecx*4 + 0x10c4]
add esi, eax
mov dword [edx + ecx*4 + 0x10c4], esi
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418a92
mov dword [ebp - 0x20], 0x50
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 8
jge 0x418bfc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
shl eax, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x3630], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 3]
add eax, ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + ecx*4 + 0x3630]
add esi, eax
mov dword [edx + ecx*4 + 0x3630], esi
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418b80
mov dword [ebp - 0x20], 0x70
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
shl eax, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 3]
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
add edx, eax
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
shl eax, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10cc], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 3]
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10cc]
add edx, eax
mov dword [ecx + 0x10cc], edx
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 4
jge 0x418d37
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
shl eax, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x3650], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 3]
add eax, ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + ecx*4 + 0x3650]
add esi, eax
mov dword [edx + ecx*4 + 0x3650], esi
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418cbb
mov dword [ebp - 0x20], 0x88
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xa
jge 0x418d84
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x107c], eax
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418d45
mov dword [ebp - 0x20], 0x92
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xa
jge 0x418dd1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x20d0], eax
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418d92
mov dword [ebp - 0x20], 0x9c
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x14
jge 0x418e1e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x3678], eax
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418ddf
mov dword [ebp - 0x20], 0xb0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
mov bl, al
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x10], bl
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x10]
cmp eax, 0xa
jle 0x418e79
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x10], 0xa
mov eax, esp
mov dword [eax + 4], str.Number_of_ESA_samples_exceeds_10
mov dword [eax], str.ESA_exceeds_10
call sub.cvirte.dll_MessagePopup
sub esp, 8
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x20], 0xb2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
shl eax, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + ecx + 1]
add eax, ecx
mov si, ax
mov eax, dword [ebp - 0x10]
mov word [eax + 0x31d0], si
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x213c], 0x19
mov dword [ebp - 0x2c], 0xb4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 0x10]
cmp eax, ecx
jge 0x418f03
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x31a8], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x418ebf
mov dword [ebp - 0x2c], 0xbe
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 0x10]
cmp eax, ecx
jge 0x419047
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x19
jge 0x419037
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
add esi, 0x2118
add esi, 0xf0
imul edx, edx, 0x64
add esi, edx
mov dword [esi + ecx*4], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
add esi, 0x2118
add esi, 0x4d8
imul edx, edx, 0x64
add esi, edx
mov dword [esi + ecx*4], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
add esi, 0x2118
add esi, 0x8c0
imul edx, edx, 0x64
add esi, edx
mov dword [esi + ecx*4], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax]
mov eax, dword [eax*4 + 0x486570]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
add esi, 0x2118
add esi, 0xca8
imul edx, edx, 0x64
add esi, edx
mov dword [esi + ecx*4], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x418f2a
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x418f11
mov eax, dword [ebp - 0x18]
cmp byte [eax + 1], 0
je 0x41907b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004190c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040a160
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x21]
cmp eax, 1
jne 0x4190a2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00419fc0
mov eax, 0
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret