joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e0650
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xc], 1
jne case.0x6e067f.278
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
add eax, 0xfffffeed
cmp eax, 0xf5
ja case.0x6e067f.278
xor edx, edx
mov dl, byte [eax + 0x6e0864]
jmp dword [edx*4 + 0x6e0854]
mov eax, dword [esi + 8]
push 0x54544950
push eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x6e06d1
mov eax, dword [esi + 0x228]
test eax, eax
je 0x6e06ee
mov al, byte [0xa292dc]
test al, al
jne 0x6e06ee
mov ecx, dword [esi + 8]
push 0x54544950
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x228]
mov eax, dword [esi + 8]
push 0
push edx
push 0x54544950
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 4]
test eax, eax
je case.0x6e067f.278
mov edx, dword [esi]
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call dword [edx + 8]
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea ebx, [esi + 0x10]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x244]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x6e075a
mov edi, dword [esi + 0x238]
mov ebp, dword [ebx]
mov eax, dword [edi]
add eax, 4
mov ecx, dword [eax]
cmp ebp, ecx
jl 0x6e0744
mov edx, dword [eax + 8]
add edx, ecx
cmp ebp, edx
jg 0x6e0744
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 4]
cmp ecx, edx
jl 0x6e0744
mov eax, dword [eax + 0xc]
add eax, edx
cmp ecx, eax
jle 0x6e0773
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x244]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x6e071d
xor eax, eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.006e0f20
test al, al
je case.0x6e067f.278
jmp 0x6e0825
mov eax, dword [esi + 0x238]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
jmp 0x6e075c
cmp dword [ecx + 8], 0x54544950
jne case.0x6e067f.278
mov ecx, dword [esi + 8]
push 0x54544950
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
test eax, eax
jne 0x6e06dc
lea ebx, [esi + 0x10]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x244]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x6e0815
mov edi, dword [esi + 0x238]
mov ebp, dword [ebx]
mov eax, dword [edi]
add eax, 4
mov ecx, dword [eax]
cmp ebp, ecx
jl 0x6e07ff
mov edx, dword [eax + 8]
add edx, ecx
cmp ebp, edx
jg 0x6e07ff
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 4]
cmp ecx, edx
jl 0x6e07ff
mov eax, dword [eax + 0xc]
add eax, edx
cmp ecx, eax
jle 0x6e0844
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x244]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x6e07d8
xor eax, eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.006e0f20
test al, al
je case.0x6e067f.278
mov edx, dword [esi + 0x230]
mov eax, dword [esi + 8]
push 0
push edx
push 0x54544950
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [esi + 0x238]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
jmp 0x6e0817
Function at 0x707c30
Capabilities:
Get file version info

Disassembly:
mov al, byte [0x7e3170]
sub esp, 0x190
test al, al
push esi
je 0x707d53
mov ecx, dword [0xb0dbd8]
lea eax, [esp + 0x90]
push 0x104
push eax
push ecx
mov byte [0x7e3170], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x707d53
lea edx, [esp + 0xc]
lea eax, [esp + 0x90]
push edx
push eax
mov dword [esp + 0x14], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jle 0x707d53
push ebx
push esi
call fcn.0076d5a7
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
lea edx, [esp + 0x94]
push ebx
push esi
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x707d3c
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 8]
test eax, eax
jbe 0x707d3c
mov eax, dword [esp + 0xc]
xor edx, edx
xor ecx, ecx
mov dx, word [eax + 2]
mov cx, word [eax]
push edx
push ecx
lea edx, [esp + 0x1c]
push str.StringFileInfo_04d_04dProductVersion
push edx
call fcn.0076d684
add esp, 0x10
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 8]
test eax, eax
jbe 0x707d3c
push edi
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x7e2f70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.0076d2d5
add esp, 4
mov eax, 0x7e2f70
pop ebx
pop esi
add esp, 0x190
ret
mov eax, 0x7e2f70
pop esi
add esp, 0x190
ret
Function at 0x709af0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x1d0
lea eax, [esp + 0xcc]
push ebx
push ebp
push esi
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x709b1e
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1d0
ret
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x709c51
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [esi], 0x5c2e
nop
nop
nop
nop
nop
nop
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x4c]
push esi
rep stosd dword es:[edi], eax
call ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
mov dword [esp + 0x4c], eax
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
push esi
call ebp
test eax, eax
jmp 0x709b8b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14]
mov edx, eax
imul edx, ecx
test ecx, ecx
mov dword [esp + 0xd4], edx
nop
nop
imul eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x94]
push 0x40
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
lea ecx, [esp + 0x64]
push 0x40
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jmp 0x709bff
xor eax, eax
lea edi, [eax + 1]
lea edx, [esp + 0x2c]
push edi
push str.RA_d
push edx
call fcn.0076d684
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0076d4b0
add esp, 0x14
test eax, eax
jmp 0x709c7a
mov edx, dword [0x7bd078]
lea ecx, [esp + 0x20]
push edx
mov dword [esp + 0x24], vtable.CD.0
call dword [vtable.CD.0]
test al, al
pop edi
pop esi
pop ebp
pop ebx
setne al
add esp, 0x1d0
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1d0
ret
Function at 0x728c20
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x434
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x48]
push 0
lea eax, [esp + 0x68]
push edx
push eax
push edi
mov dword [esp + 0x58], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x728d23
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 0x10]
push ebx
call fcn.0076d5a7
mov edx, dword [esp + 0x1c]
mov esi, eax
inc edx
push edx
call fcn.0076d5a7
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
test eax, eax
jbe 0x728cfe
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push 0
push eax
push esi
push ebp
mov byte [esi], 0
push edi
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [esp + 0x24]
push esi
push ecx
call fcn.0076d4b0
add esp, 8
test eax, eax
jne 0x728cf5
lea edx, [esp + 0x20]
push edx
push 0x20019
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x728d32
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jb 0x728ca6
mov al, byte [esp + 0x448]
test al, al
je 0x728d10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0076d2d5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0076d2d5
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x434
ret 4
mov al, byte [esp + 0x448]
test al, al
je 0x728d44
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0076d2d5
mov eax, dword [esp + 0x14]
push eax
call fcn.0076d2d5
mov eax, dword [esp + 0x28]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret 4
Function at 0x7293e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov al, byte [esi + 0x50]
mov dword [esp + 0x14], ebx
cmp al, bl
je 0x729471
mov edx, dword [esi + 0x5c]
lea eax, [esp + 0x10]
push ebx
lea ecx, [esi + 0x28]
push eax
push ecx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x72944c
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x50], bl
cmp ecx, ebx
je 0x729471
xor eax, eax
cmp ecx, ebx
jbe 0x729446
mov edi, dword [esi + 0x24]
mov edx, dword [esi + 0x58]
mov cl, byte [esi + eax + 0x6c]
mov byte [edi + edx], cl
mov ecx, dword [esi + 0x58]
inc ecx
and ecx, 0x1fff
inc eax
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jb 0x729423
mov dword [esp + 0x14], ecx
jmp 0x729471
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x729463
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push ebx
push str.GetOverlappedResult_in_WinModemClass::Read_Serial_Chars_returned_error__s_n
call fcn.004068f0
add esp, 8
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 0x5c]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
je 0x7294e3
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
je 0x7294cb
mov ebp, dword [esp + 0x1c]
sub esp, 0xc
mov edx, esp
push ecx
mov ecx, esi
mov dword [edx], ebp
mov dword [edx + 4], edi
mov dword [edx + 8], eax
call fcn.00729f30
mov edi, dword [esp + 0x20]
cmp edi, 0x2000
jl 0x7294da
mov edi, 0x2000
jmp 0x7294e3
cmp edi, ebx
jne 0x7294e3
mov edi, 1
lea ebp, [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne dl
cmp dl, bl
je 0x72954a
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x72953e
xor eax, eax
cmp ecx, ebx
jbe 0x72953a
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x58]
mov bl, byte [eax + ebp]
mov byte [ecx + edi], bl
mov ecx, dword [esi + 0x58]
inc ecx
and ecx, 0x1fff
inc eax
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jb 0x729516
xor ebx, ebx
add dword [esp + 0x14], ecx
cmp dl, 1
mov edi, 1
jne 0x72957c
jmp 0x7294e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x72956e
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
mov byte [esi + 0x50], 1
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push ebx
push str.Reading_from_port_handle_failed_with_error__s_n
call fcn.004068f0
add esp, 8
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
cmp ecx, ebx
pop esi
pop ebp
setne al
pop ebx
add esp, 0x18
ret
Function at 0x7296d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00729620
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x3c]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x5c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x72971f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x729710
mov byte [esi + 0x51], 1
pop esi
pop ecx
ret 8
push 0
push str.Writing_to_port_handle_failed_with_error__s_n
call fcn.004068f0
add esp, 8
pop esi
pop ecx
ret 8

Function at 0x72c890
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, dword [0xb0de3c]
sub esp, 0x204
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov word [0xb0dc00], bx
mov dword [0xb0de44], ebx
mov dword [0xb0de48], ebx
je 0x72c96f
lea ecx, [esp + 8]
push 0x200
push ecx
push 8
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
cmp eax, ebx
jle 0x72c96f
push 0x100
push 0xb0dc00
lea edx, [esp + 0x10]
push 0xffffffffffffffff
push edx
push ebx
push ebx
mov byte [esp + eax + 0x20], bl
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
mov word [0xb0de00], bx
jge 0x72c900
xor esi, esi
jmp 0x72c92b
mov eax, dword [0xb0de3c]
push ebx
push ebx
push 0x80
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
and eax, 0xffff
push 0xb0dc00
mov dword [0xb0de48], eax
call fcn.0076eb95
add esp, 4
mov esi, eax
mov ecx, dword [0xb0de48]
lea edx, [esp + 8]
push ecx
push edx
call fcn.007702dd
add esp, 8
cmp eax, esi
mov dword [0xb0de48], eax
mov word [esi*2 + 0xb0dc00], bx
mov dword [0xb0de44], esi
jle 0x72c965
mov dword [0xb0de48], esi
pop esi
pop ebx
add esp, 0x204
ret
cmp eax, ebx
jge 0x72c96f
mov dword [0xb0de48], ebx
pop esi
pop ebx
add esp, 0x204
ret
Function at 0x72d0d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov dword [esp + 0x10], ecx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00758eb0
mov edi, 0xfffffffe
lea ecx, [esp + 0x54]
push str.wolinfo.ini
xor ebx, ebx
xor esi, esi
mov ebp, edi
call fcn.0046f930
lea ecx, [esp + 0x54]
push ebx
call fcn.0042f5e0
test al, al
jne 0x72d130
lea ecx, [esp + 0x54]
call fcn.00630650
lea ecx, [esp + 0x54]
call fcn.0042fca0
lea ecx, [esp + 0x54]
push 1
push str.wolinfo.ini
call fcn.0046fe50
push ebx
lea ecx, [esp + 0x58]
call fcn.0042f5e0
test al, al
je 0x72d26d
lea ecx, [esp + 0x20]
call fcn.00490c60
lea eax, [esp + 0x54]
lea ecx, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x28], vtable.List_struct_INIClass::INISection__.0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x24], vtable.INIClass.0
call fcn.0050aee0
lea ecx, [esp + 0x54]
call fcn.0042fca0
mov ecx, 0xb0de70
call fcn.00759cd0
lea ecx, [esp + 0x1c]
push eax
call fcn.0050bcb0
test eax, eax
je 0x72d264
push str.Server
lea ecx, [esp + 0x14]
call fcn.00758ec0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0xb0de70
lea ecx, [esp + 0x2c]
call fcn.0050de40
lea ecx, [esp + 0x10]
call fcn.00758f80
lea ecx, [esp + 0x10]
push str.Locale
call fcn.00758ec0
lea ecx, [esp + 0x10]
push ebx
push ecx
push 0xb0de70
lea ecx, [esp + 0x28]
call fcn.0050ccd0
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00758f80
lea ecx, [esp + 0x10]
push str.Country
call fcn.00758ec0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0xfffffffffffffffe
push edx
push 0xb0de70
call fcn.0050ccd0
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00758f80
lea ecx, [esp + 0x10]
push 0x7bc370
call fcn.00758ec0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0xfffffffffffffffe
push eax
push 0xb0de70
call fcn.0050ccd0
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.00758f80
lea ecx, [esp + 0x1c]
call fcn.0050abd0
push 0x38
call fcn.0076d5a7
add esp, 4
cmp eax, ebx
je 0x72d29a
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push edi
push ebx
push ebx
lea ecx, [esp + 0x38]
push esi
push ecx
mov ecx, eax
call fcn.0072d6a0
mov esi, eax
jmp 0x72d29c
xor esi, esi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00630930
mov ecx, edi
mov dword [edi], vtable.rc_ptr_class_PlayerProfile_.0
push esi
call fcn.00630980
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.CDFileClass.0
call fcn.0042f250
lea ecx, [esp + 0x14]
call fcn.00758f80
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
Function at 0x730b70
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov edx, 0x73b350
mov ecx, 0xcf
call fcn.005f7180
mov ecx, dword [0x81a788]
mov esi, eax
mov byte [0xa28964], 1
call fcn.00530b00
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, fcn.005f7c20
mov ecx, esi
push 1
push 1
push 0
call fcn.0072a440
mov ecx, dword [0x81a788]
call fcn.00530b00
mov eax, dword [0xa255a0]
push 2
mov cl, byte [eax + 0x2306]
mov byte [0xa28964], cl
mov ecx, 0x81a800
call fcn.004dfee0
pop esi
ret
Function at 0x730ec0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x310
lea eax, [esp + 0x58]
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov ebp, ecx
push eax
call fcn.00770bfd
mov edi, str..html
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x7cb488
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x70]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0076efd5
mov esi, eax
push str._title_Hi_there.__title_
push esi
call fcn.0076ef68
push esi
call fcn.0076eeeb
add esp, 0x18
lea ecx, [esp + 0x108]
lea edx, [esp + 0x68]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov esi, eax
lea eax, [esp + 0x68]
push eax
call fcn.00770bf2
add esp, 4
cmp esi, 0x20
jle 0x7310c8
test ebx, ebx
jne 0x730f8d
push ebx
push 0x730a60
push 0x3eb
push str.C:RA2wonline.cpp
xor edx, edx
mov ecx, str.TXT_LAUNCHBROWSER
call fcn.006eea10
mov ecx, eax
mov edx, 4
call fcn.005bdc20
cmp eax, 6
jne 0x7310ee
push ebp
lea ecx, [esp + 0x214]
push str._open___s
push ecx
call fcn.0076d684
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x30]
add esp, 0xc
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x22c]
push 0
lea edx, [esp + 0x128]
push ecx
push edx
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x7310ee
mov eax, dword [esp + 0x14]
test eax, eax
mov ebx, eax
je 0x7310ee
xor esi, esi
call fcn.00732830
push 0x1388
push ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call fcn.00732830
push 0x1f4
call edi
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
cmp dword [esp + 0x10], 0x103
je 0x73103c
mov esi, 1
mov al, byte [0xa28948]
test al, al
jne 0x731063
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
cmp eax, dword [0xb0de30]
je 0x731063
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0xb0de30]
jne 0x731068
mov esi, 1
call fcn.00732830
test esi, esi
je 0x731019
call fcn.00732830
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
cmp eax, dword [0xb0de30]
je 0x7310ac
call fcn.00732830
mov ecx, dword [0xb0de30]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0xb0de30]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00732830
mov esi, 0xa
push 0x64
call edi
call fcn.00732830
dec esi
jne 0x7310b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret
push 0
push 0x730a60
push 0x42f
push str.C:RA2wonline.cpp
xor edx, edx
mov ecx, str.TXT_NOBROWSER
call fcn.006eea10
mov ecx, eax
xor edx, edx
call fcn.005bdc20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret
Function at 0x7357d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor dl, dl
xor ecx, ecx
jmp fcn.007343c0
Function at 0x736650
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, str.SOFTWAREWestwoodRed_Alert_2
push edi
test eax, eax
mov dword [esp + 8], 0
je 0x7366f4
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x7366f4
mov edi, str.SOFTWAREWestwoodRed_Alert_2
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
jne 0x7366f4
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0x7e7118
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 8]
mov eax, dword [0xa5a854]
mov edx, ecx
pop edi
and edx, 0xff
test eax, eax
mov dword [0xb102dc], edx
je 0x73671a
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x8c]
mov eax, dword [0xa5a858]
test eax, eax
je 0x73675d
mov eax, dword [0xb0f07c]
push eax
push 0xb0e3ec
push str.Get_WDT_State_Silent:_WDTHost_is__s__port_is__d_n
call fcn.004068f0
mov eax, dword [0xa5a858]
mov edx, dword [0xb0f07c]
add esp, 0xc
mov ecx, dword [eax]
push 3
push edx
push 0xb0e3ec
push eax
call dword [ecx + 0x2c]
mov al, 1
add esp, 0x110
ret
xor al, al
add esp, 0x110
ret
Function at 0x736770
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0xb10300]
sub esp, 0x110
test al, al
je 0x73678b
mov eax, 1
add esp, 0x110
ret
push esi
push edi
mov byte [0xb10300], 1
call fcn.005c2450
call fcn.005c2770
call fcn.005c2790
mov eax, str.SOFTWAREWestwoodRed_Alert_2
mov dword [esp + 8], 0
test eax, eax
je 0x73683e
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x73683e
mov edi, str.SOFTWAREWestwoodRed_Alert_2
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x73683e
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0x7e7118
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
and eax, 0xff
mov dword [esp + 8], eax
mov dword [0xb102dc], eax
add eax, 0x2100
mov dword [0x7e6b88], eax
call fcn.00732fc0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov byte [0xb10278], 1
mov esi, 0xb0df50
push 0
push 0
push 0
push 0
call edi
mov dword [esi], eax
add esi, 4
cmp esi, 0xb0df98
jl 0x736871
mov ecx, dword [0xb0dbd8]
call fcn.007357e0
pop edi
pop esi
add esp, 0x110
ret