joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fba0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x522fe4]
xor edx, edx
cmp eax, edx
jne 0x48fbc6
xor eax, eax
mov byte [eax + 0x522ee4], al
inc eax
cmp eax, 0x100
jl 0x48fbae
mov dword [0x522fe4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x522ee4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48fc57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48fc2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x48fbf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x48fc60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x48fcb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48fc9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x496640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c475e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00496f60
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4d3804
call fcn.004b55f8
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4966d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b55f8
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4966cc
push 0
mov ecx, eax
call fcn.0048d7e0
mov dword [esi + 0xc], eax
jmp 0x4966d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4966d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4b7c85
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b7cbd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b5d12
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b5cea
jmp 0x4b7cc9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b9377
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b93b9
call fcn.004bee34
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b93b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b93b0
xor eax, eax
jmp 0x4b93c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b93c7
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bf364
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4bf392
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bf3b0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bf2ca
jmp 0x4bf3b0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bf3b0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bf2ca
test edi, edi
mov eax, edi
jne 0x4bf39a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
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 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
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 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x40c630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40c652
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c648
mov eax, 1
add ebx, ebx
jne 0x40c66b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c660
jne 0x40c67c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c660
xor ecx, ecx
sub eax, 3
jb 0x40c690
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c702
mov ebp, eax
add ebx, ebx
jne 0x40c69b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c6a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c6cc
inc ecx
add ebx, ebx
jne 0x40c6b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c6ad
jne 0x40c6c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c6ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c6ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c6dd
jmp 0x40c64e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c6ec
add edi, ecx
jmp 0x40c64e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c74b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c709
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc040]
or eax, eax
je 0x40c745
mov dword [ebx], eax
add ebx, 4
jmp 0x40c726
call dword [esi + 0xc050]
mov ebp, dword [esi + 0xc044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40c77f
sub esp, 0xffffff80
jmp 0x40a71c
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004014d6
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401d82
sub eax, fcn.0040154d
push eax
push fcn.0040154d
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401405
mov eax, ebx
call fcn.00401457
lea eax, [ebx + 0x1b600]
lea edx, [ebx - 1]
lea ecx, [ebp - 2]
and edx, eax
test ebx, ebx
je 0x401071
mov eax, 0x40a054
add eax, eax
jmp 0x401076
mov eax, 0x40a054
mov ebx, ecx
call fcn.0040154d
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x4014d6
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x124, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x20]
push ebx
push 1
push 1
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x124], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
lea eax, [ebp - 0x20]
movzx ebx, word [ebp - 0x20]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x40154d
Capabilities:
Delete file
Encode data using base64 via winapi
Get number of processors

Disassembly:
and al, 1
add byte [ebp + 0x15fff45d], cl
mov esp, 0x530042a1
jb 0x4015a5
jae 0x4014da
jbe 0x4015b6
mov dword [ebp - 0x8db99b], ecx
inc ecx
invalid
mov dword [ecx - 0x7676378a], eax
inc esi
add bh, bh
push esi
mov dword gs:[ebp + 0x6e], eax
inc ebp
lea esp, [ecx + edi*2 + 0x57]
jns 0x40160f
inc ebp
invalid
add bh, al
push esi
lea eax, [ebp + 0x45]
insb byte es:[edi], dx
xlatb
arpl di, ax
outsd dx, dword fs:[esi]
and byte [esi], 0xc7
inc esi
push ebx
insb byte es:[edi], dx
outsb dx, byte [esi]
bound eax, qword [esi + 0x6e]
add byte [ebx], cl
jae 0x4015d8
outsb dx, byte [esi]
popal
add al, 0x6c
mov byte [0x646c658d], al
je 0x401640
dec esp
dec esp
xor dh, byte [edx - 0x12]
popal
imul eax, dword [eax], 0xc756c745
jbe 0x401684
inc ebp
inc ecx
pushal
jb 0x4015d6
add byte cs:[ebx + 0x7a], al
imul eax, ebx, 0x45456e56
mov dword [edx - 0x40], esi
add byte [edx + esi*2 + 0x45], dh
outsb dx, byte fs:[esi]
push 0x727e6472
mov dword [ebp + 0x6f], 0x74746e45
insb byte es:[edi], dx
rol bh, 0x73
jb 0x4015fc
je 0x40169a
invalid
push ebx
outsb dx, byte [esi]
popal
popal
add byte [esi + eax*2 + 0x76], ah
inc ebp
mov dword [edx + 0x50], edi
lea esi, [ebp + 0x64]
push ebx
invalid
inc esi
inc edx
imul edx, dword [esi + 0x45], 0x7072698d
inc ebp
invalid
insb byte es:[edi], dx
add byte [ecx + 0x458946c7], cl
add byte [eax + 0x6e], dh
insb byte es:[edi], dx
mov dword [ebp + 0x31], 0x8d4545ff
inc ebp
imul eax, dword [esi + 0x77], 0x317256
invalid
Function at 0x403e1c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov byte [ebp - 1], bl
cmp edi, ebx
je 0x403e81
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [edi + 2]
push ecx
push ebx
push dword [eax + 0x18]
call dword [0x3fd810a8]
mov dword [esi + 0x30], eax
cmp eax, ebx
je 0x403e68
mov byte [eax + edi], bl
mov eax, dword [esi + 0x30]
mov byte [edi + eax + 1], bl
mov dword [esi + 0x34], edi
mov byte [ebp - 1], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov ecx, esi
call fcn.00403e92
test al, al
je 0x403e89
cmp byte [ebp - 1], bl
je 0x403e89
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
jmp 0x403e5e
xor al, al
jmp 0x403e7a

Function at 0x406f22
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], 0x3fd8a3f4
test eax, eax
je 0x406f4d
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [0x3fd810ac]
and dword [esi + 0xc], 0
lea ecx, [esi + 0xe4]
call fcn.00403d59
lea ecx, [esi + 0xc4]
call fcn.00403d59
lea ecx, [esi + 0xac]
call fcn.00403d59
lea ecx, [esi + 0x94]
call fcn.00403d59
lea ecx, [esi + 0x7c]
call fcn.00403d59
lea ecx, [esi + 0x64]
call fcn.00403d59
lea ecx, [esi + 0x4c]
call fcn.00403d59
lea ecx, [esi + 0x34]
call fcn.00403d59
lea ecx, [esi + 0x1c]
call fcn.00403d59
mov ecx, esi
pop esi
jmp fcn.0040382d

Function at 0x406f24
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], 0x3fd8a3f4
test eax, eax
je 0x406f4d
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [0x3fd810ac]
and dword [esi + 0xc], 0
lea ecx, [esi + 0xe4]
call fcn.00403d59
lea ecx, [esi + 0xc4]
call fcn.00403d59
lea ecx, [esi + 0xac]
call fcn.00403d59
lea ecx, [esi + 0x94]
call fcn.00403d59
lea ecx, [esi + 0x7c]
call fcn.00403d59
lea ecx, [esi + 0x64]
call fcn.00403d59
lea ecx, [esi + 0x4c]
call fcn.00403d59
lea ecx, [esi + 0x34]
call fcn.00403d59
lea ecx, [esi + 0x1c]
call fcn.00403d59
mov ecx, esi
pop esi
jmp fcn.0040382d
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402c00
pop dword [ebp - 0x48]
mov eax, 0x9a74e4e4
add eax, 0x65cb471c
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x69f26065
sub dword [ebp - 0x58], 0x1ba01b1a
mov dword [ebp - 0x54], 0x66c3a925
add dword [ebp - 0x54], 0xcb6fa320
mov dword [ebp - 0x50], 0x2370de3e
add dword [ebp - 0x50], 0x28db65f0
mov dword [ebp - 0x4c], 0xc19f486e
sub dword [ebp - 0x4c], 0xc19f486e
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xfe9e783d
sub dword [ebp - 0x58], 0x8a2c0ee7
mov dword [ebp - 0x54], 0xebc8718d
sub dword [ebp - 0x54], 0xaa5c1018
mov dword [ebp - 0x50], 0xeaf49870
add dword [ebp - 0x50], 0x787ad3fc
mov dword [ebp - 0x4c], 0x9bd5516a
add dword [ebp - 0x4c], 0x642aae96
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x62d0d7e4
add eax, 0x9d6fa8f0
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x33dd2
push 0
call eax
mov ecx, 0x3cb3
xor esi, esi
add esi, eax
mov edx, 0x56842e8b
sub edx, 0x56431e8b
add edx, dword [ebp - 0x48]
mov ebx, 0xfc1d957
add ebx, 0xd6a90006
add dword [ebp - 0x38], 0xfb129a08
mov edi, dword [edx]
add dword [ebp - 0x28], esi
add edi, ebx
xor dword [ebp - 8], eax
mov dword [esi], edi
sub dword [ebp - 4], edx
add esi, 0x1c31404d
add esi, 0xe3cebfb7
add edx, 0xe7d50d5
add edx, 0xf182af2f
loop 0x402d19
add eax, 0xe59f
mov ebx, eax
add eax, 0xa4e5faf3
sub eax, 0xa4e5faee
mov ecx, 0x343d70c5
add ecx, 0xcc028f3b
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x406018
push 0x406014
call fcn.00402d64
push 0
push 0x406020
push 0x40601c
call fcn.00402d64
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403402
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x406a44]
test eax, eax
je 0x40341b
call eax
test eax, eax
jne 0x40341b
push 0xfffffffffffffffe
jmp 0x403435
push 1
push 0x406010
push 0x406008
call fcn.00402d64
add esp, 0xc
test eax, eax
je 0x40343b
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x406004
push section..data
call fcn.00402d64
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x403461
mov esi, 0x405bd1
mov cl, 0x20
jmp 0x40346a
cmp al, 0x20
ja 0x403474
inc esi
mov al, byte [esi]
test al, al
jne 0x403465
cmp al, 0x20
jbe 0x40348b
mov al, byte [esi]
cmp al, 0x22
jne 0x40347d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403476
jmp 0x40348b
cmp al, cl
ja 0x403491
inc esi
mov al, byte [esi]
test al, al
jne 0x403486
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x4034ba
movzx eax, word [ebp - 0x14]
jmp 0x4034bd
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x4034f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x406391], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4068a0
push 0x406908
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403542
xor eax, eax
jmp 0x403559
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4045e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435bad
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.00434801
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x4046a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x404662
mov eax, esi
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.004347f3
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x406530
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x40657c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40655f
cmp edi, 2
jb 0x40655f
cmp byte [esi], cl
jne 0x40655f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x437568]
test edi, edi
jne 0x406545
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4065ab
cmp cl, 0x23
jne 0x406592
cmp byte [esi], cl
jne 0x406592
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x437568]
test cl, cl
jne 0x406583
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x4066c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4066d4
mov dword [edi], 0
mov edx, 0x43ba4c
call fcn.004065c0
mov esi, eax
test esi, esi
je 0x4067d0
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4067c6
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4067c6
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x4067c6
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4067c6
mov eax, dword [0x43f718]
test eax, eax
je 0x406750
inc dword [eax + 0x36c]
push dword [0x43f710]
push ebx
call fcn.00405e60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4067c6
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x4067ab
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x43f718]
add esp, 4
test eax, eax
je 0x406793
dec dword [eax + 0x36c]
push dword [0x43f710]
push ebx
call fcn.00405e80
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x4067bd
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4082e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x437568]
sub esi, 1
jne 0x408313
mov eax, dword [0x43f718]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x408342
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x408351
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x40836a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.00418060
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004347f3
mov esp, ebp
pop ebp
ret 4