joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452f00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452f17
add esp, 0xfffffff0
call fcn.0040387c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b88c
mov eax, dword [0x4744b8]
cmp word [eax + 2], 0
jne 0x452f3f
mov eax, dword [0x4744b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004545c4
mov eax, dword [0x474544]
cmp word [eax + 2], 0
jne 0x452f59
mov eax, dword [0x474544]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004547bc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4118ec]
call fcn.004034e8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4118ec]
call fcn.004034e8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41dce4]
call fcn.00425360
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4530e0
mov eax, dword [0x4743fc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425730
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454d2c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4743fc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ab20
test eax, eax
je 0x45304e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004089e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ab48
test eax, eax
je 0x453062
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044ec
mov eax, dword [0x474308]
cmp byte [eax], 0
jne 0x453096
mov eax, ebx
call fcn.00453208
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454f08
mov eax, ebx
call fcn.00455848
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4530d6
call fcn.004038d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45347c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x475c28]
cmp dword [eax + 0x30], 0
je 0x453526
cmp dword [ebx + 0x94], 0
jne 0x453520
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45340c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453520
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4534e6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453520
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413f8c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4534f5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454004
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454039
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404374
jmp 0x454046
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4550e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455125
mov eax, esi
call fcn.0043b658
test al, al
je 0x455125
mov eax, dword [ebx + 0x84]
call fcn.0043b354
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455125
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b354
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ad60
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45ad8e
mov eax, ebx
call fcn.0045b818
cmp dword [ebx + 0x3c], 0
je 0x45ad87
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45adff
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x45adf1
cmp dword [ebx + 8], 0
je 0x45adb0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x45adc2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45adf1
cmp dword [ebx + 8], 0
je 0x45ada3
cmp eax, 3
je 0x45add5
dec eax
jne 0x45ada3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45ada3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x45ada3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45ae1d
cmp dword [ebx + 0x10], 0xcc
je 0x45ae1d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045ae28
pop ebx
ret
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x425074]
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.00411980
push 0x1e3
push 5
push str._04d._03dU
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.0040a92f
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.0040a920
add esp, 0x218
ret

Function at 0x4010c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x425074]
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.00411980
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.0040a92f
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.0040a920
add esp, 0x218
ret
Function at 0x401190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x425074]
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.00403d60
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.00403d60
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.00411980
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.00403d60
lea ecx, [esp + 0x28]
push ecx
push 0x104
push esi
call fcn.0040a958
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.00403d60
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.0040a920
add esp, 0x224
ret
push 0x1f
push 1
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040a920
add esp, 0x224
ret
Function at 0x401320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x425074]
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.00403d60
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.00403d60
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.00411980
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 0x42215c
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.00403d60
lea eax, [esp + 0x24]
push eax
push 0x104
push esi
call fcn.0040a9c7
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.00403d60
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.0040a920
add esp, 0x11c
ret
push 0x5d
push 2
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
mov ecx, dword [esp + 0x120]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040a920
add esp, 0x11c
ret
Function at 0x4014b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x425074]
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.00403d60
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.00411980
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.00403d60
lea eax, [esp + 0x28]
push eax
push 0x104
push edi
call fcn.0040a958
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.00403d60
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.0040a920
add esp, 0x220
ret
push 0x9f
push 3
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040a920
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.00403d60
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 0xf8
push 4
push 1
push str._d._d._d
call fcn.00403d60
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.00403d60
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.00403d60
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 [0x425074]
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.00403d60
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.00403d60
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040a920
add esp, 0x1c
ret
push edi
call fcn.0040ac01
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x402195
push 0x327
push 5
push 0x1000
push str._d._d._d
call fcn.00403d60
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.00403d60
add esp, 0x14
jmp 0x402275
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4225d8
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.00403d60
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.00403d60
add esp, 0x14
jmp 0x402275
mov esi, 1
cmp ebp, edi
je 0x402282
push ebp
call fcn.0040accb
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0040a920
add esp, 0x1c
ret
Function at 0x4023d0
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.00411980
add esp, 0xc
push 0x3dc
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.00403d60
add esp, 0x10
test esi, esi
je 0x4024bc
push 0x3e5
push 0x64
push 1
push str._d._d._d
call fcn.00403d60
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 0x4024a3
push 0x3f4
push 0x64
push 0x10
push str._d._d._d
call fcn.00403d60
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 0x3ff
push 0x64
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x5c
ret
Function at 0x403000
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 0x40304b
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 0x403059
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
Function at 0x403560
Capabilities:
Delete file
Get file size
Move file
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x298
mov eax, dword [0x425074]
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 0x4275c0
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x40370d
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 0x4036a2
cmp eax, 0xffffffff
je 0x4036a2
push esi
call ebp
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x9e]
push ecx
mov word [esp + 0xa0], ax
call fcn.00411980
add esp, 0xc
push 0x105
push 0x4275c0
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x94]
push 0x2e
push eax
call fcn.0040ae1e
add esp, 8
test eax, eax
je 0x403617
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x20a
lea eax, [esp + 0x94]
cmp word [eax], 0
je 0x403633
add eax, 2
sub ecx, 1
jne 0x403623
jmp 0x403656
test ecx, ecx
je 0x403656
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.00402ee0
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 0x4275c0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push 0x20
push 4
push 0
push 3
push 0xc0000000
push 0x4275c0
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.00403e20
mov edx, dword [esp + 0x10]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4036d4
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 0x403702
push eax
call fcn.0040accb
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.0040a920
add esp, 0x298
ret
Function at 0x403730
Capabilities:
Get file version info

Disassembly:
sub esp, 0x424
mov eax, dword [0x425074]
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.00411980
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.00411980
mov eax, dword [0x4277cc]
add esp, 0x18
test eax, eax
jne 0x403793
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4277cc], eax
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4038e6
push esi
push 0
lea edx, [esp + 0x14]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x4038fe
push ebp
push esi
call fcn.0040ac01
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4038cc
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 0x4038a9
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x4225d8
push ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, edi
je 0x4038a9
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.00402f90
add esp, 0x14
mov ecx, 0x104
mov eax, ebx
cmp word [eax], 0
je 0x403862
add eax, 2
sub ecx, 1
jne 0x403852
jmp 0x4038a4
test ecx, ecx
je 0x4038a4
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea eax, [ebx + eax*2]
je 0x4038a4
lea esi, [esp + 0x220]
sub esi, eax
movzx ecx, word [esi + eax]
test cx, cx
je 0x403898
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x403882
jmp 0x40389c
test edx, edx
jne 0x40389f
sub eax, 2
xor edx, edx
mov word [eax], dx
mov esi, 1
push ebp
call fcn.0040accb
add esp, 4
pop ebp
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040a920
add esp, 0x424
ret
pop ebp
pop esi
mov eax, edi
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040a920
add esp, 0x424
ret
mov eax, edi
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040a920
add esp, 0x424
ret
mov ecx, dword [esp + 0x428]
pop esi
mov eax, edi
pop edi
xor ecx, esp
call fcn.0040a920
add esp, 0x424
ret