joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42add5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x441c28]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42ae15
cmp byte [ebx], 0xa
jne 0x42ae15
or byte [edi + eax + 0x28], 4
jmp 0x42ae1a
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x42af19
mov dl, byte [eax]
cmp dl, 0x1a
je 0x42aefc
inc eax
cmp dl, 0xd
je 0x42ae46
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x42ae6c
cmp eax, ecx
jae 0x42ae7a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x42ae2e
jmp 0x42af19
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42aef7
cmp dword [ebp - 0x10], 0
je 0x42aef7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x441c28]
test byte [eax + edi + 0x28], 0x48
je 0x42aed1
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42aebc
mov byte [esi], dl
jmp 0x42aecd
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x441c28]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42af19
cmp byte [ebp - 1], 0xa
jne 0x42aee0
cmp esi, ebx
jne 0x42aee0
mov byte [esi], 0xa
jmp 0x42af18
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00424dce
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42af19
mov byte [esi], 0xd
jmp 0x42af18
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x441c28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42af16
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42af19
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42af22
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x441c28]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42af68
cmp word [ebx], dx
jne 0x42af68
or byte [eax + edi + 0x28], 4
jmp 0x42af6d
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x42b0d0
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x42b0b0
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42afae
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42afe4
cmp eax, edx
jae 0x42aff2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x42af89
jmp 0x42b0d0
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42b0ab
cmp dword [ebp - 0x18], 0
je 0x42b0ab
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x441c28]
test byte [eax + edi + 0x28], 0x48
je 0x42b081
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42b045
mov word [esi], cx
jmp 0x42b07c
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x441c28]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x441c28]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x441c28]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42b0d0
pop eax
cmp word [ebp - 4], ax
jne 0x42b091
cmp esi, ebx
jne 0x42b091
mov word [esi], ax
jmp 0x42b0cd
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00424dce
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42b0d0
push 0xd
pop eax
jmp 0x42b08c
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x441c28]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42b0ca
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42b0d0
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42d435
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0042d3b1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42d5a4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42d5a4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42d559
jg 0x42d491
test eax, eax
je 0x42d54f
push 1
push 0x1000
call fcn.00423c2e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42d4b4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42d546
push 0x8000
push ebx
call fcn.0041f577
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42d4dd
jg 0x42d4d8
cmp ecx, 0x1000
jb 0x42d4dd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042229b
add esp, 0x10
cmp eax, 0xffffffff
je 0x42d522
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42d4d8
jl 0x42d509
test ecx, ecx
jne 0x42d4ca
push dword [ebp - 0xc]
push ebx
call fcn.0041f577
push esi
call fcn.00422ae0
add esp, 0xc
xor ebx, ebx
jmp 0x42d5b2
cmp byte [edi + 0x24], 0
je 0x42d539
cmp dword [edi + 0x20], 5
jne 0x42d539
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42d544
mov ebx, dword [edi + 0x18]
jmp 0x42d546
xor ebx, ebx
push esi
call fcn.00422ae0
pop ecx
jmp 0x42d5b2
test ecx, ecx
jg 0x42d51b
jl 0x42d559
test eax, eax
jae 0x42d51b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00424dce
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42d579
cmp byte [edi + 0x1c], 0
je 0x42d51b
jmp 0x42d5aa
push ebx
call fcn.0042849b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42d51b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42d5b2
cmp byte [edi + 0x1c], 0
je 0x42d5af
mov ebx, dword [edi + 0x18]
jmp 0x42d5b2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00424dce
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42e88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42e88d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10002964
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.10003dc4
test esi, esi
jne 0x1000299a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.10003eb4
jmp 0x100029b8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.10002878
mov edi, eax
test esi, esi
je 0x100029b8
cmp dword [ebx], 0
je 0x100029b8
dec esi
jmp 0x100029a1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x10002f84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x1001c020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x1000301c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10002ffc
xor eax, eax
push ebp
push 0x10002ff5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x10003038
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10002ffc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x1001c020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x1001c020], ax
mov esp, ebp
pop ebp
ret

Function at 0x10003c48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1001d044], 0
je 0x10003ca9
cmp word [0x1001d218], 0xd7b2
jne 0x10003c71
cmp dword [0x1001d220], 0
jbe 0x10003c71
mov eax, 0x1001d214
call dword [0x1001d230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1001c06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x10003cd0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x1001c030], 0
jne 0x10003cc5
push 0
push 0x1001c064
push 0x1001c06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x10005250
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005480
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x100052d3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005480
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x100052d3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x1000549c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x1000535c
xor eax, eax
push ebp
push 0x10005355
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.10005098
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x1000533a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x100054bc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x1000533a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000535c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x10005476
cmp byte [ebp - 0xd], 0
jne 0x100053a3
cmp byte [ebp - 0x12], 0
je 0x10005476
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x100053bc
dec ebx
cmp byte [ebx], 0x2e
je 0x100053cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x100053bb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x10005476
inc ebx
cmp byte [ebp - 0x12], 0
je 0x10005408
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x10005476
cmp byte [ebp - 0xd], 0
je 0x10005476
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x10005476
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005b0c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x10005b72
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.10004034
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.10002b78
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x10005b5c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10005b79
lea eax, [ebp - 0x10]
call fcn.10003dc4
ret

Function at 0x10009f1c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x10009f55
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.10003eb4
jmp 0x10009f5e
mov eax, ebx
mov edx, esi
call fcn.10003e18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10009f68
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x10009f89
mov al, byte [esp]
jmp 0x10009f8b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x1000a610
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x1000a488
mov eax, dword [0x1001c80c]
cmp byte [eax], 0
je 0x1000a68c
mov eax, dword [0x1001c70c]
call fcn.10002a84
call fcn.100027a4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.10007888
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x1000a6d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x1000a6c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x1001c6e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x1001d660]
call fcn.1000505c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x1000b370
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x1000b3d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.10004034
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.100073b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000b3db
lea eax, [ebp - 0xc]
call fcn.10003dc4
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x201d329b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1ee40fc7
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401210
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
cmove esi, ecx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419458
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x423808]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push 0x40
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x7c]
xorps xmm0, xmm0
push 0
push eax
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x80], 0x44
call fcn.00410510
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401316
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
jmp 0x401396
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00401130
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.004020c0
call fcn.00402340
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
push dword [ebp - 0x38]
call esi
test ebx, ebx
je 0x401375
mov eax, dword [ebp - 0x3c]
mov dword [ebx], eax
jmp 0x40137a
push dword [ebp - 0x3c]
call esi
test edi, edi
je 0x401383
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
cmp dword [ebp - 0x14], 8
jb 0x401394
push dword [ebp - 0x28]
call fcn.0040f137
add esp, 4
xor eax, eax
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.0040fa6b
mov esp, ebp
pop ebp
ret
Function at 0x401730
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x423808]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00410510
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
push edi
lea eax, [ebp - 0x20c]
push eax
push str._sISAFE__08X
push 0x104
push esi
call fcn.0040f8c4
add esp, 0x14
inc edi
push esi
call ebx
test eax, eax
jne 0x401781
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x401781
push esi
call ebx
test eax, eax
je 0x401781
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0040fa6b
mov esp, ebp
pop ebp
ret
Function at 0x403b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x404630
push 0
push 0
mov dword [eax], 1
call fcn.00410737
add esp, 0x18
mov dword [esi + 0xc0], eax
push 0
push dword [esi + 0x38]
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0xb0], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x405c20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov edi, eax
cmp dword [ebp - 4], esi
jle 0x405ca0
push 0x41ab54
push dword [edi + esi*4]
call fcn.00410f88
add esp, 8
test eax, eax
je 0x405c93
push 0x41ab5c
push dword [edi + esi*4]
call fcn.00410f88
add esp, 8
test eax, eax
je 0x405c93
push 0x41ab70
push dword [edi + esi*4]
call fcn.00410f88
add esp, 8
test eax, eax
je 0x405c93
push str._silence
push dword [edi + esi*4]
call fcn.00410f88
add esp, 8
test eax, eax
jne 0x405c9a
mov byte [0x424658], 1
inc esi
cmp esi, dword [ebp - 4]
jl 0x405c43
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret