joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403ffa
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x404036
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ecx]
cmp dword [ebp - 0x228], edi
je 0x404050
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x404020
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004c0564
mov esp, ebp
pop ebp
ret

Function at 0x4040c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
movzx eax, word [esi + 0x14]
lea ebx, [esi + 0x18]
add ebx, eax
cmp edx, dword [ebx + 0x14]
jae 0x4040d7
pop esi
mov eax, edx
pop ebx
ret
push edi
movzx edi, word [esi + 6]
xor eax, eax
xor ecx, ecx
cmp ax, di
jae 0x40410b
movzx eax, cx
lea eax, [eax + eax*4]
mov esi, dword [ebx + eax*8 + 0x10]
test esi, esi
jne 0x4040f7
mov esi, dword [ebx + eax*8 + 8]
mov eax, dword [ebx + eax*8 + 0xc]
cmp edx, eax
jb 0x404105
add eax, esi
cmp edx, eax
jb 0x404111
inc ecx
cmp cx, di
jb 0x4040e5
pop edi
pop esi
xor eax, eax
pop ebx
ret
movzx eax, cx
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x404126
sub eax, dword [ecx + 0xc]
add edx, eax
pop edi
pop esi
mov eax, edx
pop ebx
ret
Function at 0x407ad0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x148]
push eax
push str..exe
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407bbc
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x407b10
mov edx, 0x4fea14
lea ecx, [ebp - 0x11c]
jmp 0x407b20
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x407b40
test al, al
je 0x407b3c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x407b40
add ecx, 2
add edx, 2
test al, al
jne 0x407b20
xor eax, eax
jmp 0x407b45
sbb eax, eax
or eax, 1
test eax, eax
je 0x407ba3
mov eax, 0x4fea18
lea ecx, [ebp - 0x11c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x407b74
test dl, dl
je 0x407b70
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x407b74
add ecx, 2
add eax, 2
test dl, dl
jne 0x407b54
xor eax, eax
jmp 0x407b79
sbb eax, eax
or eax, 1
test eax, eax
je 0x407ba3
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407b86
sub ecx, edx
cmp ecx, 0xe
jne 0x407ba3
lea eax, [ebp - 0x11c]
push eax
call fcn.004c1e82
add esp, 4
lea eax, [ebp - 0x148]
push eax
push esi
call edi
test eax, eax
jne 0x407b10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004c0564
mov esp, ebp
pop ebp
ret

Function at 0x407c60
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x407c70
mov eax, dword [esi]
jmp 0x407c72
mov eax, esi
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x407d0e
cmp dword [esi + 0x14], 0x10
jb 0x407c95
mov eax, dword [esi]
jmp 0x407c97
mov eax, esi
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x18], eax
test eax, eax
je 0x407d63
push 0x10
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x407cda
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004c25f1
add esp, 4
call fcn.004c25d0
cdq
idiv dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
inc edx
mov byte [esi + 0x2c], 1
inc dword [esi + 0x28]
mov dword [esi + 0x20], edx
movdqu xmm0, xmmword [esi + 0x20]
pop esi
movdqu xmmword [eax], xmm0
pop ebp
ret 4
cmp dword [esi + 0x14], 0x10
jb 0x407d18
mov eax, dword [esi]
jmp 0x407d1a
mov eax, esi
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esi + 0x18], eax
test eax, eax
je 0x407d63
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x407ccc
cmp byte [ebp + 8], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 0x20], xmm0
je 0x407d63
inc dword [esi + 0x28]
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [eax], xmm0
pop esi
pop ebp
ret 4
Function at 0x408620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5348
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
push 0x4fea94
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0040cad0
push 0x38
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004c6800
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0x2e646d63
mov dword [ebp - 0x14], 0x657865
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4086d6
or esi, 0xffffffff
jmp 0x4086fa
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
cmp dword [ebp + 0x1c], 0x10
jb 0x40870b
push dword [ebp + 8]
call fcn.00440f10
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
Function at 0x408730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4f538b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x517748]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [0x517748]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [0x66c138]
test al, 1
jne 0x408795
push 0
push 0
push 0
push 0x402ad0
push 0
or eax, 1
push 0
mov dword [0x66c138], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x66c134], eax
mov eax, dword [0x4feaa8]
movdqu xmm0, xmmword [str.GlobalRandomProcess]
mov dword [esp + 0x64], eax
mov al, byte [0x4feaac]
push 0x30
mov byte [esp + 0x6c], al
lea eax, [esp + 0x28]
push 0
push eax
movdqa xmmword [esp + 0x60], xmm0
call fcn.004c6800
movdqu xmm0, xmmword [str.GlobalRandomProcess]
add esp, 0xc
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
movd eax, xmm0
mov byte [esp + 0xc], 0
test al, al
jne 0x4087ef
xor ecx, ecx
jmp 0x4087ff
lea ecx, [esp + 0x54]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4087f6
sub ecx, edx
push ecx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x14]
call fcn.00401970
mov dword [esp + 0x90], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x14]
mov byte [esp + 0x98], 1
xorps xmm0, xmm0
lea ecx, [esp + 0x2c]
push eax
movdqu xmmword [esp + 0x50], xmm0
call fcn.004017f0
cmp dword [esp + 0x20], 0x10
mov dword [esp + 0x48], 0xa
jb 0x40886c
push dword [esp + 0xc]
call fcn.00440f10
add esp, 4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 2
call fcn.00407d70
cmp dword [esp + 0x38], 0x10
jb 0x4088a8
push dword [esp + 0x24]
call fcn.00440f10
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
Function at 0x409ed0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x66bb04], 0
push esi
push edi
je 0x409f3c
push 0x66bd64
mov ecx, 0x66bd50
call fcn.004dcf40
test al, al
je 0x409f3c
sub esp, 0x28
mov edi, esp
mov ecx, edi
call fcn.004dce30
lea ecx, [edi + 0x10]
call fcn.004dce80
mov eax, dword [0x6688c8]
lea ecx, [edi + 0x10]
mov dword [edi], eax
mov eax, dword [0x6688cc]
mov dword [edi + 4], eax
mov ax, word [0x6688d0]
push 0x66bd50
mov word [edi + 8], ax
call fcn.004dcea0
mov ecx, dword [0x66bb04]
mov eax, dword [ecx]
call dword [eax + 0x6c]
cmp eax, 2
jne 0x409f99
mov eax, dword [0x66bd24]
lea edx, [ebp - 3]
push dword [0x66bd20]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 2]
push eax
call fcn.00402b90
add esp, 0xc
cmp byte [ebp - 4], 0
jne 0x409f93
mov eax, dword [0x66c114]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x409f84
or eax, 1
mov dword [0x66c114], eax
call esi
mov dword [0x66c128], eax
call esi
sub eax, dword [0x66c128]
cmp eax, 0x4e20
ja 0x409fa0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.004c37a5
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.004c37a5
int3
Function at 0x40d580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f57c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x517748]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x517748]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x40d6d4
cmp byte [ebx + 0x45], 0
je 0x40d6d4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40d5e0
xor al, al
jmp 0x40d6d6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x40d620
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40d661
dec eax
je 0x40d665
sub eax, 2
je 0x40d6bb
xor bl, bl
jmp 0x40d6bd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x40d69c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004c2a75
add esp, 0x10
cmp esi, eax
jne 0x40d65d
cmp byte [ebx + 0x45], 0
je 0x40d6bb
test esi, esi
jne 0x40d620
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040c950
jmp 0x40d620
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x40d6d0
push dword [esp + 0x18]
call fcn.00440f10
add esp, 4
mov al, bl
jmp 0x40d6d6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
Function at 0x410ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xc5
xor eax, eax
mov dl, byte [edi + eax + 0x6e086dd2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x410f1e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x410f01
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x413a70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0xa
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea edi, [esi + 0x64]
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
cmp dword [esi + 0x68], 0x12
je 0x413be1
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x413ad7
push edi
call ebx
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x413bd7
mov eax, dword [0x66bb0c]
test eax, eax
je 0x413ae8
mov ecx, dword [eax + 0xc8]
jmp 0x413aea
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x413b08
test eax, eax
je 0x413b08
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x413b08
cmp dword [eax], 0
je 0x413b08
call fcn.00437e50
call fcn.00438790
call fcn.0041a030
mov ecx, esi
call fcn.00413e60
call fcn.0041b9d0
mov eax, dword [esi + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x413b80
mov ecx, esi
call fcn.004141b0
call fcn.0041bcc0
mov eax, dword [0x66bb0c]
xor ecx, ecx
mov eax, dword [eax + 0x1d50]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.004378a0
mov eax, dword [0x66bb0c]
movss xmm0, dword [eax + 0x358]
comiss xmm0, dword [0x50c6b8]
jbe 0x413b74
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [esi + 0x5c]
push 0
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x44]
cmp eax, 0x88760868
jne 0x413bd7
mov eax, dword [esi + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x413bd7
call fcn.00438020
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x20]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x40]
mov eax, dword [0x66bb0c]
test eax, eax
je 0x413bd7
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x413bd7
cmp dword [eax], 0
je 0x413bd7
call fcn.00437e50
cmp dword [esi + 0x68], 0x12
jne 0x413ab5
push 0
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
ret
Function at 0x414480
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x4144e6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
jne 0x4144f9
test eax, eax
jne 0x4144f9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004bee19
add esp, 4
mov dword [ebp - 8], 0
xor ecx, ecx
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], edx
movlpd qword [ebp - 0x20], xmm0
jb 0x414576
ja 0x414520
test ebx, ebx
je 0x414576
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov eax, ebx
sub eax, esi
sbb ecx, edi
test ecx, ecx
ja 0x41453c
jb 0x414537
cmp eax, 0xffffffff
jae 0x41453c
mov dword [ebp - 0x1c], ecx
jmp 0x414546
or eax, 0xffffffff
mov dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [esi + edx]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4145b9
add esi, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
adc edi, 0
xor ecx, ecx
cmp edi, ecx
jb 0x414526
ja 0x414573
cmp esi, ebx
jb 0x414526
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov edi, dword [ebp - 0x10]
mov esi, dword [edi + 0x3c]
add esi, edi
mov ecx, esi
mov edx, dword [esi + 0xb8]
call fcn.004040c0
mov ecx, esi
mov edx, dword [eax + edi + 0x14]
call fcn.004040c0
add eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x10]
push edi
call fcn.004c235a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004c0564
mov esp, ebp
pop ebp
ret
Function at 0x416fe0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x41702c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x41700f
cmp edi, 2
jb 0x41700f
cmp byte [esi], cl
jne 0x41700f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4ff310]
test edi, edi
jne 0x416ff5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x41705b
cmp cl, 0x23
jne 0x417042
cmp byte [esi], cl
jne 0x417042
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4ff310]
test cl, cl
jne 0x417033
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4171d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4171e3
mov dword [edi], 0
mov edx, 0x5070a0
call fcn.00417070
mov esi, eax
test esi, esi
je 0x41720a
mov ecx, esi
call fcn.00417170
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x417211
push esi
call fcn.004c333e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [0x66bb0c]
test eax, eax
je 0x417220
inc dword [eax + 0x36c]
push dword [0x66bb08]
push ebx
call dword [0x4ff1c8]
add esp, 8
mov dword [ebp + 8], eax
push esi
test eax, eax
je 0x417202
push ebx
push 1
push eax
call fcn.004c2524
add esp, 0x10
push esi
cmp eax, ebx
je 0x417260
call fcn.004c333e
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.00418e30
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004c333e
add esp, 4
test edi, edi
je 0x41726e
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x418720
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4ff310]
dec esi
jne 0x418753
mov eax, dword [0x66bb0c]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x418780
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x41878f
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x4187a8
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.00427890
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0564
mov esp, ebp
pop ebp
ret 4
Function at 0x41aef0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f61de
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x517748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
xorps xmm0, xmm0
or edx, 0xffffffff
movdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], str.Window
mov al, 0x57
movdqu xmmword [ebp - 0x30], xmm0
mov esi, 0x507005
or edi, 0xffffffff
mov edi, edi
cmp al, 0x23
jne 0x41af4e
cmp byte [esi], al
jne 0x41af4e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4ff310]
test al, al
jne 0x41af40
mov esi, dword [ebp - 0x18]
not edx
add esi, 0x2f70
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x426e20
mov dword [ebp - 0x30], 0x426ea0
mov dword [ebp - 0x2c], 0x426ec0
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x28], 0x426f90
mov dword [ebp - 0x24], 0x427000
cmp ecx, edi
jne 0x41afc3
inc ecx
test edi, edi
je 0x41afb1
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x41afb6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00428680
mov eax, dword [esi]
movdqu xmm0, xmmword [ebp - 0x40]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 8]
movdqu xmmword [eax + ecx*4], xmm0
movdqu xmm0, xmmword [ebp - 0x30]
movdqu xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00439160
mov eax, dword [0x66bb0c]
test eax, eax
je 0x41b003
inc dword [eax + 0x36c]
push dword [0x66bb08]
push 0x98
call dword [0x4ff1c8]
lea ecx, [ebp - 0x11]
mov byte [ebp - 0x11], 0
add esp, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
test eax, eax
je 0x41b038
mov ecx, eax
call fcn.00415380
mov dword [ebp - 0x1c], eax
jmp 0x41b03f
mov dword [ebp - 0x1c], 0
add esi, 0x1d48
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi]
mov ecx, dword [esi + 4]
cmp edi, ecx
jne 0x41b077
inc edi
test ecx, ecx
je 0x41b065
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x41b06a
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.00427d40
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x18]
inc dword [esi]
mov byte [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c0564
mov esp, ebp
pop ebp
ret