joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cef6
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1c0], edi
call fcn.0044a990
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0
call fcn.0044ab60
test eax, eax
jne 0x444504
xor ebx, ebx
jmp 0x44459f
push 0
push 0x4a40fc
mov ecx, esi
call fcn.00413060
push 0
push 0x4a40fc
mov ecx, edi
call fcn.00413060
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
push 0
lea eax, [ebp - 0x1b0]
push bind
push eax
mov byte [ebp - 4], 1
call fcn.004442e0
mov edi, dword [ebp - 0x1b0]
add esp, 0xc
test eax, eax
js 0x444592
push 0
lea eax, [ebp - 0x1a8]
push eax
push 4
lea eax, [ebp - 0x1a4]
push eax
push edi
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4445cf
call fcn.00401250
test eax, eax
jns 0x4445d8
xor ebx, ebx
test edi, edi
je 0x44459f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0xffffffff
call fcn.0044aa00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1a8], 4
jne 0x444592
mov esi, dword [ebp - 0x1a4]
push 0x188
lea eax, [ebp - 0x198]
push 0
push eax
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1a0], 0
call fcn.00426af0
push 1
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1a0]
push eax
push esi
lea eax, [ebp - 0x1b0]
push 4
push eax
call fcn.004447d0
add esp, 0x24
test eax, eax
je 0x444592
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1b4]
mov dword [ecx], eax
lea eax, [ebp - 0x190]
push eax
mov ecx, esi
call fcn.00411160
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x90]
push eax
call fcn.00411160
test ebx, ebx
je 0x444674
mov eax, dword [ebp - 0x198]
mov dword [ebx], eax
mov eax, dword [ebp - 0x194]
mov dword [ebx + 4], eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
setg bl
jmp 0x444594
Function at 0x4447d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cf70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4aa6e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x444839
call fcn.00401250
test eax, eax
jns 0x444839
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
mov ebx, dword [ebp + 0x10]
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.00444240
mov edi, dword [ebp + 0xc]
test al, al
je 0x44487e
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [esi]
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44489d
call fcn.00401250
test eax, eax
jns 0x4448a2
xor ebx, ebx
push edi
call fcn.00421983
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x10], ebx
jne 0x44487e
mov dword [ebp - 0x10], 0
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00444240
mov esi, dword [ebp - 0x10]
test al, al
je 0x44490b
cmp dword [ebp + 0x1c], 0
je 0x4448ca
mov eax, 0x4ab940
jmp 0x4448cf
call fcn.0044a930
push dword [ebp + 0x18]
push esi
push eax
push ebx
push edi
call fcn.0044a0b0
add esp, 0x14
test eax, eax
je 0x44490b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp eax, ebx
ja 0x44490b
push eax
push esi
push dword [ebp + 0x14]
call fcn.00423e70
add esp, 0xc
mov ebx, 1
push esi
call fcn.00421983
add esp, 4
jmp 0x444880
push esi
xor ebx, ebx
call fcn.00421983
add esp, 4
jmp 0x444880
Function at 0x4462a0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d142
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], 0
mov eax, dword [0x4aa348]
mov ecx, 0x4aa348
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x20a
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
call fcn.00426af0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446343
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00413060
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x4463a9
lea eax, [ecx - 1]
test eax, eax
js 0x4463c5
cmp eax, ecx
jg 0x4463c5
cmp word [edx + eax*2], 0x5c
je 0x446385
push 0x5c
mov ecx, esi
call fcn.0041a140
push 0x11
push str.TencentQQPinyin_
mov ecx, esi
call fcn.0041a180
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4463a9
push eax
push dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004010d0
int3

Function at 0x4463d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00426af0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x44642f
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x446454
cmp dword [ebp - 0x11c], 6
jne 0x446454
cmp dword [ebp - 0x118], 0
jne 0x446454
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x446470
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00426af0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4464cf
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4464f4
cmp dword [ebp - 0x11c], 6
jne 0x4464f4
cmp dword [ebp - 0x118], 1
jb 0x4464f4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00421639
mov esp, ebp
pop ebp
ret

Function at 0x4465c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x446653
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 0x10], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x44664d
mov ecx, dword [edi]
test ecx, ecx
je 0x446648
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x446638
cmp edx, 2
jbe 0x446629
cmp edx, 7
jne 0x446638
test cl, 1
jne 0x446638
shr ecx, 1
cmp ecx, 1
jb 0x446638
cmp word [esi + ecx*2 - 2], 0
jne 0x446638
cmp ecx, 1
jbe 0x44664d
cmp word [esi + ecx*2 - 4], 0
jmp 0x446636
test cl, 1
jne 0x446638
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x44664d
xor eax, eax
mov word [esi], ax
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebp
ret 0xc
push 0x80004005
call fcn.004010d0
int3
Function at 0x4481c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x108]
dec eax
je 0x448250
dec eax
jne 0x448272
mov eax, dword [ebp - 0x114]
mov edi, dword [ebp + 0xc]
cmp eax, 6
jb 0x448214
jne 0x448222
cmp dword [ebp - 0x110], 2
jae 0x448222
push edi
push esi
call fcn.0044b570
add esp, 8
test al, al
jne 0x44823e
push edi
push esi
call fcn.0044b760
add esp, 8
test al, al
jne 0x44823e
push edi
push esi
call fcn.0044b3b0
add esp, 8
test al, al
je 0x448272
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push esi
call fcn.0044b980
add esp, 8
test al, al
je 0x448272
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x448ae0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 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 0x4497c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x5c
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00426af0
push dword [ebp + 0x10]
lea eax, [ebp - 0x60]
push esi
push eax
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 8], 0
call fcn.00449440
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.00449300
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x449f20
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
call sub.WS2_32.dll_ntohl
push dword [esi + 4]
mov edi, eax
call sub.WS2_32.dll_ntohl
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
xor esi, esi
sub ebx, eax
lea eax, [ebx + esi*4]
push dword [ebp + eax - 0x14]
call sub.WS2_32.dll_ntohl
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x449f60
mov ebx, dword [ebp - 0x18]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
shl ecx, 4
add ecx, dword [ebp - 0xc]
mov eax, edi
shr eax, 5
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
shl ecx, 4
add ecx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
sub edi, ecx
lea edx, [edx + 0x61c88647]
dec esi
jne 0x449f83
push edi
call sub.WS2_32.dll_htonl
mov esi, dword [ebp - 0x1c]
push ebx
mov dword [esi], eax
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00421639
mov esp, ebp
pop ebp
ret

Function at 0x449ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
call sub.WS2_32.dll_ntohl
push dword [esi + 4]
mov dword [ebp - 0x18], eax
call sub.WS2_32.dll_ntohl
mov edi, dword [ebp - 0x20]
mov ebx, eax
lea eax, [ebp - 0x14]
xor esi, esi
sub edi, eax
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x14]
call sub.WS2_32.dll_ntohl
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x44a030
mov edi, dword [ebp - 0x18]
xor edx, edx
lea esi, [edx + 0x10]
mov edi, edi
mov ecx, ebx
shl ecx, 4
add ecx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 5
add eax, dword [ebp - 0x10]
lea edx, [edx - 0x61c88647]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [ebp - 0xc]
mov eax, edi
shr eax, 5
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
dec esi
jne 0x44a050
push edi
call sub.WS2_32.dll_htonl
mov esi, dword [ebp - 0x1c]
push ebx
mov dword [esi], eax
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x44b1e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x44b22d
mov eax, dword [0x4adb48]
test eax, eax
jne 0x44b23d
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4adb48], eax
cmp eax, 0x20
jae 0x44b23d
mov dword [0x4adb48], 0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
cmp dword [0x4adb4c], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x44b25e
push str.SnmpExtensionInit
push eax
call esi
mov dword [0x4adb4c], eax
test eax, eax
je 0x44b2d2
push 0x4adb70
push 0x4adb6c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x4adb4c]
cmp dword [0x4adb50], 0
jne 0x44b294
push str.SnmpExtensionInitEx
push dword [0x4adb48]
call esi
mov dword [0x4adb50], eax
test eax, eax
je 0x44b2d2
cmp dword [0x4adb54], 0
jne 0x44b2b3
push str.SnmpExtensionQuery
push dword [0x4adb48]
call esi
mov dword [0x4adb54], eax
test eax, eax
je 0x44b2d2
cmp dword [0x4adb58], 0
jne 0x44b2e3
push str.SnmpExtensionTrap
push dword [0x4adb48]
call esi
mov dword [0x4adb58], eax
test eax, eax
jne 0x44b2e3
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x44b760
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
xor esi, esi
push edi
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x4fc], esi
lea esp, [esp]
test bl, bl
jne 0x44b968
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], bl
call fcn.00426af0
push 0x3e7
lea eax, [ebp - 0x4eb]
push 0
push eax
mov byte [ebp - 0x4ec], bl
call fcn.00426af0
push esi
lea eax, [ebp - 0x104]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44b958
push 0x2710
push 8
mov dword [ebp - 0x500], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x44b94b
push 0
lea eax, [ebp - 0x500]
push eax
push 0x2710
push esi
push 0xc
lea eax, [ebp - 0x4f8]
push eax
xorps xmm0, xmm0
push 0x2d1400
movq qword [ebp - 0x4f8], xmm0
push edi
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4f4], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44b8b8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x44b8b8
lea ecx, [ebp - 0x4ec]
push ecx
add eax, esi
push eax
call fcn.0044c0a0
lea eax, [ebp - 0x4ec]
push eax
call fcn.0044c030
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
jne 0x44b921
push 0x2710
push 0
push esi
call fcn.00426af0
add esp, 0xc
lea eax, [ebp - 0x500]
push 0
push eax
push 0x2710
push esi
push 0
push 0
push 0x2d0c10
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44b93b
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4ec]
push eax
call fcn.0044c030
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
add esp, 4
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x44b93b
push dword [ebp + 0xc]
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp - 0x504]
call fcn.00421db0
mov bl, 1
add esp, 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x4fc]
inc esi
mov dword [ebp - 0x4fc], esi
cmp esi, 0x10
jl 0x44b790
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x44bbc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00426af0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x44bc1f
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44bc44
cmp dword [ebp - 0x11c], 6
jne 0x44bc44
cmp dword [ebp - 0x118], 2
jb 0x44bc44
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00421639
mov esp, ebp
pop ebp
ret
Function at 0x44fe80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x44fe8c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0044fec0
Function at 0x4551d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x4551fc
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4551ed
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x455230
cmp dword [esi + 8], 0
jne 0x455220
push 0x499df0
push dword [eax + 8]
call fcn.00422de1
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x455220
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.00422fb9
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x455252
mov eax, dword [esi + 8]
test eax, eax
je 0x45524c
push eax
call fcn.00423471
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x455660
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4556b3
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4556ad
shr eax, 8
cmp al, 2
jne 0x4556ad
call fcn.0045bac0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.00421639
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push edi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ecx + eax*4 + 0x154]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x18]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x4566ae
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x45667e
pop esi
pop edi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
pop ebp
ret
push esi
push dword [ebp + 8]
call fcn.00468280
push eax
mov eax, dword [ebp + 8]
push str.Send_failure:__s
push dword [eax]
call fcn.00456320
mov eax, dword [ebp + 8]
add esp, 0x14
mov eax, dword [eax]
mov dword [eax + 0x85fc], esi
mov dword [ebx], 0x37
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x456890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x4568b9
push dword [esi + 0x134]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x4568ef
push dword [esi + 0x130]
lea eax, [eax + eax*2]
push 1
add eax, 0x499e98
push 2
push eax
call fcn.00489dc9
push dword [esi + 0x130]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00489dc9
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret
Function at 0x464010
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x5c0]
test esi, esi
je 0x46405a
mov eax, dword [edi + 0x44]
test eax, eax
je 0x46405a
push 0x464d90
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0
push dword [eax + 0x34]
call fcn.0046f3e0
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x464063
mov dword [edi + 0x5c0], 0
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46406c
mov dword [eax], esi
cmp dword [esi + 0x17c], 0
mov edi, dword [esi + 0x154]
je 0x464091
push esi
call fcn.00455b40
add esp, 4
test eax, eax
jne 0x4640a4
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push 2
push 1
lea eax, [ebp + 0xb]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x46405a
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x464470
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4adfd0]
mov dword [ebp - 0x124], 0x4020
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 4
test eax, eax
jne 0x46451a
push 0x11c
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00426af0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
push 3
push 2
push 0
push 0
mov dword [ebp - 0x11c], 6
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x46450e
mov dword [0x4adfd0], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret
mov dword [0x4adfd0], 1
jmp 0x46451f
cmp eax, 2
je 0x46456e
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x128]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x464552
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x124]
jg 0x46456e
push 4
lea eax, [ebp - 0x124]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret