joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435100
Capabilities:
Query service status

Disassembly:
push 0xffffffffffffffff
push 0x575808
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x50], eax
jle 0x435231
mov dword [esp + 0x14], vtable.KService.0
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x4c]
push 4
push esi
mov dword [esp + 0x4c], esi
mov ebp, dword [eax + ebx*4]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x4351f8
push 4
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
je 0x4351f8
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
push esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x435245
cmp dword [esp + 0x24], 4
jne 0x435245
mov dword [esp + 0x44], 0xffffffff
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
mov dword [esp + 0x20], ebp
call esi
add ebx, 1
cmp ebx, dword [esp + 0x50]
mov dword [esp + 0x18], ebp
jl 0x43513d
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + ebx*4]
push 0xffffffffffffffff
push eax
push str.OpenService__s_fail:_d
mov ecx, 0x6180b8
mov ebp, 1
call fcn.00435a30
add esp, 0xc
test esi, esi
je 0x435224
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x43522f
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + ebx*4]
push edx
push str._s_Service_is_not_SERVICE_RUNNING:_d
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 8
cmp esi, ebp
je 0x43526a
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, ebp
je 0x435275
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x435290
Capabilities:
Check for time delay via gettickcount
Modify service
Query service status
Start service

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
xor eax, eax
push 0x1388
xor edi, edi
push esi
push str.KWifiService::StartService__s__WaitTime:_u
mov ecx, 0x6180b8
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], edi
xor ebp, ebp
call fcn.00435a30
add esp, 0xc
push 0x40000000
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x18], ebx
je 0x43541a
push 0xf003f
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x435408
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
lea eax, [esp + 0x10]
push eax
push ebp
push ebp
push esi
call edi
mov ecx, dword [esp + 0x10]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
push ebp
push esi
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
mov edi, 4
je 0x43536d
cmp dword [ebp + 4], edi
jne 0x43536d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x43538e
cmp dword [esp + 0x24], edi
jne 0x43538e
mov dword [esp + 0x14], edi
mov edi, 1
jmp 0x4353fd
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edi, eax
test edi, edi
jne 0x4353b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x4353fd
mov edi, 1
jmp 0x4353fd
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, eax
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0x24], 2
jne 0x4353ed
push 0x32
call ebp
call edi
sub eax, ebx
cmp eax, 0x1388
jb 0x4353c3
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x24], 4
sete al
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, dword [esp + 0x1c]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebp, ebp
je 0x43541a
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x435428
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
push edi
push edx
push str.KWifiService::StartService__s__Result:_d
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x435450
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
xor eax, eax
push edi
push ebp
xor esi, esi
push str.KWifiService::StopService__s
mov ecx, 0x6180b8
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00435a30
add esp, 8
push 0x40000000
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
je 0x43550b
push 0xf003f
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x435504
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4354cd
cmp eax, 1
je 0x4354f8
cmp eax, 3
je 0x4354f8
lea ecx, [esp + 0x10]
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov esi, eax
test esi, esi
je 0x4354fd
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x4354f8
cmp eax, 3
je 0x4354f8
xor esi, esi
jmp 0x4354fd
mov esi, 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push ebp
push str.KWifiService::StopService__s__Result:_d
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x435620
Capabilities:
Create thread

Disassembly:
sub esp, 0xec
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0xe8], eax
xor eax, eax
push ebx
push esi
xor ebx, ebx
push 0xc6
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2e]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0x14], bl
mov dword [esp + 0x28], ebx
mov word [esp + 0x34], bx
call sub.MSVCR80.dll_memset
push str.Chinese_simplified
push ebx
call dword [sym.imp.MSVCR80.dll_setlocale]
add esp, 0x14
cmp esi, ebx
jne 0x435691
xor eax, eax
jmp 0x4356a5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435696
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
mov eax, 0x6180cc
call fcn.00410570
call fcn.00435f40
push 1
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 8]
push 0x6180d0
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x2c]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 1
push 1
lea eax, [esp + 0x28]
push eax
call esi
push 0
push 0
push 1
push 0
mov dword [0x6180c0], eax
call esi
cmp dword [0x6180c0], 0
pop esi
mov dword [0x6180c4], eax
pop ebx
je 0x43577e
test eax, eax
je 0x43577e
push 0
push 0
push 0x6180b8
push 0x435c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x6180c8], eax
mov eax, ecx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00569ed6
add esp, 0xec
ret
mov ecx, dword [esp + 0xe8]
xor ecx, esp
xor eax, eax
call fcn.00569ed6
add esp, 0xec
ret

Function at 0x435ef0
Capabilities:
Get file size

Disassembly:
push esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x435f15
xor eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x435f28
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x435f40
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5746f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x6180cc]
push 0
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x435f83
call fcn.00436030
jmp 0x436010
mov eax, dword [0x6180cc]
call fcn.00435ef0
cmp eax, 0x100000
jb 0x436010
mov eax, dword [0x6180cc]
add eax, 0xfffffff0
call fcn.00410660
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x58f89c
lea esi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00436100
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [0x6180cc]
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
call fcn.00436030
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436010
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x436030
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x6180cc]
push esi
push 0x590520
push eax
call dword [sym.imp.MSVCR80.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x436070
push esi
push 2
lea ecx, [esp + 0xc]
push 1
push ecx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xfe
call dword [sym.imp.MSVCR80.dll_fwrite]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
pop esi
pop ecx
ret
Function at 0x4382a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56ef03
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
sub eax, 0x10
call fcn.00410660
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x10], 0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.00410660
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x10], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.00410660
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x439250
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x57b5c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.0043bcd0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, 0x5905f8
mov dword [esp + 0x30], esi
call fcn.0041a8a0
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4392cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43939c
call fcn.0043a120
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0x5905f8
call fcn.0041a8a0
mov esi, eax
xor edi, edi
lea ebx, [esp + 0x20]
mov byte [esp + 0x30], 1
call fcn.004125d0
push eax
lea eax, [esp + 0x20]
push eax
mov ebx, 0x590a28
mov byte [esp + 0x38], 2
call fcn.0041a8a0
mov byte [esp + 0x38], 3
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
mov eax, str._desktop
call fcn.004393e0
mov esi, eax
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43939c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4393c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4393e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0x586a50
xor ebx, ebx
push 1
push ebx
push 0x586a60
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x4394c9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebp
push eax
call edx
cmp edi, ebx
je 0x43943c
cmp word [edi], bx
je 0x43943c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov edi, 0xd
call fcn.0043b9f0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x1c]
push eax
push ecx
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 5
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x586a70
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4394ae
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setge al
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x4394e0
Capabilities:
Check if file exists
Check os version
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x575596
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x32c], eax
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x33c]
mov dword fs:[0], eax
mov eax, dword [0x619880]
xor esi, esi
cmp eax, esi
jne 0x43952e
call fcn.00418600
mov dword [0x619880], eax
cmp eax, 6
jne 0x439632
push 0x11c
lea eax, [esp + 0x18]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x439632
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call fcn.0040ff50
mov dword [esp + 0x344], esi
mov eax, dword [esp + 0x10]
push str.service_pack_2
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x439607
push 0x206
lea ecx, [esp + 0x136]
push esi
push ecx
mov word [esp + 0x13c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x25
lea edx, [esp + 0x138]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x439607
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x134]
call fcn.0040ff50
mov edx, str.wlanapi.dll
lea edi, [esp + 0xc]
mov byte [esp + 0x344], 1
call fcn.00410060
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4395fe
lea esi, [eax + 1]
lea ecx, [esp + 0xc]
call fcn.00410000
mov dword [esp + 0x344], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439632
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.00569ed6
add esp, 0x33c
ret
Function at 0x439660
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57d4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.0043bcd0
push eax
lea eax, [esp + 0x14]
push eax
mov ebx, str.Wi_Fi
mov dword [esp + 0x30], 0
call fcn.0041a8a0
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCR80.dll__waccess]
push 0
push eax
call esi
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4396de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439701
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x439779
lea ecx, [esp + 0x10]
call fcn.0043bcd0
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.Wi_Fi
mov dword [esp + 0x30], 1
call fcn.0041a8a0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439751
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439774
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00439250
lea ecx, [esp + 0x1c]
call fcn.0043bcd0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x5905f8
mov dword [esp + 0x30], 2
call fcn.0041a8a0
mov eax, dword [eax]
push 0
push eax
call esi
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
neg esi
sbb esi, esi
add eax, 0xfffffff0
add esi, 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4397cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4397ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x439810
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x579448
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.0043bcd0
push eax
lea eax, [esp + 0xc]
push eax
mov ebx, 0x5905f8
mov dword [esp + 0x20], 0
call fcn.0041a8a0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4398a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x14
ret

Function at 0x439e50
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebx, eax
push ebx
push edi
call ebp
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push edi
call ebp
pop edi
pop ebp
pop ebx
ret