joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447864
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov edx, ecx
push ebx
push esi
push 0x104
lea ecx, [ebp - 0x20c]
call fcn.00403edd
lea eax, [ebp - 0x20c]
push eax
call fcn.004223eb
pop ecx
pop ecx
push 0x5c
pop ebx
test eax, eax
je 0x4478aa
cmp word [ebp + eax*2 - 0x20e], bx
jne 0x4478aa
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x447937
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x4478de
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x4478e3
mov al, 1
jmp 0x44793d
cmp eax, 3
jne 0x44793b
lea ecx, [ebp - 0x20c]
call fcn.00403ab8
mov esi, eax
push ebx
push esi
call fcn.00423c64
pop ecx
pop ecx
test eax, eax
jne 0x447906
push esi
call fcn.00420c6e
pop ecx
jmp 0x44793b
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.00447864
push esi
mov bl, al
call fcn.00420c6e
pop ecx
test bl, bl
je 0x447933
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x44793d
test al, 0x10
jne 0x4478da
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x447941
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x678
push ebx
xor ebx, ebx
push esi
lea edx, [esp + 0x18]
mov byte [esp + 0xf], bl
call fcn.00403955
lea ecx, [esp + 0x18]
call fcn.0044870a
test al, al
je 0x44797c
lea eax, [esp + 0x18]
push 0x4b47b4
push eax
call fcn.00422404
pop ecx
pop ecx
push ebx
push ebx
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0042346d
add esp, 0x14
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x447a2f
cmp al, 1
jne 0x447a2f
test byte [esp + 0x228], 0x10
jne 0x447a10
mov byte [esp + 0xf], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00422433
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00422404
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00422404
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x447a33
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x4479b8
mov al, bl
mov byte [esp + 0xe], al
jmp 0x4479b8
mov bl, byte [esp + 0xf]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4481d2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov edi, ecx
push eax
push edi
mov ebx, edx
call dword [sym.imp.VERSION.DLL_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x4481f7
xor al, al
jmp 0x44839f
push esi
call fcn.00420bfa
pop ecx
push eax
mov dword [ebp - 4], eax
push esi
xor eax, eax
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.VERSION.DLL_GetFileVersionInfoW]
mov esi, dword [ebp + 8]
push esi
call fcn.004223eb
xor ecx, ecx
push 2
add eax, 0x1a
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420bfa
mov edi, eax
push 0x49ec84
push edi
call fcn.00422433
push 0x49ec84
push esi
call fcn.00422cf3
add esp, 0x18
test eax, eax
je 0x4482e3
push 0x4b470c
push edi
call fcn.00422404
push 0x49ec84
push esi
call fcn.00423123
add esp, 0x10
test eax, eax
jne 0x4482da
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b472c
push dword [ebp - 4]
call dword [sym.imp.VERSION.DLL_VerQueryValueW]
test eax, eax
je 0x4482b6
mov eax, dword [ebp - 0x10]
push 0
mov esi, dword [eax]
push esi
push 4
lea ecx, [edi + 0x20]
pop edx
call fcn.0040dbc7
push 0
shr esi, 0x10
push esi
push 4
lea ecx, [edi + 0x28]
pop edx
call fcn.0040dbc7
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x4482c3
push 0x4b4760
push edi
call fcn.00422404
pop ecx
pop ecx
push 0x49ec84
push edi
call fcn.00422404
push esi
push edi
call fcn.00422404
add esp, 0x10
jmp 0x4482e3
push esi
push edi
call fcn.00422404
pop ecx
pop ecx
push 0x4b4774
push esi
call fcn.004226b7
pop ecx
pop ecx
test eax, eax
jne 0x44831e
push 8
lea eax, [edi + 0x20]
push eax
push ebx
call fcn.0042370d
push dword [ebp - 4]
xor eax, eax
mov word [ebx + 0x10], ax
call fcn.00420c6e
push edi
call fcn.00420c6e
add esp, 0x14
mov al, 1
jmp 0x44839f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.VERSION.DLL_VerQueryValueW]
test eax, eax
je 0x44838c
push 0x49ec84
push esi
call fcn.00422cf3
pop ecx
pop ecx
test eax, eax
jne 0x44836e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
movzx eax, dx
shr ecx, 0x10
push ecx
push eax
shr edx, 0x10
push edx
push 0x4b479c
push ebx
call fcn.00422e3b
add esp, 0x18
jmp 0x448388
push 0x200
push dword [ebp - 8]
push ebx
call fcn.0042370d
add esp, 0xc
xor eax, eax
mov word [ebx + 0x400], ax
mov byte [ebp - 0xc], 1
push dword [ebp - 4]
call fcn.00420c6e
push edi
call fcn.00420c6e
mov al, byte [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4483e5
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
push esi
push edi
push eax
push 0x101
mov edi, edx
mov esi, ecx
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x4484a8
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.DLL_gethostname]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.DLL_gethostbyname]
test eax, eax
je 0x4484a8
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
je 0x448445
mov eax, edx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x44843c
cmp esi, ecx
jle 0x448458
push 0x4b47c8
push edi
call fcn.00422433
pop ecx
pop ecx
jmp 0x4484a0
push 4
push dword [edx + esi*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.00420590
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.DLL_inet_ntoa]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00423d10
or edx, 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00449032
mov esi, eax
push esi
push edi
call fcn.00422433
push esi
call fcn.00420c6e
add esp, 0x14
call dword [sym.imp.WSOCK32.DLL_WSACleanup]
jmp 0x4484b5
push 0x49ebf0
push edi
call fcn.00422433
pop ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x44870a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44871d
test al, 0x10
je 0x44871d
mov al, 1
ret
xor al, al
ret

Function at 0x448743
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c44d9], 0
test edi, edi
je 0x448795
mov byte [0x4c44da], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x448b8b
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.00423947
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.DLL_MessageBoxW]
or ebx, 0xffffffff
mov edi, eax
test esi, esi
je 0x4487c2
push ebx
push esi
mov byte [0x4c44da], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4c44d9], 1
cmove edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448963
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.00403955
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.00403955
lea ecx, [ebp - 0x438]
call fcn.0044870a
test al, al
jne 0x44899d
xor al, al
jmp 0x448b3d
lea ecx, [ebp - 0x22c]
call fcn.0044870a
xor esi, esi
test al, al
je 0x448a6f
cmp byte [ebp + 8], 0
je 0x448996
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x448a0e
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cf3
pop ecx
pop ecx
test eax, eax
je 0x448a07
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
setne al
jmp 0x448b3d
mov al, 1
jmp 0x448b3d
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.0042346d
lea eax, [ebp - 0x22c]
push 0x49ec84
push eax
call fcn.00422404
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00422404
add esp, 0x24
cmp word [ebp - 0x63c], si
je 0x448a6f
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00422404
pop ecx
pop ecx
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x438]
call fcn.0044869d
test al, al
je 0x448ab4
push 1
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x438]
call fcn.004474f0
pop ecx
test al, al
je 0x448996
mov dl, 1
lea ecx, [ebp - 0x438]
call fcn.00448d34
test al, al
jmp 0x4489ff
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cf3
pop ecx
pop ecx
test eax, eax
je 0x448996
lea eax, [ebp - 0x438]
push eax
call fcn.004223eb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004223eb
pop ecx
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], esi
mov dword [ebp - 6], esi
mov dword [ebp - 0xe], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.DLL_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
leave
ret

Function at 0x448d34
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
mov bl, dl
lea edx, [ebp - 0x22c]
call fcn.00403955
lea ecx, [ebp - 0x22c]
call fcn.0044870a
test al, al
je 0x448dbc
lea eax, [ebp - 0x22c]
push eax
test bl, bl
jne 0x448d72
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x448dbc
call fcn.004223eb
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.DLL_SHFileOperationW]
neg eax
sbb al, al
inc al
pop ebx
leave
ret
Function at 0x448dbf
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push 0x4b4880
lea ecx, [ebp - 0x10]
mov esi, edx
call fcn.00447433
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043c9d5
test al, al
jne 0x448de9
xor esi, esi
jmp 0x448e39
cmp ebx, 0x20
je 0x448e2b
cmp ebx, 0x40
je 0x448e27
push 0
test bl, 0xb
jne 0x448e03
push ebx
call dword [sym.imp.USER32.DLL_ExitWindowsEx]
jmp 0x448e37
pop ecx
push 1
pop edx
push 0
pop eax
test bl, 0x14
cmovne ecx, edx
push esi
test bl, 2
cmovne eax, edx
push eax
push ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.DLL_InitiateSystemShutdownExW]
jmp 0x448e37
xor eax, eax
jmp 0x448e2e
xor eax, eax
inc eax
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_SetSystemPowerState]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0043c3b7
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x448e47
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
test esi, esi
js 0x448ee3
jne 0x448e5e
push 0
jmp 0x448edd
cmp esi, 0xf
jae 0x448edc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x448edc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
fild qword [ebp - 0x28]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fstp qword [ebp - 0x20]
divsd xmm0, qword [ebp - 0x20]
mulsd xmm0, qword [0x4b3768]
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call fcn.004729c6
cmp eax, esi
jb 0x448e7b
jmp 0x448ee3
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret

Function at 0x448fd3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x10
push esi
call dword [sym.imp.USER32.DLL_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.DLL_SendMessageTimeoutW]
test eax, eax
jne 0x44902e
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
push dword [ebp - 4]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x44cabd
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c07e0]
jne 0x44caca
call fcn.0044cb58
mov eax, dword [0x4c44f0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c44f0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b7560]
mulsd xmm0, qword [0x4b7518]
ret

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

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x4c44f8], ecx
mov edx, esi
mov ecx, 0x4c44f8
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
add ecx, 4
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx], eax
inc edx
cmp ecx, 0x4c4eb4
jl 0x44cb2d
mov dword [0x4c07e0], esi
mov dword [0x4c44e4], esi
pop esi
ret

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

Disassembly:
cmp dword [0x4c44e4], 0
push ebx
push esi
push edi
mov esi, 0x4c44f8
jne 0x44cb78
push 0
call fcn.00424bca
pop ecx
mov ecx, eax
call fcn.0044cb1c
mov dword [0x4c07e0], 0x270
mov dword [0x4c44f0], esi
mov edi, 0xe3
mov ebx, 0x9908b0df
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x44cb92
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x44cbc3
mov ecx, dword [0x4c44f8]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
xor eax, dword [esi]
and edx, ebx
shr eax, 1
xor eax, dword [esi - 0x38c]
pop edi
xor eax, edx
mov dword [esi], eax
pop esi
pop ebx
ret

Function at 0x44d074
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x44d099
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00420590
add esp, 0xc
jmp 0x44d0ac
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00424f9e
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x4b4978
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
mov byte [ebp - 4], 0
call fcn.00425050
pop ecx
neg eax
pop ecx
sbb eax, eax
neg eax
pop esi
leave
ret 4
Function at 0x44e509
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa2c]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
je 0x44e662
push ebx
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x20c]
push 0x4b4d38
push eax
call fcn.00422e3b
lea eax, [ebp - 0x20c]
push eax
call fcn.004223eb
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x20e], 0x5c
jne 0x44e57d
cmp word [ebp + ebx*2 - 0x210], 0x3a
je 0x44e57d
xor eax, eax
mov word [ebp + ebx*2 - 0x20e], ax
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x44e597
cmp byte [ebp + 0x10], al
je 0x44e653
push edi
push 0x2200000
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44e64a
push 0x618
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00422460
lea eax, [ebx + ebx]
mov word [ebp - 0x81a], ax
mov eax, dword [ebp - 0x81a]
add eax, 2
mov word [ebp - 0x818], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x814]
push eax
mov dword [ebp - 0x824], 0xa0000003
call fcn.0042370d
mov eax, dword [ebp - 0x81a]
add esp, 0x18
add eax, 0xc
xor edx, edx
push edx
mov word [ebp - 0x820], ax
lea ecx, [ebp + 8]
push ecx
push edx
movzx eax, ax
push edx
add eax, 8
push eax
lea eax, [ebp - 0x824]
push eax
push 0x900a4
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push edi
test eax, eax
jne 0x44e657
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
xor eax, eax
jmp 0x44e660
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 0xc
Function at 0x45612b
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x30], 0
je 0x45613a
pop ebp
jmp fcn.004561f9
pop ebp
jmp fcn.00456140

Function at 0x4563f7
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00422460
xor eax, eax
inc eax
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x4c], 0x7c
call fcn.004223eb
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.DLL_InternetCrackUrlW]
test eax, eax
jne 0x45644e
xor al, al
jmp 0x4564fe
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push dword [ebp - 0x44]
mov ecx, ebx
push esi
push dword [ebp - 0x48]
call fcn.0040d5a3
push dword [ebp - 0x38]
lea ecx, [ebx + 0x10]
push esi
push dword [ebp - 0x3c]
call fcn.0040d5a3
push dword [ebp - 0x2c]
lea ecx, [ebx + 0x20]
push esi
push dword [ebp - 0x30]
call fcn.0040d5a3
push dword [ebp - 0x24]
lea ecx, [ebx + 0x30]
push esi
push dword [ebp - 0x28]
call fcn.0040d5a3
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x40]
push esi
push dword [ebp - 0x20]
call fcn.0040d5a3
push dword [ebp - 0x14]
lea esi, [ebx + 0x50]
push 0
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0040d5a3
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x40]
call fcn.0043cbb6
push eax
lea ecx, [ebx + 0x60]
call fcn.0040daca
lea ecx, [ebp - 0x10]
call fcn.00406ea2
mov ax, word [ebp - 0x34]
mov word [ebx + 0x78], ax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x74], eax
dec eax
je 0x4564f3
dec eax
je 0x4564ea
mov dword [ebx + 0x70], 3
jmp 0x4564fa
mov dword [ebx + 0x70], 2
jmp 0x4564fa
mov dword [ebx + 0x70], 1
pop edi
mov al, 1
pop ebx
pop esi
leave
ret 8

Function at 0x456503
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x456540
cmp byte [ebp + 8], 0
je 0x456540
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.0045556e
push esi
push 0
push 0x4565d1
call fcn.0042564d
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0x456548
push dword [ebp + 8]
call fcn.00455740
pop esi
pop ebp
ret 4
Function at 0x45ae57
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
mov ebx, eax
imul ebx, dword [ebp + 0x14]
lea eax, [esi + eax*4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
or edx, 0xffffffff
shl ebx, 2
shl eax, 2
push edi
mov dword [ebp + 0xc], eax
mov edi, esi
movzx eax, byte [esi + 2]
movzx ecx, dl
xor ecx, eax
movzx eax, byte [esi + 1]
shr edx, 8
xor edx, dword [ecx*4 + 0x4c0b70]
movzx ecx, dl
xor ecx, eax
movzx eax, byte [esi]
shr edx, 8
xor edx, dword [ecx*4 + 0x4c0b70]
add esi, ebx
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4c0b70]
cmp esi, dword [ebp + 8]
jb 0x45aecc
add edi, dword [ebp + 0xc]
mov esi, edi
cmp edi, dword [ebp + 0x10]
jb 0x45ae88
not edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
pop edi
shr edx, 0x1f
pop esi
addsd xmm0, qword [edx*8 + 0x4b7560]
pop ebx
pop ebp
ret 0x10