joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424878
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x42a8e0
call fcn.00424d1c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4248b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4248b3
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4248cb
cmp eax, 0x20b
je 0x4248b8
mov dword [ebp - 0x1c], edi
jmp 0x4248df
cmp dword [ecx + 0x84], 0xe
jbe 0x4248b3
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4248d9
cmp dword [ecx + 0x74], 0xe
jbe 0x4248b3
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x42d4b8], 0xffffffff
or dword [0x42d4bc], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x42d4b0]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x42d4ac]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x42d4b4], eax
call fcn.00424d91
call fcn.00424e46
cmp dword [0x42c350], edi
jne 0x42493f
push fcn.00424e46
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00424e2f
push 0x42c024
push 0x42c020
call sub.MSVCR71.dll__initterm
push 0x424dda
call fcn.00424add
mov eax, dword [0x42d4a8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x42d4a4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x34], eax
cmp eax, edi
jge 0x424993
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x42c01c
push section..data
call sub.MSVCR71.dll__initterm
call dword [sym.imp.MSVCR71.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00416c20
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x4249cf
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x424a04
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00424d57
ret
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push 0x208
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00412210
push 0x1e3
push 5
push str._04d._03dU
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.0040b1bf
add esp, 0x20
lea eax, [esp + 4]
push eax
push str.SOFTWARERISINGilc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40109d
mov eax, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401092
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040b1b0
add esp, 0x218
ret

Function at 0x4010c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push 0x208
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00412210
mov edx, dword [esp + 0x230]
mov eax, dword [esp + 0x22c]
push edx
push eax
push str._04d._03dS
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.0040b1bf
mov edx, dword [esp + 0x248]
add esp, 0x20
lea eax, [esp + 4]
push eax
push str.SOFTWARERISINGilc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x401169
mov eax, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40115e
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040b1b0
add esp, 0x218
ret
Function at 0x401190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
push 0x1a
push 1
push 1
push str._d._d._d
mov esi, ecx
xor edi, edi
call fcn.004045f0
add esp, 0x10
test esi, esi
je 0x4012e3
lea eax, [esp + 0xc]
push eax
push 1
push edi
push str.SOFTWARERisingRAV
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401216
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x29
push 1
call fcn.004010c0
add esp, 0xc
push esi
push 0x2d
push 1
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
jmp 0x4012f9
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
mov word [esp + 0x24], cx
call fcn.00412210
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.installpath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40128f
push 0x38
push 1
push 1
push str._d._d._d
call fcn.004045f0
lea ecx, [esp + 0x28]
push ecx
push 0x104
push esi
call fcn.0040b1e8
add esp, 0x1c
mov edi, 1
jmp 0x4012bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x41
push 1
call fcn.004010c0
add esp, 0xc
push esi
push 0x45
push 1
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4012ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x224
ret
push 0x1f
push 1
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040b1b0
add esp, 0x224
ret
Function at 0x401320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
push 0x58
push 2
push 1
push str._d._d._d
mov esi, ecx
xor edi, edi
call fcn.004045f0
add esp, 0x10
test esi, esi
je 0x401475
lea eax, [esp + 8]
push eax
push 1
push edi
push str.SOFTWARERisingRAV
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4013a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x67
push 2
call fcn.004010c0
add esp, 0xc
push esi
push 0x6b
push 2
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
jmp 0x40148b
push 0x103
lea ecx, [esp + 0x19]
push 0
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x104
mov byte [esp + 0x20], 0
call fcn.00412210
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x42318c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40141e
push 0x76
push 2
push 1
push str._d._d._d
call fcn.004045f0
lea eax, [esp + 0x24]
push eax
push 0x104
push esi
call fcn.0040b257
add esp, 0x1c
mov edi, 1
jmp 0x40144d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x7f
push 2
call fcn.004010c0
add esp, 0xc
push esi
push 0x83
push 2
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
mov eax, dword [esp + 8]
test eax, eax
je 0x40145c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x11c
ret
push 0x5d
push 2
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
mov ecx, dword [esp + 0x120]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040b1b0
add esp, 0x11c
ret
Function at 0x4014b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
xor ebx, ebx
push esi
mov esi, edx
test eax, eax
je 0x40160a
test esi, esi
je 0x40160a
test edi, edi
je 0x40160a
lea edx, [esp + 0xc]
push edx
push 1
push ebx
push eax
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401538
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xa9
push 3
call fcn.004010c0
add esp, 0xc
push esi
push 0xad
push 3
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
jmp 0x401623
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
mov word [esp + 0x24], ax
call fcn.00412210
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4015b0
push 0xb8
push 3
push 1
push str._d._d._d
call fcn.004045f0
lea eax, [esp + 0x28]
push eax
push 0x104
push edi
call fcn.0040b1e8
add esp, 0x1c
mov ebx, 1
jmp 0x4015e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xc1
push 3
call fcn.004010c0
add esp, 0xc
push esi
push 0xc5
push 3
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4015f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x220
ret
push 0x9f
push 3
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040b1b0
add esp, 0x220
ret
Function at 0x401640
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov esi, eax
xor edi, edi
test esi, esi
je 0x401741
lea eax, [esp + 8]
push eax
push 2
push edi
push str.SOFTWARERisinglockie
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4016a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xea
push 4
call fcn.004010c0
add esp, 0xc
push esi
push 0xee
push 4
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov eax, esi
lea edx, [eax + 2]
jmp 0x4016b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4016b0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 8]
push edx
push esi
push 1
push 0
push str.exectime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4016fa
push pe_nt_image_headers32
push 4
push 1
push str._d._d._d
call fcn.004045f0
add esp, 0x10
mov edi, 1
jmp 0x40172c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xff
push 4
call fcn.004010c0
add esp, 0xc
push esi
push 0x103
push 4
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
mov eax, dword [esp + 8]
test eax, eax
je 0x40173b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ecx
ret
push 0xe0
push 4
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x4020f0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x1c
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
push esi
push edi
push 0x314
push 5
push 1
push str._d._d._d
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
xor esi, esi
call fcn.004045f0
add esp, 0x10
push esi
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x402166
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x31f
push 5
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x1c
ret
push edi
call fcn.0040b491
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x402195
push 0x327
push 5
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
xor edi, edi
jmp 0x402275
push ebp
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x4021cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x333
push 5
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
jmp 0x402275
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
push 0x423640
push ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, edi
jne 0x402211
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x341
push 5
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
jmp 0x402275
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, edi
je 0x402222
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40222f
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push str.VarFileInfoTranslation
push ebp
mov dword [esp + 0x28], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, edi
jne 0x402270
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x35b
push 5
push 0x1000
push str._d._d._d._d
call fcn.004045f0
add esp, 0x14
jmp 0x402275
mov esi, 1
cmp ebp, edi
je 0x402282
push ebp
call fcn.0040b55b
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0040b1b0
add esp, 0x1c
ret
Function at 0x402930
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push esi
push edi
mov esi, eax
xor eax, eax
push 0x40
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x14], 0
call fcn.00412210
add esp, 0xc
push 0x479
push 0x64
mov ecx, 5
push 1
push str._d._d._d
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 1
mov word [esp + 0x58], cx
call fcn.004045f0
add esp, 0x10
test esi, esi
je 0x402a1c
push 0x482
push 0x64
push 1
push str._d._d._d
call fcn.004045f0
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402a03
push 0x491
push 0x64
push 0x10
push str._d._d._d
call fcn.004045f0
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
add esp, 0x10
push ecx
call edi
push esi
call edi
mov eax, 1
pop edi
pop esi
add esp, 0x5c
ret
push 0x49c
push 0x64
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x5c
ret
Function at 0x403590
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
push 0x3d
push 0xb
push 1
push str._d._d._d
call fcn.004045f0
add esp, 0x10
lea eax, [esp + 8]
push eax
push 0x423644
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4035d8
push 0x45
push 0xb
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
xor eax, eax
add esp, 0x24
ret
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x20
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40362c
push 0x52
push 0xb
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
xor eax, eax
add esp, 0x24
ret
mov edx, dword [esp + 4]
push 0
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x403664
push 0x5c
push 0xb
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret

Function at 0x403740
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
sub esp, 8
push ebp
push esi
push edi
push 0xe3
push 0xc
push 1
push str._d._d._d
mov edi, eax
call fcn.004045f0
add esp, 0x10
test edi, edi
je 0x40379c
test ebx, ebx
je 0x40379c
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x42367c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x4037a5
push 0xf3
push 0xc
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 8
ret
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4037b0
sub eax, edx
push 4
sar eax, 1
push 0x1000
lea eax, [eax + eax + 2]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x4037e1
push 0xfc
jmp 0x403788
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4037e6
sub eax, edx
push 0
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push esi
push ebp
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
jne 0x403837
push 0x108
push 0xc
push 0x1000
push str._d._d._d
call fcn.004045f0
add esp, 0x10
jmp 0x403852
lea edx, [esp + 0x10]
push edx
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [esp + 0x10], 0
je 0x40379c
push 0x11e
push 0xc
push 0x10
push str._d._d._d
call fcn.004045f0
mov eax, dword [esp + 0x20]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x403890
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareTencentQQBrowserLaunch
push SysReAllocStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4038db
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push str.LaunchOpenPageType
push eax
push edx
mov dword [esp + 0x1c], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp]
test eax, eax
je 0x4038e9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
Function at 0x403df0
Capabilities:
Delete file
Get file size
Move file
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x298
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x294], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x20
push 4
push 0
push 3
push 0xc0000000
push 0x4295c0
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x403f9d
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0x80000
jbe 0x403f32
cmp eax, 0xffffffff
je 0x403f32
push esi
call ebp
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x9e]
push ecx
mov word [esp + 0xa0], ax
call fcn.00412210
add esp, 0xc
push 0x105
push 0x4295c0
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x94]
push 0x2e
push eax
call fcn.0040b6ae
add esp, 8
test eax, eax
je 0x403ea7
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x20a
lea eax, [esp + 0x94]
cmp word [eax], 0
je 0x403ec3
add eax, 2
sub ecx, 1
jne 0x403eb3
jmp 0x403ee6
test ecx, ecx
je 0x403ee6
mov eax, 0x20a
sub eax, ecx
mov edx, 0x20a
sub edx, eax
lea ecx, [esp + eax*2 + 0x94]
mov eax, str..2.dat
call fcn.00403480
push 0x80
lea edx, [esp + 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x94]
push ecx
push 0x4295c0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push 0x20
push 4
push 0
push 3
push 0xc0000000
push 0x4295c0
call edi
mov esi, eax
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 3
lea edx, [esp + 0x18]
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edx
call fcn.00404690
mov edx, dword [esp + 0x10]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f64
push 0
lea ecx, [esp + 0x10]
push ecx
sub eax, edi
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
cmp eax, edx
je 0x403f92
push eax
call fcn.0040b55b
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call ebp
pop ebp
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
xor ecx, esp
call fcn.0040b1b0
add esp, 0x298
ret
Function at 0x403fc0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x424
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x420], eax
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x222]
push ecx
xor edi, edi
mov word [esp + 0x224], ax
call fcn.00412210
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.00412210
mov eax, dword [0x4297cc]
add esp, 0x18
test eax, eax
jne 0x404023
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4297cc], eax
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404176
push esi
push 0
lea edx, [esp + 0x14]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x40418e
push ebp
push esi
call fcn.0040b491
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40415c
push ebp
push esi
push 0
lea eax, [esp + 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x404139
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x423640
push ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, edi
je 0x404139
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._d._d._d._d
mov eax, 0x105
lea edi, [esp + 0x234]
call fcn.00403530
add esp, 0x14
mov ecx, 0x104
mov eax, ebx
cmp word [eax], 0
je 0x4040f2
add eax, 2
sub ecx, 1
jne 0x4040e2
jmp 0x404134
test ecx, ecx
je 0x404134
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea eax, [ebx + eax*2]
je 0x404134
lea esi, [esp + 0x220]
sub esi, eax
movzx ecx, word [esi + eax]
test cx, cx
je 0x404128
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404112
jmp 0x40412c
test edx, edx
jne 0x40412f
sub eax, 2
xor edx, edx
mov word [eax], dx
mov esi, 1
push ebp
call fcn.0040b55b
add esp, 4
pop ebp
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x424
ret
pop ebp
pop esi
mov eax, edi
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x424
ret
mov eax, edi
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x424
ret
mov ecx, dword [esp + 0x428]
pop esi
mov eax, edi
pop edi
xor ecx, esp
call fcn.0040b1b0
add esp, 0x424
ret