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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10017d2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], 0x190
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x22], 0x76
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x56], 0x45
mov byte [ebp - 0x55], 0x78
mov byte [ebp - 0x58], 0x65
mov byte [ebp - 0x5c], 0x70
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x5d], 0x4f
mov byte [ebp - 0x5e], 0x67
mov byte [ebp - 0x59], 0x4b
mov byte [ebp - 0x57], 0x79
mov byte [ebp - 0x5a], 0x6e
mov byte [ebp - 0x5f], 0x65
mov byte [ebp - 0x5b], 0x65
mov byte [ebp - 0x60], 0x52
mov byte [ebp - 0x54], 0x41
mov byte [ebp - 0x3a], 0x78
mov byte [ebp - 0x3c], 0x65
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x39], 0x41
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x46], 0x67
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x45], 0x51
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x48], 0x52
mov byte [ebp - 0x41], 0x79
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x2d], 0x43
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2e], 0x67
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x79
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x28], 0x4b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1000174d
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4c]
push ecx
push 0xf013f
push 0
mov edx, dword [ebp + 8]
push edx
push 0x80000002
call dword [ebp - 0x10]
test eax, eax
jne 0x1000178f
mov dword [ebp - 0x64], 0x190
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [ebp - 0xc]
mov edx, dword [ebp - 0x4c]
push edx
call dword [ebp - 4]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000693d
mov esp, ebp
pop ebp
ret
Function at 0x1000693d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10017d2c]
jne 0x10006947
repz ret
jmp fcn.1000a22c

Function at 0x10011690
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10009ba3
and dword [ebp - 4], 0
cmp dword [0x1001b3b0], 0
mov ebx, eax
jne 0x10011741
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100117f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100117f2
push eax
call fcn.10009b31
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001b3b0], eax
call esi
push eax
call fcn.10009b31
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001b3b4], eax
call esi
push eax
call fcn.10009b31
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001b3b8], eax
call esi
push eax
call fcn.10009b31
pop ecx
mov dword [0x1001b3c0], eax
test eax, eax
je 0x10011741
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10009b31
pop ecx
mov dword [0x1001b3bc], eax
mov eax, dword [0x1001b3bc]
cmp eax, ebx
je 0x10011799
cmp dword [0x1001b3c0], ebx
je 0x10011799
push eax
call fcn.10009bac
push dword [0x1001b3c0]
mov esi, eax
call fcn.10009bac
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011799
test edi, edi
je 0x10011799
call esi
test eax, eax
je 0x10011790
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011790
test byte [ebp - 0xc], 1
jne 0x10011799
or dword [ebp + 0x10], 0x200000
jmp 0x100117d2
mov eax, dword [0x1001b3b4]
cmp eax, ebx
je 0x100117d2
push eax
call fcn.10009bac
pop ecx
test eax, eax
je 0x100117d2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100117d2
mov eax, dword [0x1001b3b8]
cmp eax, ebx
je 0x100117d2
push eax
call fcn.10009bac
pop ecx
test eax, eax
je 0x100117d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001b3b0]
call fcn.10009bac
pop ecx
test eax, eax
je 0x100117f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100117f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5aec274a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
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, 0x7c3675
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001610
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x824
mov eax, dword [0x10022014]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
mov eax, ecx
mov dword [esp + 0x1c], eax
push esi
push edi
test eax, eax
je 0x100017bd
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov edx, dword [edx]
mov edi, 0x200
mov dword [esp + 0xc], edx
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x100017ac
push 0x800
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.10004690
mov ecx, dword [esp + 0x18]
add esp, 0xc
movzx edx, word [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov ecx, ebx
mov dword [esp + 0x18], edx
cmp dx, di
jae 0x100016e2
movzx edx, dx
xor edi, edi
test edx, edx
je 0x100016e2
lea ecx, [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x28]
add esi, edi
mov bl, byte [eax + esi]
lea eax, [ebx - 0x20]
movzx ecx, al
lea edx, [ebx - 0x61]
cmp dl, 0x19
movzx eax, bl
cmova ecx, eax
inc edi
mov byte [esi], cl
mov ecx, dword [esp + 0x18]
movzx eax, cx
cmp edi, eax
mov eax, dword [esp + 0x1c]
jl 0x100016a4
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [edx + 0x10]
jmp 0x100016e6
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
test eax, eax
je 0x100017ac
mov edi, dword [eax + ebx + 0x18]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x20]
add eax, ebx
mov dword [esp + 0x1c], eax
test edi, edi
je 0x100017ac
mov ecx, dword [eax + edi*4 - 4]
lea edx, [esp + 0x28]
dec edi
add ecx, ebx
call fcn.100011b0
mov ebx, eax
test ebx, ebx
je 0x10001794
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov esi, 0x1c
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10001789
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10001731
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push ebx
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movsx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + edx]
add esi, edx
call fcn.10002c9f
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x820]
xor ecx, esp
call fcn.10002c61
mov esp, ebp
pop ebp
ret
push 1
push ebx
call fcn.10002c9f
add esp, 8
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x10001710
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x100
jl 0x1000164d
mov ecx, dword [esp + 0x82c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002c61
mov esp, ebp
pop ebp
ret
Function at 0x10002770
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10022014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x128], ecx
lea esi, [ebp - 0x124]
xor bl, bl
mov edi, 0x10
nop dword [eax]
movzx eax, bl
lea esi, [esi + 4]
add ecx, eax
add bl, 4
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 0x128]
shl edx, 8
or edx, eax
mov dword [esi - 4], edx
sub edi, 1
jne 0x100027a0
lea eax, [ebp - 0x120]
mov ebx, 0x30
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x100027e2
mov ebx, dword [ebp - 0x128]
add ebx, 0x50
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov esi, dword [ebp - 0x20]
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror edi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x128]
add edi, ecx
add dword [ebp - 0x128], 4
add edi, dword [eax + 0x1001ff28]
add edi, dword [ebp + eax - 0x124]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, edx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x20], eax
rol eax, 0xa
ror ecx, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x24]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x24]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x12c], 1
mov dword [ebp - 0x24], eax
jne 0x10002851
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x130]
mov edx, 8
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x10002900
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002c61
mov esp, ebp
pop ebp
ret

Function at 0x1000911c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000915b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000915b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000915b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000915b
cmp dword [ecx + 0x74], 0xe
jbe 0x1000915b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b8e8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100197f0
push 0x100197e8
push str.FlsAlloc
push 0x1f
call fcn.1000b804
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b91c
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016114]
call esi
jmp 0x1000b922
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b966
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019800
push 0x100197f8
push str.FlsGetValue
push 0x21
call fcn.1000b804
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b99d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b9a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019808
push 0x10019800
push str.FlsSetValue
push 0x22
call fcn.1000b804
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b9df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10016114]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000f20f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000f2ac
push ebx
push esi
call fcn.1000f1d8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000e12a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000f259
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f2ab
push edi
push eax
call fcn.1000a481
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000f279
call fcn.1000a447
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f2aa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000e12a
add esp, 0x20
test eax, eax
jne 0x1000f298
push edi
call fcn.1000a447
jmp 0x1000f2a0
push ebx
call fcn.1000a447
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4144a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
jmp 0x4144ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4144c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4144b0
mov eax, 1
add ebx, ebx
jne 0x4144d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4144c8
jne 0x4144e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4144c8
xor ecx, ecx
sub eax, 3
jb 0x4144f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41456a
mov ebp, eax
add ebx, ebx
jne 0x414503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414510
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414534
inc ecx
add ebx, ebx
jne 0x414520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414515
jne 0x414531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414515
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414545
jmp 0x4144b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414554
add edi, ecx
jmp 0x4144b6
pop esi
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4145bc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14790]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1484c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414571
mov ecx, edi
jns 0x4145a0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14854]
or eax, eax
je 0x4145b6
mov dword [ebx], eax
add ebx, 4
jmp 0x41458e
call dword [esi + 0x14850]
mov ebp, dword [esi + 0x14858]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4145f0
sub esp, 0xffffff80
jmp 0x403966

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42907c]
jne 0x401cdf
repz ret
jmp fcn.00402a42

Function at 0x40831a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42907c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405dcd
and dword [ebp - 0x14], 0
cmp dword [0x42bf6c], 0
mov dword [ebp - 0x18], eax
jne 0x4083cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408475
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408475
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42bf6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42bf70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42bf74], eax
call edi
push eax
call esi
mov dword [0x42bf7c], eax
test eax, eax
je 0x4083cd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42bf78], eax
mov eax, dword [0x42bf78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408426
cmp dword [0x42bf7c], ecx
je 0x408426
push eax
call esi
push dword [0x42bf7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408426
test ebx, ebx
je 0x408426
call edi
test eax, eax
je 0x40841d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40841d
test byte [ebp - 8], 1
jne 0x408426
or dword [ebp + 0x10], 0x200000
jmp 0x408459
mov eax, dword [0x42bf70]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408459
mov eax, dword [0x42bf74]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42bf6c]
call esi
test eax, eax
je 0x408475
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408477
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x40b8ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40b8e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405008
jmp 0x40b8ee
mov eax, ebx
mov edx, esi
call fcn.00404ecc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x411194
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00411148
test al, al
jne 0x4111b5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x411201
xor eax, eax
push ebp
push 0x4111f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404f58
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4111f8
lea eax, [ebp - 0xc]
call fcn.00411184
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411608
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x411662
inc esi
xor edi, edi
cmp edi, 1
jne 0x41162e
mov eax, dword [ebp + 0xc]
push eax
call 0x40dc2c
jmp 0x41163c
cmp edi, 1
jle 0x41163c
mov eax, dword [ebp + 8]
push eax
call 0x40dc2c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00411194
test eax, eax
jne 0x411662
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x411662
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x411662
inc edi
dec esi
jne 0x41161e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x41166c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x411690
mov eax, dword [ebp - 4]
jmp 0x411693
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret