joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ccab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000cd48
push ebx
push esi
call fcn.1000cc74
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000cc08
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000ccf5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000cd47
push edi
push eax
call fcn.1000b717
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000cd15
call fcn.1000b1b4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000cd46
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000cc08
add esp, 0x20
test eax, eax
jne 0x1000cd34
push edi
call fcn.1000b1b4
jmp 0x1000cd3c
push ebx
call fcn.1000b1b4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10012120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001214d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001214d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1005fd1f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1005fd62
call fcn.10042578
mov dword [eax], 0xf
call fcn.1004258b
mov dword [eax], 0xd
call fcn.1004b9c3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015fd5
leave
ret
test eax, eax
jne 0x1005fd69
inc eax
jmp 0x1005fd56
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x1005fd54
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1005fd56

Function at 0x430a342d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x430a343c
pop dword [ebp - 0x38]
mov eax, 0x4aa9e591
sub eax, 0x79fb155
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x37745
push 0
mov eax, 0xe9dc375d
sub eax, 0xa6d226bd
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x85b53af
add ecx, 0xf7a4f3c5
mov esi, eax
mov edx, 0x92d5811
add edx, 0x39dd85ef
add edx, dword [ebp - 0x38]
mov edi, 0x969b8119
sub edi, 0x4207ee3f
sub dword [ebp - 0x1c], 0xdb350cba
mov ebx, dword [edx]
add dword [ebp - 0xc], 0xbbea4715
add ebx, edi
xor dword [ebp - 0x14], 0x48c536fc
mov dword [esi], ebx
sub dword [ebp - 0x2c], ebx
add esi, 0xab5302e2
add esi, 0x54acfd22
add edx, 0xbdd24162
sub edx, 0xbdd2415e
loop 0x430a349b
add eax, 0x110a3
mov ebx, eax
add eax, 5
mov ecx, 0xd456826b
sub ecx, 0x914c826b
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9
Function at 0xdf1b08
Capabilities:
Encode data using xor

Disassembly:
test byte [eax - 0x45], cl
aad 0xb0
pop edi
out dx, al
fsubr qword [ebp - 0x523763a4]
push eax
aad 0x36
sbb eax, 0x162047a4
mov eax, 0x8cd62c07
into
and al, 0x50
inc ebp
fist dword [ecx + 0x51]
scasd eax, dword es:[edi]
pushal
jmp 0xdf1b12
pushal
call 0xdf1b18
pop ebp
sub ebp, 0x10
sub ebp, 0x9f1b08
jmp 0xdf1b2e
mov eax, 0x9f1b08
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cb
mov edx, 0x12da6b81
xor byte [eax], dl
inc eax
dec ecx
jne 0xdf1b45
jmp 0xdf1b58
or cl, byte [edx + ecx + 8]
mov ebp, 0x818181
inc eax
jns 0xdf1ae5
add dword [ecx - 0x7cc6b37e], 0x3b818181
test eax, 0x76818181
arpl word [edx - 0x72fff5b7], ax
add dword [ecx - 0x2ebb7d7f], 0xda41e9d1
mov dword [0x3ec9e981], eax
std
add dword [eax - 0x4f165a53], 0x69e12ed0
test byte [ecx - 0x4a977e7f], al
add dword [ecx - 0x5a1af37f], 0xa5ad087d
or ch, byte [ebp + 0xa]
add al, 0x89
add dword [ecx - 0x72ebf57f], 0xa818181
or al, 0x91
add dword [ecx - 0x7c97bf7f], 0x430283b0
test eax, ecx
mov es, word [esi*2 + 0xa7e7e7e]
lodsd eax, dword [esi]
movsd dword es:[edi], dword [esi]
or al, 0xe5
movsd dword es:[edi], dword [esi]
test dword [ebx - 0x73], eax
or dword [edx], 0x8185a50d
add dword [ecx - 0x5c25be17], 0x3ec9e981
std
add dword [eax - 0x1af35a53], 0x8d087da5
movsd dword es:[edi], dword [esi]
imul eax, dword [ecx + eax*4 - 0x3b977e7f], 0xd4818183
aad 0xdc
add dword [ecx - 0x7e7c3b98], 0xdcd5d481
jle 0xdf1bee
lea edi, [esi - 0xc]
mov dword [ecx - 7], ebp
add dword [ecx - 0x76c3f57f], 0xb2818181
dec eax
add byte [ebx + 0x61], dh
ljmp 0xea61
Function at 0x401fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x128]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x402106
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x124]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x134]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x4020b2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x128]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x13c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x128]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x124]
sub ecx, edi
test edx, edx
je 0x402127
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.004273a4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4

Function at 0x404e30
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 8]
add ecx, 0xc
push 0x100
push ecx
push 0x433460
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret 4
Function at 0x404ee0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov eax, dword [ebx]
mov edx, dword [eax - 8]
test edx, edx
jne 0x404f0d
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push eax
mov eax, dword [esp + 0x14]
push 0x100
push esi
push 0x433460
push eax
push edx
jmp 0x404f24
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
lea esi, [ecx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push 0x100
push esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
mov ecx, ebx
mov edi, eax
call fcn.004274d0
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
ret 8

Function at 0x404f50
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea esi, [ecx + 0xc]
push eax
mov eax, dword [esp + 0x10]
push 0x100
push esi
push ebx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x404f8f
mov ecx, eax
push edi
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], 0
pop edi
xor ecx, ecx
pop esi
test eax, eax
setne cl
mov al, cl
pop ebx
ret 8

Function at 0x405f10
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], edi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x24]
push 0xf
push ecx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edx, dword [esi + 0x40]
lea ebp, [esi + 0x2c]
lea eax, [esp + 0x10]
push ebp
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x24]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405fc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x405f8a
mov edx, dword [esi]
push str.WriteFile__
mov ecx, esi
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x10]
push 1
push eax
push ebp
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x405fbd
mov edx, dword [esi]
push str.GetOverlappedResults___in_WriteFile__
mov ecx, esi
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x405fd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
lea edi, [esi + 8]
mov dword [esp + 0x10], ebp
push edi
mov dword [esp + 0x18], ebp
call ebx
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x220], ebp
je 0x4060d5
push edi
call ebx
mov edx, dword [esi + 0x24]
lea ebp, [esi + 0x2c]
lea eax, [esp + 0x14]
push ebp
push eax
lea ecx, [esp + 0x20]
push 0x1ff
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40607d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [esp + 0x10], eax
je 0x40605b
mov eax, dword [esi]
push str.ReadFile__
jmp 0x406078
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x14]
push 1
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x40607d
mov eax, dword [esi]
push str.GetOverlappedResults___in_ReadFile__
mov ecx, esi
call dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + eax + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
call dword [edx + 8]
test eax, eax
jne 0x4060a9
push 1
push 0x64
call sub.MFC42.DLL_AfxEndThread
push edi
call ebx
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push edi
call ebp
mov eax, dword [esp + 0x220]
test eax, eax
jne 0x40601d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc
Function at 0x409190
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x304
push esi
push 0x100
push 0x433868
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x108]
lea ecx, [esp + 0x208]
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push 0x433868
call dword [sym.imp.MSVCRT.dll__splitpath]
mov esi, dword [sym.imp.MSVCRT.dll__makepath]
push 0x433460
lea ecx, [esp + 0x20]
push str.sys_dir
lea edx, [esp + 0x20]
push ecx
push edx
push 0x433868
call esi
add esp, 0x28
push 0x433868
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40920f
push 0
push 0x433868
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x432698
lea eax, [esp + 0xc]
push str.sys_diruser
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x433868
call esi
add esp, 0x14
mov eax, 0x433868
pop esi
add esp, 0x304
ret
Function at 0x40aaf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
fld qword [0x4336f8]
fmul qword [0x4336e0]
mov eax, dword [0x4336f8]
mov ecx, dword [0x4336fc]
mov edx, dword [0x433700]
mov dword [0x433738], eax
mov eax, dword [0x433704]
push esi
fstp qword [0x4336f8]
fld qword [0x433700]
fmul qword [0x4336e8]
push edi
mov dword [0x43373c], ecx
mov dword [0x433740], edx
mov dword [0x433744], eax
lea edi, [esp + 0x10]
mov esi, 0x433710
fstp qword [0x433700]
fld qword [0x4336e0]
fmul qword [esi - 8]
sub esp, 8
sub esp, 8
fstp qword [esi - 8]
fld qword [0x4336e8]
fmul qword [esi]
fst qword [esi]
fsub qword [esi - 0x10]
fstp qword [esp + 8]
fld qword [esi - 8]
fsub qword [esi - 0x18]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll__hypot]
fstp qword [edi]
add esi, 0x10
add esp, 0x10
add edi, 8
cmp esi, 0x433750
jl 0x40ab69
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x43383c]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x40abf7
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push 0x432b10
jmp 0x40ac5d
cmp eax, 1
jne 0x40ac2b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push str.UP:_.2fcm_r_nDOWN:_.2fcm_r_nLEFT:_.2fcm_r_nRIGHT:_.2fcm_r_n
jmp 0x40ac5d
cmp eax, 2
jne 0x40ac6a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push 0x432aac
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x28
mov ecx, dword [esp + 0xc]
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e990
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x42abac
lea ebp, [esi + 0x38]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
call fcn.00426d70
mov byte [esp + 0x18], 1
mov dword [esi], 0x42c458
mov dword [esi + 0x68], edi
call fcn.0040bb90
push edi
push edi
push edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], edi
mov eax, dword [0x4335f4]
push edi
push edi
push edi
mov dword [esi + 0x24], eax
mov ecx, dword [0x4335f8]
push edi
push edi
push edi
mov dword [esi + 0x28], ecx
mov edx, dword [0x4335fc]
push edi
push edi
push edi
mov ecx, ebp
mov dword [esi + 0x2c], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], 0x3f800000
call fcn.00426e60
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x6c], edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret

Function at 0x421926
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x429728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00411120
xor edi, edi
push str.HA_DI_Digital_Input
lea ecx, [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esi], 0x42c5c0
call fcn.004274d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [0x4335d8], edi
mov dword [0x4335dc], edi
mov dword [0x4335e0], edi
mov dword [0x4335e4], edi
mov dword [esi + 0xc], 0x32
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4219c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x429748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00411120
xor edi, edi
push str.HA_DI_Digital_Input
lea ecx, [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esi], 0x42c5c0
call fcn.004274d0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [0x4335d8], edi
mov dword [0x4335dc], edi
mov dword [0x4335e0], edi
mov dword [0x4335e4], edi
mov ecx, dword [esi + 0x1c]
mov eax, 0x32
pop edi
mov dword [ecx + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x426430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00426330
lea edi, [esi + 0x48]
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, esi
mov dword [edi], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.004263d0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00425e60
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x60], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], edx
mov dword [esi + 0x74], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c

Function at 0x4267b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
lea ecx, [esp + 0x38]
call fcn.00426330
lea ecx, [esp + 0x20]
mov dword [esp + 0xa0], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00425b00
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x38]
push esi
call fcn.004263d0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.00425c40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esp, 0xc
lea eax, [esi + 0x48]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], edx
call fcn.00425e60
fld qword [esi + 0x60]
fld qword [esp + 0x30]
fadd qword [esp + 0x18]
sub esp, 8
mov esi, dword [ebp + 8]
sub esp, 8
mov ecx, esi
fmul st(1)
sub esp, 8
fstp qword [esp + 0x10]
fld qword [esp + 0x40]
fadd qword [esp + 0x28]
fmul st(1)
fstp qword [esp + 8]
fld qword [esp + 0x38]
fadd qword [esp + 0x20]
fmul st(1)
fstp qword [esp]
fstp st(0)
call fcn.00425b20
lea ecx, [esp + 0x38]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00404780
mov ecx, dword [esp + 0x98]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4268f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429f1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x50]
mov ecx, 3
mov dword [eax - 0x10], ebx
mov dword [eax - 8], ebx
mov dword [eax], ebx
mov dword [eax - 0xc], ebx
mov dword [eax - 4], ebx
mov dword [eax + 4], ebx
add eax, 0x18
dec ecx
jne 0x426922
lea ecx, [esp + 0x88]
call fcn.00426330
lea eax, [esp + 8]
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0x124], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x3ff00000
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00425e60
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3ff00000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00425e60
lea edx, [esp + 8]
lea ecx, [esp + 0x70]
push edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x3ff00000
call fcn.00425e60
sub esp, 0x18
lea eax, [esp + 0x88]
mov dword [esp + 0x38], esp
mov ecx, esp
push eax
call fcn.00425e60
sub esp, 0x18
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00426410
sub esp, 0x18
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call fcn.00426410
lea ecx, [esp + 0x118]
call fcn.00426370
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 2
call fcn.004263d0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x120], 1
call fcn.00404780
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00425e60
lea edx, [esp + 8]
lea ecx, [esp + 0x28]
push edx
call fcn.00425e60
push ebx
push ebx
push ebx
push 0x3ff00000
push ebx
mov esi, dword [ebp + 8]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x9c]
push eax
push ecx
mov ecx, esi
call fcn.00426430
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], bl
call fcn.00404780
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret