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

Disassembly:
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
test dword [edi - 8], edi
invalid
push dword [ecx - 0x3a]
test dword [eax + 0x3bfffff8], eax
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.0043e1fa
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
invalid
pop ecx
invalid

Function at 0x4403a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc eax
or al, 0x8b
jo 0x4403c1
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x4403ae
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0043e1ea
sub eax, 0x8bef2f63
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x4403c8
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.0043e1ea
sub bh, bl
loope 0x440423
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4403d7
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4403d7
call fcn.0043e1ea
add al, 0x5e
invalid
inc dword [eax + eax]
int3

Function at 0x444fd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
xor al, al
push esi
mov esi, edx
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x445061
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add esi, 0x10
mov word [ebp - 0x24], ax
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
je 0x44502a
push 0x10
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
test edi, edi
jg 0x44502a
mov edx, dword [esi]
mov ebx, dword [edx + 4]
add ebx, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov bl, 1
test edi, edi
jg 0x44503c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44503c
xor bl, bl
test bl, bl
je 0x44505d
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
call fcn.00445070
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eacc
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051eacc
mov esp, ebp
pop ebp
ret
Function at 0x46a380
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f73b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
cmp dword [ebp + 0xc], 0
mov byte [ebp - 0x11], al
je 0x46a573
cmp dword [ebp + 0x10], 0
je 0x46a573
mov edx, dword [ebp + 8]
cmp dword [edx + 0xe54], 0
je 0x46a573
cmp dword [edx + 0xe7c], 0x64
jle 0x46a573
mov esi, dword [edx + 0xf38]
mov ebx, dword [edx + 0xf34]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x18], esi
call fcn.004753e0
mov dword [ebp - 4], 0
mov edi, dword [edx + 0xe3c]
push esi
mov esi, eax
call fcn.00475550
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x46a558
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xf2c]
mov edx, dword [esi + 0xf30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
call fcn.0040a670
test al, al
je 0x46a45b
push 8
push edi
call dword [sym.imp.GDI32.dll_SetLayout]
mov edx, edi
lea ecx, [esi + 0x264]
call fcn.00458e20
mov eax, dword [esi + 0xe54]
push eax
lea edi, [ebp - 0x44]
lea eax, [esi + 0x264]
call fcn.00458fa0
lea eax, [esi + 0x264]
call fcn.00458e50
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x46a558
lea eax, [ebp - 0x5c]
call fcn.00442440
push 0x18
mov byte [ebp - 4], 1
call fcn.004758e0
test eax, eax
je 0x46a544
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x24]
call fcn.005072c0
mov esi, 0x54ede0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00508170
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
call fcn.00508170
mov esi, dword [ebp - 0x24]
mov ecx, esi
test esi, esi
jne 0x46a4e4
mov ecx, 0x54ee24
lea edx, [ebp - 0x5c]
call fcn.00442630
mov bl, al
test bl, bl
je 0x46a512
test esi, esi
jne 0x46a4fb
mov esi, 0x54ee24
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00445e70
jmp 0x46a547
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe3c]
sub ecx, 0x70
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd8
push 0
add ecx, 0xa43d
push eax
call fcn.00427dc0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00445e70
jmp 0x46a547
mov bl, byte [ebp - 0x11]
lea esi, [ebp - 0x5c]
call fcn.004759c0
mov ecx, esi
call fcn.004424d0
jmp 0x46a55b
mov bl, byte [ebp - 0x11]
lea eax, [ebp - 0x9c]
call fcn.00475590
lea ecx, [ebp - 0x9c]
call fcn.00475450
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1002aaee
pop dword [ebp - 0x20]
mov eax, 0xbbff8f29
add eax, 0x54031bc5
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x8f8524bb
add dword [ebp - 0x30], 0xbecd2090
mov dword [ebp - 0x2c], 0x6662e10f
sub dword [ebp - 0x2c], 0x342f94ca
mov dword [ebp - 0x28], 0xbdbfbf3f
sub dword [ebp - 0x28], 0x71737b11
mov dword [ebp - 0x24], 0x8bf7c12d
add dword [ebp - 0x24], 0x74083ed3
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4e12040d
add eax, 0xc1f0bc2b
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x883cba98
add dword [ebp - 0x30], 0xec35aebe
mov dword [ebp - 0x2c], 0x50b77bef
sub dword [ebp - 0x2c], 0xf4b1a7a
mov dword [ebp - 0x28], 0x50ff916d
add dword [ebp - 0x28], 0x126fdaff
mov dword [ebp - 0x24], 0xcdcf2cfd
sub dword [ebp - 0x24], 0xcdcf2cfd
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x59d2e959
add eax, 0xb62fd6cf
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x387c8
push 0
call eax
mov ecx, 0xb2718eeb
sub ecx, 0xb2713ed8
mov esi, eax
mov edx, 0xd6a717f4
sub edx, 0xc6a381f4
add edx, dword [ebp - 0x20]
mov ebx, 0x68d994db
xor dword [ebp - 0x1c], edi
mov edi, dword [edx]
sub dword [ebp - 0x1c], 0x1eed18c8
add edi, ebx
add dword [ebp - 0xc], eax
mov dword [esi], edi
xor dword [ebp - 4], 0xdca9278d
add esi, 0x2bafb8b
sub esi, 0x2bafb87
add edx, 0xef62e791
add edx, 0x109d1873
loop 0x1002ac0a
add eax, 0xe22f62fc
sub eax, 0xe22e2fdd
xor ebx, ebx
add ebx, eax
add eax, 0x4c332078
sub eax, 0x4c332073
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x401010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0x40
push 0x3000
push 6
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [0x403018]
mov dword [eax], ecx
mov cx, word [0x40301c]
mov word [eax + 4], cx
call eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
ret

Function at 0x401844
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401883
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401883
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401883
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401883
cmp dword [ecx + 0x74], 0xe
jbe 0x401883
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x416000
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
pushal
push 0x416031
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x41603a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [0x416047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp loc.0040b63a

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x10870210
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10870360
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10870236
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10870222
add dl, dl
jne 0x10870241
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10870294
xor eax, eax
add dl, dl
jne 0x1087024e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10870335
add dl, dl
jne 0x1087025d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10870268
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10870273
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1087027e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1087028a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1087022d
mov eax, 1
add dl, dl
jne 0x108702a2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108702ad
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10870299
sub eax, ebx
mov ebx, 1
jne 0x108702e0
mov ecx, 1
add dl, dl
jne 0x108702c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108702d1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108702bd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1087022d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x108702f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10870302
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108702ee
cmp eax, 0x7d00
jae 0x10870325
cmp eax, 0x500
jb 0x10870320
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1087022d
cmp eax, 0x7f
ja 0x10870328
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1087022d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10870356
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1087022d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x482ceeab
mov eax, 0x6c010e9d
xor eax, esi
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0x1e64fce9
and eax, 0xe19b0316
or eax, ecx
mov esi, eax
add esp, 0xfffffffc
mov dword [esp], esi
mov edx, 0x2ef197e7
xor edx, 0x41d7524b
mov esi, edx
xor esi, 0xffffffff
and esi, 0x556fe3de
and edx, 0xaa901c21
or edx, esi
pop ebx
xor edx, ebx
mov edi, 0x38de4b04
add al, 0x4b
fidivr word [eax]
mov ebx, 0xfffffffc
add esp, ebx
mov esi, 0
xor esi, esp
mov dword [esi], edx
pop edx
jmp 0x403f18

Function at 0x4051fc
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
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405248
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
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406c2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406cba
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c77
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406ca4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c8b
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406c9a
lea edx, [ebp - 4]
call fcn.00406af0
test ebx, ebx
je 0x406c9a
dec ebx
jmp 0x406c7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cc1
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x401460
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0
mov dword [esp], str.Shell_TrayWnd
call sym._FindWindowW_8
sub esp, 8
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
nop
leave
ret

Function at 0x4014e2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.GetAbsolutePath
test eax, eax
je 0x401547
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x10c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
call sym._ShellExecuteA_24
sub esp, 0x18
jmp 0x40155a
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_resolve_absolute_path_for__s_n
call sym._printf
nop
leave
ret

Function at 0x4015a8
Capabilities:
Contain obfuscated stackstrings
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x2d], 0x63616c42
mov dword [ebp - 0x29], 0x6e69576b
mov dword [ebp - 0x25], 0x43776f64
mov dword [ebp - 0x21], 0x7373616c
mov byte [ebp - 0x1d], 0
lea edx, [ebp - 0x58]
mov eax, 0
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], dbg.WindowProc@16
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x34], eax
mov dword [esp], 4
call sym._GetStockObject_4
sub esp, 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sym._RegisterClassA_4
sub esp, 4
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov esi, eax
mov dword [esp], 1
call sym._GetSystemMetrics_4
sub esp, 4
mov ebx, eax
mov dword [esp], 0
call sym._GetSystemMetrics_4
sub esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], str.Black_Window
lea eax, [ebp - 0x2d]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CreateWindowExA_48
sub esp, 0x30
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4016f1
mov dword [esp + 4], 3
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._UpdateWindow_4
sub esp, 4
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
jmp 0x4016f2
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4043cf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47262f
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], edx
mov eax, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
mov esi, dword [ebp + 8]
mov edi, esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x138], ecx
jb 0x404436
mov edi, dword [esi]
cmp dword [edx + 0x14], 0x10
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
jb 0x404453
mov ecx, dword [edx]
mov dword [ebp - 0x130], ecx
cmp dword [edx + 0x10], 0
jbe 0x4044bc
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0044d39f
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, edi
cmp edi, ecx
je 0x40448f
nop dword [eax]
movzx eax, byte [edi]
inc edi
mov byte [ebp + eax - 0x128], 1
cmp edi, ecx
jne 0x40447f
mov edx, dword [ebp - 0x130]
mov edi, edx
mov ecx, dword [ebp - 0x134]
add ecx, edx
cmp edx, ecx
jae 0x4044b6
movzx eax, byte [edi]
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x404510
inc edi
cmp edi, ecx
jb 0x4044a3
mov eax, dword [ebp - 0x12c]
xorps xmm0, xmm0
mov ecx, eax
push 0
movups xmmword [eax], xmm0
push 0x491667
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00437d3f
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044bc1b
mov esp, ebp
pop ebp
ret
sub edi, edx
cmp edi, 0xffffffff
je 0x4044b6
cmp dword [esi + 0x14], 0x10
jb 0x40451f
mov esi, dword [esi]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x404539
mov eax, dword [ecx]
mov dword [ebp - 0x130], eax
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0044d39f
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x40456f
nop dword [eax]
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x128], 1
cmp esi, ecx
jne 0x40455f
mov eax, dword [ebp - 0x134]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x130]
dec eax
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edx]
add ecx, edx
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x4045ad
cmp ecx, edx
je 0x404624
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x128]
test al, al
jne 0x404595
sub ecx, edx
sub ecx, edi
lea eax, [ebp - 0x28]
inc ecx
push ecx
mov ecx, dword [ebp - 0x13c]
push edi
push eax
call fcn.0042330f
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x140], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00437e6f
mov eax, esi
jmp 0x4044f5
or ecx, 0xffffffff
jmp 0x4045af