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

Disassembly:
push 0xffffffffffffffff
push 0x42cd44
mov eax, dword fs:[0]
push eax
mov eax, 0x8438
mov dword fs:[0], esp
call fcn.00413f30
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x6c], ebx
push ebx
mov ebp, ecx
mov esi, 0xf
push 0x42f872
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00402ab0
mov dword [esp + 0x8450], 1
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
push ebx
push 0x42f872
lea ecx, [esp + 0x78]
mov byte [esp + 0x8458], 2
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00402ab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x8450], 3
call fcn.00404bb0
push 0x22
push str._Fault_Record__r_n
lea ecx, [esp + 0x58]
mov byte [esp + 0x8458], 4
call fcn.00402ab0
push 0x1f
push str._Unit_Info__r_n
lea ecx, [esp + 0x58]
call fcn.004029a0
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00408920
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x845c], 5
call fcn.00402740
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x8450], 4
jb 0x408eba
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00426c0e
add esp, 4
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x38]
push str.Fault_Record_read_at:
push eax
call fcn.00404bc0
push 0x42fd68
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x8468], 6
call fcn.00403880
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 7
call fcn.004028b0
cmp dword [esp + 0x30], edi
jb 0x408f11
mov edx, dword [esp + 0x1c]
push edx
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x8450], 4
jb 0x408f38
mov eax, dword [esp + 0x38]
push eax
call fcn.00426c0e
add esp, 4
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
movzx ecx, word [esp + 0x845e]
cmp ecx, ebx
jle 0x408f75
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x8461]
lea edi, [esp + 0x110]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0xf
mov edx, dword [esp + 0x119]
xor eax, eax
mov ecx, 0x2000
lea edi, [esp + 0x441]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x115]
mov eax, dword [esp + 0x111]
mov dword [esp + 0x445], ecx
mov cl, byte [esp + 0x11f]
mov dword [esp + 0x441], eax
mov ax, word [esp + 0x11d]
push 0x13
mov byte [esp + 0x453], cl
push str.Fault_occurred_at:
lea ecx, [esp + 0x58]
mov dword [esp + 0x451], edx
mov word [esp + 0x455], ax
mov byte [esp + 0x444], 0xd
mov byte [esp + 0x445], 0xf
mov word [esp + 0x446], si
call fcn.004029a0
lea edx, [esp + 0x10]
push edx
mov eax, 0x800c
lea esi, [esp + 0x440]
call fcn.00413f30
mov edi, esp
mov ecx, 0x2003
lea eax, [esp + 0x8044]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.00408ad0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 8
call fcn.004028b0
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x8450], 4
jb 0x409054
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00426c0e
add esp, 4
push 2
push 0x42fd68
lea ecx, [esp + 0x58]
call fcn.004029a0
mov ecx, 0x10
lea esi, [esp + 0x122]
lea edi, [esp + 0x441]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea esi, [esp + 0x441]
lea edi, [esp + 0x318]
lea edx, [esp + 0x318]
mov byte [esp + 0x43c], 0x80
mov byte [esp + 0x43d], 2
mov word [esp + 0x43e], 0x40
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, ebp
call fcn.00405d10
sub esp, 0x88
mov edi, esp
mov ecx, 0x22
lea esi, [esp + 0x3a0]
lea eax, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.00406980
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 9
call fcn.004028b0
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x8450], 4
jb 0x40910d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00426c0e
add esp, 4
xor eax, eax
mov ecx, 0x2000
lea edi, [esp + 0x441]
rep stosd dword es:[edi], eax
mov ecx, 0x17
lea esi, [esp + 0x162]
lea edi, [esp + 0x441]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [esp + 0x8c]
push edx
mov eax, 0x800c
mov byte [esp + 0x440], 0xd
mov byte [esp + 0x441], 0xd
mov word [esp + 0x442], 0x5e
lea esi, [esp + 0x440]
call fcn.00413f30
mov edi, esp
mov ecx, 0x2003
lea eax, [esp + 0x8044]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.00407760
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 0xa
call fcn.004028b0
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x8450], 4
jb 0x4091b0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00426c0e
add esp, 4
mov edx, dword [ebp + 0x324]
xor eax, eax
mov ecx, 0x2000
lea edi, [esp + 0x441]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x3a4]
mov ecx, 0xc
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x445]
rep movsd dword es:[edi], dword [esi]
push eax
mov eax, 0x800c
mov byte [esp + 0x444], 0xd
mov byte [esp + 0x445], 0xe
mov word [esp + 0x446], 0x30
lea esi, [esp + 0x444]
call fcn.00413f30
mov edi, esp
mov ecx, 0x2003
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x8048]
push ecx
mov ecx, ebp
call fcn.00408090
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 0xb
call fcn.004028b0
mov eax, dword [esp + 0x4c]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x8450], 4
jb 0x40925e
mov edx, dword [esp + 0x38]
push edx
call fcn.00426c0e
add esp, 4
push 0x2b
push str._Additional_Fault_Info__r_n
lea ecx, [esp + 0x58]
call fcn.004029a0
mov al, byte [esp + 0x1f2]
movzx edx, byte [esp + 0x1f3]
and al, 0x7f
movzx ecx, al
mov dword [esp + 0x10], ecx
sub esp, 8
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
fmul qword [0x42fd60]
fild dword [esp + 0x18]
faddp st(1)
fmul qword [0x42ffe0]
fstp qword [esp]
push str._0.2fkV_r_n
push eax
push ecx
call fcn.00411850
push eax
lea edx, [esp + 0x30]
push str.Tube_HV_Setpoint:
push edx
mov byte [esp + 0x8470], 0xc
call fcn.00404bc0
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 0xd
call fcn.004028b0
cmp dword [esp + 0x30], edi
jb 0x4092fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0x4c], edi
mov ebp, 0xf
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x8450], 4
jb 0x409329
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00426c0e
add esp, 4
mov dl, byte [esp + 0x1f4]
movzx ecx, byte [esp + 0x1f5]
and dl, 0x7f
movzx eax, dl
mov dword [esp + 0x10], eax
sub esp, 8
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x3c]
lea eax, [esp + 0x1c]
fmul qword [0x42fd60]
fild dword [esp + 0x18]
faddp st(1)
fmul qword [0x42ffe0]
fstp qword [esp]
push str._0.2fuA_r_n
push edx
push eax
call fcn.00411850
push eax
lea ecx, [esp + 0x30]
push str.Tube_Current_Setpoint:
push ecx
mov byte [esp + 0x8470], 0xe
call fcn.00404bc0
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x845c], 0xf
call fcn.004028b0
cmp dword [esp + 0x30], edi
jb 0x4093b9
mov edx, dword [esp + 0x1c]
push edx
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x8450], 4
jb 0x4093e0
mov eax, dword [esp + 0x38]
push eax
call fcn.00426c0e
add esp, 4
mov esi, dword [esp + 0x8458]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x58]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402740
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 1
mov byte [esp + 0x8450], 3
call fcn.00412120
cmp dword [esp + 0x88], edi
jb 0x40942e
mov edx, dword [esp + 0x74]
push edx
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0x10c], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x409459
mov eax, dword [esp + 0xf8]
push eax
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0xc0], edi
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
jb 0x409487
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
jb 0x4094b5
mov edx, dword [esp + 0x90]
push edx
call fcn.00426c0e
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x4094dd
mov eax, dword [esp + 0x54]
push eax
call fcn.00426c0e
add esp, 4
mov ecx, dword [esp + 0x8448]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8444
ret 0x8010