joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414660
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532658
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4146b1
mov eax, dword [esi]
jmp 0x4146b3
mov eax, esi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x4146d4
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4146c5
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00403170
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
cmp word [edi], ax
jne 0x414704
xor ecx, ecx
jmp 0x41471f
mov ecx, edi
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414710
sub ecx, ebx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x18]
call fcn.00403170
mov eax, dword [ebp + 0x14]
movsd xmm0, qword [0x565f38]
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0x38], 0x404780
movsd qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
mov dword [esi + 0x70], 7
mov dword [esi + 0x6c], 0
mov word [esi + 0x5c], ax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0xf
mov byte [esi + 0x74], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a710
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53315d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
call fcn.004d7060
mov dword [esi + 0x10], 0
lea ecx, [edi + 0x758]
mov dword [esi + 0x14], 0
add esp, 0xc
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41a79c
mov eax, dword [esi]
jmp 0x41a79e
mov eax, esi
xor edx, edx
push 0xffffffffffffffff
push edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00403270
xor eax, eax
mov dword [ebp - 0x234], 1
mov byte [edi + 0x7b9], 1
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00422970
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
call fcn.00422860
test eax, eax
mov dword [ebp - 0x238], eax
mov byte [edi + 0x7ba], 1
setne al
mov byte [edi + 0x7b9], al
call fcn.004227e0
mov ebx, eax
test ebx, ebx
setne al
mov byte [edi + 0x7ba], al
cmp dword [edi + 0x768], 0
je 0x41a85a
cmp dword [edi + 0x754], 8
lea eax, [edi + 0x740]
jb 0x41a84b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41a91f
cmp dword [ebp - 0x238], 0
je 0x41a8a2
test ebx, ebx
je 0x41a8a2
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [ebp - 0x218]
push 0
je 0x41a8aa
push str.hudun
push eax
push 0
push 0x104
push eax
call fcn.005156b3
add esp, 0x18
jmp 0x41a8c9
push 0
lea eax, [ebp - 0x218]
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x2a
push eax
push 0
call edi
test eax, eax
jne 0x41a8c9
push eax
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call edi
push 0x562a6c
push str.XJSiWeiDaoTu
lea eax, [ebp - 0x218]
push eax
push 0
push 0x104
push eax
call fcn.005156b3
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x41a8f8
xor ecx, ecx
jmp 0x41a910
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a901
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403170
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x41a93d
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004017c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4
Function at 0x41aac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push 0x208
push 0
push eax
mov esi, ecx
call fcn.004d7060
add esi, 0x758
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x41aafe
mov esi, dword [esi]
push 0x10
push edi
push 0x10
push esi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
mov ecx, 0x563540
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ab46
test dx, dx
je 0x41ab42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ab46
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ab20
xor eax, eax
jmp 0x41ab4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41abff
push eax
push str.set.ini
push edi
push eax
lea esi, [eax + 1]
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.005156b3
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
push 0x14
lea eax, [ebp - 0x2c]
push eax
push str.true
push str.IsOverride
push str.Uninstall
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.false
lea eax, [ebp - 0x2c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41abdf
test dx, dx
je 0x41abc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41abdf
add eax, 4
add ecx, 4
test dx, dx
jne 0x41aba0
xor eax, eax
xor ecx, ecx
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4
sbb eax, eax
xor ecx, ecx
or eax, 1
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4

Function at 0x41ada0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0
call fcn.004d7060
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x41ae04
push eax
push 0x2e
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x564e68
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.005156b3
push 0
push str.XJSiWeiDaoTu
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.005156b3
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0x30
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x41ae5d
xor ecx, ecx
jmp 0x41ae75
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae66
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00403170
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4
Function at 0x41aea0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533251
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x794]
lea eax, [ebp - 0x200]
mov ebx, dword [ebp + 8]
push eax
call fcn.00410cc0
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x41aef4
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x1ac], 7
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
cmp word [edx], ax
jne 0x41af1a
xor ecx, ecx
jmp 0x41af2f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41af20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c0]
call fcn.00403170
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1ec]
cmp eax, 8
jb 0x41af5e
inc eax
lea ecx, [ebp - 0x200]
push eax
push dword [ebp - 0x200]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x1ec], 7
mov dword [ebp - 0x1f0], 0
mov word [ebp - 0x200], ax
call fcn.0041fb30
cmp dword [ebp - 0x1ac], 8
lea esi, [ebp - 0x1c0]
mov dword [ebp - 0x1e4], eax
cmovae esi, dword [ebp - 0x1c0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41afb2
push esi
call edi
test eax, eax
je 0x41afe1
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41afe1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov edi, 1
jmp 0x41afe3
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1d0], xmm0
movlpd qword [ebp - 0x1c8], xmm0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1ac], 8
lea eax, [ebp - 0x1c0]
push 0
cmovae eax, dword [ebp - 0x1c0]
push 3
push ecx
push eax
call fcn.005154e2
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.00425850
cmp dword [ebx + 0x24], 8
lea esi, [ebx + 0x10]
jb 0x41b055
mov esi, dword [esi]
push dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x1d4]
mov ecx, 0x564f08
test edi, edi
mov eax, 0x564f00
cmove eax, ecx
mov ecx, dword [ebp - 0x1d8]
push eax
call fcn.004ee7e0
xor edx, edx
movsd qword [ebp - 0x1e8], xmm0
mov ecx, 0x40000000
call fcn.004ee7e0
movsd xmm1, qword [ebp - 0x1e8]
sub esp, 8
divsd xmm1, xmm0
cvttsd2si eax, qword [ebx + 8]
movsd qword [esp], xmm1
push esi
push eax
push str.1.code_ld
lea eax, [ebp - 0x1a8]
push 0xc8
push eax
call fcn.0040f0c0
mov eax, dword [ebp - 0x1ac]
add esp, 0x24
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
cmp eax, 8
jb 0x41b0ec
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.004017c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4
Function at 0x41b300
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5332b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x73c], 8
lea esi, [edi + 0x728]
jb 0x41b340
mov ebx, dword [esi]
jmp 0x41b342
mov ebx, esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHuDunSoft_siweidaotu_pc
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b396
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b370
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.InstallPath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x720], 0
jne 0x41b407
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403270
push 0xa
push str.uninst.ep
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00403390
lea ecx, [edi + 0x710]
cmp ecx, eax
je 0x41b3f2
push 0xffffffffffffffff
push 0
push eax
call fcn.00403270
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41b407
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
cmp dword [edi + 0x724], 8
lea esi, [edi + 0x710]
jb 0x41b41a
mov eax, dword [esi]
jmp 0x41b41c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b43e
cmp dword [esi + 0x14], 8
jb 0x41b42f
mov esi, dword [esi]
push esi
push ecx
push str.UnInstallEp
call fcn.00425970
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret

Function at 0x41b790
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x780]
test eax, eax
je 0x41b7c8
cmp eax, 5
jbe 0x41b7c8
cmp dword [edi + 0x784], 8
lea eax, [edi + 0x770]
jb 0x41b7b4
mov eax, dword [eax]
push 3
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [edi + 0x70c], 8
lea esi, [edi + 0x6f8]
jb 0x41b7d9
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b806
mov ecx, edi
call fcn.00441f00
mov ecx, eax
call fcn.0041f720
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
ret
Function at 0x41f7c0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53381b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x41f82a
xor ecx, ecx
jmp 0x41f842
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f833
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403170
push 0x1c
push 0x565414
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.00403390
xor ecx, ecx
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
push eax
mov dword [ebp - 0x220], 0
call fcn.00403270
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41f8b8
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004017c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f8fd
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41f8fd
lea esi, [eax + 1]
jmp 0x41f922
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
push esi
call fcn.0051ae41
add esp, 0xc
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x41f940
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004017c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
Function at 0x4201a0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533946
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x4a8], edi
push 0
push 0x562f60
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x4ac], edi
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], 0
mov byte [ebp - 0x430], 0
call fcn.004049f0
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
jne 0x420249
lea eax, [ebp - 0x430]
mov ecx, edi
push eax
call fcn.00406140
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0x10
jb 0x420426
inc ecx
push ecx
jmp 0x420415
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x4a8], 0
jb 0x42025f
mov esi, dword [esi]
push 0x565614
lea eax, [ebp - 0x4a8]
push esi
push eax
call fcn.0050b7cc
add esp, 0xc
test eax, eax
jne 0x4203fa
mov esi, dword [ebp - 0x4a8]
test esi, esi
je 0x4203fa
push 0x400
push eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x49c], 0x67452301
mov dword [ebp - 0x498], 0xefcdab89
mov dword [ebp - 0x494], 0x98badcfe
mov dword [ebp - 0x490], 0x10325476
call fcn.004d7060
push esi
push 0x400
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.0050f121
add esp, 0x1c
test eax, eax
jle 0x420322
nop dword [eax + eax]
push eax
lea edx, [ebp - 0x414]
lea ecx, [ebp - 0x4a4]
call fcn.00421dc0
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x414]
push 0x400
push 1
push eax
call fcn.0050f121
add esp, 0x14
test eax, eax
jg 0x4202f0
lea ecx, [ebp - 0x4a4]
call fcn.00421e80
xor eax, eax
mov byte [ebp - 0x418], 0
mov word [ebp - 0x417], ax
xor esi, esi
nop
cmp esi, 0x10
jge 0x4203ec
movzx eax, byte [ebp + esi - 0x44c]
push eax
push str._02x
lea eax, [ebp - 0x418]
push 3
push eax
call fcn.0040b670
add esp, 0x10
cmp byte [ebp - 0x418], 0
jne 0x420389
xor ecx, ecx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.00406e90
inc esi
jmp 0x420340
lea ecx, [ebp - 0x418]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420392
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.00406e90
inc esi
jmp 0x420340
push dword [ebp - 0x4a8]
call fcn.0050b889
add esp, 4
lea eax, [ebp - 0x430]
mov ecx, edi
push eax
call fcn.00406140
mov eax, dword [ebp - 0x41c]
cmp eax, 0x10
jb 0x420426
inc eax
push eax
push dword [ebp - 0x430]
lea ecx, [ebp - 0x430]
call fcn.00404c20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
Function at 0x422a90
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov edi, ecx
push 0x400
push edi
call fcn.0051ae41
add esp, 0xc
lea eax, [ebp - 0x50]
push 0x44
push 0
push eax
call fcn.004d7060
or dword [ebp - 0x24], 0x101
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x50], 0x44
push 0
push 1
push dword [edi + 0x814]
call esi
mov eax, dword [edi + 0x810]
push 0
push 1
push dword [edi + 0x804]
mov dword [ebp - 0x14], eax
call esi
mov eax, dword [edi + 0x800]
push 0
push 1
push dword [edi + 0x820]
mov dword [ebp - 0x10], eax
call esi
mov eax, dword [edi + 0x824]
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [edi + 0x830]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x422b91
push dword [edi + 0x810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [edi + 0x810], 0
push dword [edi + 0x800]
call esi
mov dword [edi + 0x800], 0
push dword [edi + 0x824]
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 0x824], 0
xor ecx, ebp
pop edi
pop esi
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 0xc
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004226e0
push 0x575c64
lea eax, [ebp - 0x5c]
push eax
call fcn.004d7590
int3

Function at 0x422bf0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533c68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x422ca7
push 0x11
xor eax, eax
mov dword [ebp - 0x10], 7
push 0x565690
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00403170
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00403710
cmp dword [eax + 0x14], 8
jb 0x422c61
mov eax, dword [eax]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x422c84
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.004017c0
cmp dword [esi + 0x18], 0
je 0x422ca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x422ca7
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423b60
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533df9
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
lea eax, [ebp + 8]
mov dword [ebp - 0x24c], 7
push eax
mov dword [ebp - 0x250], 0
call fcn.00403270
push 0xb
push str.config.ini
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.00403390
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x423be5
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x423c0b
xor ecx, ecx
jmp 0x423c1f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423c10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00403170
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x423c4a
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.004017c0
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov dword [ebp - 0x234], 7
cmovae esi, dword [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423ce5
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x56511c
push str.Language
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x423cba
xor ecx, ecx
jmp 0x423cd2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423cc3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403170
lea edx, [ebp - 0x248]
xor ecx, ecx
call fcn.004231e0
mov ecx, edi
mov esi, eax
call dword [0x56604c]
mov ecx, eax
call dword [0x566050]
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x423d22
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x423d5d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x423d8f
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004017c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret