joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fe0
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x40
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x118]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
movzx ecx, word [ebp + eax*2 - 0x118]
test ecx, ecx
je 0x40803e
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x408018
mov dword [ebp - 0x10], 0x40
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
movzx eax, word [ebp + edx*2 - 0x90]
test eax, eax
je 0x40808c
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x408066
mov ecx, dword [ebp - 4]
push ecx
call fcn.004094f0
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0xa
jae 0x4080e4
lea edx, [ebp - 4]
push edx
call fcn.00409520
add esp, 4
cdq
mov ecx, 0x19
idiv ecx
add edx, 0x61
mov word [ebp - 0x94], dx
mov edx, dword [ebp + 8]
mov ax, word [ebp - 0x94]
mov word [edx], ax
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x40809f
mov esp, ebp
pop ebp
ret

Function at 0x408110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareUazi_Soft
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40816b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
push str.UaziVer
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x408170
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x400
call fcn.0040a350
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareUazi_Soft
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4081f1
mov dword [ebp - 0xc], 0x400
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push str.UaziVer
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.UaziVer
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x409670
Capabilities:
Hash data using crc32b
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0x4c11db7
push 0x400
push 0
push 0x411ed8
call fcn.0040a430
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4096a3
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xff
jg 0x409738
push 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409610
add esp, 8
shl eax, 0x18
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x411ed8], eax
mov dword [ebp - 8], 0
jmp 0x4096dd
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jge 0x409714
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x411ed8]
shl edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x411ed8]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0xc]
xor edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x411ed8], edx
jmp 0x4096d4
push 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x411ed8]
push edx
call fcn.00409610
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x411ed8], eax
jmp 0x40969a
mov esp, ebp
pop ebp
ret

Function at 0x409740
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x409785
mov edx, dword [ebp + 8]
mov eax, dword [edx]
shr eax, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 0xff
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx]
xor edx, ecx
xor eax, dword [edx*4 + 0x411ed8]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x409743
pop ebp
ret

Function at 0x409c30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x409cdd
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jbe 0x409cd3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, dword [ebp - 8]
push ecx
call fcn.0040a350
add esp, 4
mov dword [ebp - 4], eax
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x409cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x409d44
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x409db0
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
call fcn.0040a350
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5c
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040ab80
add esp, 8
mov edx, dword [ebp - 8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 8], eax
push 0x5c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409e72
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 0xc], cx
mov edx, dword [ebp - 8]
mov word [edx], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x409e66
mov ecx, dword [ebp - 8]
sub ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov word [edx], 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
mov word [ecx], 0x5c
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cx, word [ebp - 0xc]
mov word [eax], cx
jmp 0x409dfa
mov edx, dword [ebp - 4]
push edx
call fcn.0040a410
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x409f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, 5
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov byte [edx], 0xe9
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret
Function at 0x409ff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0x14
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp + 0x20], 1
jne 0x40a06c
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx + 0xf8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x40a072
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00409e90
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409f90
add esp, 8
cmp dword [ebp + 0x1c], 1
jne 0x40a109
cmp dword [ebp + 0x20], 1
jne 0x40a0f4
mov eax, dword [ebp - 4]
mov ecx, dword [0x4123cc]
sub ecx, dword [eax + 0x14]
mov dword [0x4123cc], ecx
mov edx, dword [0x4123cc]
sub edx, dword [ebp + 0xc]
mov dword [0x4123cc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x4123cc]
add ecx, dword [eax + 0xc]
mov dword [0x4123cc], ecx
mov edx, dword [0x4123cc]
add edx, dword [ebp + 0x10]
mov dword [0x4123cc], edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [0x4123cc]
push ecx
call fcn.00409f90
add esp, 8
jmp 0x40a119
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00409f90
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x406270
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43bb2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404544
call fcn.00406ed1
push 4
mov dword [esp + 0x18], 0
call fcn.00407d76
mov edi, eax
add esp, 4
test edi, edi
je 0x4062e4
push ebx
call fcn.00406da9
mov dword [edi], eax
call fcn.00406b68
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406e92
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4062d8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406eba
pop ebx
jmp 0x4062e6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4087e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f520]
jne 0x4087eb
repz ret
jmp fcn.0040cf3c
Function at 0x411b82
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040aee4
and dword [ebp - 0x14], 0
cmp dword [0x444a94], 0
mov dword [ebp - 0x18], eax
jne 0x411c35
push 0x403944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411cdd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403938
push ebx
call edi
test eax, eax
je 0x411cdd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403928
push ebx
mov dword [0x444a94], eax
call edi
push eax
call esi
push 0x403914
push ebx
mov dword [0x444a98], eax
call edi
push eax
call esi
push 0x4038f8
push ebx
mov dword [0x444a9c], eax
call edi
push eax
call esi
mov dword [0x444aa4], eax
test eax, eax
je 0x411c35
push 0x4038e0
push ebx
call edi
push eax
call esi
mov dword [0x444aa0], eax
mov eax, dword [0x444aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c8e
cmp dword [0x444aa4], ecx
je 0x411c8e
push eax
call esi
push dword [0x444aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c8e
test ebx, ebx
je 0x411c8e
call edi
test eax, eax
je 0x411c85
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c85
test byte [ebp - 8], 1
jne 0x411c8e
or dword [ebp + 0x10], 0x200000
jmp 0x411cc1
mov eax, dword [0x444a98]
cmp eax, dword [ebp - 0x18]
je 0x411cc1
push eax
call esi
test eax, eax
je 0x411cc1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411cc1
mov eax, dword [0x444a9c]
cmp eax, dword [ebp - 0x18]
je 0x411cc1
push eax
call esi
test eax, eax
je 0x411cc1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444a94]
call esi
test eax, eax
je 0x411cdd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411cdf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004087e1
leave
ret
Function at 0x43a6a0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7c9820], 0x37
jne 0x43a738
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404148
push 0x4041c0
push 0x4041e8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7c9824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x449884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x43a980
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7c9820]
sub esp, 0x574
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x449884]
cmp eax, ebx
jbe 0x43ab68
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x43a9b6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7c9820], 0x1c
jne 0x43a9cd
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x440700]
mov eax, dword [0x440704]
mov esi, dword [edi]
mov ebp, dword [0x440708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x44070c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x43aa0a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7c87a4], ebx
mov eax, dword [esp + 0x18]
add dword [0x7c87a4], eax
mov edx, dword [0x7c87a4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7c9820], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x43aaa4
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0x7c9820], 0x979
mov dword [0x7c87a8], 0xff6b3619
mov dword [0x7c87ac], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x43aaeb
push 0
lea eax, [esp + 0x184]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7c9820]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x43ab0d
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x43aa08
cmp eax, 0x8d4
jne 0x43ab24
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7c9820], 0x17
jne 0x43ab57
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x43a9b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x574
ret
Function at 0x412570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x412590
jl 0x412587
cmp dword [ebp + 0xc], 0
ja 0x412590
xor eax, eax
xor edx, edx
jmp 0x4126c1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x4125b2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004126d0
jmp 0x4126c1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0040f3d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x41261b
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0040c920
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004110c0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004108e0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00411010
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x4126b2
mov ecx, dword [ebp - 8]
call fcn.0040fe10
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x41268b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00418f6d
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x412689
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x4126c1
jmp 0x412637
cmp dword [ebp - 4], 0
jbe 0x4126b2
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00418f6d
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4142e0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41431f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41431f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41431f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41431f
cmp dword [ecx + 0x74], 0xe
jbe 0x41431f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41e6a7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e6d8
push 0x42e6d0
push str.FlsAlloc
push 0x1e
call fcn.0041e571
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e6db
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b284]
call esi
jmp 0x41e6e1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x41e725
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e6e8
push 0x42e6e0
push str.FlsGetValue
push 0x20
call fcn.0041e571
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e75c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b284]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]