joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c86
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416af7

Function at 0x417080
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407680
mov eax, dword [0x480440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415b5a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4170c2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41721e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423450
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x481e50]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418078
mov ecx, dword [esi*4 + 0x481e50]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417217
cmp eax, dword [edi + ecx + 0x24]
jne 0x417217
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417217
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418078
add esp, 0x14
test edx, edx
jl 0x417217
jg 0x41718d
test eax, eax
jb 0x417217
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417217
jl 0x4171a7
cmp dword [ebp - 0x1008], eax
ja 0x417217
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4171c5
test ebx, ebx
je 0x4171fe
cmp ecx, edi
jae 0x4171fe
mov al, byte [ecx]
cmp al, 0xd
jne 0x4171df
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4171eb
cmp byte [ecx + 1], 0xa
jne 0x4171eb
inc ecx
jmp 0x4171eb
movzx eax, al
movsx eax, byte [eax + 0x480710]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4171c5
cmp edx, ebx
jne 0x4171c5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41721c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004067c8
leave
ret
Function at 0x417515
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x481e50]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417555
cmp byte [ebx], 0xa
jne 0x417555
or byte [eax + edi + 0x28], 4
jmp 0x41755a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x417658
mov al, byte [edx]
cmp al, 0x1a
je 0x41763a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417589
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4175ae
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4175b8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41756b
jmp 0x417658
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417635
cmp dword [ebp - 0xc], 0
je 0x417635
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x481e50]
test byte [eax + edi + 0x28], 0x48
je 0x41760f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4175fa
mov byte [esi], dl
jmp 0x41760b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x481e50]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417658
cmp byte [ebp - 1], 0xa
jne 0x41761e
cmp esi, ebx
jne 0x41761e
mov byte [esi], 0xa
jmp 0x417657
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418096
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417658
mov byte [esi], 0xd
jmp 0x417657
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x481e50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417654
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417658
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417661
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x481e50]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4176a4
cmp word [esi], dx
jne 0x4176a4
or byte [edi + eax + 0x28], 4
jmp 0x4176a9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4177fc
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4177dc
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4176eb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417721
cmp eax, edx
jae 0x41772d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4176c3
jmp 0x4177fc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4177d8
cmp dword [ebp - 0x14], 0
je 0x4177d8
mov eax, dword [ebx*4 + 0x481e50]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4177b0
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417779
mov word [esi], cx
jmp 0x4177ac
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x481e50]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x481e50]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x481e50]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4177fc
pop ebx
cmp word [ebp - 4], bx
jne 0x4177c1
cmp esi, dword [ebp + 0xc]
jne 0x4177c1
mov word [esi], bx
jmp 0x4177f9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418096
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4177fc
push 0xd
jmp 0x4177f5
mov ecx, dword [ebx*4 + 0x481e50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4177f3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4177fc
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size8256kdownloadRoothttps:__launcher.zoom.us_clientactionstartbrowserchromesidE023uTk5Rl_Z2DtdFIGM2Qstype100tokenI_Jb2kTSWaPp14cKv6yQqqEGHUF5XGyXU_Pkkua7gEQ.BgQgbTJOL2pydUxkZWdFSHEwbkoycE9yTC9ldWlYdlNleHFANWM1NGVmNzE5ZGQwZTUwMGQ0NTRiOGFmMzBjY2M5YTAxN2U0YjhmNWZkNmQ0MTM4ZTllNmIyN2M3ZmZiMTJjMgAMM0NCQXVvaVlTM3M9AAuidE023uTk5Rl_Z2DtdFIGM2QunameCindy_20GolbuffconfiddGlkPTkwZTdlMTgzY2UwYWY4MDMxNmYwYmVlNjMzOTYzZTYxJmVtYWlsPXNjZ29sYnVmZiU0MHdjdGF0ZWwubmV0confno7466771371mcv0.92.11227.0929zc0installer.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0xa93f9c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
mov ecx, 0
cwde
push ecx
cmovbe bx, bx
rol di, 0xfa
btc si, dx
mov esi, dword [esp + 0x28]
rdtsc
rcr ax, 0x2a
xor esi, 0x7da86759
btr di, di
cbw
sete dh
rol esi, 2
lea esi, [esi + 0x2b4f44f9]
xor ax, 0x40ec
not dl
not esi
mov edi, edx
add esi, ecx
rcr edx, 0x8a
mov ax, dx
mov ebp, esp
shr ax, cl
stc
rdtsc
sub esp, 0xc0
bsf ax, di
mov ebx, esi
shl al, 0x7a
sub ax, 0x2d8c
mov edx, 0
test ch, dl
cwde
sete al
sub ebx, edx
mov eax, eax
adc di, ax
lea edi, [0x876d7a]
sub esi, 4
mov eax, dword [esi]
test bx, di
stc
xor eax, ebx
jmp 0xc0a7b5
push ebx
setl bl
bswap ebx
pushfd
clc
push ebp
shl bp, 0x32
bswap bx
push edi
push ecx
bsf edi, ebx
rol di, 0x87
bswap edi
push esi
or si, 0x60c1
sal bp, 0x4d
push eax
jmp 0x876d05
push edi
ret
inc eax
test di, 0xb33
not eax
test esp, 0x35f24dd6
add eax, 0x1dbe0865
cmp bx, ax
neg eax
test ebx, 0x338638d8
xor ebx, eax
add edi, eax
jmp 0xbce170

Function at 0x710c68
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x7109ec
pop ebx
and edx, edx
mov edx, ecx
call fcn.00710caa
push 0x419361b7
mov edx, dword [esp]
add esp, 4
add ecx, edx
sub edx, 1
xor dword [esi], ebx
sub edx, edx
inc esi
push edx
mov ecx, dword [esp]
add esp, 4
cmp esi, eax
jne fcn.00710c68
add edx, edx
ret
Function at 0x403cc0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0
push 0
push 0x403c40
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x498ed8], eax
test eax, eax
jne 0x403cfe
mov edx, str.Failed_to_install_hooks_
mov ecx, 0x497e28
call fcn.0040f8e0
push eax
call fcn.0040fb80
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, str.Hooks_installed_successfully_
mov ecx, 0x497bc0
call fcn.0040f8e0
push eax
call fcn.0040fb80
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x404530
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x6c
mov eax, dword [0x455014]
xor eax, esp
mov dword [esp + 0x68], eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x44
push esi
mov esi, ecx
movlpd qword [esp + 0x24], xmm0
xor eax, eax
movlpd qword [esp + 0x2c], xmm0
mov word [esp + 0x62], ax
mov word [esp + 0x50], ax
mov eax, esi
cmp dword [esi + 0x14], 8
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x52], xmm0
movlpd qword [esp + 0x5a], xmm0
mov dword [esp + 0x4c], 1
movaps xmmword [esp + 0x10], xmm0
jb 0x40459f
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4045f2
mov edx, str.Failed_to_execute_command:
mov ecx, 0x497f10
call fcn.0040fcf0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x4045dc
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00414790
add esp, 4
push eax
call fcn.0040ffa0
add esp, 4
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
call fcn.0041df22
mov esp, ebp
pop ebp
ret
Function at 0x406680
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4066c9
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edx, str.Trying_to_open_target_process.
mov ecx, 0x497e28
call fcn.0040f8e0
push eax
call fcn.0040fb80
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4066d6
mov ecx, dword [esi]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4066e0
sub ecx, edx
sar ecx, 1
push 4
push 0x1000
lea eax, [ecx + ecx]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x406772
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 8
jb 0x406715
mov ecx, dword [esi]
lea eax, [ecx + 2]
mov dword [esp + 0xc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406720
sub ecx, dword [esp + 0xc]
sar ecx, 1
cmp edx, 8
jb 0x406738
mov esi, dword [esi]
push 0
lea eax, [ecx + ecx]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x406784
mov edx, str.Trying_to_write_memory_in__process.
mov ecx, 0x497e28
call fcn.0040f8e0
push eax
call fcn.0040fb80
add esp, 4
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.LoadLibraryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x4067b9
mov edx, str.Trying_to_create_remote_thread.
jmp 0x406750
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1390
call fcn.0041ef00
mov eax, dword [0x455014]
xor eax, esp
mov dword [esp + 0x138c], eax
call fcn.0041cc47
mov dword [esp + 0x1384], 0xffffffff
mov ecx, 1
mov dword [esp + 4], eax
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [esp + ecx*4 + 4], eax
inc ecx
cmp ecx, 0x270
jl 0x408097
mov dword [esp], 0x270
nop word [eax + eax]
lea ecx, [esp]
call fcn.00415ba0
mov ecx, eax
mov eax, 0x2b8e5b99
mul ecx
shr edx, 0x11
cmp edx, 0x15c7
jae 0x4080c0
mov eax, ecx
xor edx, edx
mov ecx, 0xbc145
div ecx
add edx, 0x80000001
cmp edx, 0x80000000
lea ecx, [edx - 0x80000000]
lea eax, [edx - 0x80000000]
cmovae eax, ecx
mov ecx, dword [esp + 0x138c]
xor ecx, esp
call fcn.0041df22
mov esp, ebp
pop ebp
ret

Function at 0x408250
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x455014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
push 0
push 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], esi
push 0x44f324
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4082ec
push ebx
mov ebx, dword [ebp - 0x20]
push edi
lea edi, [ebp - 7]
mov eax, 0xcccccccd
dec edi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [edi], bl
mov ebx, edx
test ebx, ebx
jne 0x408297
lea eax, [ebp - 7]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0xf
mov byte [esi], dl
cmp edi, eax
je 0x4082d9
mov ecx, eax
sub ecx, edi
push ecx
push edi
mov ecx, esi
call fcn.0040d700
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041df22
mov esp, ebp
pop ebp
ret
push 0xb
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push str.UnknownHWID
mov byte [esi], 0
call fcn.0040d700
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041df22
mov esp, ebp
pop ebp
ret
Function at 0x408ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x408bb8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x408ba7
jg 0x408b10
test edx, edx
je 0x408ba7
nop dword [eax]
call fcn.0040d370
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x408b64
jg 0x408b27
test esi, esi
je 0x408b64
cmp ebx, eax
jg 0x408b37
jl 0x408b31
cmp edi, esi
jae 0x408b37
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.0041f7a0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x408b8b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x408ba1
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x408b10
jl 0x408ba1
test edi, edi
jne 0x408b10
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x408bda
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x408bdc
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x408c5a
jg 0x408bef
test esi, esi
je 0x408c5a
test eax, eax
jl 0x408c34
jg 0x408bf9
test ebx, ebx
je 0x408c34
cmp edi, eax
jg 0x408c09
jl 0x408c03
cmp esi, ebx
jae 0x408c09
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.0041f7a0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x408c37
mov edx, dword [ebp + 8]
test edi, edi
jl 0x408c5a
jg 0x408c41
test esi, esi
je 0x408c5a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x408c5a
push eax
push esi
push 1
push edx
call fcn.00425c23
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4091f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x455014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x409220
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041df22
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40925c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40925c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041df22
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x409345
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x409284
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4092b7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00422e98
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041df22
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x409345
cmp eax, 1
jle 0x409318
cmp eax, 3
jne 0x409345
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.00422e98
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041df22
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x409335
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00425c23
add esp, 0x10
cmp edi, eax
jne 0x409345
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x409247
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041df22
mov esp, ebp
pop ebp
ret 4