joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54b040
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x56e238]
mov edi, esi
add edi, 0xffffde83
mov dword [0x56e234], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jmp 0x54b0d3
mov eax, dword [ebp - 0x24]
mov dword [0x56e238], 0x9f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x54b129
jmp 0x54b1ba
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
je 0x54b105
jmp 0x54b1ba
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], edx
je 0x54b088
jmp 0x54b15f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
je 0x54b0af
jmp 0x54b1ba
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce0
mov dword [0x56e234], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x2c], eax
je 0x54b191
jmp 0x54b1ba
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
jne 0x54b1ba
mov dword [0x56e238], 0x1815
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
je 0x54b0eb
jmp 0x54b1ba
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], cl
mov al, byte [ebp - 0x39]
test al, 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jne 0x54b0d3
jmp 0x54b088
mov eax, 1
mov ecx, 0xadf
mov dword [0x56e234], 0xadf
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], eax
je 0x54b1cc
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x56e238], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x38
pop esi
pop edi
pop ebp
ret
Function at 0x54b610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x56e23c], 0
mov dword [0x56e240], 0
mov dword [0x56e24c], 0
mov dword [0x56e238], 0x14e0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jne 0x54b68b
mov dword [0x56e238], 0xe7d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x56e240]
mov ecx, dword [0x56e23c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x54b69c
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x54b69c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x56e234], 0xb69
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x56e23c], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x56e240], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x56e244], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x56e234], 0x226c
mov cl, byte [0x56e244]
mov edx, dword [0x56e240]
mov byte [edi + edx], cl
mov edx, dword [0x56e23c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x56e240]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x56e24c], ebx
mov dword [0x56e234], 0x11c5
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x20], edx
jne 0x54b672
jmp 0x54b660
Function at 0x4039c0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a388
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x498f3c], 0x84
jne 0x403a4c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00403d13
push ebx
push ebx
call fcn.00403da1
add esp, 0xc
mov dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x403a3c
mov eax, dword [esp + 8]
push eax
call fcn.00403f88
add esp, 4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
cmp byte [0x42edf0], bl
jle 0x403a5c
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x42e0d4]
mov edx, dword [0x42e0a8]
mov dword [0x498f3c], ecx
mov dword [0x4998dc], edx
call fcn.00403190
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x405610
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c118]
jne 0x40561a
repz ret
jmp fcn.00409be2
Function at 0x4014e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4014f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x401534
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401530
lea ebx, [ebx]
cmp esi, eax
jae 0x401534
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401520
cmp esi, eax
jb 0x40153a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x413129
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x41325f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x198], 0
je 0x41325f
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412d80
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x413243
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x1d08], ecx
push str.IBFS32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x413241
push str.TMExtendedStartSession
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
push str.TMEndSession
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
push str.TMFirst
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
push str.TMNext
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
push str.TMRom
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
push str.TMSetup
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
push str.TMTouchByte
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
jmp 0x41325d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov dword [eax + 0x1d08], 0
mov dword [ebp - 4], 0xffffffd8
jmp 0x413266
mov dword [ebp - 4], 0xffffffd6
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x415592
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x4155a6
mov eax, dword [ebp + 0x10]
mov dword [0x5b2874], eax
jmp 0x4155b0
mov dword [0x5b2874], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [0x5b2870], ecx
cmp dword [0x56843c], 0
je 0x4155d1
mov edx, dword [0x5b287c]
push edx
call dword [sym.imp.KERNEL32.DLL_SetEvent]
jmp 0x415642
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [0x5b287c], eax
cmp dword [0x5b287c], 0
jne 0x4155f1
xor eax, eax
jmp 0x415647
push 4
push 1
call fcn.004fc719
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41560a
xor eax, eax
jmp 0x415647
mov eax, dword [ebp - 4]
mov ecx, dword [0x5b287c]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0x4154ff
call fcn.004fea31
add esp, 0xc
mov dword [0x56843c], eax
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [0x56843c], 0
jne 0x415642
xor eax, eax
jmp 0x415647
mov eax, dword [0x56843c]
mov esp, ebp
pop ebp
ret

Function at 0x415669
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.004feb69
add esp, 4
mov dword [0x568434], eax
cmp dword [0x568434], 0
je 0x415690
mov eax, dword [0x568434]
jmp 0x415709
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
push 0x5507dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x415707
mov dword [ebp - 0xc], 0xc7
lea edx, [ebp - 0xc]
push edx
push 0x56836c
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4156f9
mov dword [0x568434], 0x56836c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x568434]
jmp 0x415709
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x415709
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43d408
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
add eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043e967
add esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43d504
push 0
call fcn.0043d596
add esp, 4
push 1
call fcn.0043d596
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43d504
mov eax, dword [ebp - 0xc]
push eax
call fcn.00412fae
add esp, 4
cmp dword [ebp + 8], 0
je 0x43d4fa
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x43d4c9
xor edx, edx
test edx, edx
je 0x43d4c9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
jmp 0x43d4d0
mov dword [ebp - 0x14], 0xffffffc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e2a0
add esp, 0x1c
mov eax, 1
jmp 0x43d592
mov edx, dword [ebp - 0xc]
push edx
call fcn.00412fae
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x43d52c
cmp dword [ebp + 0x14], 0
jne 0x43d53c
mov eax, dword [ebp + 0x10]
push eax
call fcn.004fd810
add esp, 4
test eax, eax
jne 0x43d53c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x43d586
cmp dword [ebp + 0x14], 0
je 0x43d54a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x43d55c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004fd810
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045ff33
add esp, 0x18
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x441fcb
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
push edi
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov byte [ebp - 0x804], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x803]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x400
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
push ecx
push 0x552578
lea edx, [ebp - 0x404]
push edx
call fcn.004faaa4
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x20007
push 0
push 0x552584
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4420c8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x442083
xor edx, edx
test edx, edx
je 0x442083
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x810], ecx
jmp 0x44208d
mov dword [ebp - 0x810], 0xffffff86
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x810]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e2a0
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x4421e9
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x804]
push ecx
mov edx, dword [ebp - 0x808]
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x808]
add edx, 1
mov dword [ebp - 0x808], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4421da
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x804], 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.004fd810
add esp, 4
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004fda48
add esp, 0xc
test eax, eax
jne 0x4421ce
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.004fd810
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004fd810
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.004fd810
add esp, 4
sub esi, eax
lea edx, [ebp + esi - 0x804]
push edx
call fcn.004fda48
add esp, 0xc
test eax, eax
jne 0x4421ce
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LM_BORROW
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004421ef
add esp, 8
mov dword [ebp - 4], 0x400
jmp 0x4420c8
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4473bf
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov dword [ebp - 0x404], 0
push 0x400
lea eax, [ebp - 0x400]
push eax
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x4473fc
lea ecx, [ebp - 0x400]
push ecx
call fcn.004477e1
add esp, 4
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
mov esp, ebp
pop ebp
ret

Function at 0x4477e1
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0
push 1
call fcn.00448326
add esp, 4
test eax, eax
jne 0x447817
mov eax, dword [ebp - 0x408]
jmp 0x4478d4
mov dword [ebp - 0x40c], 0
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x447844
mov eax, dword [ebp - 0x408]
jmp 0x4478d4
push 0x400
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x404]
movsx eax, word [edx + 8]
push eax
call fcn.00447a4e
add esp, 0x10
test eax, eax
jne 0x44787b
mov eax, dword [ebp - 0x408]
jmp 0x4478d4
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x404]
movsx eax, word [edx + 8]
push eax
call fcn.004481ef
add esp, 0x10
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x404]
movsx edx, word [ecx + 0xa]
push edx
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x408]
push eax
call fcn.004482e0
add esp, 0xc
mov eax, dword [ebp - 0x408]
mov esp, ebp
pop ebp
ret
Function at 0x448326
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
cmp dword [0x569aa8], 0
je 0x44833f
mov eax, 1
jmp 0x44837d
mov word [ebp - 0x194], 0x101
lea eax, [ebp - 0x190]
push eax
mov cx, word [ebp - 0x194]
push ecx
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x44836e
call sub.WSOCK32.dll_WSAGetLastError
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x44837d
mov dword [0x569aa8], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44dc70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x5536bc
lea eax, [ebp - 0x14]
push eax
call fcn.004fd710
add esp, 8
mov dword [ebp - 0x24], 0
jmp 0x44dc99
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 3
jge 0x44dcba
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
cmp eax, 3
jne 0x44dcb0
jmp 0x44dcba
mov al, byte [ebp - 0x14]
add al, 1
mov byte [ebp - 0x14], al
jmp 0x44dc90
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x44e759
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0x5b2a18
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00469860
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00469a69
add esp, 8
push 0x40
push 0x1000
mov edx, dword [ebp - 8]
add edx, 0xa
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44e7ad
xor eax, eax
jmp 0x44e7e2
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004fb090
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004fb620
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.00412fae
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44f2d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov byte [ebp - 0x3c], 0x71
mov byte [ebp - 0x3b], 0xd5
mov byte [ebp - 0x3a], 0xac
mov byte [ebp - 0x39], 0xe3
mov byte [ebp - 0x38], 0xb3
mov byte [ebp - 0x37], 0x2b
mov byte [ebp - 0x36], 0x77
mov byte [ebp - 0x35], 0x6f
mov byte [ebp - 0x34], 0xcc
mov byte [ebp - 0x33], 0x37
mov byte [ebp - 0x32], 0x9f
mov byte [ebp - 0x31], 0x94
mov byte [ebp - 0x30], 0x8f
mov byte [ebp - 0x2f], 0x7f
mov byte [ebp - 0x2e], 0xa9
mov byte [ebp - 0x2d], 0xd6
mov byte [ebp - 0x2c], 0xec
mov byte [ebp - 0x2b], 0x9a
mov byte [ebp - 0x2a], 0x82
mov byte [ebp - 0x29], 0xcc
mov byte [ebp - 0x28], 0xa6
mov byte [ebp - 0x27], 0xef
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0xb8
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], 0x25
mov byte [ebp - 0x20], 0x94
mov byte [ebp - 0x1f], 0xd7
mov byte [ebp - 0x1e], 0xe2
mov byte [ebp - 0x1d], 0xca
mov byte [ebp - 0x1c], 0x48
mov byte [ebp - 0x1b], 0x2a
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 0x33
mov byte [ebp - 0x17], 0x1e
mov byte [ebp - 0x16], 0x6a
mov byte [ebp - 0x15], 0xb8
mov byte [ebp - 0x14], 0x2d
mov byte [ebp - 0x13], 0x67
mov byte [ebp - 0x12], 0xb5
mov byte [ebp - 0x11], 0x8f
mov byte [ebp - 0x10], 0xce
mov byte [ebp - 0xf], 0x43
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], 0x2b
mov byte [ebp - 0xc], 0xf9
mov byte [ebp - 0xb], 0x97
mov byte [ebp - 0xa], 6
mov byte [ebp - 9], 0xfe
mov byte [ebp - 8], 0xd2
mov byte [ebp - 7], 0x11
mov byte [ebp - 6], 0xec
mov byte [ebp - 5], 0x47
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x44f410
cmp dword [ebp + 0xc], 0
je 0x44f410
cmp dword [ebp + 0x10], 0
je 0x44f410
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x38
jbe 0x44f3e8
mov dword [ebp - 0x40], 0x38
jmp 0x44f3f0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004fb090
add esp, 0xc
jmp 0x44f426
cmp dword [ebp + 0x10], 0
je 0x44f41f
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 4], 0xffffffd6
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44f9cf
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x44fa89
mov eax, dword [ebp + 8]
cmp dword [eax + 0x198], 0
je 0x44fa89
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
cmp dword [edx + 0x1d08], 0
je 0x44fa89
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1d08]
cmp dword [edx + 4], 0
je 0x44fa89
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1d08]
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 0x7d0
mov dword [ebp - 4], eax
push 0
mov ax, word [ebp + 0x10]
push eax
mov cx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
call dword [edx + 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44fa70
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x44fa78
cmp dword [ebp - 0xc], 0
jge 0x44fa78
jmp 0x44fa89
cmp dword [ebp - 0xc], 0
jne 0x44fa89
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x44fa4b
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret