joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018cab7
Capabilities:
Manually build aes constants

Disassembly:
add eax, eax
adc cl, 0x22
not al
xor cl, 0x2b
neg ax
sub eax, eax
not cl
or ax, 0x5fa4
jns 0x100a4a3b
mov edx, 0x2da6de91
mov ecx, edx
add cx, cx
mov edx, dword [ebp + edx - 0x2da6de95]
xor edx, ebx
sub edx, 0x9f1ca68c
add ecx, ecx
xor edx, 0xa1877b33
not ecx
not edx
movsx eax, cx
sal al, 0x63
sub edx, 0xa92d793b
xor ebx, edx
ror eax, 0xd0
add esi, edx
bswap eax
mov ax, word [edi]
ror cl, 1
movzx edx, byte [ebp - 5]
jo 0x100eb2b6
not cl
xor dl, bl
shr cx, 0x2d
sal ecx, 0x1b
adc dl, 0x12
lea ecx, [ecx + ecx*4 - 0x2ff30342]
xor dl, 0xb9
xor ecx, ecx
sbb dl, 0x3f
rol ecx, 0x22
jae 0x1017cb89
and eax, 0x610a2538
xor bl, cl
xor ax, ax
pop eax
lea ecx, [esp + ecx + 4]
mov byte [ecx + eax - 0x2a1a1431], dl
movzx ecx, word [esp + eax - 0x2a1a1431]
mov edx, dword [esp + eax - 0x2a1a1431]
and dword [esp + eax - 0x2a1a1431], edx
mov ecx, dword [esi + ecx*2 - 0x2fa]
sar byte [esp + eax - 0x2a1a1431], 0x42
shr dword [esp + eax*2 - 0x54342862], 0xa2
lea esi, [esi + eax - 0x2a1a142d]
dec dl
or ax, 0x6121
call fcn.1018be48
ror ecx, 2
push eax
inc dx
xor ecx, 0xab27a003
xor ax, word [esp + edx - 0x41faa7ff]
not ecx
ror ecx, 3
and dx, 0x421e
and edx, dword [esp + edx - 0x41fa0000]
xor ebx, ecx
or edx, edx
sar edx, 0xdd
or word [esp + edx], dx
adc edi, ecx
or word [esp + edx*2 + 2], ax
xadd edx, eax
or byte [esp + eax], dl
mov edx, dword [ebp + eax*2]
add eax, dword [ebp + eax*8 + 4]
add dword [esp], 0xaeb9573c
pop ecx
jne 0x1015c0b1
add ebp, 4
jmp 0x1008d64a
dec ecx
xor dl, 0x87
inc cx
xor bl, dl
ror ecx, 0xd
adc ecx, ecx
adc edx, esp
push ecx
mov byte [edx + ecx*2 - 0x1fffe0], al
sub word [esp + ecx - 0xfffee], 0x5205
movzx eax, word [ebp + ecx*2 - 0x1fffe7]
lea ebp, [ebp + ecx*4 - 0x3fffc7]
lea edx, [ecx + ecx - 0x45799c77]
jp 0x1003e7f7
movsx edx, ax
or edx, dword [ebp + eax*8 + 2]
call fcn.100d6b05
inc cl
bswap eax
mov dword [esp + eax - 0x58fb0200], 0x2a1a1431
shr eax, 0xe5
rol cl, 1
jmp 0x1005907f

Function at 0x10195b0e
Capabilities:
Encode data using xor

Disassembly:
xor eax, ebx
mov ecx, 0x94bc2494
inc eax
neg edx
bswap eax
jl 0x1018c4d7
rol cx, 0xc4
sets dl
rol eax, 1
lea eax, [eax + edx - 0x23361ede]
xor ebx, eax
shr ecx, 8
neg cx
pop ecx
add ecx, 0xffea7443
jmp ecx

Function at 0x10198334
Capabilities:
Encode data using xor

Disassembly:
inc eax
sub esi, 1
push ecx
sub cl, cl
movzx ecx, byte [esi]
inc eax
xor cl, bl
add cl, al
xadd dword [esp + 4], eax
adc byte [esp + eax - 0xc072f8a], ah
jnp 0x10146dff
pshufd xmm1, xmm0, 0xd8
push edx
pushfd
mov edx, 0x60a6293b
test dx, 0x3281
lea edx, [edx + edx*4 + 0x718db028]
push ebx
jo 0x10123a5e
mov ebx, edx
mov edx, dword [esp + edx - 0x54cc7e47]
mov dword [esp + 8], 0xa7158899
mov ebx, dword [esp + ebx - 0x54cc7e4f]
ja 0x101831cd
push dword [esp + 4]
popfd
lea esp, [esp + 8]
call fcn.1012e8ea
xor ebx, ecx
movsx edx, ax
mov eax, dword [esp + 8]
add eax, 0xc0c9e
jmp eax
sar ax, cl
mov dword [esp], eax
xor ebx, edx
add edi, edx
movzx edx, cx
not edx
mov dx, word [ebp]
pop ecx
not cx
or al, ah
adc ebp, 2
add byte [esp + 3], 0x90
jno 0x10123a21
Function at 0x1019c93e
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
lea edx, [ecx + edx - 0x74d5668d]
sar cl, 0xa7
adc cx, cx
bswap edx
not cl
xor ebx, edx
xadd al, ah
call fcn.1017f427
add edi, eax
ror ecx, 0xcd
xor edx, edi
jmp edx
sub cx, 0xe00
inc edx
inc ecx
neg edx
or eax, ecx
jnp 0x1008db51
call fcn.10090a34
movsx eax, cx
xor edx, ebx
not ecx
jmp 0x10166a5f
ror ecx, 1
mov byte [esp + eax*4 - 0x700caaa4], dh
not ecx
xor ebx, ecx
call fcn.1003b0e9
not eax
sal byte [esp + ecx*2 - 0x46280a0e], 0x27
lea eax, [eax + ecx*8 - 0x2269aa18]
rol eax, 3
xor ebx, eax
add edi, eax
mov ecx, dword [ecx + ebp - 0x23140508]
mov eax, dword [ebp + 4]
imul ecx
call fcn.10172123
mov eax, dword [ebp]
mov ecx, 0xde8cc08b
mov edx, dword [ebp + 4]
add ecx, ecx
sal ecx, cl
dec ecx
mov cl, byte [ebp + ecx - 0x457ffff7]
ja 0x1019993d
adc ebp, 6
shld eax, edx, cl
mov dword [ebp], eax
mov edx, dword [esi]
mov ecx, 0xd0bf74a2
add esi, 4
jmp 0x1016f369
mov eax, 0xf43ddc9d
pop eax
sub ecx, 0x7d8cb5be
mov edx, 0x3488a48a
neg ecx
bswap ecx
mov dword [esp + edx - 0x3488a48a], edx
sub ecx, 0xdd14893d
mov eax, 0x1c032aa9
jmp 0x1019404b
Function at 0x4212d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x4212ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4212f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4212e0
mov eax, 1
add ebx, ebx
jne 0x421303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4212f8
jne 0x421314
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4212f8
xor ecx, ecx
sub eax, 3
jb 0x421328
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42139a
mov ebp, eax
add ebx, ebx
jne 0x421333
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421340
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x421364
inc ecx
add ebx, ebx
jne 0x421350
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421345
jne 0x421361
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421345
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421384
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421375
jmp 0x4212e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421384
add edi, ecx
jmp 0x4212e6
pop esi
mov edi, esi
mov ecx, 0x6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4213a2
cmp byte [edi], 2
jne 0x4213a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4213a7
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x42141f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27264]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x272a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4213d4
mov ecx, edi
jns 0x421403
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 + 0x272a8]
or eax, eax
je 0x421419
mov dword [ebx], eax
add ebx, 4
jmp 0x4213f1
call dword [esi + 0x272a4]
mov ebp, dword [esi + 0x272ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x421453
sub esp, 0xffffff80
jmp 0x4016b4

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4030e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x410008], 0x8088405
inc edx
mov dword [ebx + 0x410008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403714
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41001c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037ac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40378c
xor eax, eax
push ebp
push 0x403785
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 0x4037e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40378c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x41001c]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41001c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41104c], 0
je 0x404551
cmp word [0x411328], 0xd7b2
jne 0x404519
cmp dword [0x411330], 0
jbe 0x404519
mov eax, 0x411324
call dword [0x411340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x40457c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x410028], 0
jne 0x40456d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408dd0
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 0x408e09
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00404dd4
jmp 0x408e12
mov eax, ebx
mov edx, esi
call fcn.00404c98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408e1c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408e3e
movzx eax, word [esp]
jmp 0x408e40
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4095c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4096ed
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004093dc
mov esi, eax
mov eax, dword [0x410c28]
cmp byte [eax], 0
je 0x409695
mov eax, dword [0x410b64]
call fcn.0040317c
call fcn.00402f6c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4095a4]
call fcn.00405ad8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x409708
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4096d1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x410b44]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x413b48]
call fcn.00405b90
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4096f4
lea eax, [ebp - 4]
mov edx, dword [0x4095a4]
call fcn.00405ae4
ret
Function at 0x40ba24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40bb5c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40bb46
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40ba81
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40bb46
cmp dword [ebp - 0x14], 0
jne 0x40ba98
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404c98
mov bl, 1
jmp 0x40bb46
cmp dword [ebp - 0x14], 0x70000000
jb 0x40baa6
call fcn.00409734
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00404dd4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.004054ac
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x40ba4a
test eax, eax
jne 0x40bb46
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40baf4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40bb46
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x40bafc
dec esi
test esi, esi
je 0x40bb0b
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x40bafb
cmp dword [ebp - 0x10], 7
jne 0x40bb16
test esi, esi
je 0x40bb16
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404f00
cmp dword [ebp - 0x10], 7
jne 0x40bb39
test esi, esi
je 0x40bb39
lea eax, [ebp - 4]
call fcn.004054ac
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb63
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40c5a0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x415d98
mov eax, esi
mov edx, 8
test al, 1
je 0x40c5bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c5be
shr eax, 1
dec edx
jne 0x40c5af
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c5a8
pop esi
ret

Function at 0x40c5eb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x415d94], 0
jne 0x40c5f7
call fcn.0040c5a0
push 1
push 0x415d94
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40c622
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x415d98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c5fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40e050
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.0040e004
test al, al
jne 0x40e071
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40e0bd
xor eax, eax
push ebp
push 0x40e0ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d24
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 0x40e0b4
lea eax, [ebp - 0xc]
call fcn.0040e040
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e2fc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x40e304
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x40e3f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0040b8ec
mov edx, dword [ebp - 8]
mov ecx, 0x40e40c
xor eax, eax
call fcn.0040e1e0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x40e3bf
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x40e31e
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x35
call fcn.0040de08
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00407e04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040be74
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x67
call fcn.0040ddd8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406c78]
call fcn.00409740
call fcn.00403f88
jmp 0x40e31e
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e3f8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c90
ret

Function at 0x40e4c4
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 0x40e51e
inc esi
xor edi, edi
cmp edi, 1
jne 0x40e4ea
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x40e4f8
cmp edi, 1
jle 0x40e4f8
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040e050
test eax, eax
jne 0x40e51e
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x40e51e
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x40e51e
inc edi
dec esi
jne 0x40e4da
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x40e528
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 0x40e54c
mov eax, dword [ebp - 4]
jmp 0x40e54f
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x40e554
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x40e5a1
xor ebx, ebx
jmp 0x40e596
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00407af8
test eax, eax
jne 0x40e595
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x40e64b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e577
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x40e5ad
je 0x40e5b6
jmp 0x40e5bf
call fcn.0040bba4
mov esi, eax
jmp 0x40e5c1
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x40e5c1
xor esi, esi
test si, si
je 0x40e64b
xor ebx, ebx
jmp 0x40e5e7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x40e5e6
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e64b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e5ce
xor ebx, ebx
jmp 0x40e640
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x40e63f
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x40e634
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0040e528
push eax
mov eax, esi
call fcn.0040e528
pop edx
cmp edx, eax
jne 0x40e63f
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e64b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e5f6
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eab5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40ead0
push ebx
push 0x40eae0
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
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.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ea60
mov al, 0x69
call fcn.0040e658
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040e9b4
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ea69
call fcn.0040e9b4
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eabc
lea eax, [ebp - 4]
call fcn.00404c88
ret
Function at 0x40ebd0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ec9b
jmp 0x40ec8f
cmp dword [esi + 0x10], 0x1000
jne 0x40ec7b
test byte [esi + 0x15], 1
jne 0x40ec7b
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec2c
cmp ebp, 2
je 0x40ec2c
cmp ebp, 0x10
je 0x40ec2c
cmp ebp, 0x20
jne 0x40ec48
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40ec48
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ec59
mov eax, dword [esi]
add eax, ebx
call fcn.0040ebc8
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40ec4c
cmp byte [esp + 4], 0
je 0x40ec7b
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ec9b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec01
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10034aac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0
jmp 0x10034abe
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 8
jge 0x10034b0c
movzx edx, word [ebp + 0xc]
and edx, 0x80
je 0x10034ae0
movzx eax, word [ebp + 0xc]
xor eax, 0x658e
mov word [ebp + 0xc], ax
movzx ecx, word [ebp + 0xc]
shl ecx, 1
mov word [ebp + 0xc], cx
movzx edx, byte [ebp + 8]
and edx, 0x80
je 0x10034b02
mov ax, word [ebp + 0xc]
add ax, 1
mov word [ebp + 0xc], ax
mov cl, byte [ebp + 8]
shl cl, 1
mov byte [ebp + 8], cl
jmp 0x10034ab6
mov ax, word [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10034b6c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp 0x10034b7b
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jbe 0x10034bf1
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
mov byte [ebp - 1], 0
jmp 0x10034b97
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 8
jge 0x10034be6
movzx edx, word [ebp + 0x10]
and edx, 0x8000
je 0x10034bb9
movzx eax, word [ebp + 0x10]
xor eax, 0x8411
mov word [ebp + 0x10], ax
mov cx, word [ebp + 0x10]
shl cx, 1
mov word [ebp + 0x10], cx
movzx edx, byte [ebp - 2]
and edx, 0x80
je 0x10034bdc
mov ax, word [ebp + 0x10]
add ax, 1
mov word [ebp + 0x10], ax
mov cl, byte [ebp - 2]
shl cl, 1
mov byte [ebp - 2], cl
jmp 0x10034b8f
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x10034b72
mov ax, word [ebp + 0x10]
mov esp, ebp
pop ebp
ret