joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4209cf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 4], 0
cmp dword [0x53a02c], 0
je 0x420adc
push 0x80
call fcn.00408afe
add esp, 4
test eax, eax
jne 0x420a13
push 0x51c158
mov ecx, 0x53e080
call fcn.00487b77
xor eax, eax
jmp 0x420ade
mov dword [0x53a02c], 0
call fcn.0040883f
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420a3c
mov dword [0x53a02c], 1
xor eax, eax
jmp 0x420ade
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004089d2
mov dword [ebp - 4], eax
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x420a9a
push str._PSU_____Ink__Write_Command__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044ce83
add esp, 8
mov edx, dword [ebp - 4]
push edx
push str._PSU__WriteData___d__n
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
je 0x420ab9
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x420ab9
push str._PUS__Write_Cmd___fail_to_write_data
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00408962
push 0x80
call fcn.00408b57
add esp, 4
mov dword [0x53a02c], 1
mov eax, 1
jmp 0x420ade
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x422a50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [0x538b90], 0
je 0x422af2
push str.DeviceOpen
mov eax, dword [0x538b90]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
push str.DeviceWrite
mov edx, dword [0x538b90]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.DeviceRead
mov edx, dword [0x538b90]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push str.DeviceClose
mov edx, dword [0x538b90]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push str.SetDeviceTimeout
mov edx, dword [0x538b90]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.GetDeviceIoControl
mov edx, dword [0x538b90]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov esp, ebp
pop ebp
ret
Function at 0x430fba
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov dword [ebp - 0x190], ecx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041ac26
add esp, 0xc
lea eax, [ebp - 0x108]
mov dword [ebp - 8], eax
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x43101c
mov edx, dword [ebp - 4]
push edx
push 0x51de84
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x18c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c5c
push 0x80
call fcn.00408afe
add esp, 4
test eax, eax
jne 0x431060
push 0x51dea0
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, 0x53e080
call fcn.004880ab
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
xor eax, eax
jmp 0x4310cb
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00419059
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x431098
push 0x51deb0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, 0x53e080
call fcn.004880ab
xor edx, edx
mov dx, word [0x539ade]
imul edx, edx, 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
push 0x80
call fcn.00408b57
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4391b8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
push str._FMU__F_OnFmuRadioMemory___Begin
call fcn.0044e760
add esp, 4
push 1
mov ecx, dword [ebp - 0x84]
call fcn.004e6ccb
push 0x539f08
push 0x80
lea eax, [ebp - 0x80]
push eax
push 0
push str.IDC_FMU_RADIO_MEMORY
push 0x520000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x80]
push ecx
push 0x455
mov ecx, dword [ebp - 0x84]
call fcn.004e763c
mov ecx, eax
call fcn.004e7795
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x5c], 0
push 0
mov ecx, dword [ebp - 0x84]
call fcn.004e6ccb
push 0x520004
mov ecx, dword [ebp - 0x84]
add ecx, 0xf4
call fcn.004e82b5
push 0x52000c
mov ecx, dword [ebp - 0x84]
add ecx, 0xf0
call fcn.004e82b5
mov esp, ebp
pop ebp
ret

Function at 0x439266
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov dword [eax + 0x5c], 1
push str._FMU__F_OnFmuRadioHdd___Begin
call fcn.0044e760
add esp, 4
push 1
mov ecx, dword [ebp - 0x84]
call fcn.004e6ccb
push 0x539f08
push 0x80
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.IDC_FMU_RADIO_HDD
push 0x52004c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x80]
push edx
push 0x455
mov ecx, dword [ebp - 0x84]
call fcn.004e763c
mov ecx, eax
call fcn.004e7795
push 0
mov ecx, dword [ebp - 0x84]
call fcn.004e6ccb
push 0x520050
mov ecx, dword [ebp - 0x84]
add ecx, 0xf4
call fcn.004e82b5
push str.0:_RESOURCE
mov ecx, dword [ebp - 0x84]
add ecx, 0xf0
call fcn.004e82b5
mov esp, ebp
pop ebp
ret
Function at 0x43ab83
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov dword [ebp - 0x190], ecx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041ac26
add esp, 0xc
lea eax, [ebp - 0x108]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0x520984
lea edx, [ebp - 0x18c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c5c
push 0x80
call fcn.00408afe
add esp, 4
test eax, eax
jne 0x43ac1c
push 0x5209a0
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, 0x53e080
call fcn.004880ab
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
xor eax, eax
jmp 0x43ac87
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00419059
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x43ac54
push 0x5209b0
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, 0x53e080
call fcn.004880ab
xor ecx, ecx
mov cx, word [0x539ade]
imul ecx, ecx, 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
push 0x80
call fcn.00408b57
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x43b652
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push str.SOFTWARESamsungPSU
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43b69d
mov dword [ebp - 4], 4
lea ecx, [ebp - 4]
push ecx
push 0x539af6
lea edx, [ebp - 8]
push edx
push 0
push str.LogFMU
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov esp, ebp
pop ebp
ret
Function at 0x43deba
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 0x104], ecx
push 0xff0000
mov ecx, dword [ebp - 0x104]
add ecx, 0xd18
call fcn.00429f20
push 0x20
push 0
push 0x1036
mov ecx, dword [ebp - 0x104]
add ecx, 0xd18
call fcn.00406580
push 0x539f08
push 0xff
lea eax, [ebp - 0x100]
push eax
push 0x520e1c
push 0x520e20
push 0x520e28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0x28
push 1
lea ecx, [ebp - 0x100]
push ecx
push 0
mov ecx, dword [ebp - 0x104]
add ecx, 0xd18
call fcn.004e2b68
push 0x539f08
push 0xff
lea edx, [ebp - 0x100]
push edx
push 0x520e30
push 0x520e34
push 0x520e3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0x32
push 0
lea eax, [ebp - 0x100]
push eax
push 1
mov ecx, dword [ebp - 0x104]
add ecx, 0xd18
call fcn.004e2b68
push 0x539f08
push 0xff
lea ecx, [ebp - 0x100]
push ecx
push 0x520e44
push 0x520e50
push 0x520e5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0xa0
push 0
lea edx, [ebp - 0x100]
push edx
push 2
mov ecx, dword [ebp - 0x104]
add ecx, 0xd18
call fcn.004e2b68
push 0x539f08
push 0xff
lea eax, [ebp - 0x100]
push eax
push 0x520e64
push str.Symbol_set
push 0x520e7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0x96
push 0
lea ecx, [ebp - 0x100]
push ecx
push 3
mov ecx, dword [ebp - 0x104]
add ecx, 0xd18
call fcn.004e2b68
push 0xff0000
mov ecx, dword [ebp - 0x104]
add ecx, 0xcd0
call fcn.00429f20
push 0x20
push 0
push 0x1036
mov ecx, dword [ebp - 0x104]
add ecx, 0xcd0
call fcn.00406580
push 0x539f08
push 0xff
lea edx, [ebp - 0x100]
push edx
push 0x520e84
push 0x520e88
push 0x520e90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0x28
push 1
lea eax, [ebp - 0x100]
push eax
push 0
mov ecx, dword [ebp - 0x104]
add ecx, 0xcd0
call fcn.004e2b68
push 0x539f08
push 0xff
lea ecx, [ebp - 0x100]
push ecx
push 0x520e98
push str.IDL_ID
push 0x520ea4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0x50
push 0
lea edx, [ebp - 0x100]
push edx
push 1
mov ecx, dword [ebp - 0x104]
add ecx, 0xcd0
call fcn.004e2b68
mov esp, ebp
pop ebp
ret
Function at 0x44bd98
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6869
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x10]
call fcn.00401900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401900
mov byte [ebp - 4], 1
call fcn.0040883f
test eax, eax
je 0x44bf1e
push 0x100
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004cf390
add esp, 0xc
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
push edx
push 0x100
lea eax, [ebp - 0x11c]
push eax
push 0x100
lea ecx, [ebp - 0x11c]
push ecx
push 0x16000c
call dword [0x538b7c]
add esp, 0x18
test eax, eax
jne 0x44be6c
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x44be67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._PSU__IOCTL_PAR_QUERY_DEVICE_ID_DeviceIoControl_error__d
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44bf19
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004e82b5
push 0x523f80
lea ecx, [ebp - 0x1c]
call fcn.004e82b5
lea ecx, [ebp - 0x1c]
call fcn.00401920
push eax
lea ecx, [ebp - 0x10]
call fcn.004e1829
test eax, eax
jl 0x44bf0f
mov eax, dword [ebp - 0x220]
add eax, 0xe0
push eax
push str.PCD:
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0040d7d6
add esp, 0xc
test eax, eax
je 0x44bf0d
mov dword [0x53a98c], 1
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x44bf0d
mov eax, dword [ebp - 0x220]
add eax, 0xe0
push eax
mov ecx, dword [0x53a98c]
push ecx
push str._PSU__g_mfp.m_firmwareHeader___d____s
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44bf19
mov dword [0x53a98c], 0
call fcn.00408962
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x44ce83
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x6c], 0
jmp 0x44ce9b
mov eax, dword [ebp - 0x6c]
add eax, 8
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp + 0xc]
jge 0x44cfe8
push 0x64
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.004cf390
add esp, 0xc
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x6c]
push eax
push str._04x:
mov ecx, dword [ebp - 0x68]
lea edx, [ebp + ecx - 0x64]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], 0
jmp 0x44ceed
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 8
jge 0x44cf3c
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp + 0xc]
jge 0x44cf11
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + edx]
mov dword [ebp - 0x74], ecx
jmp 0x44cf18
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x74]
push edx
push str._02X
mov eax, dword [ebp - 0x68]
lea ecx, [ebp + eax - 0x64]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x68]
add edx, eax
mov dword [ebp - 0x68], edx
jmp 0x44cee4
mov dword [ebp - 0x70], 0
jmp 0x44cf4e
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 8
jge 0x44cfbb
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp + 0xc]
jl 0x44cf61
jmp 0x44cfbb
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + edx]
push ecx
call fcn.004d0b18
add esp, 4
test eax, eax
je 0x44cf8d
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov cl, byte [eax + edx]
mov byte [ebp - 0x78], cl
jmp 0x44cf91
mov byte [ebp - 0x78], 0x2e
mov edx, dword [ebp - 0x78]
and edx, 0xff
push edx
push 0x524080
mov eax, dword [ebp - 0x68]
lea ecx, [ebp + eax - 0x64]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x68]
add edx, eax
mov dword [ebp - 0x68], edx
jmp 0x44cf45
push 0x524084
mov eax, dword [ebp - 0x68]
lea ecx, [ebp + eax - 0x64]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x68]
add edx, eax
mov dword [ebp - 0x68], edx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44ce92
mov esp, ebp
pop ebp
ret

Function at 0x44cfec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jae 0x44d009
jmp 0x44cff9
mov esp, ebp
pop ebp
ret
Function at 0x44e26e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x200
push 0
push 0x5392f0
call fcn.004cf390
add esp, 0xc
push 0x539f08
push 0x1ff
push 0x5392f0
push 0x53a9e0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
mov eax, 0x5392f0
mov esp, ebp
pop ebp
ret

Function at 0x44e2b4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], str.HELP
push 0x400
push 0
push 0x538ef0
call fcn.004cf390
add esp, 0xc
push 0x539f08
push 0x3ff
push 0x538ef0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
mov eax, 0x538ef0
mov esp, ebp
pop ebp
ret

Function at 0x44e300
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004cf430
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x44e341
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jl 0x44e437
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [ebp - 0xc], dl
movsx eax, byte [ebp - 0xc]
cmp eax, 0x61
jl 0x44e39c
movsx ecx, byte [ebp - 0xc]
cmp ecx, 0x66
jg 0x44e39c
movsx esi, byte [ebp - 0xc]
sub esi, 0x57
fild dword [ebp - 8]
sub esp, 8
fstp qword [esp]
push 0x40300000
push 0
call fcn.004d0b69
add esp, 0x10
call fcn.004cfbb4
imul esi, eax
mov edx, dword [ebp - 0x14]
add edx, esi
mov dword [ebp - 0x14], edx
jmp 0x44e432
movsx eax, byte [ebp - 0xc]
cmp eax, 0x41
jl 0x44e3df
movsx ecx, byte [ebp - 0xc]
cmp ecx, 0x46
jg 0x44e3df
movsx esi, byte [ebp - 0xc]
sub esi, 0x37
fild dword [ebp - 8]
sub esp, 8
fstp qword [esp]
push 0x40300000
push 0
call fcn.004d0b69
add esp, 0x10
call fcn.004cfbb4
imul esi, eax
mov edx, dword [ebp - 0x14]
add edx, esi
mov dword [ebp - 0x14], edx
jmp 0x44e432
movsx eax, byte [ebp - 0xc]
cmp eax, 0x30
jl 0x44e422
movsx ecx, byte [ebp - 0xc]
cmp ecx, 0x39
jg 0x44e422
movsx esi, byte [ebp - 0xc]
sub esi, 0x30
fild dword [ebp - 8]
sub esp, 8
fstp qword [esp]
push 0x40300000
push 0
call fcn.004d0b69
add esp, 0x10
call fcn.004cfbb4
imul esi, eax
mov edx, dword [ebp - 0x14]
add edx, esi
mov dword [ebp - 0x14], edx
jmp 0x44e432
push str.Data_format_error__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
jmp 0x44e43a
jmp 0x44e32f
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44e4f8
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f69e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x14], 0xff
push str.Enter_Get9xResourceLocale_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Control_PanelDesktopResourceLocale
lea ecx, [ebp - 0x10]
call fcn.004e819a
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44e5e8
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x53a9e4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44e5d3
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
push str.Success_____s__n
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x9c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e812c
mov eax, dword [ebp - 0x9c]
jmp 0x44e612
push str.RegQueryValue_fail_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Exit_Get9xResourceLocale_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e812c
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x44e620
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push 0x9c
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.004cf390
add esp, 0xc
mov dword [ebp - 0x9c], 0x9c
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x44e684
mov dword [ebp - 0x9c], 0x94
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x44e684
xor eax, eax
jmp 0x44e6aa
cmp dword [ebp - 0x8c], 2
jne 0x44e6a8
cmp dword [ebp - 0x98], 4
ja 0x44e6a8
push str.Current_is_NT_OS_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
jmp 0x44e6aa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x44e6ae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x44e6d9
xor eax, eax
jmp 0x44e75c
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 1
je 0x44e6f9
cmp dword [ebp - 0x98], 2
je 0x44e710
jmp 0x44e757
cmp dword [ebp - 0x8c], 0xa
jb 0x44e709
mov eax, 1
jmp 0x44e75c
mov eax, 4
jmp 0x44e75c
cmp dword [ebp - 0x90], 4
jne 0x44e720
mov eax, 2
jmp 0x44e75c
cmp dword [ebp - 0x90], 5
jne 0x44e740
cmp dword [ebp - 0x8c], 0
jne 0x44e739
mov eax, 3
jmp 0x44e75c
mov eax, 5
jmp 0x44e75c
cmp dword [ebp - 0x90], 6
jb 0x44e750
mov eax, 6
jmp 0x44e75c
mov eax, 4
jmp 0x44e75c
mov eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x44e760
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa008
call fcn.004d0180
push edi
mov byte [ebp - 0xa004], 0
mov ecx, 0x13ff
xor eax, eax
lea edi, [ebp - 0xa003]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x44e81b
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x5004], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004cf430
add esp, 4
cmp eax, 0x5000
jae 0x44e7c7
mov eax, dword [ebp + 8]
push eax
call fcn.004cf430
add esp, 4
mov dword [ebp - 0xa008], eax
jmp 0x44e7d1
mov dword [ebp - 0xa008], 0x4fff
mov ecx, dword [ebp - 0xa008]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xa004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x5004]
push ecx
lea edx, [ebp - 0xa004]
push edx
lea eax, [ebp - 0x5000]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
mov dword [ebp - 0x5004], 0
lea ecx, [ebp - 0x5000]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x455276
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov dword [ebp - 0x190], ecx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041ac26
add esp, 0xc
lea eax, [ebp - 0x108]
mov dword [ebp - 8], eax
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4552d8
mov edx, dword [ebp - 4]
push edx
push 0x5249c0
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x18c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c5c
push 0x80
call fcn.00408afe
add esp, 4
test eax, eax
jne 0x45531c
push 0x5249dc
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, 0x53e080
call fcn.004880ab
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
xor eax, eax
jmp 0x455387
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00419059
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x455354
push 0x5249ec
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, 0x53e080
call fcn.004880ab
xor edx, edx
mov dx, word [0x539ade]
imul edx, edx, 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
push 0x80
call fcn.00408b57
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x455aaa
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov ecx, dword [ebp - 4]
add ecx, 0x70
call fcn.00401920
push eax
call sub.WSOCK32.dll_inet_addr
push eax
call sub.WSOCK32.dll_ntohl
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x5a8
call fcn.00456500
mov ecx, dword [ebp - 4]
add ecx, 0x6c
call fcn.00401920
push eax
call sub.WSOCK32.dll_inet_addr
push eax
call sub.WSOCK32.dll_ntohl
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x5e4
call fcn.00456500
mov ecx, dword [ebp - 4]
add ecx, 0x68
call fcn.00401920
push eax
call sub.WSOCK32.dll_inet_addr
push eax
call sub.WSOCK32.dll_ntohl
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x56c
call fcn.00456500
push 0
mov ecx, dword [ebp - 4]
call fcn.004e6ccb
mov esp, ebp
pop ebp
ret