joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000711c
Capabilities:
Check if file exists

Disassembly:
jmp 0x10096950
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.1000558d
push 0x62
push esi
mov edi, eax
mov ebx, 1
call sub.VCRUNTIME140.dll_strchr
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x100969f5
push 0x45
push str.crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x101d7514
push esi
push 0x101d7518
push dword [esp + 0x30]
push str.fopen_
push 5
call sym.libcrypto_1_1.dll_ERR_add_error_data
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
add esp, 0x2c
call esi
cmp dword [eax], 2
je 0x100969d2
call esi
cmp dword [eax], 6
je 0x100969d2
lea eax, [edi + 2]
lea ecx, [edi + 0x4e]
jmp 0x100969dc
mov eax, 0x80
mov ecx, 0x4c
push ecx
push str.crypto_bio_bss_file.c
push eax
push 0x6d
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x101d74ac
call sym.libcrypto_1_1.dll_BIO_new
mov esi, eax
add esp, 4
test esi, esi
jne 0x10096a18
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x8000
push esi
call sym.libcrypto_1_1.dll_BIO_clear_flags
push edi
push ebx
push 0x6a
push esi
call sym.libcrypto_1_1.dll_BIO_ctrl
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x1000717b
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x1016f8d0
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1016f993
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x1016f8f1
cmp al, 0x6b
jne 0x1016f993
inc ecx
cmp al, 0x6b
jne 0x1016f958
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x1016f912
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x1016f912
cmp dl, 0xbb
jne 0x1016f938
inc eax
cmp eax, esi
jl 0x1016f900
sub esi, eax
test eax, eax
jne 0x1016f95b
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x1016f981
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x10012980
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x10012a6a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x100129fd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.libcrypto_1_1.dll_BF_encrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x100129c3
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x10012b33
call 0x10012a0f
pop edx
lea ecx, [edx + 0x171]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10012aca
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.libcrypto_1_1.dll_BF_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10012a7b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x10012b33
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.libcrypto_1_1.dll_BF_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10012b2e
jmp 0x10012b33
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001bf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x1001bfdb
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x1001bf76
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001bf44
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x1001c094
call 0x1001bf88
pop edx
lea ecx, [edx + 0x138]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x1001c033
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001bfec
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x1001c094
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x1001c08f
jmp 0x1001c094
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001c100
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x1001c1e4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x1001c17f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_encrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001c14d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x1001c29d
call 0x1001c191
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x1001c23c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_decrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001c1f5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x1001c29d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_decrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x1001c298
jmp 0x1001c29d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100955d0
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x30
call fcn.10001f96
mov eax, dword [0x1025e3d4]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push ebx
mov dword [esp + 0x1c], eax
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x18], ebx
cmp dword [ebx + 0x28], 0
jg 0x10095605
cmp dword [ebx + 0x2c], 0
jle 0x100957a3
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
push ecx
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push dword [eax + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jns 0x1009563e
push str.getsockopt
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
add esp, 4
jmp 0x10095667
mov ecx, dword [esp + 4]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x30], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [ebx + 0x34], eax
push ebp
push esi
push edi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ebx, dword [esp + 0x14]
mov edx, 0xe57a42bd
mov ecx, dword [esp + 0x18]
add ebx, 0x2ac18000
mov eax, ebx
mov dword [esp + 0x20], ebx
adc ecx, 0xfe624e21
mov ebp, 0xd6bf94d5
mul edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, edx
mov eax, ebx
mul ebp
mov edi, eax
mov ebp, edx
mov eax, ecx
mov ecx, 0xe57a42bd
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x20]
adc ebp, 0
mov dword [esp + 0x14], edi
xor eax, eax
add ebx, ebp
mov ebp, dword [esp + 0x10]
adc eax, eax
add ebp, ebx
adc edx, eax
shrd ebp, edx, 0x17
imul eax, ebp, 0x989680
sub ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, dword [esi + 0x2c]
mov edi, eax
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x28]
sub edi, ecx
cmp eax, ecx
jge 0x1009572f
add edi, 0xf4240
dec edx
cmp edx, ebp
jge 0x1009573a
xor edx, edx
lea edi, [edx + 1]
jmp 0x1009573c
sub edx, ebp
mov ecx, dword [esi + 0x30]
test ecx, ecx
jne 0x10095748
cmp dword [esi + 0x34], ecx
je 0x10095753
cmp ecx, edx
jg 0x10095753
jne 0x100957a0
cmp dword [esi + 0x34], edi
jl 0x100957a0
imul ecx, edx, 0x3e8
mov eax, 0x10624dd3
imul edi
push 4
sar edx, 6
mov eax, edx
add ecx, edx
shr eax, 0x1f
add eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push 0x1006
push 0xffff
push dword [eax + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x100957a0
push str.setsockopt
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
add esp, 4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x30]
pop ebx
xor ecx, esp
call fcn.100032f1
add esp, 0x30
ret
Function at 0xdaa058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xdaa1a8
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 0xdaa07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdaa06a
add dl, dl
jne 0xdaa089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdaa0dc
xor eax, eax
add dl, dl
jne 0xdaa096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdaa17d
add dl, dl
jne 0xdaa0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdaa0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdaa075
mov eax, 1
add dl, dl
jne 0xdaa0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdaa0e1
sub eax, ebx
mov ebx, 1
jne 0xdaa128
mov ecx, 1
add dl, dl
jne 0xdaa10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdaa119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdaa105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdaa075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdaa13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdaa14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdaa136
cmp eax, 0x7d00
jae 0xdaa16d
cmp eax, 0x500
jb 0xdaa168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdaa075
cmp eax, 0x7f
ja 0xdaa170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdaa075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdaa19e
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 0xdaa075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406a06
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 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
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 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
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 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
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 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x402aa0
Capabilities:
Accept command line arguments

Disassembly:
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004029e0
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
ret 0x10

Function at 0x402d76
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406018]
jne 0x402d80
repz ret
jmp fcn.004031ad

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40426f
pop dword [ebp - 8]
mov eax, 0x86d5a9c5
sub eax, 0x86956756
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xcb19ba6a
sub dword [ebp - 0x18], 0x7cc7751f
mov dword [ebp - 0x14], 0x3084070b
sub dword [ebp - 0x14], 0xfe50bac6
mov dword [ebp - 0x10], 0x15ede4a
add dword [ebp - 0x10], 0x4aed65e4
mov dword [ebp - 0xc], 0x50bb3654
sub dword [ebp - 0xc], 0x50bb3654
lea eax, [ebp - 0x18]
push eax
mov eax, 0x9ca59382
sub eax, 0x9c64530e
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x5e489319
add dword [ebp - 0x18], 0x1629d63d
mov dword [ebp - 0x14], 0x86a4e0fe
add dword [ebp - 0x14], 0xbac78077
mov dword [ebp - 0x10], 0xc6bdbc1a
add dword [ebp - 0x10], 0x9cb1b052
mov dword [ebp - 0xc], 0x222370cb
add dword [ebp - 0xc], 0xdddc8f35
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x38437
push 0
call eax
mov ecx, 0xe6cb413
sub ecx, 0xe6c7140
xor edi, edi
add edi, eax
mov ebx, 0x424200
add ebx, dword [ebp - 8]
mov edx, 0x41361e7
sub dword [ebp - 4], ecx
mov esi, dword [ebx]
mov dword [ebp - 4], 0x8d87d3ad
xor esi, edx
add dword [ebp - 4], 0x688997a9
mov dword [edi], esi
add edi, 0x4a0142bc
sub edi, 0x4a0142b8
add ebx, 0x85f7efb6
sub ebx, 0x85f7efb2
loop 0x404382
add eax, 0xe2b3b5ed
add eax, 0x1d4d4832
xor ebx, ebx
add ebx, eax
add eax, 0xab08d363
add eax, 0x54f72ca2
mov ecx, 0x5abdc68d
sub ecx, 0x5a7dc68d
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x411077
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x417478
call fcn.00411850
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, ebx
mov esi, 0x4198ac
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x410f4a
cmp eax, edx
jne 0x410f33
xor esi, esi
inc esi
mov edi, esi
jmp 0x410f4d
xor esi, esi
inc esi
cmp dword [0x4198b0], esi
jne 0x410f5f
push 0x1f
call sub.MSVCR120.dll__amsg_exit
pop ecx
jmp 0x410f99
cmp dword [0x4198b0], ebx
jne 0x410f93
mov dword [0x4198b0], esi
push 0x4143cc
push 0x4143bc
call sub.MSVCR120.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x410f99
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x411071
mov dword [0x419520], esi
cmp dword [0x4198b0], esi
jne 0x410fbc
push 0x4143b8
push 0x414394
call sub.MSVCR120.dll__initterm
pop ecx
pop ecx
mov dword [0x4198b0], 2
test edi, edi
jne 0x410fc9
xor eax, eax
mov ecx, 0x4198ac
xchg dword [ecx], eax
cmp dword [0x4198b4], 0
je 0x410feb
push 0x4198b4
call fcn.00404260
pop ecx
test eax, eax
je 0x410feb
push ebx
push 2
push ebx
call dword [0x4198b4]
mov ecx, dword [0x419534]
mov eax, dword [sym.imp.MSVCR120.dll___winitenv]
mov dword [eax], ecx
push dword [0x419534]
push dword [0x419530]
push dword [0x41952c]
call fcn.00404260
add esp, 0xc
mov dword [0x419524], eax
cmp dword [0x419528], 0
jne 0x411056
push eax
call dword [sym.imp.MSVCR120.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.MSVCR120.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x419520], 0
jne 0x41106a
call dword [sym.imp.MSVCR120.dll__cexit]
mov eax, dword [0x419524]
mov dword [ebp - 4], 0xfffffffe
call fcn.00411895
ret
call fcn.00404260
jmp 0x410f12
Function at 0x41a9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x45500c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
mov edx, ecx
mov dword [esp + 0x10], edx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x41aa4e
mov ecx, esi
mov dword [esp + 0xc], esi
nop
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
or eax, 0xffffffff
cmp esi, 0xffffffff
cmovb eax, ecx
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x41aa62
mov esi, dword [esp + 0xc]
add edi, dword [esp + 0x10]
sub esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, esi
mov dword [esp + 0xc], esi
jne 0x41aa10
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00424cac
mov esp, ebp
pop ebp
ret
sub esp, 8
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [eax], str.WriteFile:
mov dword [eax + 4], 0xb
call fcn.004010f0
mov esi, eax
add esp, 8
cmp ebx, esi
je 0x41aab0
mov ecx, ebx
call fcn.00401090
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
cmp ecx, 8
jb 0x41aaee
mov edx, dword [esp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41aae4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab02
push ecx
push edx
call fcn.00424cbf
add esp, 8
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424cac
mov esp, ebp
pop ebp
ret
call fcn.0042821f
int3