joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4166e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WS2_32.dll_socket]
push edi
push 6
push 1
push 2
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 1
call esi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x416716
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x30
ret
xor eax, eax
push 0x7f000001
mov dword [esp + 0x1c], eax
mov word [esp + 0x1c], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0xffff
push ebp
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x416850
lea edx, [esp + 0x18]
push 0x10
push edx
push ebp
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x416850
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x416850
push 1
push ebp
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x416850
push 0
push 1
push 2
call esi
cmp eax, 0xffffffff
mov dword [ebx], eax
je 0x416850
lea edx, [esp + 0x18]
push 0x10
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x416850
push 0
push 0
push ebp
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, 0xffffffff
mov dword [ebx + 4], eax
je 0x416850
push ebx
push 0xb8b7a4
lea eax, [esp + 0x30]
push 0xc
push eax
call fcn.00417b40
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [ebx]
push eax
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x2c]
push esi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x416850
mov ecx, dword [ebx + 4]
push 0
lea eax, [esp + 0x38]
push 0xc
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x416850
mov ecx, esi
lea edi, [esp + 0x34]
lea esi, [esp + 0x28]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41686f
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebp
call esi
mov eax, dword [ebx]
push eax
call esi
mov ecx, dword [ebx + 4]
push ecx
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x30
ret
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
Function at 0x41b210
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push edi
mov edx, ecx
xor eax, eax
mov edi, ebp
push 0xf0000040
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x14], 0
and ecx, 3
mov dword [esp + 0x10], 0
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x40], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41b305
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41b2e5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41b2e5
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push 4
push ecx
call edi
test eax, eax
je 0x41b2e5
cmp esi, dword [esp + 0x14]
jb 0x41b2e5
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push 0
push edx
push ebp
push 2
push eax
call edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41b2f4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41b305
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x41c890
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret

Function at 0x41cb60
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
mov esi, 1
push edi
xor ebp, ebp
push esi
push ebp
call dword [0xb8a29c]
mov edi, eax
add esp, 8
test edi, edi
je 0x41cbb4
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x41cbcc
cmp esi, ebx
je 0x41cbcc
cmp esi, 0x8000
ja 0x41cbcc
cmp esi, ebx
jb 0x41cbc5
push esi
push edi
call dword [0xb8a29c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x41cb7c
push ebp
call dword [0xb8a298]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0xb8a298]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x424e90
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x8c]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x780]
push edi
mov edi, dword [eax]
mov dword [esp + 0x10], 0x80
mov edx, dword [ebx + 0x144]
lea eax, [esp + 0x10]
lea ebp, [ebx + 0x14c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x14]
add edx, 4
push 0
push edx
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x424f19
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x18]
mov edx, ecx
lea edi, [ebx + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x138], eax
mov eax, dword [ebx + 0x13c]
mov esi, 4
cmp eax, esi
jge 0x424f4a
push str.Received_too_short_packet
push edi
call fcn.0040e1d0
add esp, 8
mov dword [ebx + 0xc], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push ebp
call fcn.004250c0
and eax, 0xffff
add esp, 4
mov dword [ebx + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x424f67
jmp dword [eax*4 + 0x4250b0]
cmp dword [ebx + 0x13c], esi
jle case.0x424f67.4
push ebp
call fcn.00424a70
mov cx, word [ebx + 0x30]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x424f67.4
mov edx, dword [ebx + 0x13c]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x9c]
sub edx, esi
add eax, esi
push edx
push eax
push 1
push ecx
call fcn.0040e700
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424fd0
push 5
push ebx
call fcn.004241c0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [ebx + 0x13c]
mov ecx, dword [edi + 0x98]
sub eax, 4
cdq
add ecx, eax
mov dword [edi + 0x98], ecx
mov ebp, dword [edi + 0x9c]
adc ebp, edx
mov dword [edi + 0x9c], ebp
mov eax, dword [edi + 0x98]
mov edx, ebp
push edx
push eax
push edi
call fcn.0041b680
jmp 0x425079
push ebp
call fcn.00424a70
mov ebp, dword [ebp]
and eax, 0xffff
add ebp, esi
mov esi, dword [ebx + 0x13c]
sub esi, 4
mov dword [ebx + 8], eax
push esi
push ebp
call fcn.004250e0
add esp, 0xc
cmp eax, esi
jae case.0x424f67.4
push ebp
push str.TFTP_error:__s_n
push edi
call fcn.0040e110
jmp 0x425079
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebp]
sub ecx, 2
add edx, 2
push ecx
push edx
push ebx
call fcn.00425110
add esp, 0xc
test eax, eax
je case.0x424f67.4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
push str.Internal_error:_Unexpected_packet
push 0xb8cd28
push edi
call fcn.0040e1d0
add esp, 0xc
mov eax, dword [esp + 0x9c]
push eax
call fcn.0041b860
add esp, 4
test eax, eax
je 0x424f3d
push 5
push ebx
call fcn.004241c0
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x440aa0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
mov byte [esi + edi - 1], 0
jne 0x440ad2
push 0x2e
push esi
call fcn.00b42500
add esp, 8
test eax, eax
je 0x440ad0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x440b20
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x20
push 0xf0000040
push 1
push 0
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x18], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x440b49
add esp, 0x20
ret
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x14], 8
mov dword [esp + 0x24], ecx
mov byte [esp + 0x15], 2
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00440c20
lea ecx, [esp + 0x20]
push 8
push ecx
call fcn.00446260
mov ecx, dword [esp + 0x10]
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push 0
push 0
push 0x14
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x440bc8
mov edx, dword [esp]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0x20
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 4]
mov dword [eax + 4], ecx
lea ecx, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
push ecx
push eax
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
add esp, 0x20
ret
Function at 0x446310
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0xf0000040
push 1
lea edi, [esi + 4]
push 0
push 0
push esi
mov dword [esi], 0
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44634e
mov eax, dword [esi]
push edi
push 0
push 0
push 0x8002
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
ret

Function at 0x446d20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push eax
call dword [0xb8a294]
mov edi, eax
add esp, 4
test edi, edi
jne 0x446d43
pop edi
pop esi
ret
lea eax, [edi + 0xc]
push ebx
mov dword [edi], esi
mov dword [edi + 4], eax
mov ebx, dword [esi + 0xc]
mov edx, eax
add edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
push ebp
jbe 0x446d8e
push eax
call dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push ebx
push eax
push ecx
call dword [esi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
add ebx, eax
push edx
push ebx
call dword [esi + 8]
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x1c], eax
jmp 0x446d92
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push ecx
call dword [esi]
mov edx, dword [edi + 8]
push edx
call dword [esi]
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
test eax, eax
jbe 0x446df8
mov dword [esp + 0x1c], eax
mov ebp, eax
mov al, byte [ebx]
mov cl, byte [0xb822ac]
xor al, cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov edx, dword [edi + 4]
push 1
push ecx
push edx
call dword [esi + 4]
mov al, byte [ebx]
mov dl, byte [0xb822ad]
xor al, dl
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
mov edx, dword [edi + 8]
push 1
push ecx
push edx
inc ebx
call dword [esi + 4]
mov eax, dword [esp + 0x34]
add esp, 0x18
dec eax
mov dword [esp + 0x1c], eax
jne 0x446db1
cmp ebp, dword [esi + 0x10]
jae 0x446e24
mov eax, dword [edi + 4]
push 1
push 0xb822ac
push eax
call dword [esi + 4]
mov ecx, dword [edi + 8]
push 1
push 0xb822ad
push ecx
call dword [esi + 4]
mov eax, dword [esi + 0x10]
add esp, 0x18
inc ebp
cmp ebp, eax
jb 0x446dfd
pop ebp
mov eax, edi
pop ebx
pop edi
pop esi
ret

Function at 0x446e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [section..data]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
test eax, eax
jle 0x446eaf
mov ebx, dword [ebp + 0xc]
add ebx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
lea ebx, [ebx + 4]
xor byte [edi + ecx], al
inc edi
mov eax, dword [section..data]
cmp edi, eax
jl 0x446e9b
inc edx
add esi, 4
cmp edx, 4
jl 0x446e90
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44ad8e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0xb8a274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1000
call fcn.00b42e4e
mov edi, eax
xor ebx, ebx
push 0x41
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], edi
push ebx
push eax
mov esi, ebx
call fcn.00b41570
push 0x1000
push ebx
push edi
call fcn.00b41570
add esp, 0x1c
mov ecx, ebx
mov al, cl
add al, 0x41
mov byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x1a
jl 0x44add1
mov ecx, ebx
mov al, cl
add al, 0x61
mov byte [ebp + ecx - 0x2e], al
inc ecx
cmp ecx, 0x1a
jl 0x44ade1
mov ecx, ebx
mov al, cl
add al, 0x30
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 0xa
jl 0x44adf1
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov word [ebp - 0xa], 0x2f2b
test edi, edi
je 0x44af33
push 3
pop edx
mov eax, dword [ebp + 8]
dec edi
mov al, byte [eax]
mov byte [ebp + ecx - 0x50], al
inc ecx
mov al, byte [ebp - 0x4e]
inc dword [ebp + 8]
mov ah, byte [ebp - 0x4f]
mov byte [ebp - 0x4a], al
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x55], ah
mov byte [ebp - 0x49], al
cmp ecx, edx
jne 0x44ae8a
mov cl, byte [ebp - 0x49]
mov edx, ebx
shr al, 2
and cl, 3
mov byte [ebp - 0x54], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0x4a]
mov byte [ebp - 0x53], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0x4a]
and al, 0x3f
mov byte [ebp - 0x52], cl
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 0x51], al
movzx eax, byte [ebp + edx - 0x54]
mov al, byte [ebp + eax - 0x48]
mov byte [esi + ecx], al
inc esi
inc edx
cmp edx, 4
jl 0x44ae72
push 3
mov ecx, ebx
pop edx
test edi, edi
jne 0x44ae15
test ecx, ecx
je 0x44af33
mov eax, ecx
cmp ecx, edx
jge 0x44aebe
cmp eax, edx
jae 0x44af45
mov byte [ebp + eax - 0x50], bl
inc eax
cmp eax, edx
jl 0x44ae9e
mov al, byte [ebp - 0x4e]
mov ah, byte [ebp - 0x4f]
mov byte [ebp - 0x4a], al
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x49], al
jmp 0x44aec4
mov ah, byte [ebp - 0x55]
mov al, byte [ebp - 0x49]
shr al, 2
mov byte [ebp - 0x54], al
mov al, byte [ebp - 0x49]
and al, 3
mov edi, dword [ebp - 0x5c]
shl al, 4
mov byte [ebp - 0x49], al
mov al, ah
shr al, 4
and ah, 0xf
add byte [ebp - 0x49], al
mov al, byte [ebp - 0x49]
mov byte [ebp - 0x53], al
mov al, byte [ebp - 0x4a]
shr al, 6
shl ah, 2
add ah, al
mov al, byte [ebp - 0x4a]
and al, 0x3f
mov byte [ebp - 0x52], ah
mov byte [ebp - 0x51], al
lea eax, [ecx + 1]
test eax, eax
jle 0x44af1e
lea edx, [ecx + 1]
movzx eax, byte [ebp + ebx - 0x54]
mov al, byte [ebp + eax - 0x48]
mov byte [esi + edi], al
inc esi
inc ebx
cmp ebx, edx
jl 0x44af09
push 3
pop edx
cmp ecx, edx
jge 0x44af33
sub edx, ecx
lea eax, [esi + edi]
push edx
push 0x3d
push eax
call fcn.00b41570
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00b401db
leave
ret
call fcn.00b40101
int3
Function at 0x44b293
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x20
lea eax, [ebx + 0x44]
push esi
push eax
call fcn.00b40ff0
mov edi, dword [ebp + 0x10]
add ebx, 0x64
push 0xc
push edi
push ebx
call fcn.00b40ff0
push 0xb5c6b0
call fcn.0044b458
mov ecx, dword [ebp + 8]
push 0xb5c6b4
mov dword [ecx + 0x74], eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
push 0xb5c6b8
mov dword [ecx + 0x78], eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
push 0xb5c6bc
mov dword [ecx + 0x7c], eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 0x80], eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
lea eax, [esi + 4]
push eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x88], eax
lea eax, [esi + 8]
push eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x8c], eax
lea eax, [esi + 0xc]
push eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x90], eax
lea eax, [esi + 0x10]
push eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x94], eax
lea eax, [esi + 0x14]
push eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
add esp, 0x40
mov dword [ecx + 0x98], eax
lea eax, [esi + 0x18]
push eax
call fcn.0044b458
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x9c], eax
lea eax, [esi + 0x1c]
push eax
call fcn.0044b458
mov esi, dword [ebp + 8]
push edi
and dword [esi + 0xa4], 0
mov dword [esi + 0xa0], eax
call fcn.0044b458
mov dword [esi + 0xa8], eax
lea eax, [edi + 4]
push eax
call fcn.0044b458
mov dword [esi + 0xac], eax
lea eax, [edi + 8]
push eax
call fcn.0044b458
push 0xc
push edi
push ebx
mov dword [esi + 0xb0], eax
call fcn.00b40ff0
add esp, 0x20
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xb16706
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0xb16a55
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret
Function at 0xb5162b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00b514aa

Function at 0xb52ae4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00b527a4
Function at 0x1001bec
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1002090
call fcn.01001da4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1003370
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10019a3
cmp eax, esi
jne 0x1001996
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10019a6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100197d
xor esi, esi
inc esi
mov eax, dword [0x100336c]
cmp eax, esi
jne 0x10019b9
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10019e8
mov eax, dword [0x100336c]
test eax, eax
jne 0x10019e2
mov dword [0x100336c], esi
push 0x10010dc
push 0x10010d0
call fcn.010018e2
pop ecx
pop ecx
test eax, eax
je 0x10019e8
jmp 0x1001b10
mov dword [0x1003034], esi
mov eax, dword [0x100336c]
cmp eax, esi
jne 0x1001a0c
push 0x10010cc
push 0x10010c4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100336c], 2
test ebx, ebx
jne 0x1001a18
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1003374], 0
je 0x1001a3c
push 0x1003374
call fcn.01001d19
pop ecx
test eax, eax
je 0x1001a3c
push 0
push 2
push 0
call dword [0x1003374]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1001a98
test al, al
je 0x1001a56
cmp dword [ebp - 0x1c], 0
jne 0x1001a98
mov al, byte [esi]
test al, al
je 0x1001a66
cmp al, 0x20
ja 0x1001a66
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001a56
test byte [ebp - 0x3c], 1
je 0x1001a72
movzx eax, word [ebp - 0x38]
jmp 0x1001a75
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1003030], eax
cmp dword [0x1003024], 0
jne 0x1001aec
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1001aa7
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1001aba
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1001a43
cmp dword [0x1003034], 0
jne 0x1001afb
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003030]
jmp 0x1001b1c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01001de9
ret
call fcn.01001ef1
jmp 0x1001943
Function at 0x4fba60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
jmp 0x4fba7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fba81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fba70
mov eax, 1
add ebx, ebx
jne 0x4fba93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fbaa4
jne 0x4fbac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fbac3
dec eax
add ebx, ebx
jne 0x4fbab0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fba88
add ebx, ebx
jne 0x4fbabf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fbb15
xor ecx, ecx
sub eax, 3
jb 0x4fbadb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fbb4a
sar eax, 1
mov ebp, eax
jmp 0x4fbae6
add ebx, ebx
jne 0x4fbae6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fbab4
inc ecx
add ebx, ebx
jne 0x4fbaf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fbab4
add ebx, ebx
jne 0x4fbb01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fbaf6
jne 0x4fbb12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fbaf6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fbb34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fbb26
jmp 0x4fba76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fbb34
add edi, ecx
jmp 0x4fba76
pop esi
mov edi, esi
mov ecx, 0x3b6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fbb52
cmp byte [edi], 0x17
jne 0x4fbb52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4fbb57
lea edi, [esi + 0xf5000]
mov eax, dword [edi]
or eax, eax
je 0x4fbbc6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x114d88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x114e1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fbb84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x114e24]
or eax, eax
je 0x4fbbc0
mov dword [ebx], eax
add ebx, 4
jmp 0x4fbba1
call dword [esi + 0x114e20]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4fbbf7
cmp al, 0xef
ja 0x4fbbea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4fbbcc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4fbbd9
mov ebp, dword [esi + 0x114e28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4fbc2b
sub esp, 0xffffff80
jmp 0x435126