joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440fb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x52f8b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041f040
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 0x44100f
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441034
cmp dword [ebp - 0x11c], 6
jne 0x441034
cmp dword [ebp - 0x118], 1
jb 0x441034
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a77c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0041a77c
mov esp, ebp
pop ebp
ret

Function at 0x441100
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 0x441193
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 0x44118d
mov ecx, dword [edi]
test ecx, ecx
je 0x441188
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x441178
cmp edx, 2
jbe 0x441169
cmp edx, 7
jne 0x441178
test cl, 1
jne 0x441178
shr ecx, 1
cmp ecx, 1
jb 0x441178
cmp word [esi + ecx*2 - 2], 0
jne 0x441178
cmp ecx, 1
jbe 0x44118d
cmp word [esi + ecx*2 - 4], 0
jmp 0x441176
test cl, 1
jne 0x441178
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x44118d
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.00401010
int3
Function at 0x4413b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x52f8b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x441499
lea ecx, [ebp - 0x214]
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x214], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x441499
cmp dword [ebp - 0x214], eax
je 0x441499
push 0x20a
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0041f040
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x20b
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44148d
push 0x103
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0041b973
add esp, 0xc
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a77c
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041a77c
mov esp, ebp
pop ebp
ret
Function at 0x441fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
mov edi, ecx
cmp eax, dword [esi + 4]
jne 0x441fc9
pop edi
xor al, al
pop esi
pop ebp
ret 4
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
jb 0x441fd4
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, eax
mov dword [edi + 4], edx
cmp edx, 0xffffffff
je 0x441fc1
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push 0
lea esi, [ebp + 8]
push esi
sub eax, ecx
push eax
push ecx
push edx
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
ret 4

Function at 0x4420b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505428
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x52f8b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x4421d8
cmp dword [esi + 0x50], 0
je 0x4421d8
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.004026f0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44213d
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00442200
push 1
push 0x51040c
lea ecx, [ebp - 0x28]
call fcn.00441b90
cmp dword [esi + 0x34], 0
jbe 0x442162
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.004172d2
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x4421c7
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4421f3
mov eax, dword [ecx]
lea edx, [ebp - 0x278]
mov eax, dword [eax + 8]
push edx
call eax
test al, al
je 0x4421b9
lea eax, [ebp - 0x278]
push eax
push dword [esi + 8]
call edi
test eax, eax
jne 0x442190
mov eax, dword [esi + 8]
test eax, eax
je 0x4421c7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x4421d8
push dword [ebp - 0x28]
call fcn.0041a777
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a77c
mov esp, ebp
pop ebp
ret
call fcn.00414a12
int3
Function at 0x442940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505586
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52f8b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push 0
mov dword [edi], vtable.CppUrl.0
push 0
lea ecx, [edi + 8]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00444e90
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x52743d
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00401600
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0x50
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0x1e
mov dword [edi + 0x50], 0x1e
mov dword [edi + 0x54], 0
mov dword [edi + 0x6c], 0xf
mov dword [edi + 0x68], 0
mov byte [edi + 0x58], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x88], 0xf
mov dword [edi + 0x84], 0
mov byte [edi + 0x74], 0
mov dword [edi + 0xa0], 0xf
mov dword [edi + 0x9c], 0
mov byte [edi + 0x8c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
lea esi, [edi + 0xb0]
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00444e50
mov dword [esi], eax
push 0
push 0
lea ecx, [esi + 8]
mov byte [ebp - 4], 5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00444e90
mov dword [esi + 8], eax
mov dword [edi + 0xd8], 0xf
mov dword [edi + 0xd4], 0
mov byte [edi + 0xc4], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0xd]
lea ecx, [edi + 0xdc]
push eax
mov byte [ebp - 4], 7
call fcn.00442770
mov dword [edi + 0x110], 0
mov dword [edi + 0x128], 0
lea esi, [edi + 0x130]
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 0xa
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00413d60
mov dword [esi], eax
push 2
mov byte [ebp - 4], 0xb
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
call fcn.004c8b70
push 0x28
call fcn.0041b301
add esp, 8
test eax, eax
je 0x442b95
xorps xmm0, xmm0
mov dword [eax], vtable.NetworkSpeedRealTime.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movsd qword [eax + 0x20], xmm0
jmp 0x442b97
xor eax, eax
mov ebx, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
mov ecx, esi
push ebx
call fcn.004142b0
mov edx, eax
mov eax, dword [esi + 4]
mov ecx, 0x15555554
sub ecx, eax
cmp ecx, 1
jae 0x442bc6
push str.list_T__too_long
call fcn.00414a36
inc eax
mov dword [esi + 4], eax
mov dword [ebx + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
cmp ecx, 0x10
jb 0x445530
mov esi, dword [eax]
jmp 0x445532
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x445551
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x445540
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x445566
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
lea edx, [eax + ecx*8]
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 0xc], ecx
jmp 0x445580
cmp eax, ecx
jne 0x445588
mov eax, ecx
jmp 0x44558d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x44569b
cmp dword [ebp - 8], 0x10
lea ecx, [esi + 8]
jb 0x4455a5
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x4455a8
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
jb 0x4455b6
mov ecx, dword [ecx]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
test edx, edx
je 0x445619
sub edx, 4
jb 0x4455d7
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4455dc
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4455c6
cmp edx, 0xfffffffc
je 0x445610
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x445609
cmp edx, 0xfffffffd
je 0x445610
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x445609
cmp edx, 0xfffffffe
je 0x445610
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x445609
cmp edx, 0xffffffff
je 0x445610
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x445610
sbb eax, eax
or eax, 1
jmp 0x445612
xor eax, eax
test eax, eax
jne 0x445629
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x445629
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
test eax, eax
je 0x445639
mov esi, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x445580
cmp dword [esi + 0x1c], 0x10
mov edi, dword [esi + 0x18]
lea ecx, [esi + 8]
jb 0x445647
mov ecx, dword [ecx]
cmp dword [ebp - 8], 0x10
jb 0x445655
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, edi
cmp ebx, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.00409360
add esp, 0xc
test eax, eax
jne 0x445690
cmp ebx, edi
jb 0x445690
cmp ebx, edi
setne al
test eax, eax
jne 0x445690
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x446430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505a06
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x52f8b0]
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.00448dd0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0
call fcn.00448fa0
test eax, eax
jne 0x4464a4
xor ebx, ebx
jmp 0x44653f
push 0
push 0x5269d0
mov ecx, esi
call fcn.00402bb0
push 0
push 0x5269d0
mov ecx, edi
call fcn.00402bb0
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.00446280
mov edi, dword [ebp - 0x1b0]
add esp, 0xc
test eax, eax
js 0x446532
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 0x44656f
call fcn.00446260
test eax, eax
jns 0x446578
xor ebx, ebx
test edi, edi
je 0x44653f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0xffffffff
call fcn.00448e40
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.0041a77c
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1a8], 4
jne 0x446532
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.0041f040
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.00446670
add esp, 0x24
test eax, eax
je 0x446532
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.004024e0
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x90]
push eax
call fcn.004024e0
test ebx, ebx
je 0x446614
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 0x446534
Function at 0x446670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505a40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52f8b0]
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 0x4466d9
call fcn.00446260
test eax, eax
jns 0x4466d9
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.00446230
mov edi, dword [ebp + 0xc]
test al, al
je 0x44671e
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 0x44673d
call fcn.00446260
test eax, eax
jns 0x446742
xor ebx, ebx
push edi
call fcn.0041c5aa
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 0x44671e
mov dword [ebp - 0x10], 0
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00446230
mov esi, dword [ebp - 0x10]
test al, al
je 0x4467ab
cmp dword [ebp + 0x1c], 0
je 0x44676a
mov eax, 0x53089c
jmp 0x44676f
call fcn.00448d70
push dword [ebp + 0x18]
push esi
push eax
push ebx
push edi
call fcn.004484f0
add esp, 0x14
test eax, eax
je 0x4467ab
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp eax, ebx
ja 0x4467ab
push eax
push esi
push dword [ebp + 0x14]
call fcn.0041f0d0
add esp, 0xc
mov ebx, 1
push esi
call fcn.0041c5aa
add esp, 4
jmp 0x446720
push esi
xor ebx, ebx
call fcn.0041c5aa
add esp, 4
jmp 0x446720

Function at 0x447c00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x52f8b0]
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.0041f040
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.00447880
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.00447740
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
call fcn.0041a77c
mov esp, ebp
pop ebp
ret
Function at 0x448360
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52f8b0]
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 0x4483a0
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 0x4483c3
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.0041a77c
mov esp, ebp
pop ebp
ret

Function at 0x448430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52f8b0]
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 0x448470
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 0x448490
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.0041a77c
mov esp, ebp
pop ebp
ret
Function at 0x449130
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x52f8b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041f040
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 0x44918f
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4491b4
cmp dword [ebp - 0x11c], 6
jne 0x4491b4
cmp dword [ebp - 0x118], 2
jb 0x4491b4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a77c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0041a77c
mov esp, ebp
pop ebp
ret

Function at 0x44b360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505fe8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52f8b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x44b3a9
mov eax, dword [eax]
movsd xmm0, qword [ebp + 0xc]
sub esp, 8
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x10]
push str._s_duration_fs_n
push eax
call fcn.00401d50
mov esi, dword [ebp - 0x10]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b3f3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46bf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [ebx + 0xc]
push edi
test ecx, ecx
je 0x46bf91
mov eax, dword [ebp + 0xc]
mov edi, eax
mov al, byte [eax]
xor esi, esi
test al, al
je 0x46bf82
lea ecx, [ecx]
movzx eax, al
lea ecx, [esi*8]
movzx edx, byte [eax + 0x5125f0]
mov al, byte [edi + 1]
lea edi, [edi + 1]
xor edx, ecx
xor esi, edx
test al, al
jne 0x46bf60
mov ecx, dword [ebx + 0xc]
mov eax, esi
xor edx, edx
div dword [ebx]
mov edi, dword [ecx + edx*8 + 4]
mov ecx, dword [ecx + edx*8]
jmp 0x46bf99
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 4]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
test ecx, ecx
je 0x46c007
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
movzx esi, byte [eax + 0x5125f0]
mov dword [ebp + 8], esi
mov eax, dword [edi + 0xc]
dec ecx
mov bl, byte [eax]
mov dword [ebp + 0x10], ecx
movzx ecx, bl
movzx ecx, byte [ecx + 0x5125f0]
sub ecx, esi
jne 0x46bffe
mov esi, edx
sub esi, eax
lea ecx, [ecx]
test bl, bl
je 0x46bff4
movzx ecx, byte [esi + eax + 1]
mov bl, byte [eax + 1]
movzx edx, byte [ecx + 0x5125f0]
inc eax
movzx ecx, bl
movzx ecx, byte [ecx + 0x5125f0]
sub ecx, edx
je 0x46bfd0
jmp 0x46bff8
test ecx, ecx
je 0x46c00e
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edi, dword [edi]
test ecx, ecx
jne 0x46bfb2
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret