joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x34
mov esi, ecx
call fcn.0041e86d
mov edx, eax
add esp, 4
test edx, edx
je 0x418188
mov dword [edx + 0x30], 0xf
mov dword [edx + 0x2c], 0
mov byte [edx + 0x1c], 0
jmp 0x41818a
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edx], esi
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 2
test eax, eax
je 0x4181c5
mov dword [edx + 8], 1
mov dword [edx + 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push edx
push 0x418570
push 0
push 0
call fcn.0041f9ae
add esp, 0x18
test eax, eax
jne 0x4181f6
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
push edi
call fcn.0041c870
mov edx, eax
mov eax, dword [esi + 0x10]
mov ecx, 0xffffffe
sub ecx, eax
cmp ecx, 1
jb 0x418240
mov ecx, dword [ebp - 8]
inc eax
mov dword [esi + 0x10], eax
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
pop edi
mov dword [eax], edx
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.0041d436
int3
Function at 0x418250
Capabilities:
Encode data using base64 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x104
lea eax, [ebp - 0x148]
push 0
push eax
mov dword [ebp - 0x158], 0x20
mov dword [ebp - 0x154], 0x20
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
call fcn.00423960
xorps xmm0, xmm0
mov ecx, esi
add esp, 0xc
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
movq qword [ebp - 0x44], xmm0
movq qword [ebp - 0x3c], xmm0
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4182e0
sub ecx, edx
push ecx
push esi
lea eax, [ebp - 0x148]
push 0x104
push eax
call fcn.0041ee20
push 0x24
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
lea eax, [ebp - 0x148]
push 0x104
push eax
call fcn.004210be
add esp, 0x20
lea eax, [ebp - 0x150]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp eax, 1
je 0x41834c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, 1
jne 0x418334
lea ecx, [ebp - 0x148]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418376
push 0
sub ecx, edx
push ecx
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, 1
jne 0x418334
push 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp eax, 1
jne 0x418334
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x44]
push eax
push 1
push dword [ebp - 0x158]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
cmp eax, 1
jne 0x418334
mov eax, dword [ebp - 0x154]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x44]
push eax
push 0x20
push edi
call fcn.0041ee20
add esp, 0x10
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp eax, 1
jne 0x418334
push 0
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp eax, 1
jne 0x418334
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418440
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xf0000000
xor edi, edi
push 1
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
push edi
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
je 0x4184a6
call esi
mov edi, eax
jmp 0x418513
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, 1
je 0x4184c7
call esi
mov edi, eax
jmp 0x418513
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x34]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, 1
je 0x4184e3
call esi
mov edi, eax
jmp 0x418513
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp eax, 1
je 0x418503
call esi
mov edi, eax
jmp 0x418513
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00421360
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41853a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x41853a
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41854e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x418525
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419cd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x10], eax
test ebx, ebx
jle 0x419dad
lea ecx, [ecx]
push eax
call fcn.0041d7ac
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov eax, ebx
cdq
idiv ecx
add esp, 4
xor ebx, ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x419d85
test esi, esi
jne 0x419d35
push esi
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x419d40
push ecx
push edi
push esi
call fcn.004b5e10
add esp, 0xc
cmp eax, 0xffffffff
jne 0x419d6f
test esi, esi
je 0x419d5d
push eax
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
jne 0x419db2
mov ecx, dword [ebp - 0x10]
jmp 0x419d23
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x419db2
mov ecx, dword [ebp - 0x10]
jmp 0x419d23
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
push eax
push edi
call fcn.00407440
mov ecx, dword [ebp - 0x10]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x419d23
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0xc]
mov edi, eax
sub edi, ebx
je 0x419e81
cmp edi, 0xb
jl 0x419dc5
mov ebx, edi
lea eax, [edi - 1]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], eax
test edi, edi
jg 0x419d00
mov eax, 0x1005
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 0xc], 0
test edi, edi
jle 0x419e63
lea eax, [ebp - 5]
test esi, esi
jne 0x419dea
push esi
push 1
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x419df6
push 1
push eax
push esi
call fcn.004b5e10
add esp, 0xc
cmp eax, 0xffffffff
jne 0x419e41
test esi, esi
je 0x419e21
push eax
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
je 0x419dd4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x419dd4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x14]
add ebx, eax
push 1
lea eax, [ebp - 5]
push eax
call fcn.00407440
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, edi
jl 0x419dd4
mov eax, dword [ebp + 0x10]
sub eax, ebx
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0x1006
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41bca0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
lea eax, [ebx - 0x7e]
lea edi, [ebx + 2]
mov dword [ebp - 4], edi
mov dword [ebp + 0x14], 2
cmp eax, 0xff82
ja 0x41bcf4
add edi, 2
push edi
mov dword [ebp + 0x14], 4
mov dword [ebp - 4], edi
call fcn.0041ea68
push edi
mov esi, eax
push 0
push esi
call fcn.00423960
mov ecx, ebx
add esp, 0x10
shr ecx, 8
mov word [esi], 0x7e81
mov byte [esi + 2], cl
mov byte [esi + 3], bl
jmp 0x41bd0e
push edi
call fcn.0041ea68
push edi
mov esi, eax
push 0
push esi
call fcn.00423960
add esp, 0x10
mov byte [esi], 0x81
mov byte [esi + 1], bl
xor ecx, ecx
test ebx, ebx
je 0x41bd2e
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
add edx, esi
lea esp, [esp]
mov al, byte [ecx + edi]
mov byte [edx + ecx], al
inc ecx
cmp ecx, ebx
jb 0x41bd20
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41bd43
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x41bd4e
push edi
push esi
push eax
call fcn.004b6070
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41bd62
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.0041e1e4
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41bd80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x41bdc6
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp dword [ebp + 0x14], 0
mov esi, eax
je 0x41be1e
cmp esi, 0xffffffff
jne 0x41be1e
call ebx
cmp eax, 0x2733
je 0x41bd96
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004b5e10
add esp, 0xc
cmp dword [ebp + 0x14], 0
mov esi, eax
je 0x41be0e
mov edi, edi
cmp esi, 0xffffffff
jne 0x41be0e
push esi
push dword [edi + 0xc]
call fcn.004b5760
add esp, 8
cmp eax, 2
je 0x41bdfb
cmp eax, 3
jne 0x41be1e
push ebx
push dword [ebp + 0xc]
push dword [edi + 0xc]
call fcn.004b5e10
add esp, 0xc
mov esi, eax
jmp 0x41bde0
test esi, esi
jne 0x41be1e
push esi
push dword [edi + 0xc]
call fcn.004b5760
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x41be30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
jne 0x41be53
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
pop esi
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push ebx
push dword [ebp + 0xc]
push dword [esi + 0xc]
call fcn.004b6070
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x41be84
push eax
push dword [esi + 0xc]
call fcn.004b5760
add esp, 8
cmp eax, 2
je 0x41be58
cmp eax, 3
je 0x41be58
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x41c8e0
Capabilities:
Check os version
Create new key via cryptacquirecontext
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
mov esi, ecx
call fcn.00423960
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 5
jne 0x41c96e
cmp dword [ebp - 0x98], 1
jne 0x41c96e
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x41c987
push str.XP_FAIL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41c959
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret
Function at 0x41ca80
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
mov esi, ecx
push 0
push dword [esi + 4]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x41caf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0041e86d
push dword [ebp - 8]
mov ebx, eax
push 0
push ebx
call fcn.00423960
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push dword [ebp - 8]
push ebx
call fcn.0041fbdb
add esp, 0x20
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push ebx
push 0
push 1
push 0
push dword [esi + 4]
call edi
test eax, eax
jne 0x41cb62
test ebx, ebx
je 0x41cb49
push ebx
call fcn.0041e60d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.0041cd20
neg eax
sbb eax, eax
neg eax
jne 0x41cbcb
mov edi, dword [ebp - 0x14]
lea esi, [edi + 1]
push esi
call fcn.0041e86d
mov ecx, dword [ebp - 0x18]
push esi
push 0
push eax
mov dword [ecx], eax
call fcn.00423960
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
push esi
push dword [eax]
call fcn.0041fbdb
mov eax, dword [ebp - 0x20]
add esp, 0x20
mov dword [eax], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41cbbc
push eax
call fcn.0041e60d
add esp, 4
test ebx, ebx
je 0x41cbc9
push ebx
call fcn.0041e60d
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41cbe0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.0041ce30
neg eax
sbb eax, eax
neg eax
jne 0x41cd08
push ebx
push esi
mov esi, dword [ebp - 0x10]
push edi
push esi
mov dword [ebp - 8], esi
call fcn.0041e86d
push esi
mov edi, eax
push 0
push edi
call fcn.00423960
mov ebx, dword [ebp - 0xc]
push esi
push ebx
push esi
push edi
call fcn.0041fbdb
add esp, 0x20
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push edi
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x41ccab
test ebx, ebx
je 0x41cc85
push ebx
call fcn.0041e60d
add esp, 4
test edi, edi
je 0x41cc92
push edi
call fcn.0041e60d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.0041e86d
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
inc ecx
push ecx
push 0
push eax
mov dword [esi], eax
call fcn.00423960
mov eax, dword [ebp - 8]
push eax
push edi
inc eax
push eax
push dword [esi]
call fcn.0041fbdb
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
add esp, 0x20
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
test ebx, ebx
je 0x41ccf6
push ebx
call fcn.0041e60d
add esp, 4
test edi, edi
je 0x41cd03
push edi
call fcn.0041e60d
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41cd20
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0
push 0x40000001
push ebx
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x41cd7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
push esi
push dword [ebp - 8]
call fcn.0041e86d
push dword [ebp - 8]
mov esi, eax
push 0
push esi
call fcn.00423960
add esp, 0x10
lea eax, [ebp - 8]
push eax
push esi
push 0x40000001
push ebx
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x41cdcf
test esi, esi
je 0x41cdb6
push esi
call fcn.0041e60d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.0041e86d
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
inc ecx
push ecx
push 0
push eax
mov dword [ebx], eax
call fcn.00423960
mov eax, dword [ebp - 8]
push eax
push esi
inc eax
push eax
push dword [ebx]
call fcn.0041fbdb
mov ecx, dword [ebx]
mov eax, dword [ebp - 8]
add esp, 0x20
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
test esi, esi
je 0x41ce1a
push esi
call fcn.0041e60d
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41ce30
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0
push 1
push ebx
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x41ce8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
push esi
push dword [ebp - 8]
call fcn.0041e86d
push dword [ebp - 8]
mov esi, eax
push 0
push esi
call fcn.00423960
add esp, 0x10
lea eax, [ebp - 8]
push 0
push 0
push eax
push esi
push 1
push ebx
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x41cee1
test esi, esi
je 0x41cec8
push esi
call fcn.0041e60d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.0041e86d
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
inc ecx
push ecx
push 0
push eax
mov dword [ebx], eax
call fcn.00423960
mov eax, dword [ebp - 8]
push eax
push esi
inc eax
push eax
push dword [ebx]
call fcn.0041fbdb
mov ecx, dword [ebx]
mov eax, dword [ebp - 8]
add esp, 0x20
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
test esi, esi
je 0x41cf2c
push esi
call fcn.0041e60d
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431c68
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00423b9f
mov dword [ebp - 0x14], eax
cmp dword [0x540734], edi
jne 0x431d59
push 0x800
push edi
push 0x4ef3b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x431ce6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x431e39
push 0x4ef3b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x431e39
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431e39
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x540734], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x540738], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4ef3fc
push esi
mov dword [0x54073c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x540744], eax
test eax, eax
je 0x431d56
push 0x4ef418
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x540740], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x431d7e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x431d71
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x431d93
push 4
pop eax
jmp 0x431e3b
cmp dword [ebp - 0x14], edi
je 0x431d93
push dword [0x540734]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x431d78
mov eax, dword [0x540740]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x431df1
cmp dword [0x540744], esi
je 0x431df1
push eax
call ebx
push dword [0x540744]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x431df1
test eax, eax
je 0x431df1
call ecx
test eax, eax
je 0x431de6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x431de6
test byte [ebp - 8], 1
jne 0x431df1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x431e21
mov eax, dword [0x540738]
cmp eax, esi
je 0x431e1e
push eax
call ebx
test eax, eax
je 0x431e1e
call eax
mov edi, eax
test edi, edi
je 0x431e1e
mov eax, dword [0x54073c]
cmp eax, esi
je 0x431e1e
push eax
call ebx
test eax, eax
je 0x431e1e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x540734]
call ebx
test eax, eax
je 0x431e39
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x431e3b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d8e4
leave
ret