joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11023630
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.110afe90
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x28]
test esi, esi
je 0x11023675
test ebx, ebx
je 0x11023675
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x11023650
cmp ebx, 0x10
jb 0x110236f0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
push edx
push edi
push edi
call dword [esp + 0x3c]
add esp, 0xc
cmp esi, 0x10
jae 0x110236dc
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x110236c7
add dword [esp + 0x20], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x110236a6
test ebx, ebx
je 0x1102372d
mov eax, dword [esp + 0x24]
push eax
push edi
push edi
call dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
mov dl, byte [eax + ebp]
xor dl, byte [eax]
dec ebx
mov byte [eax + ecx], dl
inc eax
test ebx, ebx
jne 0x11023713
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x1102e7a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x1102e7b9
mov esi, edi
mov edi, eax
jmp 0x1102e7bb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x1102e7cb
mov eax, ebx
jmp 0x1102e7d5
push eax
push ebx
call sym.LIBEAY32.dll_bn_expand2
add esp, 8
test eax, eax
jne 0x1102e7dd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x1102e7f9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x1102e7e4
cmp eax, dword [esi + 4]
jge 0x1102e810
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x1102e800
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x1102e831
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1102e82e
dec eax
test eax, eax
jg 0x1102e820
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x11034ec0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x11034f8c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x11034ee1
cmp al, 0x6b
jne 0x11034f8c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x11034f4d
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x11034f01
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x11034f01
cmp al, 0xbb
jne 0x11034f2a
inc ecx
cmp ecx, esi
jl 0x11034ef1
sub esi, ecx
test ecx, ecx
jne 0x11034f50
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x11034f79
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.110b1390
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x1103cfe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x1103cff6
mov dword [esp + 4], ecx
jmp fcn.11040bb0
mov dword [esp + 4], ecx
jmp eax
Function at 0x110444c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x110444cc
ret
mov dword [esp + 4], eax
jmp sym.LIBEAY32.dll_EC_GROUP_precompute_mult

Function at 0x1104e870
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jge 0x1104e8ab
push 0x22d
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov eax, esi
pop esi
ret

Function at 0x1104ebd0
Capabilities:
Set socket configuration

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jge 0x1104ec11
push 0x22d
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
test esi, esi
sete al
pop esi
ret

Function at 0x1104ec20
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebp
mov ebx, 1
call fcn.1104e8b0
mov edi, eax
add esp, 4
test edi, edi
jge 0x1104ec5f
push 0x82
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1104ed1d
call sym.LIBEAY32.dll_BIO_sock_init
cmp eax, 1
jne 0x1104ed2d
test edi, edi
jle 0x1104ec78
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
push 0x90
push str..crypto_bio_b_sock.c
push 0x16
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1104ecb3
push 0x95
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1104ed03
cmp word [eax + 8], 2
je 0x1104ecd4
push 0x9c
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1104ed03
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movzx ecx, byte [edx]
mov byte [esi], cl
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dl, byte [ecx + 1]
mov byte [esi + 1], dl
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movzx ecx, byte [edx + 2]
mov byte [esi + 2], cl
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax + 3]
mov byte [esi + 3], cl
xor ebx, ebx
push 0xa5
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
test ebx, ebx
je 0x1104ed34
push ebp
push 0x110d6208
push 2
call sym.LIBEAY32.dll_ERR_add_error_data
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x110506d0
Capabilities:
Set socket configuration

Disassembly:
mov eax, 4
call fcn.110afe90
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 0x28], 0
jg 0x110506e9
cmp dword [ecx + 0x2c], 0
jle 0x11050738
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push 4
lea edx, [esp + 4]
push edx
add eax, ecx
push 0x1006
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1c]
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x11050738
push str.setsockopt
call fcn.110b4cd6
add esp, 4
pop ecx
ret

Function at 0x11050b70
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x18
call fcn.110afe90
push esi
mov esi, dword [edi + 0x20]
mov dword [esp + 8], 4
cmp dword [esi + 0x28], 0
jg 0x11050b96
cmp dword [esi + 0x2c], 0
jle 0x11050c86
mov edx, dword [edi + 0x1c]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jge 0x11050bc7
push str.getsockopt
call fcn.110b4cd6
add esp, 4
jmp 0x11050bf0
mov ecx, dword [esp + 4]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x30], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esi + 0x34], ecx
lea eax, [esp + 0xc]
push eax
call fcn.110b4eda
movzx eax, word [esp + 0x18]
mov ecx, dword [esi + 0x28]
imul eax, eax, 0x3e8
mov edx, dword [esi + 0x2c]
sub ecx, dword [esp + 0x10]
add esp, 4
sub edx, eax
jns 0x11050c1d
dec ecx
add edx, 0xf4240
test ecx, ecx
jge 0x11050c26
xor ecx, ecx
lea edx, [ecx + 1]
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x11050c32
cmp dword [esi + 0x34], eax
je 0x11050c3d
cmp eax, ecx
jg 0x11050c3d
jne 0x11050c86
cmp dword [esi + 0x34], edx
jl 0x11050c86
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 0x1c]
push 4
add eax, ecx
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x11050c86
push str.setsockopt
call fcn.110b4cd6
add esp, 4
pop esi
add esp, 0x18
ret

Function at 0x110516d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x11051717
mov al, byte [edx]
test al, al
je 0x11051717
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x110516e7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x110525b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.110afe90
mov eax, dword [0x1111aac8]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x110525f7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.110b03b7
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.110b5362
add esp, 8
test eax, eax
jl 0x110525e0
mov eax, 8
call fcn.110afe90
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call sym.LIBEAY32.dll_RAND_add
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x110525e0
push 0x110d67dc
push esi
call fcn.110b431b
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x110526d1
jmp 0x11052654
mov eax, dword [esp + 0x40]
test ebx, ebx
jle 0x11052662
cmp ebx, 0x400
mov esi, ebx
jl 0x11052667
mov esi, 0x400
push eax
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.110b3e70
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x110526b5
fild dword [esp + 0x44]
mov eax, 8
call fcn.110afe90
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call sym.LIBEAY32.dll_RAND_add
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x11052650
sub ebx, esi
test ebx, ebx
jg 0x11052650
mov ecx, dword [esp + 0x40]
push ecx
call fcn.110b3aec
lea edx, [esp + 0x7c]
push 0x400
push edx
call sym.LIBEAY32.dll_OPENSSL_cleanse
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.110b03b7
mov esp, ebp
pop ebp
ret

Function at 0x110526f0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x438
call fcn.110afe90
mov eax, dword [0x1111aac8]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x448]
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
push esi
mov dword [esp + 0x14], ebp
call fcn.110b5362
push 0x180
push 0x8101
push esi
call fcn.110b604a
add esp, 0x14
cmp eax, 0xffffffff
je 0x1105274f
push 0x110d67e0
push eax
call fcn.110b57a5
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x11052767
push 0x110d67e0
push esi
call fcn.110b431b
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x11052809
push edi
push 0x180
push esi
call fcn.110b5736
add esp, 8
mov edi, 0x400
jmp 0x11052780
cmp edi, 0x400
mov esi, 0x400
jg 0x1105278f
mov esi, edi
lea ecx, [esp + 0x44]
push esi
push ecx
sub edi, 0x400
call sym.LIBEAY32.dll_RAND_bytes
add esp, 8
test eax, eax
jg 0x110527af
mov dword [esp + 0x10], 1
push ebx
push esi
lea edx, [esp + 0x4c]
push 1
push edx
call fcn.110b3fef
add esp, 0x10
test eax, eax
jle 0x110527cc
add ebp, eax
test edi, edi
jg 0x11052780
jmp 0x110527ce
xor ebp, ebp
push ebx
call fcn.110b3aec
lea eax, [esp + 0x48]
push 0x400
push eax
call sym.LIBEAY32.dll_OPENSSL_cleanse
add esp, 0xc
cmp dword [esp + 0x10], 0
pop edi
je 0x11052809
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.110b03b7
add esp, 0x438
ret
mov ecx, dword [esp + 0x440]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.110b03b7
add esp, 0x438
ret
Function at 0x11052d10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x74
call fcn.110afe90
mov eax, dword [0x1111aac8]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x11052d48
call sym.LIBEAY32.dll_OPENSSL_isservice
test eax, eax
jg 0x11052e91
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov ebx, eax
push edi
mov dword [esp + 0x48], ebx
call esi
push 0xa
push edi
mov dword [esp + 0x4c], eax
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
push 0x10
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x50]
push ecx
push 0x18
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
movzx esi, word [esp + 0x60]
imul esi, dword [esp + 0x58]
imul esi, dword [esp + 0x5c]
push 0x306
push str..crypto_rand_rand_win.c
push esi
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x11052e72
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
xor ebx, ebx
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x11052e65
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push 0xcc0020
push ebx
push 0
push edi
push 0x10
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push 0
call sym.LIBEAY32.dll_EVP_sha1
mov ecx, dword [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x74]
push eax
push esi
push ecx
call sym.LIBEAY32.dll_EVP_Digest
add esp, 0x18
mov eax, 8
call fcn.110afe90
fldz
fstp qword [esp]
lea edx, [esp + 0x70]
push 0x14
push edx
call sym.LIBEAY32.dll_RAND_add
add ebx, 0x10
add esp, 0x10
cmp ebx, dword [esp + 0x38]
jl 0x11052ded
mov eax, dword [esp + 0x3c]
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov ebx, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.110b03b7
mov esp, ebp
pop ebp
ret
Function at 0x110537a0
Capabilities:
Capture screenshot

Disassembly:
call sym.LIBEAY32.dll_RAND_poll
jmp fcn.11052d10

Function at 0x110571a0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x11057283
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x1105721e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x11057270
shl edx, 0x10
cmp edi, 2
jne 0x1105722f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x1105725d
lea edx, [edi + 0x3c]
jmp 0x1105726a
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x110571c0
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x110b03b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1111aac8]
jne 0x110b03c1
repz ret
jmp fcn.110b9ca1

Function at 0x110b19d4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.110b10ed
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
aas
cld
invalid
inc dword [eax]
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.110b1138
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.110b10ed
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.110b1138
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.110b10ed
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.110b1128
mov esp, dword [0xa580e569]
int3
Function at 0x110b5736
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x110b5767
call fcn.110b2149
mov dword [eax], esi
call fcn.110b2136
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.110b7b1f
add esp, 0x14
or eax, 0xffffffff
jmp 0x110b57a2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x110b5784
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.110b215c
pop ecx
jmp 0x110b5762
test byte [ebp + 0xc], 0x80
je 0x110b578f
and eax, 0xfffffffe
jmp 0x110b5792
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x110b5775
xor eax, eax
pop esi
pop ebp
ret

Function at 0x110c116a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.110b914d
and dword [ebp - 4], 0
cmp dword [0x1111ecc4], 0
mov ebx, eax
jne 0x110c121b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x110c12cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x110fa2fc
push edi
call esi
test eax, eax
je 0x110c12cc
push eax
call fcn.110b90db
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1111ecc4], eax
call esi
push eax
call fcn.110b90db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1111ecc8], eax
call esi
push eax
call fcn.110b90db
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1111eccc], eax
call esi
push eax
call fcn.110b90db
pop ecx
mov dword [0x1111ecd4], eax
test eax, eax
je 0x110c121b
push 0x110fa2a4
push edi
call esi
push eax
call fcn.110b90db
pop ecx
mov dword [0x1111ecd0], eax
mov eax, dword [0x1111ecd0]
cmp eax, ebx
je 0x110c1273
cmp dword [0x1111ecd4], ebx
je 0x110c1273
push eax
call fcn.110b9156
push dword [0x1111ecd4]
mov esi, eax
call fcn.110b9156
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x110c1273
test edi, edi
je 0x110c1273
call esi
test eax, eax
je 0x110c126a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x110c126a
test byte [ebp - 0xc], 1
jne 0x110c1273
or dword [ebp + 0x10], 0x200000
jmp 0x110c12ac
mov eax, dword [0x1111ecc8]
cmp eax, ebx
je 0x110c12ac
push eax
call fcn.110b9156
pop ecx
test eax, eax
je 0x110c12ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x110c12ac
mov eax, dword [0x1111eccc]
cmp eax, ebx
je 0x110c12ac
push eax
call fcn.110b9156
pop ecx
test eax, eax
je 0x110c12ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1111ecc4]
call fcn.110b9156
pop ecx
test eax, eax
je 0x110c12cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x110c12ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012c9
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 8
mov eax, 0x4119a9
call fcn.0040a93d
mov dword [ebp - 4], 1
xor edi, edi
lea esi, [ebp + 8]
mov dword [ebp - 0x10], edi
call fcn.00403460
push edi
push 0x80
push 2
push edi
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40131f
lea esi, [ebp + 8]
call fcn.00402ad0
lea esi, [ebp + 0x2c]
call fcn.00402ad0
mov eax, edi
call fcn.0040a9dc
ret
lea esi, [ebp + 0x2c]
call fcn.00403460
push eax
movzx eax, word [ebp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc edi
jmp 0x401307