joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
shr eax, 0xd
and eax, 1
push eax
push 0x3f8
mov esi, ecx
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov ecx, edi
shr ecx, 0xc
and ecx, 1
push ecx
push 0x3f0
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov edx, edi
shr edx, 0xb
and edx, 1
push edx
push 0x3e9
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov eax, edi
shr eax, 0xa
and eax, 1
push eax
push 0x3fb
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov ecx, edi
shr ecx, 9
and ecx, 1
push ecx
push 0x3f3
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov edx, edi
shr edx, 8
and edx, 1
push edx
push 0x3ea
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov eax, edi
shr eax, 7
and eax, 1
push eax
push 0x3f9
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov ecx, edi
shr ecx, 6
and ecx, 1
push ecx
push 0x3f1
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov edx, edi
shr edx, 5
and edx, 1
push edx
push 0x3eb
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov eax, edi
shr eax, 4
and eax, 1
push eax
push 0x3fa
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov ecx, edi
shr ecx, 3
and ecx, 1
push ecx
push 0x3f4
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov edx, edi
shr edx, 2
and edx, 1
push edx
push 0x3f5
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
mov eax, edi
shr eax, 1
and eax, 1
push eax
push 0x3f2
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
and edi, 1
push edi
push 0x3f6
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af17
push 0x3f3
mov ecx, esi
call fcn.0040ada6
mov ecx, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xcc
push ecx
call edi
push 0x3f1
mov ecx, esi
call fcn.0040ada6
mov edx, dword [eax + 0x20]
push 0
push 0
push 0xcc
push edx
call edi
push 0x3f4
mov ecx, esi
call fcn.0040ada6
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xcc
push eax
call edi
pop edi
pop esi
ret 4
Function at 0x4022a0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x568
mov eax, dword [0x44f7f4]
xor eax, esp
mov dword [esp + 0x564], eax
push ebx
push ebp
push esi
xor ebx, ebx
push 0xfe
lea eax, [esp + 0x75]
mov ebp, ecx
push ebx
push eax
mov dword [ebp + 0x7c], ebx
mov byte [esp + 0x7c], bl
call fcn.004225b0
push 0x63
lea ecx, [esp + 0x1d]
push ebx
push ecx
mov byte [esp + 0x24], bl
call fcn.004225b0
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 0x4510c4
mov ecx, ebp
call fcn.004015e0
lea eax, [esp + 0xc]
push eax
push 0x4510a4
lea ecx, [esp + 0x78]
push str.GET__wuming_register_new_register.php_username_spassword_s_HTTP_1.1_r_nHost:42.121.13.104_r_n_r_n
push ecx
call fcn.00422f95
mov esi, dword [esp + 0x588]
add esp, 0x10
push ebx
push 0xfe
lea edx, [esp + 0x78]
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x402338
xor eax, eax
jmp 0x402435
push 0x3ff
lea eax, [esp + 0x175]
push ebx
push eax
mov byte [esp + 0x17c], bl
call fcn.004225b0
add esp, 0xc
push ebx
push 0x3e8
lea ecx, [esp + 0x178]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x402331
lea edx, [esp + 0x170]
push str.success:
push edx
call fcn.00422450
add esp, 8
test eax, eax
je 0x4023b8
push ebx
push ebx
push 0x43fb04
call fcn.004091d9
push 1
push 0x3ea
mov ecx, ebp
call fcn.0040ada6
mov ecx, eax
call fcn.0040af53
mov ecx, ebp
mov dword [ebp + 0x84], ebx
call fcn.00402090
jmp 0x402430
push edi
lea eax, [esp + 0x174]
push str.fail:
push eax
call fcn.00422450
add esp, 8
cmp eax, ebx
push ebx
push ebx
je 0x402410
add eax, 5
mov edi, str.iperror
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4023f0
push 0x43fad4
jmp 0x402415
mov esi, eax
mov edi, str.hadregister
mov ecx, 0xc
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402409
push 0x43fab8
jmp 0x402415
push 0x43faac
jmp 0x402415
push 0x43fa94
call fcn.004091d9
push 1
push 0x3ea
mov ecx, ebp
call fcn.0040ada6
mov ecx, eax
call fcn.0040af53
pop edi
mov eax, 1
mov ecx, dword [esp + 0x570]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004221b5
add esp, 0x568
ret 4
Function at 0x402450
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x5f8
mov eax, dword [0x44f7f4]
xor eax, esp
mov dword [esp + 0x5f4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x12b
lea eax, [esp + 0xd9]
mov esi, ecx
push ebx
push eax
mov dword [esi + 0x80], ebx
mov byte [esp + 0xe0], bl
call fcn.004225b0
push 0x63
lea ecx, [esp + 0x1d]
push ebx
push ecx
mov byte [esp + 0x24], bl
call fcn.004225b0
push 0x63
lea edx, [esp + 0x8d]
push ebx
push edx
mov byte [esp + 0x94], bl
call fcn.004225b0
add esp, 0x24
lea eax, [esp + 0xc]
push eax
push 0x451124
mov ecx, esi
call fcn.004015e0
lea ecx, [esp + 0x70]
push ecx
push 0x451144
mov ecx, esi
call fcn.004015e0
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x10]
push eax
push 0x451104
lea ecx, [esp + 0xe0]
push str.GET__wuming_register_new_change.php_username_soldpassword_snewpassword_s_HTTP_1.1_r_nHost:42.121.13.104_r_n_r_n
push ecx
call fcn.00422f95
mov edi, dword [esp + 0x61c]
add esp, 0x14
push ebx
push 0x12b
lea edx, [esp + 0xdc]
push edx
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x402524
xor eax, eax
jmp 0x4025ea
push 0x3ff
lea eax, [esp + 0x205]
push ebx
push eax
mov byte [esp + 0x20c], bl
call fcn.004225b0
add esp, 0xc
push ebx
push 0x3e8
lea ecx, [esp + 0x208]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x40251d
lea edx, [esp + 0x200]
push str.success:
push edx
call fcn.00422450
add esp, 8
test eax, eax
je 0x4025a4
push ebx
push ebx
push 0x43fb94
call fcn.004091d9
push 1
push 0x3eb
mov ecx, esi
mov dword [esi + 0x84], ebx
call fcn.0040ada6
mov ecx, eax
call fcn.0040af53
mov ecx, esi
call fcn.00402090
jmp 0x4025e5
lea eax, [esp + 0x200]
push str.fail:
push eax
call fcn.00422450
add esp, 8
test eax, eax
push ebx
push ebx
je 0x4025c6
push 0x43fb80
jmp 0x4025cb
push 0x43fa94
call fcn.004091d9
push 1
push 0x3eb
mov ecx, esi
call fcn.0040ada6
mov ecx, eax
call fcn.0040af53
mov eax, 1
mov ecx, dword [esp + 0x600]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004221b5
add esp, 0x5f8
ret 4
Function at 0x4065c0
Capabilities:
Act as tcp client
Connect tcp socket
Connect udp socket
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x44f7f4]
xor eax, esp
mov dword [esp + 0x2a0], eax
push esi
mov esi, ecx
cmp dword [esi + 0x78], 0
jne 0x4065f0
cmp dword [esi + 0x7c], 0
jne 0x4065f0
cmp dword [esi + 0x80], 0
je 0x406709
mov eax, dword [str.42.121.13.104]
mov ecx, dword [0x43ff14]
mov edx, dword [0x43ff18]
push edi
push 0xf2
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1ac], eax
mov ax, word [0x43ff1c]
lea ecx, [esp + 0x1ba]
push 0
push ecx
mov dword [esp + 0x1bc], edx
mov word [esp + 0x1c0], ax
call fcn.004225b0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x40665c
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4066ec
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4066ec
lea eax, [esp + 0x1a8]
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x406693
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0xc], eax
push 0x50
call dword [sym.imp.WS2_32.dll_ntohs]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push edi
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4066ec
cmp dword [esi + 0x78], 0
je 0x4066c5
push edi
mov ecx, esi
call fcn.00406190
test eax, eax
je 0x4066ec
cmp dword [esi + 0x7c], 0
je 0x4066d7
push edi
mov ecx, esi
call fcn.004022a0
test eax, eax
je 0x4066ec
cmp dword [esi + 0x80], 0
je 0x406701
push edi
mov ecx, esi
call fcn.00402450
test eax, eax
jne 0x406701
push 0
push 0
push 0x43fa94
call fcn.004091d9
push 0
call fcn.00423878
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov ecx, dword [esp + 0x2a4]
pop esi
xor ecx, esp
call fcn.004221b5
add esp, 0x2a4
ret
Function at 0x4065d4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x44f7f4]
xor eax, esp
mov dword [esp + 0x2a0], eax
push esi
mov esi, ecx
cmp dword [esi + 0x78], 0
jne 0x4065f0
cmp dword [esi + 0x7c], 0
jne 0x4065f0
cmp dword [esi + 0x80], 0
je 0x406709
mov eax, dword [str.42.121.13.104]
mov ecx, dword [0x43ff14]
mov edx, dword [0x43ff18]
push edi
push 0xf2
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1ac], eax
mov ax, word [0x43ff1c]
lea ecx, [esp + 0x1ba]
push 0
push ecx
mov dword [esp + 0x1bc], edx
mov word [esp + 0x1c0], ax
call fcn.004225b0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x40665c
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4066ec
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4066ec
lea eax, [esp + 0x1a8]
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x406693
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0xc], eax
push 0x50
call dword [sym.imp.WS2_32.dll_ntohs]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push edi
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4066ec
cmp dword [esi + 0x78], 0
je 0x4066c5
push edi
mov ecx, esi
call fcn.00406190
test eax, eax
je 0x4066ec
cmp dword [esi + 0x7c], 0
je 0x4066d7
push edi
mov ecx, esi
call fcn.004022a0
test eax, eax
je 0x4066ec
cmp dword [esi + 0x80], 0
je 0x406701
push edi
mov ecx, esi
call fcn.00402450
test eax, eax
jne 0x406701
push 0
push 0
push 0x43fa94
call fcn.004091d9
push 0
call fcn.00423878
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov ecx, dword [esp + 0x2a4]
pop esi
xor ecx, esp
call fcn.004221b5
add esp, 0x2a4
ret

Function at 0x40a2f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40a336
call fcn.0041127c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40a336
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40a379
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40a362
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40a362
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40a376
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x410998
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4109db
call fcn.0041127c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4109db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4109f6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041054f
test ebx, ebx
mov esi, eax
je 0x4109f4
test edi, edi
je 0x4109f4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x412e2b
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 0x412e59
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x412e77
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00412d95
jmp 0x412e77
mov eax, dword [esi + 0x14]
test eax, eax
je 0x412e77
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00412d95
test edi, edi
mov eax, edi
jne 0x412e61
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x452cc0]
test ecx, ecx
je 0x412f3a
jmp 0x412e2a
ret 8

Function at 0x4221b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f7f4]
jne 0x4221bf
repz ret
jmp fcn.00428e9c
Function at 0x433fe2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004288e8
xor ebx, ebx
cmp dword [0x453a7c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4340b7
push 0x443cfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x434022
xor eax, eax
jmp 0x43417b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443cf0
push edi
call esi
cmp eax, ebx
je 0x43401b
push eax
call fcn.00428885
mov dword [esp], 0x443ce0
push edi
mov dword [0x453a7c], eax
call esi
push eax
call fcn.00428885
mov dword [esp], 0x443ccc
push edi
mov dword [0x453a80], eax
call esi
push eax
call fcn.00428885
mov dword [0x453a84], eax
lea eax, [ebp - 8]
push eax
call fcn.004236a5
test eax, eax
pop ecx
pop ecx
je 0x434085
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422e1b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4340b7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00428885
cmp eax, ebx
pop ecx
mov dword [0x453a8c], eax
je 0x4340b7
push 0x443c98
push edi
call esi
push eax
call fcn.00428885
pop ecx
mov dword [0x453a88], eax
mov eax, dword [0x453a88]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x434130
cmp dword [0x453a8c], esi
je 0x434130
push eax
call fcn.004288f1
pop ecx
call eax
cmp eax, ebx
je 0x4340fd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x453a8c]
call fcn.004288f1
pop ecx
call eax
test eax, eax
je 0x4340fd
test byte [ebp - 0x18], 1
jne 0x434130
lea eax, [ebp - 0xc]
push eax
call fcn.004236dc
test eax, eax
pop ecx
je 0x434118
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422e1b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x434127
or dword [ebp + 0x10], 0x200000
jmp 0x434161
or dword [ebp + 0x10], 0x40000
jmp 0x434161
mov eax, dword [0x453a80]
cmp eax, esi
je 0x434161
push eax
call fcn.004288f1
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x434161
mov eax, dword [0x453a84]
cmp eax, esi
je 0x434161
push dword [ebp - 4]
push eax
call fcn.004288f1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x453a7c]
call fcn.004288f1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43aaca
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44f7f4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043aa5f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004225b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43ab19
cmp dword [ebp - 0x1c], 5
jb 0x43ab31
jmp 0x43ab2d
cmp dword [ebp - 0x10], 1
jne 0x43ab31
cmp dword [ebp - 0x1c], 4
ja 0x43ab2d
jne 0x43ab31
cmp dword [ebp - 0x18], 0
jbe 0x43ab31
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44578c
call fcn.0043a933
test eax, eax
jge 0x43ab52
mov byte [0x4511a4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004221b5
add ebp, 0x78
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40edc5
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4504c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
pop ecx
mov esi, 0x440608
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x88]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x8c], eax
cmp ecx, 8
jae 0x40ee0e
movzx edi, byte [ecx + esi]
inc ecx
jmp 0x40ee10
xor edi, edi
cmp ecx, 8
jae 0x40ee28
movzx eax, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x8c]
jmp 0x40ee2f
and dword [ebp - 0x90], 0
shr eax, 2
mov ax, word [ebp + eax*2 - 0x88]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x8c]
and eax, 3
shl eax, 4
mov dword [ebp - 0x8c], eax
mov eax, edi
shr eax, 4
and edi, 0xf
or dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
shl edi, 2
mov ax, word [ebp + eax*2 - 0x88]
mov word [ebx + edx*2 + 2], ax
mov eax, dword [ebp - 0x90]
shr eax, 6
or edi, eax
mov ax, word [ebp + edi*2 - 0x88]
mov word [ebx + edx*2 + 4], ax
mov eax, dword [ebp - 0x90]
and eax, 0x3f
mov ax, word [ebp + eax*2 - 0x88]
mov word [ebx + edx*2 + 6], ax
add edx, 4
cmp ecx, 8
jb 0x40edf7
mov ecx, dword [ebp - 4]
push 0x3d
pop eax
mov word [ebx + edx*2 - 2], ax
xor ecx, ebp
xor eax, eax
pop edi
mov word [ebx + edx*2], ax
mov al, 1
pop esi
pop ebx
call fcn.00420be0
leave
ret

Function at 0x431a99
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043174a

Function at 0x431aa4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004318d4
Function at 0x40de10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x480d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00475563
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40de92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047339d
mov eax, dword [eax]
push 0x588cac
push eax
call fcn.00466014
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004757ee
test bl, bl
je 0x40de92
push 0x588cac
lea ecx, [esp + 0xc]
call fcn.00475b7e
push 0x588cb8
lea ecx, [esp + 0xc]
call fcn.00475b7e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40dece
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004757ee
jmp 0x40df99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40df52
lea edx, [esp + 0x7c]
push 0x588cb4
push edx
call fcn.00466014
add esp, 8
test eax, eax
je 0x40df52
lea eax, [esp + 0x7c]
push 0x588cb0
push eax
call fcn.00466014
add esp, 8
test eax, eax
je 0x40df52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40dee2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004757ee
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40e790
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e7f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40e800
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x480deb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x592574]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40e938
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e866
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004757ee
xor eax, eax
jmp 0x40e9af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047592b
push esi
lea ecx, [esp + 0xc]
call fcn.00475bba
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40e98d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e790
test eax, eax
jne 0x40e98d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040e790
test eax, eax
jne 0x40e98d
lea eax, [esp + 0x14]
push 0x588cc8
push eax
call fcn.00467090
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e96c
lea ecx, [esp + 0x14]
push 0x588cc4
push ecx
call fcn.00467010
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e96c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e96f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004758db
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e87e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004757ee
xor eax, eax
jmp 0x40e9af
mov byte [esi], 0
push 0x588cc0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004757ee
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4