joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439820
Capabilities:
Resolve dns

Disassembly:
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43983e
cmp word [eax + 8], 2
jne 0x43983e
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [edi], edx
xor eax, eax
ret
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x43984d
or eax, eax
ret
mov dword [edi], eax
xor eax, eax
ret

Function at 0x4398e0
Capabilities:
Set socket configuration

Disassembly:
push ecx
or eax, 0xffffffff
jmp dword [edx*4 + 0x43995c]

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

Disassembly:
sub esp, 0x20
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, ecx
test esi, esi
je 0x4399b7
movzx ecx, word [esi + 4]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, 2
push ecx
mov word [esp + 0x10], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
mov word [esp + 0xe], ax
mov dword [esp + 0x10], edx
mov eax, esi
neg eax
push 0
sbb eax, eax
push 0
and eax, 0x10
push eax
mov eax, dword [esp + 0x38]
neg esi
sbb esi, esi
lea ecx, [esp + 0x18]
and esi, ecx
mov ecx, dword [esp + 0x34]
push esi
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x439a0c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0048c97b
add esp, 0x20
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.0048c97b
add esp, 0x20
ret

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

Disassembly:
sub esp, 0x24
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push 0
push 0
mov ecx, esi
neg ecx
sbb ecx, ecx
lea edx, [esp + 0xc]
and ecx, edx
push ecx
mov ecx, esi
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x18]
and ecx, edx
push ecx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x439ab2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x439aa1
sub eax, 0x13
je 0x439aa1
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0048c97b
add esp, 0x24
ret
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0048c97b
add esp, 0x24
ret
test dword [esp], 0x8000
jne 0x439a8f
test esi, esi
je 0x439ad4
mov edx, dword [esp + 0xe]
mov ecx, dword [esp + 0x10]
push edx
mov dword [esi], ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 4], ax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
xor ecx, esp
call fcn.0048c97b
add esp, 0x24
ret
Function at 0x439af0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x228
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi]
shr edx, 6
mov dword [esp + 4], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x10], ebp
test al, 1
je 0x439b44
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
test al, 2
je 0x439b5a
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], 1
lea eax, [esp + 8]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x124]
push edx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebp
jge 0x439b94
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0048c97b
add esp, 0x228
ret
mov dword [esi], ebp
cmp eax, ebp
je 0x439bc1
mov ebp, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
je 0x439baf
or dword [esi], 1
lea edx, [esp + 0x118]
push edx
push edi
call ebp
test eax, eax
je 0x439bc1
or dword [esi], 2
mov ecx, dword [esp + 0x224]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0048c97b
add esp, 0x228
ret

Function at 0x43cc20
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
cmp dword [0x4d74bc], 0
jne 0x43cc9b
push esi
push edi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
lea ecx, [esi - 1]
test esi, ecx
jne 0x43cc4f
lea edx, [edi - 1]
test edi, edx
je 0x43cc54
call fcn.0048de66
mov eax, 5
mov dword [0x4d74c4], esi
mov dword [0x4d74c0], edi
mov dword [0x4d74c8], 0x40000
mov dword [0x4d74cc], 0x200000
mov dword [0x4d74d0], eax
mov dword [0x4d81ac], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, 0x55555550
and eax, 0xfffffff8
or eax, 8
pop edi
mov dword [0x4d74bc], eax
pop esi
mov eax, 1
add esp, 0x24
ret

Function at 0x43f8d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x4d74d8]
cmp edx, 0x9c0
jne 0x43f9a0
xor edx, edx
xor ecx, ecx
push esi
jmp 0x43f8f0
mov eax, dword [ecx*4 + 0x4d7634]
xor eax, dword [ecx*4 + 0x4d7630]
inc ecx
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x4d762c]
mov esi, eax
and esi, 1
imul esi, esi, 0x9908b0df
shr eax, 1
xor esi, eax
xor esi, dword [ecx*4 + 0x4d7c60]
mov dword [ecx*4 + 0x4d762c], esi
cmp ecx, 0xe3
jl 0x43f8f0
cmp ecx, 0x26f
jge 0x43f970
lea ecx, [ecx*4 + 0x4d7630]
nop
mov eax, dword [ecx + 4]
xor eax, dword [ecx]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov esi, eax
and esi, 1
imul esi, esi, 0x9908b0df
shr eax, 1
xor esi, eax
xor esi, dword [ecx - 0x390]
mov dword [ecx - 4], esi
cmp ecx, 0x4d7fec
jl 0x43f940
mov ecx, dword [0x4d7fec]
mov eax, dword [0x4d7630]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
and ecx, 1
imul ecx, ecx, 0x9908b0df
shr eax, 1
xor ecx, eax
xor ecx, dword [0x4d7c60]
pop esi
mov dword [0x4d7fec], ecx
lea eax, [edx + 4]
mov dword [0x4d74d8], eax
mov eax, dword [edx + 0x4d7630]
ret
Function at 0x43fbe0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x18]
push edi
push 2
push 0
push esi
call fcn.0048d5da
push esi
call fcn.0048d4eb
lea edi, [eax - 0xc]
push 0
push edi
push esi
call fcn.0048d5da
push esi
push 1
lea eax, [esp + 0x2c]
push 0xc
push eax
call fcn.0048d33a
push 7
lea ecx, [esp + 0x38]
push str.xproc10
push ecx
call fcn.0048d9f8
add esp, 0x38
test eax, eax
je 0x43fc53
push esi
call fcn.0048d6c3
add esp, 4
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0048c97b
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
push 0
sub edi, eax
push eax
mov dword [ebp], edi
push esi
mov dword [ebx], eax
call fcn.0048d5da
mov ecx, dword [esp + 0x20]
add esp, 0xc
pop edi
pop ebp
xor ecx, esp
mov eax, esi
call fcn.0048c97b
add esp, 0x10
ret

Function at 0x440190
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x114], eax
xor eax, eax
lea ecx, [esp]
push ecx
push eax
push eax
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push edx
lea eax, [esi + 1]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x4401e3
mov ecx, str.select
call fcn.0043fe90
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov ecx, dword [esp + 0x114]
test eax, eax
setne al
xor ecx, esp
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
Function at 0x440300
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x28], 0x10
jb 0x440323
mov esi, dword [edi + 0x14]
jmp 0x440326
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x4db900], eax
cmp eax, 0xffffffff
je 0x44038b
mov esi, 0x4db900
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
movzx eax, word [edi + 0x30]
mov edx, 2
push eax
mov word [esp + 0xc], dx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xe], ax
mov ecx, dword [esi]
push 1
push 2
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x34], eax
test eax, eax
jns 0x4403cf
mov ecx, str.socket__
call fcn.0043fe90
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44039f
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
test esi, esi
jne 0x44033c
push str.Invalid_network_address
lea esi, [esp + 0x11c]
call fcn.00440210
add esp, 4
mov esi, eax
mov ecx, 0x40
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push 0x4ce18c
lea ecx, [esp + 0x1c]
push ecx
call fcn.0049110d
push 0x10
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x4403eb
mov ecx, str.connect__
call fcn.0043fe90
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0048c97b
add esp, 0x21c
ret
Function at 0x440620
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov byte [esp + 0xf], 0
test esi, esi
je 0x440683
cmp dword [esi], 0
mov ebx, esi
je 0x440683
jmp 0x440660
mov eax, dword [ebx]
push 0xe
push str.content_length
push eax
add ebx, 8
call fcn.0048e43a
add esp, 0xc
test eax, eax
jne 0x44067e
mov byte [esp + 0xf], 1
cmp dword [ebx], 0
jne 0x440660
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push eax
push edi
call fcn.00440740
cmp dword [esp + 0x10], 0
je 0x4406c5
cmp byte [esp + 0xf], 0
jne 0x4406c5
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [esp + 0x20]
push 0x4b9878
push edx
call fcn.0048c98a
add esp, 0xc
push edi
lea edx, [esp + 0x20]
mov ecx, str.Content_Length
call fcn.00440890
test esi, esi
je 0x4406e2
mov ecx, dword [esi]
test ecx, ecx
je 0x4406e2
nop
mov edx, dword [esi + 4]
push edi
add esi, 8
call fcn.00440890
mov ecx, dword [esi]
test ecx, ecx
jne 0x4406d0
push edi
call fcn.00440a30
cmp dword [esp + 0x10], 0
je 0x440721
cmp dword [edi + 0x34], 0
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
jge 0x440703
mov ecx, edi
call fcn.00440300
test esi, esi
jle 0x440721
mov eax, dword [edi + 0x34]
push 0
push esi
push ebx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x440734
sub esi, eax
add ebx, eax
test esi, esi
jg 0x440707
mov ecx, dword [esp + 0x3c]
pop esi
pop ebx
xor ecx, esp
call fcn.0048c97b
mov esp, ebp
pop ebp
ret 0xc
mov ecx, str.send__
call fcn.0043fe90
int3
Function at 0x440a30
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x248
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
mov ebp, dword [esp + 0x254]
cmp dword [ebp + 0x10], 1
push esi
push edi
je 0x440a85
push str.Cannot_send_header
lea esi, [esp + 0x154]
call fcn.00440210
add esp, 4
mov esi, eax
push 0x4ce18c
lea eax, [esp + 0x54]
mov ecx, 0x40
lea edi, [esp + 0x54]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0049110d
xor ebx, ebx
push ebx
mov esi, 0xf
push 0x4aeeef
lea ecx, [esp + 0x20]
mov dword [ebp + 0x10], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403d10
lea edi, [ebp + 0x38]
lea eax, [esp + 0x18]
call fcn.00403e50
cmp dword [esp + 0x2c], 0x10
jb 0x440aca
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048cd91
add esp, 4
mov edi, dword [edi]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp edi, dword [ebp + 0x3c]
je 0x440b1d
lea ecx, [ecx]
push edi
mov ebx, 0x4b9e90
lea eax, [esp + 0x1c]
call fcn.00474f80
add esp, 4
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x3c]
call fcn.004049b0
cmp dword [esp + 0x2c], 0x10
jb 0x440b15
mov edx, dword [esp + 0x18]
push edx
call fcn.0048cd91
add esp, 4
add edi, 0x1c
cmp edi, dword [ebp + 0x3c]
jne 0x440ae0
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x38]
cmp eax, ecx
je 0x440b6c
mov edx, dword [esp + 0x14]
push edx
push ecx
call fcn.00476d50
mov edi, dword [ebp + 0x3c]
mov ebx, eax
add esp, 8
mov esi, ebx
cmp ebx, edi
je 0x440b69
cmp dword [esi + 0x14], 0x10
jb 0x440b51
mov eax, dword [esi]
push eax
call fcn.0048cd91
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, edi
jne 0x440b40
mov dword [ebp + 0x3c], ebx
cmp dword [esp + 0x48], 0x10
mov edi, dword [esp + 0x34]
jae 0x440b7b
lea edi, [esp + 0x34]
cmp dword [ebp + 0x34], 0
mov esi, dword [esp + 0x44]
jge 0x440b8c
mov ecx, ebp
call fcn.00440300
test esi, esi
jle 0x440bac
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp + 0x34]
push 0
push esi
push edi
push ecx
call ebx
test eax, eax
js 0x440bdb
sub esi, eax
add edi, eax
test esi, esi
jg 0x440b96
cmp dword [esp + 0x48], 0x10
jb 0x440bc0
mov edx, dword [esp + 0x34]
push edx
call fcn.0048cd91
add esp, 4
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x248
ret 4
mov ecx, str.send__
call fcn.0043fe90
int3
Function at 0x440bf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x814
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x58], 0
je 0x440d19
mov esi, dword [edi + 0x34]
call fcn.00440190
test al, al
je 0x440d19
mov ecx, dword [edi + 0x34]
push 0
push 0x800
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
jns 0x440c4e
mov ecx, str.recv__
call fcn.0043fe90
jne 0x440c84
lea eax, [edi + 0x48]
call fcn.00472380
mov esi, dword [eax]
push esi
call fcn.00440f60
test esi, esi
je 0x440c72
call fcn.004404a0
push esi
call fcn.0048cd91
add esp, 4
lea eax, [edi + 0x48]
call fcn.004723b0
call fcn.00440410
jmp 0x440d19
xor ebx, ebx
test ebp, ebp
jle 0x440d19
jmp 0x440c94
mov ebp, dword [esp + 0x14]
cmp dword [edi + 0x58], 0
je 0x440d19
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x54]
test eax, eax
jne 0x440ca8
xor edx, edx
jmp 0x440caa
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x440cbb
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + ecx*4]
sub ebp, ebx
push ebp
lea ecx, [esp + ebx + 0x1c]
push ecx
push esi
call fcn.00441000
cmp dword [esi], 6
mov ebp, eax
jne 0x440d0d
call fcn.004404a0
push esi
call fcn.0048cd91
mov eax, dword [edi + 0x58]
xor edx, edx
add esp, 4
cmp eax, edx
je 0x440d0d
mov esi, dword [edi + 0x50]
inc dword [edi + 0x54]
add esi, esi
add esi, esi
cmp esi, dword [edi + 0x54]
ja 0x440d02
mov dword [edi + 0x54], edx
dec eax
mov dword [edi + 0x58], eax
cmp eax, edx
jne 0x440d0d
mov dword [edi + 0x54], edx
add ebx, ebp
cmp ebx, dword [esp + 0x14]
jl 0x440c90
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x814
ret
Function at 0x444390
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x1a4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov esi, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov word [0x4da978], cx
cmp byte [0x4da975], cl
jne 0x4443fe
lea edx, [esp + 0x18]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44442b
mov eax, dword [esp + 0x18]
cmp al, 1
jne 0x444425
shr eax, 8
cmp al, 1
jne 0x444425
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov byte [0x4da975], 1
mov eax, dword [esi]
cmp eax, 1
jge 0x44444b
mov edi, 0xfffffffe
call fcn.004503b0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov edi, 0xffffffe5
call fcn.004503b0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
cmp eax, 0x64
jg 0x444405
mov eax, dword [ebx]
cmp eax, 1
jl 0x444405
cmp eax, 0xfa0
jg 0x444405
cmp byte [ebp + 0x10], 1
jne 0x444476
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp eax, 1
jl 0x444405
cmp eax, 0xffff
jg 0x444405
mov ecx, 0x4aeeef
mov dword [esp + 0x10], 0
call fcn.00404800
test al, al
jne 0x4444a5
cmp dword [edi + 0x14], 0x10
jb 0x444496
mov esi, dword [edi]
jmp 0x444498
mov esi, edi
lea edi, [esp + 0x10]
call fcn.00439820
mov esi, dword [esp + 0xc]
cmp byte [ebp + 0x10], 1
mov ecx, dword [esp + 8]
mov dx, word [ecx]
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
mov word [esp + 0x18], dx
push ecx
jne 0x4444c4
lea edx, [esp + 0x18]
push edx
jmp 0x4444c6
push 0
call fcn.00435b40
mov esi, eax
xor edi, edi
add esp, 0xc
cmp esi, edi
je 0x444534
call fcn.00435ad0
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
imul edx, edx, 0x170
add edx, eax
cmp eax, edx
jae 0x444508
lea ecx, [ecx]
mov dword [eax + 0x24], edi
mov ecx, dword [esi + 0x28]
imul ecx, ecx, 0x170
add ecx, dword [esi + 0x24]
add eax, 0x170
cmp eax, ecx
jb 0x4444f0
mov edx, dword [ebp + 8]
push edx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], edi
push 0x4da9ac
mov edi, 8
call fcn.0043f520
add esp, 0xc
test eax, eax
jne 0x444552
push esi
call fcn.00435de0
add esp, 4
or edi, 0xffffffff
call fcn.004503b0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0xc]
mov dword [eax], esi
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
Function at 0x446170
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4461f6
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x446195
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop ebx
ret
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446198
sub eax, edx
push esi
lea esi, [eax + 1]
push edi
lea eax, [esi + 4]
call fcn.0043e6f0
test eax, eax
je 0x4461c7
push esi
lea edi, [eax + 4]
push 0
push edi
mov dword [eax], esi
call fcn.004953d0
add esp, 0xc
test edi, edi
jne 0x4461d3
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, edi
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4461e0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
ret
xor eax, eax
ret

Function at 0x447550
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
push eax
mov byte [esi], 0
mov dword [esp + 4], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
push str._I64d
push esi
call fcn.0048c98a
mov ecx, dword [esp + 0x54]
add esp, 0x10
xor ecx, esp
mov al, 1
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
Function at 0x4475b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x70
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
mov edi, 0xf
push 0x4aeeef
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00403d10
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x5c3a43
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x44768b
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x44766c
push eax
lea ecx, [esp + 0x3c]
push 0x4ba618
push ecx
call fcn.0048c98a
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x447635
sub eax, edx
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call fcn.00403d10
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [esp + 0x1c]
mov byte [esi], bl
call fcn.00403ee0
cmp dword [esp + 0x30], 0x10
jb 0x4476b0
mov eax, dword [esp + 0x1c]
push eax
jmp 0x4476a8
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [esp + 0x1c]
mov byte [esi], bl
call fcn.00403ee0
cmp dword [esp + 0x30], 0x10
jb 0x4476b0
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x4476a8
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [esp + 0x1c]
mov byte [esi], bl
call fcn.00403ee0
cmp dword [esp + 0x30], 0x10
jb 0x4476b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048cd91
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x70
ret

Function at 0x4484e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x5c]
push ebx
push edi
mov byte [eax + esi + 0x1c], 0x80
mov edi, 1
add dword [esi + 0x5c], edi
cmp eax, 0x37
mov eax, dword [esi + 0x5c]
jle 0x448535
mov ecx, 0x40
xor bl, bl
cmp eax, ecx
jge 0x448513
mov byte [eax + esi + 0x1c], bl
add dword [esi + 0x5c], edi
mov eax, dword [esi + 0x5c]
cmp eax, ecx
jl 0x448505
mov ecx, esi
call fcn.00447fe0
mov ecx, 0x38
cmp dword [esi + 0x5c], ecx
jge 0x44854e
mov eax, dword [esi + 0x5c]
mov byte [esi + eax + 0x1c], bl
add dword [esi + 0x5c], edi
cmp dword [esi + 0x5c], ecx
jl 0x448524
jmp 0x44854e
mov ecx, 0x38
cmp eax, ecx
jge 0x44854e
xor bl, bl
mov byte [eax + esi + 0x1c], bl
add dword [esi + 0x5c], edi
mov eax, dword [esi + 0x5c]
cmp eax, ecx
jl 0x448540
movzx ecx, byte [esi + 0x1b]
movzx edx, byte [esi + 0x1a]
movzx eax, byte [esi + 0x19]
mov byte [esi + 0x54], cl
movzx ecx, byte [esi + 0x18]
mov byte [esi + 0x55], dl
movzx edx, byte [esi + 0x17]
mov byte [esi + 0x57], cl
movzx ecx, byte [esi + 0x15]
mov byte [esi + 0x56], al
movzx eax, byte [esi + 0x16]
mov byte [esi + 0x58], dl
movzx edx, byte [esi + 0x14]
pop edi
mov byte [esi + 0x5a], cl
mov byte [esi + 0x59], al
mov byte [esi + 0x5b], dl
mov ecx, esi
pop ebx
jmp fcn.00447fe0