joyce8/EMBER2024-capa huggingface dataset:
Function at 0x553bfa
Capabilities:
Parse pe header

Disassembly:
jmp 0x581a13
lea esp, [esp + 4]
jmp fcn.005819f2

Function at 0x55694c
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
jmp 0x556984
jmp 0x556968
lea esp, [esp + 4]
jmp 0x55692f
jmp 0x5569a0
jmp 0x5569bc
push ebx
jmp 0x5569d8
jmp 0x5569f4
push ebp
jmp 0x556a10
jmp 0x556a2c
push esi
jmp 0x556a48
jmp 0x586d87
push edi
movzx edx, byte [eax]
shl edx, 8
movzx esi, byte [eax + 1]
jmp 0x586dbe
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
jmp 0x587079
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x5602cc]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x5602cc]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x5602cc]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x5602cc]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.00573e29
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x5602cc]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x5602cc]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x5602cc]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x5602cc]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x561af4
jne 0x58715c
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x557c4f
Capabilities:
Encode data using base64

Disassembly:
call fcn.00557a71
jmp 0x557c6b
lea esp, [esp + 4]
jmp 0x557e2b
jmp 0x557ca3
jmp 0x557cbf
push ebp
jmp 0x557cdb
jmp 0x557cf7
mov ebp, esp
jmp 0x557d13
jmp 0x557d2f
movzx eax, byte [ecx]
jmp 0x557d4b
jmp 0x557d67
shl eax, 0x10
jmp 0x557d83
jmp 0x557d9f
cmp dword [ebp + 0xc], 2
jmp 0x557dd7
jmp 0x587c42
jmp 0x557df3
jb 0x557dbb
jae 0x557e0f
push ecx
add dword [ecx - 0x265fb77], edx
or al, 0xf8
jmp 0x587c6c
jmp 0x557c87
jmp 0x557c4a
cmp dword [ebp + 0xc], 3
jne 0x587c81
movzx ecx, byte [ecx + 2]
or eax, ecx
jmp 0x587c81
movzx edx, byte [ecx + 1]
shl edx, 8
or eax, edx
jmp 0x557dbb
push ebx
push esi
push edi
mov ecx, eax
push 0x3f
mov esi, eax
shr ecx, 0x12
pop edx
shr esi, 0xc
and ecx, edx
and esi, edx
cmp dword [ebp + 0xc], 2
jb 0x587ce0
mov edi, eax
shr edi, 6
and edi, edx
jmp 0x587cbf
cmp dword [ebp + 0xc], 3
jne 0x587d59
je 0x587ecc
mov eax, 0x23d0b121
xchg edi, eax
test eax, 0x31c2a737
xchg esi, eax
jle 0x587cde
test byte [eax - 0x53], 0x8b
jge 0x587cef
dec eax
lodsd eax, dword [esi]
mov edi, dword [ebp + 0xc]
jmp 0x587cbf
int 0x85
sbb cl, byte [eax - 0x452e511]
cmc
pushfd
outsd dx, dword [esi]
les edi, [edi - 0x779560a0]
inc ecx
add ch, cl
in eax, 0xfe
invalid
mov ebx, dword [ebp + 0xc]
jmp 0x587e48
cmp ecx, 0x34
jmp 0x587e62
mov ecx, dword [ebp + 8]
mov byte [ecx], dl
cmp esi, 0x1a
jae 0x587f1b
lea ecx, [esi + 0x41]
jmp 0x587ef4
push 0x3e
pop eax
cmp ecx, 0x1a
jae 0x587d67
lea edx, [ecx + 0x41]
jmp 0x587de2
jae 0x587e84
lea edx, [ecx + 0x47]
jmp 0x587de2
cmp ecx, eax
jae 0x587ed5
lea edx, [ecx - 4]
jmp 0x587de2
and eax, edx
mov ebx, eax
jmp 0x587e48
xor edx, edx
cmp ecx, eax
setne dl
lea edx, [edx*4 + 0x2b]
jmp 0x587de2
cmp dword [ebp + 0xc], 2
mov edx, dword [ebp + 8]
mov byte [edx + 1], cl
jb 0x587f94
add dword [edi], ecx
adc byte [eax + 0xf000000], 0x83
invalid
jae 0x5890d0
fld qword [edx + ebx*8 - 0x43]
dec esp
jnp 0x587efd
jnp 0x587f32
in eax, dx
inc edx
jl 0x587f5b
push es
out 0x44, al
cmp esi, 0x34
jae 0x587f71
lea ecx, [esi + 0x47]
jmp 0x587ef4
mov ebx, 0x78bd4e2b
or bl, byte [edx + esi + 0x6646a455]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
rol dword [esi - 0x2c], 1
mov bl, 0x4e
inc esi
aam 0xb3
dec esi
movsb byte es:[edi], byte [esi]
popal
sti
imul ecx, dword [esi], 0xfffffffd
adc edi, dword [ebp + 0x28d9be28]
invalid
cmp esi, eax
jae 0x587fe3
lea ecx, [esi - 4]
jmp 0x587ef4
cmp esi, eax
setne cl
lea ecx, [ecx*4 + 0x2b]
jmp 0x587ef4
mov byte [edx + 2], 0x3d
jmp 0x5880ac
xor ecx, ecx
jmp 0x587f83
cmp edi, eax
jmp 0x5880ea
xor ecx, ecx
cmp edi, eax
setne cl
jmp 0x58809e
lea ecx, [ecx*4 + 0x2b]
jmp 0x588763
cmp dword [ebp + 0xc], 3
jmp fcn.0058810a
jae 0x588056
lea ecx, [edi - 4]
jmp 0x588763
mov byte [edx + 2], cl
jmp 0x5880ac
cmp edi, 0x34
jae 0x58803a
lea ecx, [edi + 0x47]
jmp 0x588763
cmp edi, 0x1a
jae 0x588b06
lea ecx, [edi + 0x41]
jmp 0x588763
Function at 0x558a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x589362
lea esp, [esp + 4]
jmp fcn.00589442
Function at 0x559d1d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00559b7a
jmp 0x559d39
lea esp, [esp + 4]
jmp 0x5880f8
jmp 0x559d71
jmp fcn.0058b240
jmp 0x559d18
jmp 0x559d55
Function at 0x575e10
Capabilities:
Encode data using base64

Disassembly:
call fcn.00557a71
jmp 0x557c6b
lea esp, [esp + 4]
jmp 0x557e2b
jmp 0x557ca3
jmp 0x557cbf
push ebp
jmp 0x557cdb
jmp 0x557cf7
mov ebp, esp
jmp 0x557d13
jmp 0x557d2f
movzx eax, byte [ecx]
jmp 0x557d4b
jmp 0x557d67
shl eax, 0x10
jmp 0x557d83
jmp 0x557d9f
cmp dword [ebp + 0xc], 2
jmp 0x557dd7
jmp 0x587c42
jmp 0x557df3
jb 0x557dbb
jae 0x557e0f
push ecx
add dword [ecx - 0x265fb77], edx
or al, 0xf8
jmp 0x587c6c
jmp 0x557c87
jmp 0x557c4a
cmp dword [ebp + 0xc], 3
jne 0x587c81
movzx ecx, byte [ecx + 2]
or eax, ecx
jmp 0x587c81
movzx edx, byte [ecx + 1]
shl edx, 8
or eax, edx
jmp 0x557dbb
push ebx
push esi
push edi
mov ecx, eax
push 0x3f
mov esi, eax
shr ecx, 0x12
pop edx
shr esi, 0xc
and ecx, edx
and esi, edx
cmp dword [ebp + 0xc], 2
jb 0x587ce0
mov edi, eax
shr edi, 6
and edi, edx
jmp 0x587cbf
cmp dword [ebp + 0xc], 3
jne 0x587d59
je 0x587ecc
mov eax, 0x23d0b121
xchg edi, eax
test eax, 0x31c2a737
xchg esi, eax
jle 0x587cde
test byte [eax - 0x53], 0x8b
jge 0x587cef
dec eax
lodsd eax, dword [esi]
mov edi, dword [ebp + 0xc]
jmp 0x587cbf
int 0x85
sbb cl, byte [eax - 0x452e511]
cmc
pushfd
outsd dx, dword [esi]
les edi, [edi - 0x779560a0]
inc ecx
add ch, cl
in eax, 0xfe
invalid
mov ebx, dword [ebp + 0xc]
jmp 0x587e48
cmp ecx, 0x34
jmp 0x587e62
mov ecx, dword [ebp + 8]
mov byte [ecx], dl
cmp esi, 0x1a
jae 0x587f1b
lea ecx, [esi + 0x41]
jmp 0x587ef4
push 0x3e
pop eax
cmp ecx, 0x1a
jae 0x587d67
lea edx, [ecx + 0x41]
jmp 0x587de2
jae 0x587e84
lea edx, [ecx + 0x47]
jmp 0x587de2
cmp ecx, eax
jae 0x587ed5
lea edx, [ecx - 4]
jmp 0x587de2
and eax, edx
mov ebx, eax
jmp 0x587e48
xor edx, edx
cmp ecx, eax
setne dl
lea edx, [edx*4 + 0x2b]
jmp 0x587de2
cmp dword [ebp + 0xc], 2
mov edx, dword [ebp + 8]
mov byte [edx + 1], cl
jb 0x587f94
add dword [edi], ecx
adc byte [eax + 0xf000000], 0x83
invalid
jae 0x5890d0
fld qword [edx + ebx*8 - 0x43]
dec esp
jnp 0x587efd
jnp 0x587f32
in eax, dx
inc edx
jl 0x587f5b
push es
out 0x44, al
cmp esi, 0x34
jae 0x587f71
lea ecx, [esi + 0x47]
jmp 0x587ef4
mov ebx, 0x78bd4e2b
or bl, byte [edx + esi + 0x6646a455]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
rol dword [esi - 0x2c], 1
mov bl, 0x4e
inc esi
aam 0xb3
dec esi
movsb byte es:[edi], byte [esi]
popal
sti
imul ecx, dword [esi], 0xfffffffd
adc edi, dword [ebp + 0x28d9be28]
invalid
cmp esi, eax
jae 0x587fe3
lea ecx, [esi - 4]
jmp 0x587ef4
cmp esi, eax
setne cl
lea ecx, [ecx*4 + 0x2b]
jmp 0x587ef4
mov byte [edx + 2], 0x3d
jmp 0x5880ac
xor ecx, ecx
jmp 0x587f83
cmp edi, eax
jmp 0x5880ea
xor ecx, ecx
cmp edi, eax
setne cl
jmp 0x58809e
lea ecx, [ecx*4 + 0x2b]
jmp 0x588763
cmp dword [ebp + 0xc], 3
jmp fcn.0058810a
jae 0x588056
lea ecx, [edi - 4]
jmp 0x588763
mov byte [edx + 2], cl
jmp 0x5880ac
cmp edi, 0x34
jae 0x58803a
lea ecx, [edi + 0x47]
jmp 0x588763
cmp edi, 0x1a
jae 0x588b06
lea ecx, [edi + 0x41]
jmp 0x588763
Function at 0x576505
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x558a0c
jmp 0x558a8b

Function at 0x5f1d6c
Capabilities:
Access peb ldr_data
Packed with generic packer
Parse pe header

Disassembly:
call 0x5efb1d
pop eax
sub eax, 0x5efb1d
jmp 0x5efb95
inc dword [eax + 0x5500e9]
push 0x8d36204c
add dword [esp], 0x731e31fc
push 0
push 0
push 0xfb3bf448
add dword [esp], 0x5184ece
jmp 0x5efbb2
push eax
jmp 0x5efb18
cmp dword [eax + 0x5500e9], 0
je 0x5efb3f
lea esp, [esp + 8]
popal
jmp 0x405a32
call 0x55d686
jmp 0x5f1c8d
call 0x5f1c92
add dword [esp], 0xeb8
call fcn.0055b43c
jmp 0x5f1d7c
call 0x5f1ca9
jmp 0x5f1d28
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x5f1ca4
pop eax
xor ax, ax
jmp 0x5f1da0
call 0x5f1d6c
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x5f1dcb
jb 0x5f1d7e
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
jmp 0x5f1d06
call fcn.0055ca57
lodsb al, byte [esi]
idiv bh
popal
jmp 0x405a32
cmp word [eax], 0x5a4d
je 0x5f1e50
sub eax, 0x10000
jmp 0x5f1da0
push ds
sbb bh, al
dec ecx
insd dword es:[edi], dx
popal
dec esp
imul esi, dword [ebx + 0x74], 0x6165525f
add byte fs:[eax + 0x11e28717], al
fadd qword [ebx + 0x1dee8b1b]
stc
xchg esp, eax
add dword [ecx + 0x44eb03f0], edx
rol byte [esi + 0x21], 1
sar byte [eax], 1
mul dword [edx - 0x10]
xchg edi, eax
invalid
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x5efb79
jmp 0x5f1dab
Function at 0x402a60
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.0040458c
test esi, esi
jne 0x402a96
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.0040467c
jmp 0x402ab4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402974
mov edi, eax
test esi, esi
je 0x402ab4
cmp dword [ebx], 0
je 0x402ab4
dec esi
jmp 0x402a9d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x497020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403698
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403678
xor eax, eax
push ebp
push 0x403671
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 0x4036b4
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 0x403678
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x497020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x497020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40436c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49a048], 0
je 0x4043cd
cmp word [0x49a21c], 0xd7b2
jne 0x404395
cmp dword [0x49a224], 0
jbe 0x404395
mov eax, 0x49a218
call dword [0x49a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x497070
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 0x4043f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x497030], 0
jne 0x4043e9
push 0
push 0x497068
push 0x497070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402738
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49a049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404508
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4064f0
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 0x406556
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.004047fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403068
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406540
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40655d
lea eax, [ebp - 0x10]
call fcn.0040458c
ret

Function at 0x40915c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a4c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409175
test al, 0x10
jne 0x409179
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c6e8
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 0x40c721
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040467c
jmp 0x40c72a
mov eax, ebx
mov edx, esi
call fcn.004045e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c734
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 0x40c755
mov al, byte [esp]
jmp 0x40c757
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cddc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cc54
mov eax, dword [0x499abc]
cmp byte [eax], 0
je 0x40ce58
mov eax, dword [0x49970c]
call fcn.00402ec8
call fcn.004028a0
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.004095f8
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 0x40cea0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ce8e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x499688]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49a664]
call fcn.00405a04
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 0x40d718
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d7ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404624
lea eax, [ebp - 8]
call fcn.00404a9c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a4c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d7d8
mov eax, ebx
call fcn.00402738
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d7d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a4c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d7bb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d800
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d7bb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7d8
mov eax, dword [ebp - 0x10]
call fcn.00402758
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7f5
lea eax, [ebp - 8]
call fcn.0040458c
ret

Function at 0x40ddac
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 0x40de10
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.004047fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408da8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de17
lea eax, [ebp - 0xc]
call fcn.0040458c
ret

Function at 0x41c334
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41c381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041c160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41c399
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41c3a0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041c160
dec esi
jne 0x41c3c2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41d504
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49a888
cmp dword [edi], 0
jne 0x41d580
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49748c
mov ecx, 2
call fcn.00402934
mov edx, 0x41d4dc
lea eax, [esi + 5]
call fcn.0041d4fc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d4fc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41d555
mov dword [0x49a884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41eaf4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41eafa
ret

Function at 0x420f90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420fe1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420fc8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420fb8
jmp 0x420fe1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420fc9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429ad8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a3c
xor eax, eax
push ebp
push 0x429c06
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429bd9
xor eax, eax
push ebp
push 0x429bd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040484c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429ba7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x429b96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040484c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a4c
mov edx, ebx
pop ecx
call fcn.00402934
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429b9d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4995c8]
mov dl, 1
mov eax, dword [0x407980]
call fcn.0040cf84
call fcn.00403f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429c0d
lea eax, [ebp - 4]
call fcn.0040458c
ret