joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4309a0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f059d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 1
push 0x543740
lea ecx, [ebp - 0x2c]
call fcn.00401700
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413fb0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00401700
mov dword [ebp - 0x60], eax
call fcn.00431b00
add esp, 0x1c
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x430acc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp + 0x24]
push eax
call fcn.00401700
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004144a0
add esp, 0x20
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
push 0x4fab68
lea ecx, [ebp - 0x48]
call fcn.00413520
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x48]
call fcn.00413fb0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x54], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x48]
push eax
call fcn.00401700
mov dword [ebp - 0x70], eax
push esi
call fcn.004142c0
add esp, 0x20
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
call fcn.00431d00
add esp, 0x1c
push 0
lea ecx, [ebp - 0x48]
call fcn.00401780
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401780
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx edx, byte [ebp + 0x40]
test edx, edx
je 0x430ac0
lea ecx, [ebp - 0x2c]
call fcn.00401780
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401740
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x431b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0688
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53fbb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401780
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x431b6a
mov eax, dword [ebp - 0x14]
and eax, 0x10
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov eax, dword [ebp - 0x1c]
jmp 0x431be3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
je 0x431bb3
cmp dword [ebp - 0x18], 3
je 0x431bb3
cmp dword [ebp - 0x18], 0x7b
je 0x431bb3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp + 8]
push edx
call fcn.00401700
mov dword [ebp - 0x28], eax
call fcn.00431c00
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x431bb3
mov dword [ebp - 0x30], 1
jmp 0x431bba
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov eax, dword [ebp - 0x20]
jmp 0x431be3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431d00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f06e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x53fbb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004017c0
test eax, eax
ja 0x431d57
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov eax, dword [ebp - 0x14]
jmp 0x431e66
lea ecx, [ebp + 8]
call fcn.004017c0
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.004295a0
movzx eax, word [eax]
cmp eax, 0x5c
jne 0x431d9d
lea ecx, [ebp + 8]
call fcn.004017c0
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.004295a0
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp + 8]
call fcn.00401780
push eax
lea ecx, [ebp + 8]
call fcn.00415130
lea ecx, [ebp + 8]
call fcn.004017c0
cmp eax, 3
jb 0x431dcf
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 8]
push edx
call fcn.00401700
mov dword [ebp - 0x2c], eax
call fcn.00431f00
add esp, 0x1c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x431dea
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov eax, dword [ebp - 0x1c]
jmp 0x431e66
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x24], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp + 8]
push eax
call fcn.00401700
mov dword [ebp - 0x34], eax
push esi
call fcn.00431e80
add esp, 0x20
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
call fcn.00431d00
add esp, 0x1c
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x431e47
push 0
lea ecx, [ebp + 8]
call fcn.00401780
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x431e47
mov dword [ebp - 0x44], 1
jmp 0x431e4e
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x431f00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0758
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x53fbb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401780
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x431f55
mov eax, dword [ebp - 0x14]
and eax, 0x10
je 0x431f55
mov dword [ebp - 0x1c], 1
jmp 0x431f5c
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f07bf
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.00491200
add esp, 0xc
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
call fcn.004016c0
mov byte [ebp - 4], 1
push 0x4fab94
lea ecx, [ebp - 0x240]
call fcn.00413520
push 0x4fab90
lea ecx, [ebp + 8]
call fcn.00401780
push eax
call fcn.00491ef3
add esp, 8
test eax, eax
je 0x432131
push 0x4fab8c
lea ecx, [ebp - 0x25c]
call fcn.004016c0
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2bc]
push edx
lea eax, [ebp + 8]
push eax
push 0x4fab8c
lea ecx, [ebp - 0x278]
call fcn.004016c0
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.00413fd0
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2cc]
push edx
lea eax, [ebp - 0x2b0]
push eax
call fcn.00413fd0
add esp, 0xc
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2d4]
push edx
lea ecx, [ebp + 8]
call fcn.00401760
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b0]
call fcn.00401740
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.00401740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00401740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00401740
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x43214b
push 0x4fab84
lea ecx, [ebp - 0x240]
call fcn.00413520
jmp 0x43215b
push str.__u
lea ecx, [ebp - 0x240]
call fcn.00413520
push 0x4fab6c
lea ecx, [ebp - 0x240]
call fcn.00413520
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00413fb0
lea edx, [ebp - 0x240]
push edx
call fcn.004321d0
add esp, 4
mov byte [ebp - 0x2b1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401740
mov al, byte [ebp - 0x2b1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret
Function at 0x4321d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f07fb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x53fbb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004324b0
movzx eax, al
test eax, eax
je 0x432283
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401700
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
call fcn.00432300
add esp, 0x20
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
call fcn.00403bb0
push eax
call fcn.00432830
add esp, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00403c40
cmp dword [ebp - 0x70], 0
je 0x432281
mov al, 1
jmp 0x4322ec
jmp 0x4322ea
push 0x44
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401780
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4322ea
push 0xdbba0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4322ec
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x432c30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x432c60
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x432d59
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x490
mov dword [ebp - 0x248], 0
push 0x228
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x432cec
push str.explorer.exe
lea eax, [ebp - 0x224]
push eax
call fcn.00497dc0
add esp, 8
test eax, eax
jne 0x432cd6
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
jmp 0x432cea
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x432cac
jmp 0x432cf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x432d21
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x432d59
mov eax, dword [ebp + 8]
push eax
push 0xf01ff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x432d4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret

Function at 0x432e90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x432eb1
or eax, 0xffffffff
jmp 0x432f4d
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x120], 0x114
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x432f06
cmp dword [ebp - 0x11c], 5
jne 0x432f06
cmp dword [ebp - 0x118], 0
jne 0x432f06
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x432f41
mov eax, dword [ebp + 8]
push eax
call fcn.00432d70
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x432f37
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432c30
add esp, 4
jmp 0x432f4d
mov eax, dword [ebp - 0x124]
jmp 0x432f4d
mov edx, dword [ebp + 8]
push edx
call fcn.00432c30
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret
Function at 0x432f60
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x432fcb
jmp 0x43305e
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x432ff2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x432ff2
jmp 0x43305e
mov ecx, dword [ebp - 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x433021
jmp 0x43305e
mov dword [ebp - 0x20], 0
jmp 0x433033
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx]
jae 0x43305e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x43305c
mov byte [ebp - 0x19], 1
jmp 0x43305e
jmp 0x43302a
cmp dword [ebp - 0x18], 0
je 0x43306e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], 0
je 0x43307e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret
Function at 0x433150
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4331e6
mov dword [ebp - 0x130], 0
push 0x110
push 0
lea edx, [ebp - 0x12c]
push edx
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4331d9
cmp dword [ebp - 0x12c], 6
jne 0x4331d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x433251
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
xor eax, eax
jmp 0x433251
mov dword [ebp - 4], 0x490
mov dword [ebp - 0x134], 0
jmp 0x433208
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 8]
jae 0x433245
mov ecx, dword [ebp - 0x134]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx + 8], 0
jne 0x433243
mov eax, dword [ebp - 0x134]
imul eax, eax, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax]
mov dword [ecx], eax
mov dword [ebp - 4], 0
jmp 0x433245
jmp 0x4331f9
mov ecx, dword [ebp - 0xc]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret

Function at 0x4337c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00491200
add esp, 0xc
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433838
mov eax, 1
jmp 0x433853
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret
Function at 0x4343b0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], vtable.CExtractOutFile.0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0xffffffff
je 0x4343f0
mov edx, dword [ebp - 0xc]
add edx, 0x14
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
je 0x434433
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x434433
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434433
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
je 0x43445b
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00490d06
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x434483
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.00490d06
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 0
mov esp, ebp
pop ebp
ret

Function at 0x4345d0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xffffffff
je 0x434615
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x43461a
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x434a50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x26c], ecx
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.00491200
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00491200
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea edx, [ebp - 0x210]
push edx
call fcn.00491b1c
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x268]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x434b17
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret 4

Function at 0x435720
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00491200
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43577b
xor eax, eax
jmp 0x435860
push 0x4fb150
push 0x4fb164
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4357a4
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x4357ae
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x140], 2
jne 0x43585d
cmp dword [ebp - 0x14c], 4
jbe 0x43585d
cmp dword [ebp - 0x14c], 6
jne 0x43580e
cmp dword [ebp - 0x148], 0
jne 0x4357ea
mov dword [ebp - 4], 4
jmp 0x43580c
cmp dword [ebp - 0x148], 1
jne 0x4357fc
mov dword [ebp - 4], 5
jmp 0x43580c
cmp dword [ebp - 0x148], 2
jne 0x43580c
mov dword [ebp - 4], 6
jmp 0x43585d
cmp dword [ebp - 0x14c], 5
jne 0x435829
cmp dword [ebp - 0x148], 2
jne 0x435829
mov dword [ebp - 4], 3
jmp 0x43585d
cmp dword [ebp - 0x14c], 5
jne 0x435844
cmp dword [ebp - 0x148], 1
jne 0x435844
mov dword [ebp - 4], 2
jmp 0x43585d
cmp dword [ebp - 0x14c], 5
jne 0x43585d
cmp dword [ebp - 0x148], 0
jne 0x43585d
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret