joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439380
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58342b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x6039b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x834], edx
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0xf
movsd qword [ebp - 0x840], xmm0
mov dword [ebp - 0x820], 0
mov byte [ebp - 0x830], 0
lea edx, [ebp - 0x830]
mov dword [ebp - 4], 0
call fcn.004391f0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x844], eax
call fcn.00467340
cmp dword [ebp - 0x81c], 0x10
lea ecx, [ebp - 0x830]
mov esi, eax
cmovae ecx, dword [ebp - 0x830]
push ecx
push 0x2712
push esi
mov dword [ebp - 0x84c], esi
call fcn.004673a0
add esp, 0xc
push 1
push 0x2c
push esi
call fcn.004673a0
add esp, 0xc
push 0x5e9a34
push 0x2734
push esi
call fcn.004673a0
add esp, 0xc
push 1
push 0x34
push esi
call fcn.004673a0
add esp, 0xc
push 1
push 0x2a
push esi
call fcn.004673a0
add esp, 0xc
push 0x14
push 0x44
push esi
call fcn.004673a0
add esp, 0xc
mov ecx, edi
push 5
push 0
push str.https
call fcn.0043ac20
test eax, eax
jne 0x4394a5
push eax
push 0x40
push esi
call fcn.004673a0
add esp, 0xc
push 0
push 0x51
push esi
call fcn.004673a0
add esp, 0xc
push 0x1e
push 0xd
push esi
call fcn.004673a0
add esp, 0xc
push 0x1e
push 0x4e
push esi
call fcn.004673a0
add esp, 0xc
push 0x1e
push 0x5c
push esi
call fcn.004673a0
add esp, 0xc
push esi
call fcn.00467380
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x439509
lea eax, [ebp - 0x840]
push eax
push 0x30000f
push esi
call fcn.00467320
add esp, 0xc
push ebx
push 0x200002
push esi
call fcn.00467320
movsd xmm1, qword [ebp - 0x840]
add esp, 0xc
jmp 0x439514
xorps xmm1, xmm1
movsd qword [ebp - 0x840], xmm1
cmp dword [ebp - 0x834], 0
je 0x4395c2
movsd xmm0, qword [0x5eb9d8]
comisd xmm0, xmm1
jbe 0x4395c2
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.00553bc0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x439551
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x844]
push eax
push 0
push ebx
push 0x5e9a38
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.0040b5c0
add esp, 0x1c
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp - 0x818], 0
jne 0x439596
xor ecx, ecx
jmp 0x4395af
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4395a0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x834]
lea eax, [ebp - 0x818]
push eax
call fcn.00406db0
push esi
call fcn.00467300
add esp, 4
movsd xmm0, qword [ebp - 0x840]
mov eax, dword [ebp - 0x81c]
movsd qword [ebp - 0x850], xmm0
cmp eax, 0x10
jb 0x439601
inc eax
lea ecx, [ebp - 0x830]
push eax
push dword [ebp - 0x830]
call fcn.00407800
movsd xmm0, qword [ebp - 0x850]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055042c
mov esp, ebp
pop ebp
ret
Function at 0x439630
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583470
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6039b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x9c]
push eax
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043af20
add esp, 4
push 0x60b090
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043aed0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4396a3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407960
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
push 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 1
push 0xc0000000
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x439701
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.004392c0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [esi + 0xd0], eax
setne bl
cmp ecx, 8
jb 0x43974d
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407960
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055042c
mov esp, ebp
pop ebp
ret

Function at 0x439770
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
push dword [edi + 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x4397f0
push 0
push 0
mov dword [edi + 0xd8], eax
call fcn.00565221
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
ret
Function at 0x439830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5834a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6039b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.00439970
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0xb4], edi
jbe 0x43990e
xor ecx, ecx
lea esi, [ebx + 0xb8]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov eax, dword [ebx + 0xc4]
push 0
push 0
add eax, ecx
push eax
push 0x4397d0
push 0
push 0
call fcn.00565221
mov ecx, dword [esi + 4]
add esp, 0x18
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
cmp eax, ecx
jae 0x4398d8
mov edx, dword [esi]
cmp edx, eax
ja 0x4398d8
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, dword [esi + 8]
jne 0x4398c5
push ecx
mov ecx, esi
call fcn.00409780
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x4398d3
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov edi, dword [ebp - 0x14]
jmp 0x4398f1
cmp ecx, dword [esi + 8]
jne 0x4398e5
push ecx
mov ecx, esi
call fcn.00409780
mov eax, dword [esi + 4]
test eax, eax
je 0x4398f1
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
inc edi
add dword [esi + 4], 4
add ecx, 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
cmp edi, dword [ebx + 0xb4]
jb 0x439880
lea esi, [ebx + 0x10c]
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x439955
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebx + 0x9c]
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x439970
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xbc]
sub eax, dword [esi + 0xb8]
sar eax, 2
test eax, eax
je 0x4399c4
push ebx
nop dword [eax]
cmp byte [ebp + 8], 0
mov eax, dword [esi + 0xb8]
mov ebx, dword [eax + edi*4]
je 0x4399a8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xbc]
inc edi
sub eax, dword [esi + 0xb8]
sar eax, 2
cmp edi, eax
jb 0x439990
pop ebx
mov eax, dword [esi + 0xb8]
pop edi
mov dword [esi + 0xbc], eax
pop esi
pop ebp
ret 4
Function at 0x43a010
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58352b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6039b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x238], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 4], edi
call fcn.00467340
mov esi, eax
mov dword [ebp - 0x23c], esi
test esi, esi
je 0x43a253
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], edi
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x234]
mov edi, dword [ebp - 0x238]
lea ecx, [edi + 0x84]
call fcn.004391f0
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push 0x2712
push esi
call fcn.004673a0
add esp, 0xc
push 0x43a280
push 0x4e2b
push esi
call fcn.004673a0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.004673a0
add esp, 0xc
push 0xf
push 0x5c
push esi
call fcn.004673a0
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, dword [ebx + 0x18]
push eax
push 0x15
push esi
call fcn.004673a0
add esp, 0xc
push 0xf
push 0xd
push esi
call fcn.004673a0
add esp, 0xc
push 0xf
push 0x4e
push esi
call fcn.004673a0
add esp, 0xc
push 1
push 0x34
push esi
call fcn.004673a0
add esp, 0xc
push 0x14
push 0x44
push esi
call fcn.004673a0
add esp, 0xc
lea ecx, [edi + 0x84]
push 5
push 0
push str.https
call fcn.0043ac20
test eax, eax
jne 0x43a165
push eax
push 0x40
push esi
call fcn.004673a0
add esp, 0xc
push 0
push 0x51
push esi
call fcn.004673a0
add esp, 0xc
mov eax, dword [edi + 0x134]
mov dword [ebx + 4], eax
xor eax, eax
mov ecx, dword [edi + 0x134]
shld eax, ecx, 0xa
push eax
shl ecx, 0xa
push ecx
push 0x75c2
push esi
call fcn.004673a0
push esi
call fcn.00467380
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x43a1c3
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0x200002
push esi
call fcn.00467320
add esp, 0xc
cmp dword [ebp - 0x238], 0xc8
je 0x43a1c3
mov dword [ebx + 0x18], edi
push 0x200
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00553bc0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov eax, dword [ebx + 0x18]
add eax, ecx
push dword [ebx + 0x14]
push eax
push ecx
push edi
push dword [ebx + 8]
lea eax, [ebp - 0x21c]
push str.curl
push 0x100
push eax
call fcn.00422eb0
add esp, 0x20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.00467300
mov eax, dword [ebp - 0x220]
add esp, 4
cmp eax, 0x10
jb 0x43a253
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00407800
jmp 0x43a253
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055042c
mov esp, ebp
pop ebp
ret 4
Function at 0x43a440
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5835a0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6039b0]
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
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x9c]
mov dword [esi + 0xd0], 0xffffffff
push edi
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043af20
push 0x60b090
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043aed0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43a4c6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407960
xor eax, eax
mov dword [ebp - 0x2c], 7
push edi
lea edx, [esi + 0x6c]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
call fcn.0043af20
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005676db
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x43a530
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407960
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x43a559
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407960
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.0055042c
mov esp, ebp
pop ebp
ret
Function at 0x43b310
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581cf8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6039b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x43b3d4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x43b3d4
push edi
call esi
test eax, eax
je 0x43b3d4
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43b374
push edi
call ebx
test eax, eax
jne 0x43b3d4
lea ecx, [ebp - 0x10]
call fcn.00407e00
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x5e9b14
push eax
call fcn.004063c0
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b3d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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 0x43b8b0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583790
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6039b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x18], edi
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
call fcn.00402a00
mov ecx, eax
test ecx, ecx
jne 0x43b8fe
push 0x80004005
call fcn.00402a80
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x43ba26
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ba23
push 0x5e021c
lea ecx, [ebp - 0x10]
call fcn.004116a0
mov byte [ebp - 4], 1
push 0
push dword [edi]
mov dword [ebp - 0x1c], 0x34
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43ba0e
push eax
call fcn.00550b1c
mov edi, eax
add esp, 4
test edi, edi
jne 0x43b9ae
push 0x5dfc54
mov ecx, ebx
call fcn.00407740
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b997
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x43ba47
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43ba03
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5e2b74
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43ba03
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.004063c0
add esp, 0x18
push 1
push edi
call fcn.00550b09
add esp, 8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407a70
add eax, 0x10
mov dword [ebx], eax
jmp 0x43b976
mov eax, dword [ebp - 0x14]
mov ecx, eax
call fcn.00407a70
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ba51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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
Function at 0x43bb10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43bb40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0055ed12
mov esi, eax
add esp, 4
test esi, esi
jne 0x43bb57
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43bb98
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5e2b74
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43bb98
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.00556b67
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bbb0
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43bd22
push edi
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 8]
push eax
push 0
push 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call edi
test al, al
je 0x43bc02
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, eax
push esi
push eax
call fcn.0055ed12
mov esi, eax
add esp, 4
test esi, esi
je 0x43bd1a
lea eax, [ebp - 8]
push eax
push esi
push 2
call edi
test al, al
je 0x43bd1a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x43bd11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43bd11
push dword [ebp - 0x10]
call fcn.0055ed12
mov edi, eax
add esp, 4
test edi, edi
je 0x43bd11
mov eax, dword [ebp - 0xc]
add eax, eax
push ebx
push eax
call fcn.0055ed12
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43bc9e
push esi
call fcn.00556b67
push edi
call fcn.00556b67
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x43bcf2
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x43bcf2
push dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x64
call fcn.00414190
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
push esi
call fcn.00556b67
push edi
call fcn.00556b67
push ebx
call fcn.00556b67
mov eax, dword [ebp - 0x14]
add esp, 0xc
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00556b67
add esp, 4
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43bd30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6039b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.00553bc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43bd83
push esi
mov ecx, 0xb
lea eax, [ebp - 0x214]
mov esi, str._system32Shell32.dll
lea edx, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0043bb10
add esp, 4
pop esi
test eax, eax
je 0x43bdda
cmp dword [ebp - 0x210], 0x60002
jb 0x43bdda
cmp dword [ebp - 0x214], 0x295a01c8
mov eax, 1
cmovae ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0055042c
mov esp, ebp
pop ebp
ret
Function at 0x43c2c0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f5410
push 0x554690
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6039b0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x43c459
test ebx, ebx
je 0x43c459
test edi, edi
je 0x43c459
xor esi, esi
mov byte [ebp - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x33], xmm0
mov dword [ebp - 0x2b], esi
mov word [ebp - 0x27], si
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0043c250
add esp, 8
test eax, eax
je 0x43c44e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x40]
call fcn.0043c1c0
add esp, 8
test eax, eax
je 0x43c44e
xor eax, eax
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x44], edi
mov cl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x43c396
xor bh, bh
jmp 0x43c39e
mov bh, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x43c3a7
xor bl, bl
jmp 0x43c3af
mov bl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
movzx edx, cl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + 0x5daa50]
mov esi, dword [ebp - 0x3c]
mov word [esi + edi*2], cx
movzx esi, bh
mov ecx, esi
shr ecx, 4
and edx, 3
shl edx, 4
or ecx, edx
movzx ecx, word [ecx*2 + 0x5daa50]
mov edx, dword [ebp - 0x3c]
mov word [edx + edi*2 + 2], cx
movzx edx, bl
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + 0x5daa50]
mov ebx, dword [ebp - 0x3c]
mov word [ebx + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + 0x5daa50]
mov word [ebx + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0x44], edi
cmp eax, 8
jb 0x43c385
mov dword [ebx + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43c45b
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43c45b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055042c
mov esp, ebp
pop ebp
ret