joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f96dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f9760
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4f9748
mov ebx, esi
test ebx, ebx
je 0x4f970e
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004064d4
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x4f977c
call fcn.00406914
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x4f974a
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9767
lea eax, [ebp - 8]
call fcn.00406438
ret

Function at 0x4fd880
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fd928
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4fd944
push ebx
push 0x4fd954
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004069f8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4fd906
mov eax, dword [0x505e6c]
mov eax, dword [eax + 0x1a8]
call fcn.004fd7d8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd92f
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4fe2c8
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe4b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0047f960
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004ae464
test al, al
jne 0x4fe335
xor eax, eax
push ebp
push 0x4fe32b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.004ae954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fe335
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x50d168]
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x4fe364
mov eax, dword [0x505e6c]
mov eax, dword [eax + 0x1a4]
call fcn.004fd7d8
push 0x80
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x509b50]
push eax
push 0
mov ecx, 0x4fe4c4
mov edx, 0x4fe4c8
xor eax, eax
call fcn.0040a124
mov dword [ebp - 8], eax
push 0x4fd998
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x50d194], eax
xor eax, eax
push ebp
push 0x4fe47f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x505e5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0047f334
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4fe4e4
call fcn.0040e2c8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0047f214
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406854
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004fd880
mov dword [ebp - 0xc], eax
call fcn.004fd95c
test al, al
jne 0x4fe45f
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4fe43d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe486
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x4ff810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ffaca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x505e5c]
mov eax, dword [eax]
mov edx, 0x4ffae4
call fcn.0047bfc0
push 5
mov eax, dword [0x505e5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x4ffa91
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e2adc
lea eax, [ebp - 0x10]
call fcn.0047f7d8
mov eax, dword [ebp - 0x10]
call fcn.0040dd74
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0047f334
mov edx, dword [ebp - 0x14]
mov eax, 0x50d168
call fcn.00406448
call fcn.004fdb90
lea ecx, [ebp - 0x18]
mov edx, 0x4ffb04
mov eax, dword [0x50d168]
call fcn.0047e418
mov edx, dword [ebp - 0x18]
mov eax, 0x50d16c
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x4ffb1c
mov eax, dword [0x50d168]
call fcn.0047e418
mov edx, dword [ebp - 0x1c]
mov eax, 0x50d170
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x50d168]
mov dl, 1
mov eax, dword [0x4aaa94]
call fcn.004aadd4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ff968
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.004aad94
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.004aad6c
cmp dword [ebp - 0xc], 0x67734d49
je 0x4ff943
mov cl, 1
xor edx, edx
mov eax, dword [0x50d170]
call fcn.004ac058
jmp 0x4ff952
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x50d168]
call fcn.004ac058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff96f
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x4ffc74
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ffdb7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x4ffdd0
mov edx, ebx
call fcn.00406914
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4ffd91
xor eax, eax
push ebp
push 0x4ffd8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4ffdec
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.0040dff4
test eax, eax
jne 0x4ffd5b
test byte [ebp - 0x258], 0x10
jne 0x4ffd5b
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00406640
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406914
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x4ffd4d
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4ffce5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffd91
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffdbe
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00406440
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4ffdf8
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ffef8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00406448
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0047e8bc
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4fff14
call fcn.0040e2c8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406914
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4ffe98
test esi, 0x10
jne 0x4ffec8
test esi, 1
je 0x4ffe98
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x4ffec2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406448
jmp 0x4ffed5
inc edi
cmp edi, 0xa
je 0x4ffed5
inc ebx
cmp ebx, 0x3e8
jne 0x4ffe39
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffeff
lea eax, [ebp - 0x14]
call fcn.00406438
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x10001066
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dh, dh
push 0x100051e4
mov dword [ebp - 0x14], 0x33747448
mov bx, bx
mov dword ds:[ebp - 0x10], 0x646e6553
mov dword ds:[ebp - 0xc], 0x75716552
mov dword ds:[ebp - 8], 0x41747365
mov ah, ah
mov byte ds:[ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
xchg bh, bh
jne 0x100010c7
xor eax, eax
mov esp, esp
leave
mov bx, bx
ret
lea ecx, ds:[ebp - 0x14]
push ecx
push eax
mov ah, ah
mov byte ds:[ebp - 0x11], 0x70
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte ds:[ebp - 0x11], 0x78
mov dh, dh
test eax, eax
xchg ebx, ebx
je 0x100010be
lea eax, [eax]
push dword ds:[ebp + 0x18]
mov ch, ch
push dword ds:[ebp + 0x14]
xchg bx, bx
push dword [ebp + 0x10]
mov edi, edi
push dword ds:[ebp + 0xc]
push dword ds:[ebp + 8]
call eax
mov ebp, ebp
leave
xchg dl, dl
ret

Function at 0x1000125e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xchg bx, bx
mov ebp, esp
sub esp, 0x14
push 0x100051e4
mov dword [ebp - 0x14], 0x65746e49
mov dword ds:[ebp - 0x10], 0x74656e72
mov dword [ebp - 0xc], 0x736f6c43
mov si, si
mov dword ds:[ebp - 8], 0x6e614865
mov dword ds:[ebp - 4], 0x656c64
xchg esp, esp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov bp, bp
jne 0x100012be
mov eax, eax
xor eax, eax
leave
mov eax, eax
ret
lea ecx, [ebp - 0x14]
push ecx
xchg dh, dh
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov bl, bl
je 0x100012b6
push dword [ebp + 8]
mov esp, esp
call eax
xchg ebx, ebx
leave
xchg al, al
ret

Function at 0x100012e5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xchg dh, dh
mov ebp, esp
lea ebp, [ebp]
sub esp, 0x14
push 0x100051e4
mov dword [ebp - 0x14], 0x65746e49
xchg ah, ah
mov dword ds:[ebp - 0x10], 0x74656e72
mov ecx, ecx
mov dword [ebp - 0xc], 0x6e6e6f43
mov dword ds:[ebp - 8], 0x41746365
mov byte ds:[ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov ebp, ebp
jne 0x10001345
xchg ebp, ebp
xor eax, eax
xchg ch, ch
leave
ret
lea ecx, cs:[ebp - 0x14]
mov ecx, ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000133d
push dword [ebp + 0x24]
mov dl, dl
push dword [ebp + 0x20]
push dword ds:[ebp + 0x1c]
push dword ds:[ebp + 0x18]
push dword ds:[ebp + 0x14]
push dword ds:[ebp + 0x10]
push dword [ebp + 0xc]
push dword ds:[ebp + 8]
call eax
leave
xchg di, di
ret
Function at 0x1000139e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov eax, eax
mov ebp, esp
xchg edi, edi
sub esp, 0x14
push 0x100051e4
mov dword [ebp - 0x14], 0x70747448
mov dword [ebp - 0x10], 0x6e65704f
mov dword [ebp - 0xc], 0x75716552
mov dword ds:[ebp - 8], 0x41747365
xchg edi, edi
mov byte [ebp - 4], 0
mov bl, bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov bx, bx
jne 0x100013fb
xor eax, eax
leave
ret
lea ecx, ds:[ebp - 0x14]
push ecx
push eax
xchg ah, ah
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov sp, sp
je 0x100013f5
push dword [ebp + 0x24]
nop
push dword ds:[ebp + 0x20]
push dword [ebp + 0x1c]
mov dx, dx
push dword ds:[ebp + 0x18]
xchg ah, ah
push dword ds:[ebp + 0x14]
xchg ecx, ecx
push dword [ebp + 0x10]
push dword ds:[ebp + 0xc]
mov eax, eax
push dword ds:[ebp + 8]
mov eax, eax
call eax
lea esp, [esp]
leave
nop
ret

Function at 0x10001461
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x100051e4
mov dword [ebp - 0x14], 0x65746e49
mov al, al
mov dword [ebp - 0x10], 0x74656e72
mov dword ds:[ebp - 0xc], 0x64616552
xchg bl, bl
mov dword ds:[ebp - 8], 0x656c6946
mov byte ds:[ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x100014b6
xor eax, eax
leave
mov bh, bh
ret
lea ecx, cs:[ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100014b0
push dword [ebp + 0x14]
push dword ds:[ebp + 0x10]
push dword ds:[ebp + 0xc]
xchg bh, bh
push dword ds:[ebp + 8]
call eax
mov cl, cl
leave
mov ecx, ecx
ret

Function at 0x100014f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov cx, cx
sub esp, 0x1c
lea eax, cs:[ebp - 0xc]
mov ch, ch
push eax
xchg edi, edi
mov dword [ebp - 0xc], 0x6e72656b
mov dword ds:[ebp - 8], 0x32336c65
lea ebx, [ebx]
mov byte ds:[ebp - 4], 0
mov dword [ebp - 0x1c], 0x61657243
mov dword [ebp - 0x18], 0x754d6574
mov dword [ebp - 0x14], 0x41786574
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10001561
xchg esp, esp
xor eax, eax
mov ax, ax
leave
xchg dx, dx
ret
lea ecx, [ebp - 0x1c]
xchg esp, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001557
lea ebx, [ebx]
push dword [ebp + 8]
push 1
push 0
mov dl, dl
call eax
lea ecx, [ecx]
leave
ret
Function at 0x10001595
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xchg esp, esp
mov ebp, esp
sub esp, 0x1c
push 0x100051e4
mov dword ds:[ebp - 0x1c], 0x65746e49
mov dword [ebp - 0x18], 0x74656e72
xchg dx, dx
mov dword ds:[ebp - 0x14], 0x43746547
mov dword ds:[ebp - 0x10], 0x656e6e6f
mov dword [ebp - 0xc], 0x64657463
mov dword ds:[ebp - 8], 0x7461745a
mov word ds:[ebp - 4], 0x65
xchg dh, dh
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov ah, ah
jne 0x10001608
mov bh, bh
xor eax, eax
mov cl, cl
leave
lea edx, [edx]
ret
lea ecx, ds:[ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 8], 0x53
xchg bl, bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [ebp - 8], 0x5a
test eax, eax
xchg dx, dx
je 0x10001600
push 0
push dword [ebp + 8]
xchg esi, esi
call eax
nop
leave
mov cl, cl
ret

Function at 0x10001647
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword ds:[esp + 8], ecx
jbe 0x10001677
mov eax, dword cs:[esp + 4]
lea edx, [edx]
xor byte ss:[eax + ecx], 4
lea edx, [edx]
inc ecx
mov dx, dx
cmp ecx, dword ds:[esp + 8]
jb 0x10001654
ret

Function at 0x10002e94
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
mov bp, bp
push eax
push eax
lea ebp, [ebp]
push 0x10002e87
push eax
lea esp, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x4c985620
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
mov ecx, 0xc110c8a
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4056ed
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4481d8], 2
jl 0x405712
movaps xmm0, xmmword [0x433790]
movaps xmmword [0x43f000], xmm0
movaps xmm0, xmmword [0x433780]
movaps xmmword [0x43f010], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00405a9a
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x433760]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x405720
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x405dce
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x405df8
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x43f020]
inc edi
sub esi, 1
jne 0x405de0
pop edi
mov eax, edx
pop esi
ret 0xc
Function at 0x406639
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1bc
push ebx
mov ebx, dword [esp + 0x1c8]
push ebp
push esi
push edi
push 0x40
pop edi
cmp ebx, edi
jbe 0x40668e
lea eax, [esp + 0x164]
push eax
call fcn.00410016
push ebx
push dword [esp + 0x1d4]
lea eax, [esp + 0x16c]
push eax
call fcn.0041005c
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.0040ff33
push 0x20
lea eax, [esp + 0x58]
pop ebx
jmp 0x406695
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x4066c0
mov ecx, dword [esp + 0x1e8]
cmp byte [ecx], 0
je 0x4066c0
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
jmp 0x40671e
xor edx, edx
test ebx, ebx
je 0x4066e0
mov esi, eax
lea eax, [esp + 0x14]
sub esi, eax
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [esi + ecx]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x4066ce
cmp ebx, edi
jae 0x4066fa
mov eax, edi
lea ecx, [esp + 0x14]
sub eax, ebx
add ecx, ebx
push eax
push 0x36
push ecx
call fcn.0041fff0
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call fcn.00410016
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0041005c
test ebp, ebp
je 0x40673b
mov eax, dword [esp + 0x1e8]
cmp byte [eax], 0
jne 0x40673b
push 0x1a
pop ecx
lea esi, [esp + 0x94]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push dword [esp + 0x1dc]
lea eax, [esp + 0x98]
push dword [esp + 0x1dc]
push eax
call fcn.0041005c
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040ff33
mov ebp, dword [esp + 0x1ec]
test ebp, ebp
je 0x40678f
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
je 0x40678f
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jmp 0x4067f9
test ebx, ebx
je 0x4067b1
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
sub edx, eax
xor esi, esi
lea ecx, [esp + 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor al, 0x5c
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x40679f
cmp ebx, 0x40
jae 0x4067cd
push 0x40
pop eax
sub eax, ebx
lea ecx, [esp + 0x14]
push eax
add ecx, ebx
push 0x5c
push ecx
call fcn.0041fff0
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
call fcn.00410016
push 0x40
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0041005c
test ebp, ebp
je 0x40680f
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
jne 0x40680f
push 0x1a
pop ecx
lea esi, [esp + 0xfc]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x20
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0041005c
push dword [esp + 0x1e0]
lea eax, [esp + 0x100]
push eax
call fcn.0040ff33
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x24
Function at 0x40eee3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40ef1e

Function at 0x40f1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040eea3
jle 0x40f1f0
daa
lea eax, [ebp - 0x40]
push eax
call fcn.0040eeb3
push eax
push esi
push dword [ebp + 8]
call fcn.0040ee68
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040eea3
invalid
jmp dword [edx]
invalid
invalid

Function at 0x40f279
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, esi
inc ebp
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
invalid
inc ebp

Function at 0x40f28c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35

Function at 0x410eed
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x410f49
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jmp 0x410845
Function at 0x41a6c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x434764
push dword [esp + 0x18]
push dword [0x441028]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41a7db
push esi
push dword [0x441028]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41a7db
push esi
push dword [0x441028]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41a7db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41a7db
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41a7d3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41a7cc
push edi
push esi
push eax
call fcn.00420320
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41a7c5
push ebp
push dword [esp + 0x14]
call fcn.0041a626
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x433278]
call esi
test edi, edi
je 0x41a7c5
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41a7b3
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41a7b3
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x433278]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
jmp 0x41a7dd
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4

Function at 0x41af0f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43e73c], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41af5a
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x45fcb0], ax
xor eax, eax
mov word [0x45fcb2], ax
mov dword [0x43e73c], 0x45fcb0
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004104bd
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43e72c
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
leave
ret 0x10