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

Disassembly:
sub esp, 0x388
push ebx
push ebp
push esi
mov esi, dword [esp + 0x398]
mov ebx, ecx
push edi
lea eax, [esi + 0x14]
lea ecx, [esp + 0x26c]
push eax
push 0x446f04
push ecx
call fcn.00411f9c
add esp, 0xc
lea edx, [esp + 0x26c]
push 0
push 0x10000080
push 3
push 0
push 3
push closesocket
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x423a52
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x388
ret 4
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0xfc]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x134]
mov ecx, 0x46
push edx
lea edi, [esp + 0x20]
push 0
push 0
rep movsd dword es:[edi], dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edi, [ebx + 0x101]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x39c]
not ecx
dec ecx
lea edi, [ecx + eax + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0xfc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
lea ecx, [esp + 0x10]
push edi
push ecx
push 0x250
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x24], edi
call fcn.00423d30
cmp dword [esp + 0x10], 0x250
je 0x423b06
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x388
ret 4
push 0x7530
call fcn.0042d3e3
add esp, 4
mov esi, eax
mov dword [esp + 0x14], edi
jmp 0x423b1d
xor edi, edi
lea ecx, [esp + 0x18]
push edi
push ecx
push 0x7530
push esi
push ebp
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x423b7b
lea edx, [esp + 0x10]
push 0
push edx
mov edi, eax
push eax
mov eax, dword [ebx + 0xfc]
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.00423d30
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add edx, eax
cmp eax, edi
mov dword [esp + 0x14], edx
jne 0x423b79
cmp dword [esp + 0x18], 0x7530
je 0x423b1b
xor edi, edi
push esi
call fcn.0042d40c
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0xfc]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
mov dword [esp + 0x268], ecx
mov dword [esp + 0x10], edi
push edi
push edi
push edx
push eax
call esi
mov eax, dword [ebx + 0xfc]
lea ecx, [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x24]
push 0x250
push edx
push eax
mov ecx, ebx
call fcn.00423d30
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xfc]
push edi
push edi
push ecx
push edx
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x44]
add eax, 0x250
lea ecx, [esp + 0x10]
add edx, eax
mov eax, dword [ebx + 0xfc]
mov dword [ebx + 0x44], edx
push edi
push ecx
lea edx, [ebx + 4]
push 0x44
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x24], edi
call fcn.00423d30
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x388
ret 4
Function at 0x423d30
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], ecx
push ebp
call fcn.0042d3e3
mov esi, dword [esp + 0x20]
mov ecx, ebp
mov ebx, eax
mov eax, ecx
mov edi, ebx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
jbe 0x423d7b
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + 0x100]
mov cl, byte [eax + ebx]
add cl, dl
mov byte [eax + ebx], cl
inc eax
cmp eax, ebp
jb 0x423d64
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push eax
push ecx
push ebp
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call fcn.0042d40c
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
Function at 0x4264a0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
mov edx, dword [edi + 0x158]
push 0
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4264cb
pop edi
pop esi
ret 8
mov eax, dword [edi + 0x154]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4264ed
xor ecx, ecx
test eax, eax
jbe 0x4264ed
mov dl, byte [ecx + esi]
xor dl, 0x10
mov byte [ecx + esi], dl
inc ecx
cmp ecx, eax
jb 0x4264df
pop edi
pop esi
ret 8

Function at 0x426500
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
sub esp, 0x68
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x154]
test eax, eax
je 0x426572
mov esi, dword [esp + 0x7c]
push ebx
push esi
call fcn.0042d3e3
mov ebx, eax
add esp, 4
xor eax, eax
test esi, esi
mov dword [esp + 0x10], eax
jbe 0x426546
mov ebp, dword [esp + 0x7c]
mov cl, byte [eax + ebp]
xor cl, 0x10
mov byte [eax + ebx], cl
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
mov dword [esp + 0x10], eax
jb 0x426530
mov eax, dword [edi + 0x158]
lea edx, [esp + 0x10]
push 0
push edx
push esi
push ebx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov ebp, eax
call fcn.0042d40c
add esp, 4
pop ebx
jmp 0x42659a
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [edi + 0x158]
lea ecx, [esp + 0xc]
push 0
push ecx
push esi
push edx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x426618
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x4265eb
mov ecx, dword [edi + 0x158]
cmp eax, 0x6f8
push ecx
push ebp
push esi
je 0x4265d2
mov edx, dword [esp + 0x18]
push eax
push edx
add edi, 0x174
push esi
push edi
push str.Write__s_Len_Error:____d__d__d__d__d__d
jmp 0x426608
mov edx, dword [esp + 0x18]
push 0x6f8
push edx
add edi, 0x174
push esi
push edi
push str.Write__s_Len_Error_U:____d__d__d__d__d__d
jmp 0x426608
mov ecx, dword [edi + 0x158]
mov edx, dword [esp + 0xc]
push ecx
push ebp
push esi
push 8
push edx
add edi, 0x174
push esi
push edi
push str.Write__s_Len_Error_M:____d__d__d__d__d__d
lea eax, [esp + 0x30]
push eax
call fcn.00411f9c
add esp, 0x24
or eax, 0xffffffff
pop edi
pop esi
pop ebp
add esp, 0x68
ret 8
Function at 0x426630
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
sub eax, 0
mov esi, ecx
je 0x4266c9
dec eax
je 0x4266ae
dec eax
jne 0x4266e4
mov eax, dword [esi + 0x158]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 0x158]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push closesocket
push ecx
mov dword [esp + 0x24], closesocket
call edi
mov ecx, dword [esi + 0x158]
lea edx, [esp + 8]
push 0
push edx
lea eax, [esp + 0x1c]
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x158]
push 2
push 0
push edx
push eax
call edi
pop edi
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x158]
push 1
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop esi
pop ecx
ret 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x158]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop esi
pop ecx
ret 8
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 8

Function at 0x428140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
push esi
push edi
jmp 0x42814e
xor ecx, ecx
xor eax, eax
mov cl, byte [0x464b1c]
mov al, byte [0x464b15]
shl ecx, 8
add ecx, eax
xor eax, eax
shl ecx, 8
mov al, byte [0x464b12]
add ecx, eax
xor eax, eax
shl ecx, 8
mov al, byte [0x464b0f]
lea esi, [ecx + eax]
jmp 0x42817e
call fcn.004282b0
movzx edi, ax
shl edi, 0x10
call fcn.004282b0
movzx eax, ax
or edi, eax
mov dword [ebp - 0x1b0], edi
jmp 0x42819c
sub esi, 0xc5c10
jmp 0x4281a5
mov dword [ebp - 0x1b4], esi
jmp 0x4281ae
mov eax, dword [ebp - 0x1b0]
xor dword [ebp - 0x1b4], eax
jmp 0x4281bd
cmp byte [0x464af8], 0
je 0x428213
jmp 0x4281c9
call fcn.00428340
jmp 0x4281d1
mov byte [0x464af8], 0
jmp 0x4281db
call fcn.004282b0
movzx esi, ax
shl esi, 0x10
call fcn.004282b0
movzx eax, ax
add esi, eax
mov dword [0x46e1a8], esi
jmp 0x4281f9
call fcn.004282b0
movzx esi, ax
shl esi, 0x10
call fcn.004282b0
movzx eax, ax
add eax, esi
mov dword [0x46e1b0], eax
jmp 0x428216
mov eax, dword [0x464afc]
test eax, eax
je 0x42824c
jmp 0x428222
mov dword [ebp - 0x1b8], eax
jmp 0x42822b
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x1bc]
push eax
push ecx
push 0
call fcn.004283f0
add esp, 0xc
jmp 0x428246
pop edi
pop esi
mov esp, ebp
pop ebp
ret
jmp 0x42824f
xor esi, esi
jmp 0x428254
inc esi
mov dword [ebp - 0x1b8], esi
jmp 0x42825e
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x1bc]
push eax
push ecx
push 0
call fcn.004283f0
add esp, 0xc
jmp 0x428279
test eax, eax
je 0x42828b
cmp esi, 3
jl 0x428251
jmp 0x428285
pop edi
pop esi
mov esp, ebp
pop ebp
ret
jmp 0x42828e
mov ecx, dword [ebp - 0x1b8]
mov dword [0x464afc], ecx
jmp 0x42829d
jmp 0x4282a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428890
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push esi
push edi
jmp 0x42889b
push str.Microdog_Mutex_Object
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
jmp 0x4288af
test esi, esi
jne 0x4288be
mov eax, 0xea60
pop edi
pop esi
mov esp, ebp
pop ebp
ret
jmp 0x4288c1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4288fa
cmp eax, 0x80
je 0x4288fa
cmp eax, 0x102
je 0x428940
mov edi, dword [ebp - 4]
test edi, edi
je 0x4288ef
push esi
call fcn.00428870
add esp, 4
jmp 0x4288f2
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
jmp 0x4288fd
push 0
push 0x4000000
push 0
push 0
push 0
push 0
push str..TDMD.VXD
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x42891a
cmp eax, 0xffffffff
jne 0x428929
jmp 0x428922
mov edi, 0x7530
jmp 0x4288e2
jmp 0x42892c
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x428934
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x42893c
xor edi, edi
jmp 0x4288e2
jmp 0x428943
mov edi, 0xc350
jmp 0x4288e2
Function at 0x42bb30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00412bd0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42bbfb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42bbfb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42bbae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42bbb9
or bh, 8
and edi, 0x8000000
je 0x42bbd4
mov eax, dword [0x46f5dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42bbfb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bfd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42bffb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42c01f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42c03a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42fea4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42fee6
call fcn.00435e4f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42fee6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42fedd
xor eax, eax
jmp 0x42feee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042fef4
pop edi
pop esi
pop ebx
ret 4
Function at 0x409920
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x40ca30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437cef
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4416b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov byte [ebp - 0x15], 1
movzx eax, byte [ebp + 0x5c]
test eax, eax
je 0x40cac4
push 1
lea ecx, [ebp + 0x24]
call fcn.00402ea0
push eax
lea ecx, [ebp + 0x40]
call fcn.00402ea0
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00406bf0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
call fcn.00402ea0
push eax
push 0x43a298
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004011b0
jmp 0x40cb1e
push 0
lea ecx, [ebp + 0x24]
call fcn.00402ea0
push eax
lea ecx, [ebp + 0x40]
call fcn.00402ea0
push eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00406bf0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
call fcn.00402ea0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.004011b0
cmp dword [ebp - 0x14], 0x20
jle 0x40cb2a
mov byte [ebp - 0x15], 1
jmp 0x40cb2e
mov byte [ebp - 0x15], 0
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x51], al
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004011b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.004011b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.004011b0
mov al, byte [ebp - 0x51]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41754b
xor eax, eax
jmp 0x4175d3
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x417566
mov dword [ebp - 0x14], 0x400000
jmp 0x41756c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x4175c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4175d3
cmp dword [ebp - 0x10], 0
jne 0x4175cb
jmp 0x4175d1
cmp dword [ebp - 4], 0
ja 0x417554
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4175e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4175fb
xor eax, eax
jmp 0x417683
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x417616
mov dword [ebp - 0x14], 0x400000
jmp 0x41761c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x417673
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x417683
cmp dword [ebp - 0x10], 0
jne 0x41767b
jmp 0x417681
cmp dword [ebp - 4], 0
ja 0x417604
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x417910
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x417928
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x41797b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x417949
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x41796c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x417940
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x443ce0], eax
jmp 0x41791f
jmp 0x417986
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x4179be
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4438e0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x443ce0]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x443ce0], edx
jmp 0x41797d
mov dword [0x442f54], fcn.00418de0
call fcn.00419080
test eax, eax
jne 0x4179db
mov dword [0x442f54], 0x418ef0
mov esp, ebp
pop ebp
ret

Function at 0x4191b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4416b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4191e2
xor eax, eax
jmp 0x4191ee
cmp dword [ebp - 0x9c], 5
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041eb43
mov esp, ebp
pop ebp
ret