joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446d5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446df7
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push 0x45bd14
push dword [ebp - 4]
call esi
test eax, eax
jne 0x446dee
inc dword [ebp - 8]
push dword [ebp - 8]
call fcn.0042c877
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x446dee
lea eax, [ebp - 8]
push eax
push ebx
push edi
push edi
push str.ProgramW6432Dir
push dword [ebp - 4]
call esi
test eax, eax
je 0x446ddb
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0042d85a
pop ecx
mov eax, edi
jmp 0x446dfa
push ebx
push 0x104
push dword [ebp + 8]
call fcn.0042d016
add esp, 0xc
jmp 0x446dc7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x446e49
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call fcn.0042f410
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.0042cac7
leave
ret
Function at 0x446fa8
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x44ed7f
call fcn.0042fb3d
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp]
push ecx
mov esi, 0x104
push esi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, ebx
jne 0x447011
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x447007
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x4470bc
lea eax, [ebp - 0x10]
push eax
push 0x4524f0
push 1
push ebx
push 0x452520
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x4470a9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x447049
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x45cd4c
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
lea edx, [ebp]
push edx
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
jl 0x447099
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x45bc1c
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, ebx
jl 0x447099
push esi
push dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push esi
push eax
call fcn.0042de44
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0x10
push 1
lea edx, [ebp + 0x208]
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4470a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4470ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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 + 0x410]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x414
leave
ret 4
Function at 0x4470ee
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
xor edi, edi
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.0042f410
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0042f410
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Softlink
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.SLDefault.xml
lea eax, [ebp - 0x20c]
push eax
call esi
cmp dword [0x466818], 8
mov ecx, dword [0x466804]
jae 0x447191
mov ecx, 0x466804
lea edx, [ebp - 0x414]
movzx eax, word [ecx]
inc ecx
mov word [edx], ax
inc ecx
inc edx
inc edx
cmp ax, di
jne 0x447197
push str.Softlink.xml
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4471da
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042cac7
leave
ret
Function at 0x447418
Capabilities:
Get common file path
Get program files directory
Hide graphical window

Disassembly:
sub esp, 0x414
mov eax, dword [0x4650e0]
xor eax, esp
mov dword [esp + 0x410], eax
cmp dword [0x466888], 8
mov eax, dword [0x466874]
push ebx
push ebp
push esi
push edi
mov edi, ecx
jae 0x447445
mov eax, 0x466874
push eax
push 0x410
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [edi + 4]
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ebx, 0x3ee
push ebx
push dword [edi + 4]
call ebp
push 0
push eax
call esi
push ebx
push dword [edi + 4]
call ebp
push 0x64
xor ebx, ebx
push ebx
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
mov esi, 0x3ec
push esi
push dword [edi + 4]
call ebp
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
push ebx
push ebx
lea ebx, [esp + 0x220]
call fcn.0044d491
cmp eax, 1
jne 0x447530
xor eax, eax
push 0x206
mov word [esp + 0x14], ax
xor esi, esi
lea eax, [esp + 0x16]
push esi
push eax
call fcn.0042f410
add esp, 0xc
cmp dword [edi + 0x58], esi
je 0x4474ec
lea eax, [esp + 0x10]
push eax
call fcn.00446d5f
test eax, eax
je 0x4474fb
push esi
push 0x26
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x15
pop esi
call fcn.00444750
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3ed
push dword [edi + 4]
call ebp
push 1
jmp 0x447557
lea eax, [esp + 0x218]
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push dword [edi + 4]
call ebp
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push esi
push dword [edi + 4]
call ebp
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [edi + 0x58], 1
sete al
mov byte [0x46a2a2], al
call fcn.00447212
push 0xca
push dword [0x467410]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov ecx, dword [esp + 0x420]
mov dword [edi + 0x60], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0042cac7
add esp, 0x414
ret
Function at 0x44759e
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x44ef34
call fcn.0042fb3d
mov esi, ecx
cmp word [esi], 0
je 0x44763e
push 0x5c
push esi
call fcn.0042dae9
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x44763e
mov edi, ebx
sub edi, esi
sar edi, 1
push esi
inc edi
lea esi, [ebp - 0x14]
call fcn.00404029
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x447636
cmp eax, 5
je 0x447636
add ebx, 2
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00401015
push str._:____
push dword [ebp - 0x10]
call fcn.0042dfd8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x447616
or esi, 0xffffffff
jmp 0x44761c
sub eax, ecx
sar eax, 1
mov esi, eax
lea eax, [ecx - 0x10]
call fcn.004015fa
lea eax, [edi - 0x10]
call fcn.004015fa
xor eax, eax
cmp esi, 0xffffffff
sete al
jmp 0x447640
lea eax, [edi - 0x10]
call fcn.004015fa
xor eax, eax
call fcn.0042fc15
ret
Function at 0x44af91
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0042f410
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x40
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
test esi, esi
je 0x44affd
test edi, edi
je 0x44affd
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x44affd
and dword [esi], eax
mov eax, edi
pop edi
leave
ret

Function at 0x44b1c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push ebx
push esi
xor esi, esi
push esi
push esi
lea ebx, [ebp - 0x44]
call fcn.0044d491
test eax, eax
jne 0x44b240
push 0x45be10
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b240
push 0x38
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0042f410
mov eax, ebx
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov ecx, dword [ebp + 0x1c4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cac7
add ebp, 0x1c8
leave
ret
Function at 0x44b259
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push 2
mov edi, eax
lea edx, [eax + 2]
pop ebx
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x44b26c
sub eax, edx
sar eax, 1
push esi
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c877
lea ecx, [esi + esi + 2]
push ecx
push 0
push eax
mov dword [ebp - 8], eax
call fcn.0042f410
movzx ecx, word [edi]
add esp, 0x10
mov eax, edi
test cx, cx
je 0x44b2c3
movzx ecx, cx
cmp cx, 0x20
je 0x44b2c3
add eax, ebx
movzx ecx, word [eax]
test cx, cx
jne 0x44b2b3
sub eax, edi
sar eax, 1
push eax
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.0042da9f
add esp, 0xc
push 0x10
pop esi
call fcn.00444750
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x44b33a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x44b2fa
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
xor ebx, ebx
inc ebx
push ebx
push 0
push 0x45bd8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44b331
push edi
call fcn.0042d85a
pop ecx
pop edi
mov al, bl
pop ebx
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x44b324

Function at 0x44b6ee
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push eax
push 0x44b684
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x44d27f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4673ec]
push esi
push edi
mov ecx, 0x4673ec
call dword [eax + 0xc]
and dword [ebp - 0x230], 0
mov esi, eax
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
add esi, 0x10
call fcn.0042f410
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d2ed
xor edi, edi
lea eax, [esi - 0x10]
call fcn.004015fa
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042cac7
leave
ret
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x44d31e
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x228]
je 0x44d32b
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44d306
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d2d3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x218]
jmp 0x44d2d5

Function at 0x44d33a
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x44ef04
call fcn.0042fba6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [0x4673ec]
mov ecx, 0x4673ec
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x244], ebx
xor esi, esi
push 0x228
lea eax, [ebp - 0x238]
push esi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x23c], esi
call fcn.0042f410
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d3a7
lea eax, [ebx - 0x10]
call fcn.004015fa
mov eax, esi
call fcn.0042fc29
ret
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x44d3d8
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x234]
je 0x44d3e5
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44d3c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d397
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x240]
push 0x45b40c
call fcn.004061c2
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x44d397
Function at 0x44d40a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x10
pop esi
mov edi, eax
call fcn.00444750
xor ebx, ebx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44d440
xor eax, eax
inc eax
jmp 0x44d48c
cmp dword [edi + 0x18], 8
mov eax, dword [edi + 0x14]
jb 0x44d44e
mov ecx, dword [edi + 4]
jmp 0x44d451
lea ecx, [edi + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
push ecx
push 1
push ebx
push str.path
push dword [ebp - 4]
call esi
cmp dword [edi + 0x34], 8
mov eax, dword [edi + 0x30]
jb 0x44d476
mov edi, dword [edi + 0x20]
jmp 0x44d479
add edi, 0x20
add eax, eax
push eax
push edi
push 1
push ebx
push 0x45b46c
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44d491
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
push edi
push 0x10
pop esi
mov dword [ebp - 0x80], eax
call fcn.00444750
lea ecx, [ebp - 0x78]
push ecx
push 0x20019
xor esi, esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44d527
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp ebx, esi
je 0x44d582
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push 0x45b42c
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x208
call edi
test eax, eax
je 0x44d543
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0042cac7
add ebp, 0x198
leave
ret 8
lea eax, [ebp - 0x74]
push eax
push 0x104
push ebx
call fcn.0042d016
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d565
mov word [ebx], ax
jmp 0x44d51e
push 0x45b438
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d51e
cmp dword [ebp - 0x80], esi
je 0x44d5ae
mov eax, dword [ebp + 0x1a4]
cmp eax, esi
je 0x44d5ae
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
push esi
push esi
push 0x45b450
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x44d5ae
xor esi, esi
inc esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x44d52a
Function at 0x44d768
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push 0x40c
mov eax, 0x44ee38
call fcn.0042fb3d
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
push edi
push edi
call esi
push edi
push 0x8000000
push 3
push edi
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push eax
mov dword [ebp - 0x14], eax
call esi
mov ebx, eax
mov eax, dword [0x4673ec]
mov ecx, 0x4673ec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp ebx, edi
mov dword [ebp - 4], edi
jle 0x44d7f4
push ebx
lea esi, [ebp - 0x10]
call fcn.004015c9
cmp ebx, edi
mov edx, eax
jle 0x44d7ea
push 0x20
pop eax
mov edi, edx
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor edi, edi
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.004014e0
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.004015c9
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
push dword [esi - 8]
push esi
call fcn.0042da80
pop ecx
pop ecx
lea edx, [ebp - 0x10]
call fcn.004014e0
xor eax, eax
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x44d849
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x44d84b
shr ecx, 1
dec edx
jne 0x44d83a
mov dword [ebp + eax*4 - 0x418], ecx
inc eax
cmp eax, 0x100
jl 0x44d835
or dword [ebp - 0x10], 0xffffffff
mov eax, esi
jmp 0x44d885
movzx edx, byte [eax]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
xor ecx, edx
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x418]
dec ebx
mov dword [ebp - 0x10], edx
inc eax
cmp ebx, edi
jne 0x44d865
lea eax, [esi - 0x10]
call fcn.004015fa
mov eax, dword [ebp - 0x10]
not eax
call fcn.0042fc15
ret
Function at 0x4025b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x42c340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x439268]
push ebx
push ebp
push esi
push edi
push eax
push 1
push 0
lea ecx, [esp + 0x20]
call fcn.00424bb0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00423a28
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
push edi
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004240e1
mov ebp, dword [esp + 0x44]
mov ecx, esi
lea eax, [ebp - 2]
push eax
push ebx
mov dword [esp + 0x3c], eax
call fcn.0042412d
lea eax, [ebx + 2]
push ebp
push eax
mov ecx, esi
call fcn.0042412d
mov eax, dword [esp + 0x40]
push ebp
push eax
mov ecx, esi
call fcn.0042412d
mov ecx, dword [esp + 0x40]
push edi
push ecx
mov ecx, esi
call fcn.0042412d
push edi
push ebx
mov ecx, esi
call fcn.0042412d
lea eax, [ebx + 2]
push edi
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, esi
call fcn.004240e1
lea eax, [ebp - 5]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.0042412d
mov eax, dword [esp + 0x40]
lea ecx, [eax - 2]
lea eax, [ebp - 5]
push eax
push ecx
mov ecx, esi
call fcn.0042412d
mov ecx, dword [esp + 0x40]
push edi
lea eax, [ecx - 2]
mov ecx, esi
push eax
call fcn.0042412d
add ebp, 0xfffffffd
add ebx, 4
push ebp
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, esi
call fcn.004240e1
mov eax, dword [esp + 0x34]
mov ecx, esi
push eax
push ebx
call fcn.0042412d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
push edx
lea edi, [ecx - 4]
mov ecx, esi
push edi
call fcn.0042412d
push ebp
push edi
mov ecx, esi
call fcn.0042412d
push ebp
push ebx
mov ecx, esi
call fcn.0042412d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4026f1
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], vtable.CGdiObject.0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.00424b9a
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x402720
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x42c360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x43926c]
push ebx
push ebp
push esi
push edi
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
call fcn.00424bb0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.00423a28
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
push ebp
lea edx, [esp + 0x1c]
push edi
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004240e1
mov ebx, dword [esp + 0x40]
mov ecx, esi
push ebx
push edi
call fcn.0042412d
push ebx
mov ebx, dword [esp + 0x40]
push ebx
mov ecx, esi
call fcn.0042412d
push ebp
push ebx
mov ecx, esi
call fcn.0042412d
push ebp
push edi
mov ecx, esi
call fcn.0042412d
add ebp, 2
lea eax, [esp + 0x18]
push ebp
push edi
push eax
mov ecx, esi
call fcn.004240e1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
mov ecx, esi
call fcn.0042412d
push ebp
lea edx, [esp + 0x1c]
push ebx
push edx
mov ecx, esi
call fcn.004240e1
mov eax, dword [esp + 0x40]
mov ecx, esi
push eax
push edi
call fcn.0042412d
push ebp
lea ecx, [esp + 0x38]
push ebx
push ecx
mov ecx, esi
call fcn.004240e1
push ebp
push edi
mov ecx, esi
call fcn.0042412d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x402810
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.00424b9a
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x403af0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403b13
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret