joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b5ae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x10c], 0x104
mov dword [ebp - 0x110], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
call edi
test eax, eax
jne 0x44b75c
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.0044bc03
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44b754
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x44b74c
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x44b74c
mov eax, dword [ebp - 0x114]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x44b746
push esi
lea eax, [ebp - 0x108]
push 0x532c30
push eax
call fcn.004d1980
add esp, 0xc
test eax, eax
jne 0x44b718
xor esi, esi
jmp 0x44b74c
mov eax, dword [ebp - 0x114]
cmp eax, ebx
jne 0x44b746
push esi
lea eax, [ebp - 0x108]
push 0x532c30
push eax
call fcn.004d1980
add esp, 0xc
test eax, eax
je 0x44b740
push 2
pop esi
jmp 0x44b74c
mov eax, dword [ebp - 0x114]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465694
mov esp, ebp
pop ebp
ret
Function at 0x44b9c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.00466690
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x2a98], edi
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44ba15
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x44ba56
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x44ba56
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, esi
jae 0x44bbd4
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44ba5f
sub ecx, edx
mov edx, 0x104
sar ecx, 1
mov eax, edx
sub eax, ecx
push eax
push str.iphlpapi.dll
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004d9014
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x44baab
xor al, al
jmp 0x44bbc3
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44bb9c
lea ecx, [ebp - 0x2aa0]
mov dword [ebp - 0x2aa0], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x44bb9c
push 3
pop eax
mov dword [ebp - 0x2a9c], eax
lea esi, [ebp - 0x2a8c]
mov ebx, edi
lea eax, [ebp - 0x2a94]
sub ebx, eax
lea ecx, [esi + 8]
call fcn.0044b5ae
xor ecx, ecx
mov dword [ebp - 0x2aa4], eax
mov dword [ebp - 0x2a94], ecx
mov edi, ecx
mov word [ebp - 0x2a90], cx
lea edx, [ebp - 0x2a94]
add edx, edi
mov cl, byte [ebx + edx]
cmp cl, byte [edx]
jne 0x44bb30
inc edi
cmp edi, 6
jb 0x44bb19
jmp 0x44bb41
cmp dword [esi + 0x1a0], 6
jne 0x44bb8a
cmp dword [ebp - 0x2a9c], eax
jle 0x44bb8a
mov edi, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x2aa4]
mov dword [ebp - 0x2a9c], eax
jmp 0x44bb90
mov edi, dword [ebp - 0x2a98]
mov esi, dword [esi]
test esi, esi
jne 0x44bafa
xor ebx, ebx
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.0044b585
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465694
mov esp, ebp
pop ebp
ret
call fcn.00465a8c
int3
Function at 0x44c0f3
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd40], edx
push edi
mov dword [ebp - 0xd3c], ecx
xor esi, esi
mov dword [ebp - 0xd44], eax
test bl, bl
jne 0x44c348
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x50c]
push esi
push str..PhysicalDrive_d
push 0xff
push eax
call fcn.0044c4b8
add esp, 0x10
lea eax, [ebp - 0x50c]
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd38], eax
cmp eax, 0xffffffff
je 0x44c33e
mov dword [ebp - 0xd34], edi
xor eax, eax
lea edi, [ebp - 0xd18]
stosd dword es:[edi], eax
push 0x800
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd0c]
xor edi, edi
push edi
push eax
mov dword [ebp - 0xd18], edi
mov dword [ebp - 0xd14], edi
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0xd34]
push edi
mov edi, dword [ebp - 0xd38]
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44c331
push 0x100
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x100
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x100
push 0
push eax
call fcn.004c7830
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
add esp, 0xc
lea ecx, [ebp - 0xd0c]
push eax
push 0
call fcn.0044bcea
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.0044bcea
call fcn.0042db29
mov edx, dword [ebp - 0xcf4]
lea ecx, [ebp - 0x10c]
cmp eax, 0xb
push ecx
setl al
lea ecx, [ebp - 0xd0c]
movzx eax, al
push eax
call fcn.0044bcea
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.004d0937
add esp, 0x1c
test eax, eax
jne 0x44c2b2
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.004d0937
pop ecx
test eax, eax
je 0x44c337
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.00423090
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.0042d0b3
lea ecx, [ebp - 0xd30]
call fcn.00422990
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.00423090
mov ecx, dword [ebp - 0xd40]
push eax
call fcn.0042d0b3
lea ecx, [ebp - 0xd30]
call fcn.00422990
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.00423090
mov ecx, dword [ebp - 0xd44]
push eax
call fcn.0042d0b3
lea ecx, [ebp - 0xd30]
call fcn.00422990
mov bl, 1
jmp 0x44c337
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x44c122
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465694
mov esp, ebp
pop ebp
ret
Function at 0x44c35b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
call fcn.0042db29
cmp eax, 5
jle 0x44c3f8
push 0x1d
pop ecx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
push 4
pop eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x80]
movsw word es:[edi], word [esi]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44c3f8
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push str.EnableLUA
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x90], 1
push dword [ebp - 0x84]
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465694
mov esp, ebp
pop ebp
ret

Function at 0x44cd44
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x54006c]
xor eax, esp
mov dword [esp + 0x60], eax
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0xc], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0044c4d9
pop ecx
lea edx, [esp + 8]
mov ecx, esi
call fcn.0044c593
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00465694
mov esp, ebp
pop ebp
ret
Function at 0x44f9c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x10], 0
je 0x44fa5e
cmp dword [esi + 0x14], 8
jb 0x44f9e9
mov eax, dword [esi]
jmp 0x44f9eb
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fa5e
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c7830
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44fa16
mov ecx, dword [esi]
jmp 0x44fa18
mov ecx, esi
lea edx, [ebp - 0x210]
call fcn.0044cdae
cmp dword [edi + 0x14], 8
jb 0x44fa2b
mov edi, dword [edi]
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.004cff40
add esp, 8
test eax, eax
jne 0x44fa5e
cmp dword [esi + 0x14], 8
jb 0x44fa47
mov esi, dword [esi]
mov ecx, esi
call fcn.0043912b
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00465694
mov esp, ebp
pop ebp
ret
Function at 0x450900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.004c7830
mov eax, dword [esi]
add esp, 0xc
add eax, 0x13c
mov dword [ebp - 0x3c], 0x3c
cmp dword [eax + 0x14], 8
jb 0x450931
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x45093f
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x20], 0
nop dword [eax + eax]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 8]
cmp dword [eax], 0
jne 0x45098f
call ebx
cmp eax, 5
jne 0x45098f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x450960
mov eax, dword [0x556848]
test al, 1
jne 0x4509b2
or eax, 1
mov dword [0x556848], eax
call fcn.00435fe0
push 0x4f5810
call fcn.00465946
add esp, 4
push 0x532fd0
push 2
push 0x55684c
call fcn.00436db0
mov eax, dword [esi + 8]
add esp, 0xc
cmp dword [eax], 0
je 0x450a3f
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x4509fa
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push 0
push 0x65
push 0x41b
call dword [eax]
mov eax, dword [0x556848]
test al, 1
jne 0x450a1d
or eax, 1
mov dword [0x556848], eax
call fcn.00435fe0
push 0x4f5810
call fcn.00465946
add esp, 4
push 0x532fe8
push 2
push 0x55684c
call fcn.00436db0
mov ecx, dword [esi]
add esp, 0xc
call fcn.00450bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
mov ecx, dword [esi]
mov dword [ecx + 0x170], eax
mov eax, dword [esi]
mov dword [eax + 0x16c], 0xc
mov edx, dword [esi]
mov ecx, dword [edx + 0x168]
test ecx, ecx
je 0x450a7a
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push dword [edx + 0x170]
push 0x67
push 0x41b
call dword [eax]
mov eax, dword [0x556848]
test al, 1
jne 0x450a9d
or eax, 1
mov dword [0x556848], eax
call fcn.00435fe0
push 0x4f5810
call fcn.00465946
add esp, 4
mov eax, dword [esi]
push dword [eax + 0x170]
push 0x533004
push 4
push 0x55684c
call fcn.00436db0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ecx + edi*4 + 0x158]
lea esi, [ecx + edi*4]
test eax, eax
je 0x450b86
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x450b86
mov dword [esi + 0x158], 0
cmp dword [esi + 0x158], 0
jne 0x450bab
push 0
push 0
push edi
push 0x450ad0
push 0
push 0
call fcn.004d0e50
add esp, 0x18
mov dword [esi + 0x158], eax
xor eax, eax
cmp dword [esi + 0x158], eax
pop edi
setne al
pop esi
pop ebp
ret 4
Function at 0x451840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4010
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0xd
xor eax, eax
mov dword [ebp - 0x48], 0
push str.QQBrowser.exe
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00415df0
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov edx, 2
lea ecx, [ebp - 0x44]
call fcn.0042eb90
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4518cb
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x451926
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x451929
mov ecx, esi
call fcn.004313a0
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x451908
inc eax
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00418d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4518ec
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x44]
push eax
call fcn.004159f0
mov ecx, esi
call fcn.00435230
mov ecx, dword [ebp - 0x30]
add esp, 0x18
cmp ecx, 8
jb 0x451908
inc ecx
push ecx
jmp 0x4518fd
Function at 0x452020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4120
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
mov edx, str.liveup:
lea ecx, [ebp - 0x40]
call fcn.00414b80
push 0x52dedc
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00434ac0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x45207e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45209a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x4520c3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00418d80
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4520d8
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00418d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4597d0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x4597fc
push 1
push 0
push 0
lea ecx, [esi + 4]
mov dword [esi + 0x218], 0
mov edx, 0x65
call fcn.00459f00
add esp, 0xc
mov eax, dword [esi + 0x210]
test eax, eax
je 0x45981b
cmp dword [esi + 0x214], 0
jbe 0x45981b
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x20c]
cmp eax, 0xffffffff
je 0x459837
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20c], 0xffffffff
mov eax, dword [esi + 0x210]
test eax, eax
je 0x45985d
cmp dword [esi + 0x214], 0
jbe 0x45985d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x218], 0
mov eax, dword [esi + 0x210]
test eax, eax
je 0x459878
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
pop esi
ret
jmp 0x4597d0

Function at 0x459890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x428]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x533978
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004d0726
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x533974
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.004d91b8
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x459981
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push esi
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41c]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x420]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x426]
push eax
movzx eax, word [ebp - 0x428]
push eax
push str._04d__02d__02d__02d:_02d:_02d__d_:__s__s__n
push dword [ebp - 0x42c]
call fcn.0045a3e0
add esp, 0x2c
push dword [ebp - 0x42c]
call fcn.004d928c
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00465694
mov esp, ebp
pop ebp
ret

Function at 0x459e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x459e76
xor eax, eax
pop esi
pop ebp
ret 8
push dword [ebp + 8]
lea eax, [esi + 4]
push 0x53394c
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp dword [esi + 0x218], 0
mov dword [esi + 0x220], eax
je 0x459eae
mov ecx, 1
mov eax, ecx
pop esi
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x224], eax
lea eax, [esi + 0x214]
push eax
push 0
push esi
push 0x459a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x210], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret 8
Function at 0x45fd7d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
mov esi, dword [edi + 0x3c]
mov ecx, dword [edi + 0x6c]
sub esi, ecx
sub esi, dword [edi + 0x74]
mov dword [ebp - 4], esi
jne 0x45fdae
test ecx, ecx
jne 0x45fdba
cmp dword [edi + 0x74], ecx
jne 0x45fdba
mov esi, ebx
jmp 0x45fdb7
push 0xfffffffffffffffe
cmp esi, 0xffffffff
pop eax
cmove esi, eax
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x2c]
add eax, 0xfffffefa
add eax, ebx
cmp ecx, eax
jb 0x45fe3b
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004c7dd0
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
mov esi, ecx
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov dword [ebp - 0xc], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x45fdf0
mov edi, dword [ebp - 8]
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x45fe17
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
add esi, ebx
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x45fef7
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, esi
mov ecx, eax
cmova ecx, esi
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x45fe68
xor esi, esi
jmp 0x45feb7
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x45fe85
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.004635bb
jmp 0x45fe9d
cmp eax, 2
jne 0x45fea1
mov edx, dword [ebx]
test edx, edx
jne 0x45fe94
xor eax, eax
jmp 0x45fe9e
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.00460723
pop ecx
mov dword [ebx + 0x30], eax
mov esi, dword [ebp - 0xc]
push esi
push dword [ebx]
push dword [ebp - 4]
call fcn.004c7dd0
add dword [ebx], esi
add esp, 0xc
add dword [ebx + 8], esi
add dword [edi + 0x74], esi
cmp dword [edi + 0x74], 3
jb 0x45fedf
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x45fef7
mov eax, dword [edi]
mov ebx, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x45fd91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret