joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46de40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x240]
push ebp
mov ebp, dword [esp + 0x240]
push edi
mov edi, dword [esp + 0x240]
test edi, edi
je 0x46df78
mov eax, dword [ecx]
test eax, eax
je 0x46df78
push esi
push 0x517148
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x46df77
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
mov dword [esp + 0x10], 0x208
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
call fcn.00404c20
push eax
push edi
call esi
lea eax, [esp + 0x34]
push eax
call fcn.004051b0
add esp, 4
lea ecx, [ebx + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00405050
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push edi
call esi
lea eax, [esp + 0x34]
push eax
call fcn.004051b0
add esp, 4
lea ecx, [ebx + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00405050
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push edi
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call esi
pop esi
mov ecx, dword [esp + 0x238]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c35a5
add esp, 0x230
ret 0xc
Function at 0x46f070
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x4f829b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp + 0x11c], 0
call fcn.004c35b6
mov dword [ebp + 0x11c], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004c5c20
add esp, 0x10
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x46f0fa
cmp dword [ebp + 4], 6
mov eax, dword [ebp + 0x11c]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp + 0x11c]
call fcn.00416150
test al, al
je 0x46f12d
lea ecx, [ebp + 0x11c]
call fcn.00415af0
test al, al
jne 0x46f12d
xor bl, bl
jmp 0x46f21f
lea edx, [esi + 4]
xor ecx, ecx
call fcn.004ac520
test al, al
jne 0x46f166
lea ecx, [esi + 4]
call fcn.00404e90
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x46f159
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00405420
add esp, 8
lea edx, [esi + 0x1c]
mov ecx, 0x1a
call fcn.004ac520
test al, al
jne 0x46f1a2
lea ecx, [esi + 0x1c]
call fcn.00404e90
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x46f195
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00405420
add esp, 8
lea edx, [esi + 0x34]
mov ecx, 2
call fcn.004ac520
test al, al
jne 0x46f1de
lea ecx, [esi + 0x34]
call fcn.00404e90
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x46f1d1
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00405420
add esp, 8
lea edx, [esi + 0x4c]
mov ecx, 0xb
call fcn.004ac520
test al, al
jne 0x46f21a
lea ecx, [esi + 0x4c]
call fcn.00404e90
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x46f20d
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00405420
add esp, 8
mov byte [esi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x11c]
call fcn.004154f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x124]
pop ebp
ret
Function at 0x46f2e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f82f1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x53b098]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
call fcn.00404e90
mov ebx, eax
cmp dword [eax + 0x14], 8
jb 0x46f32c
mov ebx, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], 0x25
test edx, edx
je 0x46f417
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00405ab0
add esp, 4
test eax, eax
je 0x46f417
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x46f417
push edi
lea ecx, [ebp - 0x2c]
call fcn.00404d60
mov dword [ebp - 4], 1
mov ecx, edi
push 0
push 0
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x46f3aa
push edi
mov ecx, esi
call fcn.00404d60
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004049a0
jmp 0x46f42d
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c3e0d
mov edx, dword [ebp - 0x14]
add esp, 4
inc edx
mov ebx, eax
mov ecx, edi
push edx
push ebx
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x46f3fe
cmp eax, dword [ebp - 0x14]
ja 0x46f3fe
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call fcn.004051b0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push ebx
call fcn.00405050
push ebx
call fcn.004c3c0d
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00405a70
jmp 0x46f392
push edi
mov ecx, esi
call fcn.00404d60
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
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.004c35a5
mov esp, ebp
pop ebp
ret 8
Function at 0x46ff40
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f847c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x53b098]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00404d00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404d00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040cc90
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.004049a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.004049a0
lea eax, [ebp - 0x294]
push eax
call fcn.00409bb0
add esp, 4
test al, al
jne 0x4700a4
xor bl, bl
jmp 0x470106
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.00424eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.00404c10
test al, al
je 0x4700cc
xor bl, bl
jmp 0x4700f7
lea ecx, [ebp - 0x27c]
call fcn.00404e90
cmp esi, eax
je 0x4700f5
call fcn.00404e90
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4700ea
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00405050
mov bl, 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.004049a0
mov al, bl
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.004c35a5
mov esp, ebp
pop ebp
ret 4
Function at 0x470140
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f84ee
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x53b098]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00404d00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00404d00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040cc90
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.004049a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.004049a0
lea eax, [ebp - 0x27c]
push eax
call fcn.00409bb0
add esp, 4
test al, al
je 0x470348
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x280], 0
call fcn.004c35b6
add esp, 4
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push 0x80
push 4
push 1
push 0x80000000
push eax
lea ecx, [ebp - 0x280]
call fcn.00418ad0
test al, al
jne 0x47034c
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x470348
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x470333
test eax, eax
je 0x470333
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004c35e6
add esp, 8
mov dword [ebp - 0x280], 0
xor bl, bl
jmp 0x470395
push esi
lea ecx, [ebp - 0x280]
call fcn.00418cb0
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x470395
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x470380
test eax, eax
je 0x470380
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004c35e6
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.004049a0
mov al, bl
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.004c35a5
mov esp, ebp
pop ebp
ret 4
Function at 0x476ae0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8e1c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.004049a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.004049a0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.004049a0
push 0x88
push ebx
call fcn.004c35e6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x476e80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8e79
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00406d40
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x477032
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x476f74
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x53e154
mov byte [ebp - 0x15], al
call fcn.00404e90
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x476f4f
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0040c100
inc edi
cmp edi, 4
jl 0x476f45
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x476ee0
mov dword [ebp + 8], esi
test esi, esi
je 0x477032
mov eax, esi
cmp esi, 3
jge 0x476fae
cmp eax, 3
jae 0x477046
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x476f94
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x477018
mov ecx, 0x53e154
call fcn.00404e90
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x476ffe
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0040c100
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x476ff4
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x477032
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.0040c100
sub edi, 1
jne 0x477024
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c3d33
int3
Function at 0x479170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f95f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
call fcn.0041dae0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
cmp edi, esi
setne byte [ebp - 0xd]
sub esi, edi
sar esi, 2
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], esi
test esi, esi
je 0x47924b
mov eax, esi
nop dword [eax + eax]
mov esi, dword [edi + ebx*4]
test esi, esi
jne 0x4791eb
xor bl, bl
jmp 0x47923d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor bl, bl
cmp eax, esi
je 0x47923a
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47923a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
je 0x479233
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x479233
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
and byte [ebp - 0xd], bl
mov ebx, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, eax
jb 0x4791e0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x479297
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x479278
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4792ac
push ecx
push edi
call fcn.004c35e6
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004cbcdf
int3
Function at 0x47f0a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faa1a
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0047f1d0
add esp, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.00409bb0
add esp, 4
movzx eax, al
test eax, eax
jne 0x47f135
push 0x510ae0
mov ecx, dword [ebp + 8]
call fcn.00404d00
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004049a0
mov eax, dword [ebp + 8]
jmp 0x47f1a8
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004c5c20
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00404c20
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x510ae0
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404d00
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004049a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret
Function at 0x480040
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x4fb001
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp + 0x224], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0x230]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
call fcn.00404d40
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.0047ff20
mov dword [ebp - 4], 1
lea eax, [ebp]
push eax
call fcn.00409bb0
add esp, 4
test al, al
je 0x48011a
push 0x20a
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
lea ecx, [ebp]
call fcn.00404c20
push eax
push 0x104
lea eax, [ebp + 0x18]
push eax
push 0x510ae0
push str.Version
push str.Plugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x18]
push eax
call fcn.004051b0
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00405050
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004049a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x228]
pop ebp
ret 4

Function at 0x481570
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x4fb001
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp + 0x224], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0x230]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
call fcn.00404d40
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.0047ff20
mov dword [ebp - 4], 1
lea eax, [ebp]
push eax
call fcn.00409bb0
add esp, 4
test al, al
je 0x48164a
push 0x20a
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
lea ecx, [ebp]
call fcn.00404c20
push eax
push 0x104
lea eax, [ebp + 0x18]
push eax
push 0x510ae0
push str.CoreVersion
push str.Plugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x18]
push eax
call fcn.004051b0
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00405050
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004049a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x228]
pop ebp
ret 4
Function at 0x4819a0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb510
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push esi
call fcn.00409aa0
add esp, 4
test al, al
je 0x4819e4
mov ecx, esi
call fcn.00409ff0
push ecx
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00483bf0
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00483bf0
add esp, 4
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov eax, 0x614
movlpd qword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x40]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x4e], xmm0
mov dword [ebp - 0x46], 0
mov word [ebp - 0x50], ax
call fcn.00404c20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x58], eax
call fcn.00404c20
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x5c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb esi, esi
and esi, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049a0
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.004c35a5
mov esp, ebp
pop ebp
ret 8
Function at 0x488bf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcdb4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00406d40
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
call fcn.00406d40
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x30]
call fcn.00406d40
mov byte [ebp - 4], 2
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 3
lea esi, [ebx + 0x7c]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00443ff0
mov dword [esi], eax
mov byte [ebp - 4], 6
push str.._log_
mov byte [ebx + 0x54], 0
call fcn.00405fd0
add esp, 4
lea ecx, [ebx + 0x30]
push eax
push str.._log_
call fcn.00406e70
mov dword [ebx + 0x48], 1
mov word [ebx + 0x4c], 0x101
mov byte [ebx + 0x4e], 0
mov dword [ebx + 0x50], 0x64
mov byte [ebx + 0x55], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret