joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b1f60
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1008df10
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.100a0470
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b2004
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x100b2004
mov ecx, dword [ebp - 0x214]
push ecx
push str.CHttpDownloadImp::MoveDownloadFile_SHCreateDirectoryEx_failed__return:__d.
push 2
push 0x100d4bd8
call fcn.1006a644
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x100b2040
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
push eax
push str.CHttpDownloadImp::MoveDownloadFile__target:_s
push 2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadHttpDownloadHttpDownload.cpp
call fcn.1006a644
add esp, 0x10
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 8
Function at 0x100b25f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x100b2606
xor eax, eax
jmp 0x100b2749
mov dword [ebp - 8], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005ed50
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005edf0
push eax
lea ecx, [ebp - 0x14]
call fcn.1005ed20
movzx eax, al
test eax, eax
je 0x100b2689
lea ecx, [ebp - 0x38]
call fcn.1005ec40
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005f8c0
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 8], ecx
mov dword [ebp - 8], 0
jmp 0x100b2746
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.1005ed00
add eax, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
sub eax, dword [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jbe 0x100b273d
cmp dword [ebp - 0x18], 0x12c
jbe 0x100b273d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100b273d
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cvtsi2sd xmm0, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8e10]
divsd xmm0, qword [0x100f8d90]
movsd qword [ebp - 0x2c], xmm0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
sub edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
cvtsi2sd xmm0, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8e10]
divsd xmm0, qword [ebp - 0x2c]
call fcn.100ba4a1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x100b2746
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b32d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c443b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x230]
push eax
call fcn.100b34c0
add esp, 4
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push str.qmdl
lea ecx, [ebp - 0x230]
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x100b33a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10001e60
push eax
push str._sqmdl_u.tmp
push 0xffffffffffffffff
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.10001ea4
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100028b0
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10001f9a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x100b33f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c446b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b34c0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100027f0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.100027f4
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x100b3458
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.1000f5fe
push str.QMDownload
lea ecx, [ebp - 0x28]
call fcn.10005515
push 0
lea ecx, [ebp - 0x28]
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000288b
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f9a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x100b34c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1008df10
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.100028b0
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x100b3f80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100b3fd5
mov eax, 1
jmp 0x100b4020
cmp dword [ebp - 0x11c], 5
jne 0x100b400e
cmp dword [ebp - 0x118], 1
jne 0x100b3ff6
movzx edx, word [ebp - 0xc]
cmp edx, 1
jge 0x100b3ff6
xor eax, eax
jmp 0x100b4020
cmp dword [ebp - 0x118], 0
jne 0x100b400c
movzx eax, word [ebp - 0xc]
cmp eax, 3
jge 0x100b400c
xor eax, eax
jmp 0x100b4020
jmp 0x100b401b
cmp dword [ebp - 0x11c], 5
jae 0x100b401b
xor eax, eax
jmp 0x100b4020
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x100b4030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b40a0
cmp dword [ebp - 0x114], 6
jb 0x100b4099
cmp dword [ebp - 0x114], 6
jne 0x100b40a0
cmp dword [ebp - 0x110], 0
jne 0x100b40a0
mov eax, 1
jmp 0x100b40a2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x100b41f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100b4233
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100b421c
xor eax, eax
jmp 0x100b4284
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x100b41d0
push 0
push 0
call fcn.100963ac
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x100b427a
mov dword [ebp - 8], 1
jmp 0x100b4281
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x100b6c90
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0xffffffff
jne 0x100b6ca6
xor eax, eax
jmp 0x100b6d25
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100b6cbf
xor eax, eax
jmp 0x100b6d25
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x100b6ce3
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jne 0x100b6ce3
mov eax, 1
jmp 0x100b6d25
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jg 0x100b6d04
jl 0x100b6d00
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x1c]
jae 0x100b6d04
xor eax, eax
jmp 0x100b6d25
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.100b6bf0
test eax, eax
jne 0x100b6d18
xor eax, eax
jmp 0x100b6d25
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esp, ebp
pop ebp
ret 4

Function at 0x100b6d90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0xffffffff
jne 0x100b6da6
xor eax, eax
jmp 0x100b6ded
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100b6dbf
xor eax, eax
jmp 0x100b6ded
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jne 0x100b6de3
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0xc]
jne 0x100b6de3
mov dword [ebp - 8], 1
jmp 0x100b6dea
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x100b9ca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1010fcfc], 0
jne 0x100b9d55
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1008df10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
mov dword [0x1010fcfc], edx
cmp dword [0x1010fcfc], 0
je 0x100b9d41
mov dword [ebp - 0x218], 1
jmp 0x100b9d4b
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
jmp 0x100b9d5a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x401e6a
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 0xc]
push 4
push eax
push 8
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x401ebb
push eax
lea ecx, [ebp + 0xc]
push eax
push ecx
push eax
push eax
lea eax, [ebp - 0xc]
push 0xc
push eax
jmp loc.004124b0
leave
ret

Function at 0x402449
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x402462
push 1
pop eax
jmp 0x4024d7
mov eax, dword [0x408498]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4024d0
test eax, eax
je 0x402462
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x402462
mov eax, ebx
push 0
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4024d0
cmp eax, 0xffffffff
je 0x4024d0
add esi, eax
cmp esi, ebx
jb 0x402462
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop ebx
leave
ret

Function at 0x402c3a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402caf
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x402ca7
lea eax, [ebp - 0xc]
push 0xa
push eax
call fcn.00401bc2
pop ecx
lea eax, [ebp + 8]
pop ecx
push ebx
push eax
lea eax, [ebp - 0xc]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
dec edi
jne 0x402c85
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402f20
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.GetLastError
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.ExitProcess
push ebx
call esi
push eax
call edi
push str.GetCurrentThreadId
push ebx
call esi
push eax
call edi
push str.CreateMutexA
push ebx
call esi
push eax
call edi
push str.GetModuleFileNameA
push ebx
call esi
push eax
call edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push str.Sleep
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11c]
push 0x104
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [ebp - 8]
call fcn.00403005
test eax, eax
je 0x402fe7
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.Sertiey
push eax
mov dword [ebp - 0x14], 0x402cb3
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Framewordk_COMx_Suppogt
jmp loc.00412640

Function at 0x403005
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.RegCloseKey
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.RegOpenKeyExA
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push 0x40
mov dword [ebp - 0x30], eax
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], dl
mov byte [ebp - 0x24], 0x53
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x23], 0x59
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x65
jmp loc.004123e8
Function at 0x401010
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x5277e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x573804]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00403405
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401050
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
cmp dword [esi], 0
je 0x4010a2
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40108d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0x1d
push str._Initialize_the_YCC_library._n
lea ecx, [esp + 0x18]
call fcn.00401dc0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.00401330
mov ebx, eax
test ebx, ebx
je 0x401102
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4010ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, esi
call fcn.00401720
mov esi, eax
lea eax, [edi - 0x10]
test esi, esi
je 0x401070
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401150
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x5277b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x573804]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
call fcn.00403405
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40118d
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push 0x1d
push str._Initialize_the_YCC_library._n
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00401dc0
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x20]
call fcn.004015e0
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edi, edi
je 0x401209
test edx, edx
jg 0x4011f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
test edx, edx
jg 0x401217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x401230
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x5277b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x573804]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00403405
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40126f
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push 0x2a
push str._Check_the_brand_name_of_the_motherboard._n
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00401dc0
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi], 0
je 0x4012f1
mov eax, dword [edi + 4]
test eax, eax
je 0x4012f1
call eax
xor ecx, ecx
cmp al, 1
sete cl
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
or edx, 0xffffffff
mov edi, ecx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4012dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401315
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret