joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406e70
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push str.ldplayerAudio_start
push 0x40
lea edi, [esi + 0x40]
mov dword [edi], 0x65
push str.LDPlayerAudio::start
call fcn.00416200
add esp, 0xc
lea eax, [esi + 0xc4]
push 0x10
push eax
push 0
push 0x84
push edi
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_sendto]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x84
jne 0x406fa8
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0x10
push eax
lea eax, [esi + 0xc4]
push eax
push 0
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi], 0x65
jne 0x406f0a
mov dword [edi], 0x64
cmp byte [esi + 0xd8], 0
jne 0x406fbf
cmp eax, 8
jb 0x406f6c
cmp dword [ebp - 0x104], 0xc8
jne 0x406f60
mov eax, dword [ebp - 0x100]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x10c], eax
test ecx, ecx
je 0x406fd0
mov eax, dword [ecx]
lea edx, [ebp - 0x108]
push edx
lea edx, [ebp - 0x10c]
push edx
call dword [eax + 8]
jmp 0x406f83
call ebx
push eax
push str.LDPlayerAudio::readAudio_erro_1__d
push 0x5a
jmp 0x406f76
call ebx
push eax
push str.LDPlayerAudio::readAudio_erro_2__d
push 0x5e
push str.LDPlayerAudio::start
call fcn.00416200
add esp, 0x10
push 0x10
lea eax, [esi + 0xc4]
push eax
push 0
push 0x84
push edi
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0x84
je 0x406ed0
call ebx
push eax
push str.LDPlayerAudio::readAudio_3__d
push 0x62
push str.LDPlayerAudio::start
call fcn.00416200
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ef12
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x4074a0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0x10
lea edi, [esi + 0xc4]
push edi
push 0
push 0x9c
lea eax, [esi + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0x9c
jne 0x40754b
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0x10
push eax
push edi
push 0
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 4
jb 0x40753b
cmp dword [ebp - 0x104], 0xc8
jne 0x40752b
mov eax, dword [esi + 0xd4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LDPlayerReader::readPix_erro_1__d
push 0x4c
jmp 0x407559
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LDPlayerReader::readPix_erro_2__d
push 0x50
jmp 0x407559
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LDPlayerReader::readPix_3__d
push 0x55
push str.LDPlayerReader::readPix
call fcn.00416200
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.0041ef12
mov esp, ebp
pop ebp
ret
Function at 0x407580
Capabilities:
Hide graphical window
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c0], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x437140
push 0x67
push edi
call esi
push 0x64
push 0x437078
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00407750
push 0
push edi
push 0
push 0
push 0
push closesocket
push 0
push closesocket
push 0xcf0000
push 0x437140
push 0x437078
push 0
mov dword [0x437208], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x40772d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x238]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x407649
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], vtable.LDAVRecordImpl.0
call fcn.0041b120
xor eax, eax
mov dword [esp + 0x58], 7
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 2
call fcn.004032f0
push ebx
lea ecx, [esp + 0x34]
call fcn.00405240
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4076ed
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4076dc
lea eax, [esp + 0x14]
push eax
call esi
lea eax, [esp + 0x14]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x4076b7
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
call fcn.004051c0
cmp dword [esp + 0x58], 8
jb 0x407714
push dword [esp + 0x44]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x3cc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a960
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4204e6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x40aa09
jmp 0x40aa00
add eax, 2
cmp word [eax], 0
jne 0x40aa00
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040a6b0
push str.leidian64_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x43820c
call fcn.0040cf10
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x40aa53
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x43820c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret 4

Function at 0x40ab20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42054b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x438228
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x43823c], 7
mov dword [0x438238], 0
mov word [0x438228], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x40abca
add eax, 2
cmp word [eax], 0
jne 0x40abc1
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x438228
push eax
call fcn.0040a6b0
mov eax, 0x438228
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret 4
Function at 0x40b200
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4206c7
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x40b2a9
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x40b2a0
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a6b0
push str.lddownloader_
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.0040cf10
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040adb0
cmp dword [ebp - 0x234], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x40b301
push dword [ebp - 0x248]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x40b332
push dword [ebp - 0x230]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x40b36f
add eax, 2
cmp word [eax], 0
jne 0x40b366
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a6b0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x230]
push str.lddownloaderlddownloader.log
call fcn.0040cf10
add esp, 4
mov ecx, edi
call fcn.0040ae50
add esp, 0x18
cmp dword [ebp - 0x21c], 8
jb 0x40b3bf
push dword [ebp - 0x230]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret
Function at 0x40fac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421348
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x40fc47
cmp byte [edi + 0x45], 0
je 0x40fc47
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40fb20
xor al, al
jmp 0x40fc49
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00410c00
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x40fb7f
dec eax
je 0x40fb83
sub eax, 2
je 0x40fc2d
xor bl, bl
jmp 0x40fc2f
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub esi, eax
je 0x40fbbb
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x40fb78
cmp byte [edi + 0x45], 0
je 0x40fc2d
test esi, esi
jne 0x40fb34
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x40fc22
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00408d20
test al, al
je 0x40fb34
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
cmovae ecx, dword [esp + 0x18]
movq qword [ecx + eax], xmm0
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], esi
cmovae eax, dword [esp + 0x18]
mov byte [eax + esi], 0
jmp 0x40fb34
push str.string_too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x40fc43
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x40fc49
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041ef12
mov esp, ebp
pop ebp
ret
Function at 0x410ea0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42153a
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00411cd0
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00411c90
mov dword [edi + 8], eax
push 0
mov byte [ebp - 4], 1
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00411c90
mov dword [edi + 0x10], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov dword [edi + 0x5c], 7
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
mov dword [edi + 0x74], 7
mov dword [edi + 0x70], eax
mov word [edi + 0x60], ax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00410fa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4160d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4160e4
xor al, al
jmp 0x416129
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4161d0
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x416130
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x416185
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x102
jne 0x41616e
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
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 eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4161a6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x4161c6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x417fc0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405000
push eax
mov ecx, dword [ebp + 8]
call fcn.00405000
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x417fe8
mov al, 1
jmp 0x418024
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00405000
push eax
mov ecx, dword [ebp + 8]
call fcn.00405000
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xf9
push str.utility::ufile::moveFile
call fcn.00416200
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41b480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x41b4bd
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x41b660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x41b4cf
mov dword [ebp - 8], 1
jmp 0x41b4d6
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x401546
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x448108
push 1
push 0
push 0x4480f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x401646
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x50]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 0x1c]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 0x24]
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 0x3c]
mov ecx, dword [ebp + 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 0x44]
lea eax, [ebp - 0xc]
push eax
push 0x448118
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40163a
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
call dword [edx + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x401655
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
push 0x44a1ac
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4016ba
xor al, al
jmp 0x401731
mov dword [ebp - 0x110], 0x100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401705
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x401731
lea ecx, [ebp - 0x10c]
push ecx
push 0x44a1b4
call fcn.0041c700
add esp, 8
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 8], al
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x401735
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
push 0x44a1c4
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40179a
xor al, al
jmp 0x401811
mov dword [ebp - 0x110], 0x100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4017e5
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x401811
lea ecx, [ebp - 0x10c]
push ecx
push 0x44a1d4
call fcn.0041c700
add esp, 8
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 8], al
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x401815
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push 0x44a1e4
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40187a
xor al, al
jmp 0x4018f1
mov dword [ebp - 0x210], 0x200
mov dword [ebp - 4], 0x44a214
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4018c5
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4018f1
lea ecx, [ebp - 0x20c]
push ecx
push 0x44a220
call fcn.0041c700
add esp, 8
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 8], al
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret