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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
call fcn.0044e620
test eax, eax
je 0x4889fe
mov dword [0x539830], 0
jmp 0x488ad5
call fcn.0044e6ae
cmp eax, 1
jne 0x488a8c
push 0x52eaa0
mov ecx, 0x5396f0
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x488a40
push 0x52eaa4
mov ecx, 0x5396f0
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x488a8a
lea eax, [ebp - 0x100]
push eax
call fcn.0044e4f8
add esp, 4
test eax, eax
je 0x488a8a
lea ecx, [ebp - 0x100]
push ecx
call fcn.0044e300
add esp, 4
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x401
je 0x488a80
cmp dword [ebp - 0x104], 0x40d
jne 0x488a8a
mov dword [0x539830], 1
jmp 0x488ad5
push 0x52eaa8
mov ecx, 0x5396f0
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x488ac0
push 0x52eaac
mov ecx, 0x5396f0
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x488ad5
mov dword [0x539830], 1
push str._PSU__RtoL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret

Function at 0x492618
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 str._PSU__Btn_XML_nSize___d
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]
cmp dword [0x53a02c], 0
je 0x492723
mov ecx, dword [ebp - 0x190]
call fcn.004e7c5c
push 0x80
call fcn.00408afe
add esp, 4
test eax, eax
jne 0x4926b4
push 0x52fb60
mov ecx, 0x53e080
call fcn.00487b77
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
xor eax, eax
jmp 0x492728
mov dword [0x53a02c], 0
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 0x4926ec
push 0x52fb70
mov ecx, 0x53e080
call fcn.00487b77
xor eax, eax
mov ax, word [0x539ade]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x190]
call fcn.004e7c71
push 0x80
call fcn.00408b57
add esp, 4
mov dword [0x53a02c], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x49dc8c
Capabilities:
Create process on windows
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f99d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a0
mov dword [ebp - 0x3ac], ecx
cmp dword [0x5397f4], 0
jne 0x49dcbe
jmp 0x49debe
push 0x5314c0
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x49debe
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x9c]
call fcn.00401900
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x100
push str.SOFTWAREScanSoftPaperPort
lea ecx, [ebp - 0x9c]
call fcn.004e82b5
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x9c]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x49dd63
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x49dd4a
push str._PSU__PaperPort_10_reg_open_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [0x53986c], 0
mov dword [0x539868], 0
jmp 0x49deac
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.Version
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x49ddb7
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x49dd9e
push str._PSU__PaperPort_10_reg_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [0x53986c], 0
mov dword [0x539868], 0
jmp 0x49deac
mov dword [0x539868], 1
lea ecx, [ebp - 0x98]
push ecx
call fcn.004cf71f
add esp, 4
cmp eax, 0xa
jl 0x49dea2
push 0x100
lea edx, [ebp - 0x3a8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x3a8]
push eax
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov byte [edx], 0
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.004cf9b0
add esp, 8
lea edx, [ebp - 0x2a8]
push edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.004cf9b0
add esp, 8
push str.ScanOCR.exe
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.004cf9c0
add esp, 8
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x49de74
push str._PSU__ScanOCR.exe_getlist
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea eax, [ebp - 0x2a8]
push eax
push str.getlist
lea ecx, [ebp - 0x1a4]
push ecx
push 0x531564
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [0x53986c], 1
jmp 0x49deac
mov dword [0x53986c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a0ed3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9b27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x101c
call fcn.004d0180
mov dword [ebp - 0x1028], ecx
lea ecx, [ebp - 0x18]
call fcn.00401900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401900
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1028]
call fcn.004e7c5c
push 0x5316c4
mov ecx, 0x539854
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4a0f58
push 0x5316cc
push 0x5316d8
call fcn.0044e26e
add esp, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.004e82b5
jmp 0x4a0f73
push 0x5316e0
push 0x5316ec
call fcn.0044e26e
add esp, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.004e82b5
push 0x539d00
push 0
push str.NewMsgFMU
push str.CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a0fb0
push str.Msg_InitializeMemory
push 0x531720
call fcn.0044e26e
add esp, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.004e82b5
jmp 0x4a0fcb
push str.Msg_Format_FlashMemory
push 0x531740
call fcn.0044e26e
add esp, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.004e82b5
cmp dword [0x539830], 0
je 0x4a0ff8
push 0x100034
lea ecx, [ebp - 0x18]
call fcn.00401920
push eax
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x20], eax
jmp 0x4a1017
push 0x34
lea ecx, [ebp - 0x18]
call fcn.00401920
push eax
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 6
je 0x4a1048
mov ecx, dword [ebp - 0x1028]
call fcn.004e7c71
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004e812c
jmp 0x4a110a
push 0x531748
push 0x531754
push str._s_PJL_FLASH_FORMAT_r_n_s
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1020]
push edx
call fcn.004209cf
add esp, 8
mov dword [0x53a014], 1
xor eax, eax
mov ax, word [0x539ad6]
test eax, eax
je 0x4a10cf
call fcn.004225c6
mov dword [ebp - 0x1024], eax
cmp dword [ebp - 0x1024], 0
jne 0x4a10c2
push 0x531778
mov ecx, dword [ebp - 0x1028]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, 0x53e080
call fcn.004880ab
jmp 0x4a10cd
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a10e4
xor eax, eax
mov ax, word [0x539ae0]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x1028]
call fcn.004e7c71
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a359c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9c52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0x200
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
lea ecx, [ebp + 8]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a365d
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.00401920
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a3623
jmp 0x4a3651
mov dword [ebp + 0x10], 0
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004e812c
mov eax, dword [ebp - 0x20]
jmp 0x4a36a9
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a3684
mov dword [ebp - 0x24], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004e812c
mov eax, dword [ebp - 0x24]
jmp 0x4a36a9
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004e812c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a58ac
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa212
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x14]
call fcn.00401900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401900
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xb0]
add ecx, 0x1dec
call fcn.00429df0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x1e28
call fcn.00429df0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
jmp 0x4a5925
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jge 0x4a5a62
push 0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x1dec
call fcn.004e2ce1
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x14]
call fcn.004e8265
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.004e812c
mov dword [ebp - 0x1c], 0
jmp 0x4a5995
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jge 0x4a5a5d
push 0
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x1e28
call fcn.004e2ce1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x24]
call fcn.004e8265
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.004e812c
lea ecx, [ebp - 0x24]
call fcn.00401920
push eax
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
call fcn.004d9980
add esp, 8
test eax, eax
jne 0x4a5a58
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x4a5a43
mov ecx, dword [ebp - 0x24]
push ecx
push str._RCP_AList_DeleteItem__s
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0xb0]
add ecx, 0x1e28
call fcn.004ae740
jmp 0x4a598c
jmp 0x4a591c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a74a8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x1ec], 1
push 1
push 1
mov ecx, dword [ebp - 8]
add ecx, 0x1ee8
call fcn.004afb3b
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1dec
call fcn.004a3a40
mov ecx, dword [ebp - 8]
add ecx, 0x1dec
call fcn.00429e50
push 0x438
push 0x20
push 0x53a2a8
call fcn.004cf390
add esp, 0xc
push 0x80
call fcn.00408afe
add esp, 4
test eax, eax
jne 0x4a7558
push 0x531e40
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, 0x53e080
call fcn.004880ab
mov eax, dword [ebp - 8]
mov dword [eax + 0x1ec], 0
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
jne 0x4a7554
push str._PSU_InitFrontListData___false
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x4a75d7
xor eax, eax
jmp 0x4a75d7
push str._PSU_Get_ScanList
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
call fcn.004e7c5c
call fcn.0040cc7e
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
call fcn.004e7c71
push 0x80
call fcn.00408b57
add esp, 4
cmp dword [ebp - 4], 0
jne 0x4a75b5
push 0x531e94
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, 0x53e080
call fcn.004880ab
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1ec], 0
xor eax, eax
jmp 0x4a75d7
mov ecx, dword [ebp - 8]
call fcn.004a5e09
mov ecx, dword [ebp - 8]
call fcn.004a7862
mov ecx, dword [ebp - 8]
call fcn.004a79dc
call fcn.0040cfed
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4a75db
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov dword [ebp - 0x188], ecx
push 0x20
mov ecx, dword [ebp - 0x188]
add ecx, 0x1e28
call fcn.0042f3d0
push 0x20
mov ecx, dword [ebp - 0x188]
add ecx, 0x1dec
call fcn.0042f3d0
push 1
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 0x1ee4]
push ecx
mov ecx, dword [ebp - 0x188]
add ecx, 0x1e28
call fcn.00422ce0
push 1
mov edx, dword [ebp - 0x188]
mov eax, dword [edx + 0x1ee4]
push eax
mov ecx, dword [ebp - 0x188]
add ecx, 0x1dec
call fcn.00422ce0
push 0x539f08
push 0xff
lea ecx, [ebp - 0x100]
push ecx
push 0x531ea4
push str.Destination
push 0x531ebc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0xdd
push 0
lea edx, [ebp - 0x100]
push edx
push 0
mov ecx, dword [ebp - 0x188]
add ecx, 0x1e28
call fcn.004e2b68
push 0xffffffffffffffff
push 0xdd
push 0
lea eax, [ebp - 0x100]
push eax
push 0
mov ecx, dword [ebp - 0x188]
add ecx, 0x1dec
call fcn.004e2b68
push 0x104
mov ecx, dword [ebp - 0x188]
add ecx, 0x21c
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
mov edx, dword [ebp - 0x188]
add edx, 0x21c
push edx
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov byte [ecx], 0
mov edx, dword [ebp - 0x188]
add edx, 0x21c
push edx
mov eax, dword [ebp - 0x188]
add eax, 0xe8
push eax
call fcn.004cf9b0
add esp, 8
call fcn.0044e6ae
cmp eax, 5
jl 0x4a779f
push 0x5396f4
mov ecx, dword [ebp - 0x188]
add ecx, 0xe8
push ecx
call fcn.004cf9b0
add esp, 8
push 0x5396f4
mov edx, dword [ebp - 0x188]
add edx, 0x21c
push edx
call fcn.004cf9b0
add esp, 8
push 0x531ec4
mov eax, dword [ebp - 0x188]
add eax, 0x21c
push eax
call fcn.004cf9c0
add esp, 8
push 0x531ed0
mov ecx, dword [ebp - 0x188]
add ecx, 0xe8
push ecx
call fcn.004cf9c0
add esp, 8
jmp 0x4a77d2
push 0x531edc
mov edx, dword [ebp - 0x188]
add edx, 0x21c
push edx
call fcn.004cf9c0
add esp, 8
push 0x531ee8
mov eax, dword [ebp - 0x188]
add eax, 0xe8
push eax
call fcn.004cf9c0
add esp, 8
cmp dword [0x524028], 0
jne 0x4a77e7
mov dword [0x524028], 0x1e
jmp 0x4a7822
cmp dword [0x524028], 1
jne 0x4a7822
push 0
push 0x417
mov ecx, dword [ebp - 0x188]
call fcn.004e763c
mov ecx, eax
call fcn.004e7896
push 0
push 0x42b
mov ecx, dword [ebp - 0x188]
call fcn.004e763c
mov ecx, eax
call fcn.004e7896
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4a785e
mov edx, dword [ebp - 0x188]
add edx, 0x21c
push edx
push str._RCP__Scan2PC:_ini_file_path_:___s
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x4a86cc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa3cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call fcn.00401900
mov dword [ebp - 4], 0
push 0x80
mov eax, dword [ebp - 0x14]
add eax, 0xe8
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x204]
add edx, 1
push edx
push 0x532360
lea eax, [ebp - 0x10]
push eax
call fcn.004e1baf
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 0x532364
push 0x532370
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x208]
add eax, 2
push eax
push 0x532378
lea ecx, [ebp - 0x10]
push ecx
call fcn.004e1baf
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, 0xe8
push edx
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 0x53237c
push 0x532388
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x532390
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4a87c3
push 0x53239c
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4a8805
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x214]
add ecx, 1
push ecx
push 0x5323ac
lea edx, [ebp - 0x10]
push edx
call fcn.004e1baf
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 0xe8
push eax
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 0x5323b0
push 0x5323bc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4a882e
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x210
call fcn.00401920
push eax
push 0x5323c4
push 0x5323cc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x53a9cc], 0
je 0x4a8864
mov edx, dword [ebp - 0x14]
add edx, 0xe8
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x218]
mov edx, dword [ecx*4 + 0x51c4c4]
push edx
push 0x5323d4
push 0x5323e0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4a888e
mov eax, dword [ebp - 0x14]
add eax, 0xe8
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x218]
mov eax, dword [edx*4 + 0x51c53c]
push eax
push 0x5323e8
push 0x5323f4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1edc
call fcn.00401920
push eax
push 0x5323fc
push 0x532404
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
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 0x4aa70c
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov dword [ebp - 0xcc], ecx
push 0x24
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.004cf390
add esp, 0xc
push 0x9c
push 0
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004cf390
add esp, 0xc
mov dword [ebp - 0x9c], 0x9c
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x4aa789
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4aa789
xor eax, eax
jmp 0x4aa801
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x4aa7be
lea ecx, [ebp - 0xc8]
push ecx
call dword [ebp - 0xa0]
jmp 0x4aa7cb
lea edx, [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
je 0x4aa7e2
jmp 0x4aa7ff
cmp dword [ebp - 0x98], 6
jne 0x4aa7fb
cmp dword [ebp - 0x94], 0
jne 0x4aa7fb
mov eax, 7
jmp 0x4aa801
xor eax, eax
jmp 0x4aa801
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4af8a7
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa6fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4af9aa
push 8
call fcn.00422b80
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x180], 0
je 0x4af90e
mov ecx, dword [ebp - 0x180]
call fcn.004e2fe9
mov dword [ebp - 0x188], eax
jmp 0x4af918
mov dword [ebp - 0x188], 0
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x17c]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x4af9aa
mov dword [ebp - 0x178], 0x4010
cmp dword [ebp + 0xc], 0
je 0x4af95d
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], 0x160
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
lea edx, [ebp - 0x170]
push edx
push 0x80
push str..txt
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call fcn.004e3108
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.004afc10
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4afaba
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], 0x4010
mov dword [ebp - 0x164], 0x160
cmp dword [ebp + 0x10], 0
je 0x4afaf1
mov eax, dword [ebp - 0x168]
or al, 1
mov dword [ebp - 0x168], eax
cmp dword [ebp + 0xc], 0
je 0x4afb06
mov ecx, dword [ebp - 0x168]
or ecx, 2
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x164]
push eax
lea ecx, [ebp - 0x160]
push ecx
push 0x80
mov ecx, dword [ebp + 8]
call fcn.00401920
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x15c]
mov esp, ebp
pop ebp
ret 0xc