joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042c0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00529d40
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret

Function at 0x404340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4043da
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.005404ce
add esp, 8
test eax, eax
jne 0x4043c3
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4043e9
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40438d
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret

Function at 0x405120
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4051da
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.005404ce
add esp, 8
test eax, eax
jne 0x4051c3
push 0
mov edx, dword [ebp - 0x128]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4051e9
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40516d
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret
Function at 0x40ce30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c698
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
push 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x98]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x98]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], 0
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
movzx edx, cl
test edx, edx
je 0x40cead
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
jmp 0x40cef2
cmp dword [ebp - 0x18], 0x10
jb 0x40cebb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
jmp 0x40cec1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x50]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret
Function at 0x40dcb0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c800
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x208], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x40dcf9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20c], eax
jmp 0x40dd02
lea ecx, [ebp + 8]
mov dword [ebp - 0x20c], ecx
push 0x4101
push 0x160
lea edx, [ebp - 0x174]
push edx
push 0
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40de1d
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x178]
push edx
mov ecx, 0x62f7d0
call fcn.0040e480
mov eax, dword [0x62f7d4]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x178]
xor eax, eax
cmp edx, dword [ebp - 0x180]
sete al
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
movzx edx, cl
test edx, edx
je 0x40ddd6
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x174]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
lea edx, [ebp - 0x17c]
push edx
mov ecx, 0x62f7d0
call fcn.0040e3d0
mov eax, dword [eax]
mov dword [ebp - 0x184], eax
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x184]
jmp 0x40de47
lea ecx, [ebp - 0x170]
push ecx
mov ecx, 0x62f7d0
call fcn.0040e3d0
mov edx, dword [ebp - 0x174]
mov dword [eax], edx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x188]
jmp 0x40de47
mov dword [ebp - 0x18c], 0
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x40de70
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40deee
push 0
push str.ReBarWindow32
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40deee
push 0
push str.DeskBandSampleClass
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x40deee
push 0
push 0x5bf928
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 1
jmp 0x40def0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x417860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa3c
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xa3c], ecx
mov dword [ebp - 0xa04], 0xc8
lea eax, [ebp - 0xa04]
push eax
lea ecx, [ebp - 0xa00]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa3c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa08], eax
cmp dword [ebp - 0xa08], 0
jne 0x4178ec
lea eax, [ebp - 0xa00]
push eax
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa0c], eax
mov ecx, dword [ebp - 0xa0c]
push ecx
lea edx, [ebp - 0xa00]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004064c0
mov eax, 1
jmp 0x4178ee
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret 8

Function at 0x417900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fd08
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
lea eax, [ebp - 0x155]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x194], ecx
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x190]
call fcn.00417ab0
test eax, eax
je 0x417a4d
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x18], 0x10
jb 0x41798f
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x198], eax
jmp 0x417998
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x198], ecx
lea edx, [ebp - 0x30]
push edx
push 0xf003f
push 0
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417a1f
mov dword [ebp - 0x38], 0x104
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0xc], ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417a1f
lea ecx, [ebp - 0x144]
push ecx
call fcn.005291f0
add esp, 4
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004064c0
mov dword [ebp - 0x148], 1
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
jmp 0x417a93
mov dword [ebp - 0x14c], 0
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14c]
jmp 0x417a93
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret 8
Function at 0x417ab0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x114], 0x104
push 0x5a72aa
call fcn.005291f0
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
push 0x5a72aa
mov ecx, dword [ebp + 8]
call fcn.004064c0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x417b77
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp - 0x168]
mov dword [eax + 8], edx
lea ecx, [ebp - 0x110]
push ecx
call fcn.005291f0
add esp, 4
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
push edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.004064c0
mov eax, 1
jmp 0x417b86
mov ecx, dword [ebp - 0x168]
mov dword [ecx + 8], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret 4

Function at 0x417ba0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x130], 0x128
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x417be0
xor eax, eax
jmp 0x417c51
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x417c08
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x417c51
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.005404ce
add esp, 8
test eax, eax
jne 0x417c2a
mov edx, dword [ebp - 0x128]
mov dword [ebp - 4], edx
jmp 0x417c41
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x417c08
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret
Function at 0x41c570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c698
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x9c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x9c]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 4], 0
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
movzx edx, cl
test edx, edx
je 0x41c5eb
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
jmp 0x41c630
cmp dword [ebp - 0x18], 0x10
jb 0x41c5f9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
jmp 0x41c5ff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x50]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret
Function at 0x41d2a0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581c28
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x200], ecx
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [ebp + 0x18], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x41d317
mov dword [ebp - 0x180], 0
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x180]
jmp 0x41d477
cmp dword [ebp + 0x1c], 0x10
jb 0x41d328
mov edx, dword [ebp + 8]
mov dword [ebp - 0x204], edx
jmp 0x41d331
lea eax, [ebp + 8]
mov dword [ebp - 0x204], eax
push 0x4101
push 0x160
lea ecx, [ebp - 0x174]
push ecx
push 0
mov edx, dword [ebp - 0x204]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d44d
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x178]
push ecx
mov ecx, 0x62f7d0
call fcn.0040e480
mov edx, dword [0x62f7d4]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x178]
xor edx, edx
cmp ecx, dword [ebp - 0x184]
sete dl
movzx eax, dl
neg eax
sbb eax, eax
add eax, 1
movzx ecx, al
test ecx, ecx
je 0x41d406
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, 0x62f7d0
call fcn.0040e3d0
mov edx, dword [eax]
mov dword [ebp - 0x188], edx
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x188]
jmp 0x41d477
lea eax, [ebp - 0x170]
push eax
mov ecx, 0x62f7d0
call fcn.0040e3d0
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18c]
jmp 0x41d477
mov dword [ebp - 0x190], 0
mov dword [ebp - 4], 4
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x422930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5825f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00406060
mov dword [ebp - 4], 1
push str._skinConfigDefaultconfig.ini
push 0x62ca68
lea edx, [ebp - 0x2c]
push edx
call fcn.0040e850
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00405ab0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xbc]
add edx, 0x428
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 0x10
jb 0x4229f8
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov dword [ebp - 0xc8], edx
jmp 0x422a01
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
push str.soft_id
mov ecx, dword [ebp + 8]
call fcn.004226d0
mov edx, dword [ebp - 0xbc]
add edx, 0x444
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x14], 0x10
jb 0x422a43
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
jmp 0x422a4f
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
push str.version
mov ecx, dword [ebp + 8]
call fcn.004226d0
mov ecx, dword [ebp - 0xbc]
add ecx, 0x460
call fcn.00406100
push eax
push str.channel_id
mov ecx, dword [ebp + 8]
call fcn.004226d0
push 0x5bf584
push str.biz_version
mov ecx, dword [ebp + 8]
call fcn.004226d0
push 0x5c2398
push str.start_way
mov ecx, dword [ebp + 8]
call fcn.004226d0
mov byte [ebp - 0x58], 0
xor edx, edx
mov dword [ebp - 0x57], edx
mov dword [ebp - 0x53], edx
mov dword [ebp - 0x4f], edx
mov word [ebp - 0x4b], dx
mov byte [ebp - 0x49], dl
cmp dword [ebp - 0x34], 0x10
jb 0x422acd
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xd0], eax
jmp 0x422ad6
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
push edx
push 0xf
lea eax, [ebp - 0x58]
push eax
push 0x5bf5b8
push str.SetupType
push str.SetupInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x58]
push ecx
push str.install_way
mov ecx, dword [ebp + 8]
call fcn.004226d0
mov dword [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00406060
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret 4
Function at 0x427950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [0x6305e0], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x616b98], ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov ecx, dword [ebp - 4]
call fcn.00427640
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4279a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x42c787
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004375ed
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42c7c0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042c3c9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42c81e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x42c842
cmp dword [edi + 0x74], 0
jne 0x42c842
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004375ed
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042c7df
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x432e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x432e57
call fcn.004375ed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x432e57
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x432e73
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00432915
mov esi, eax
test edi, edi
je 0x432e71
test ebx, ebx
je 0x432e71
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x433d03
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x587896
call fcn.0052f377
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x433d28
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x433d7a
call fcn.0042a53b
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ab50
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052f481
push eax
call fcn.0042ae6f
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042a60f
mov eax, esi
call fcn.0052f44f
ret 8
Function at 0x435120
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x435168
push 0x5c3f90
push 4
push eax
call fcn.0052fd2e
push eax
call fcn.0042ae6f
add esp, 0x10
jmp 0x43517e
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x435201
push edi
call fcn.0052f90e
mov edi, dword [eax]
call fcn.0052f90e
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00529e8d
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0052f90e
cmp dword [eax], 0
je 0x4351d5
call fcn.0052f90e
push dword [eax]
call fcn.0042b1c5
pop ecx
jmp 0x4351dc
call fcn.0052f90e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x435201
cmp dword [ebp - 0x11c], esi
jae 0x435201
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x435203
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052927b
leave
ret