joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6af00b61
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6af09160]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov eax, edx
push edi
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 8], esi
or ebx, 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], esi
test byte [0x6af0b6d0], 4
je 0x6af00bae
push edi
push 0x28
mov edx, 0x6aeb2f4c
pop ecx
call fcn.6af0831c
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x6af00bba
push 0x57
pop esi
jmp 0x6af00cfa
or dword [eax], 0xffffffff
lea eax, [edi + 0xc]
push eax
mov dword [ebp - 0x24], eax
call dword [0x6af0c18c]
cmp dword [edi + 0x9c], 4
je 0x6af00be7
mov eax, dword [ebp - 0x24]
mov esi, 0x139f
push eax
call dword [0x6af0c174]
jmp 0x6af00cfa
cmp dword [edi + 0xa4], esi
jne 0x6af00bf9
mov dword [edi + 0xa4], 0x139f
lea eax, [edi + 0xc]
mov dword [edi + 0x9c], 6
push eax
call dword [0x6af0c174]
lea eax, [edi + 0xec]
push eax
call dword [0x6af0c198]
mov eax, dword [edi + 0xf0]
cmp eax, 0xffffffff
jne 0x6af00c36
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x6af00c44
mov esi, 0x54f
jmp 0x6af00c44
cmp byte [edi + 0x204], 0
je 0x6af00c56
mov esi, 0x139f
lea eax, [edi + 0xec]
push eax
call dword [0x6af0c1a0]
jmp 0x6af00cd9
mov ecx, dword [edi + 0xf4]
mov ebx, eax
or dword [edi + 0xf0], 0xffffffff
lea eax, [edi + 0xec]
push eax
mov dword [ebp - 0x20], ecx
mov dword [edi + 0xf4], esi
call dword [0x6af0c1a0]
push 4
lea eax, [ebp - 8]
push eax
push 1
push 6
push ebx
call dword [0x6af0e108]
cmp eax, 0xffffffff
jne 0x6af00c9c
xor cl, cl
call fcn.6aeceefb
mov esi, eax
jmp 0x6af00cd9
push 0x3d
push 8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [0x6af0c348]
test eax, eax
je 0x6af00cba
mov esi, 0x139f
jmp 0x6af00cd9
test byte [0x6af0b6d0], 4
je 0x6af00cd1
push ebx
push 0x29
mov edx, 0x6aeb2f4c
pop ecx
call fcn.6af08166
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
or ebx, 0xffffffff
mov ecx, edi
call fcn.6aebb064
cmp ebx, 0xffffffff
je 0x6af00cec
push ebx
call dword [0x6af0e0cc]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x6af00cfa
push eax
call dword [0x6af0c220]
test byte [0x6af0b6d0], 4
je 0x6af00d11
push esi
push 0x2a
mov edx, 0x6aeb2f4c
pop ecx
call fcn.6af08166
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6aee0390
leave
ret
Function at 0x6af03db9
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push esi
mov esi, edx
lea edx, [ebp - 8]
push edi
and dword [eax], 0
mov edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], esi
call fcn.6af03f72
test eax, eax
jne 0x6af03f67
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 8], eax
jbe 0x6af03df2
push 0x7a
pop eax
jmp 0x6af03f67
xor edx, edx
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
cmp esi, 3
jbe 0x6af03ea7
push 2
pop eax
sub eax, ebx
mov dword [ebp - 8], eax
lea esi, [ecx + ebx]
add eax, esi
mov esi, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x6af03ea7
movzx eax, byte [edx + edi]
mov al, byte [eax + 0x6af0a4e0]
mov byte [ebp - 2], al
movzx eax, byte [edx + edi + 1]
mov al, byte [eax + 0x6af0a4e0]
mov byte [ebp - 1], al
movzx eax, byte [edx + edi + 2]
mov al, byte [eax + 0x6af0a4e0]
mov byte [ebp - 3], al
movzx eax, byte [edx + edi + 3]
mov ah, byte [eax + 0x6af0a4e0]
mov al, ah
or al, byte [ebp - 3]
or al, byte [ebp - 1]
or al, byte [ebp - 2]
test al, 0x40
jne 0x6af03ea7
mov al, byte [ebp - 1]
and ah, 0x3f
shl byte [ebp - 2], 2
add edx, 4
shl byte [ebp - 1], 4
shr al, 4
and al, 3
or al, byte [ebp - 2]
mov byte [ecx + ebx], al
mov al, byte [ebp - 3]
shr al, 2
and al, 0xf
or al, byte [ebp - 1]
mov byte [ecx + ebx + 1], al
mov al, byte [ebp - 3]
shl al, 6
or ah, al
mov byte [ecx + ebx + 2], ah
lea eax, [edx + 3]
add ecx, 3
cmp eax, esi
mov eax, dword [ebp - 8]
jb 0x6af03e0b
lea eax, [edx + 3]
cmp eax, esi
jae 0x6af03f5f
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0xc]
jae 0x6af03f5f
lea eax, [edx + 4]
cmp eax, esi
jne 0x6af03f6d
movzx eax, byte [edx + edi]
mov al, byte [eax + 0x6af0a4e0]
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0x40
mov al, byte [edx + edi + 2]
mov byte [ebp - 4], al
movzx eax, al
mov al, byte [eax + 0x6af0a4e0]
mov byte [ebp - 1], al
mov al, byte [edx + edi + 3]
mov byte [ebp - 3], al
je 0x6af03f6d
movzx eax, byte [edx + edi + 1]
mov dl, byte [eax + 0x6af0a4e0]
cmp dl, 0x40
je 0x6af03f6d
mov dh, byte [ebp - 1]
cmp dh, 0x40
jne 0x6af03f17
cmp byte [ebp - 4], 0x3d
jne 0x6af03f6d
movzx eax, byte [ebp - 3]
mov al, byte [eax + 0x6af0a4e0]
cmp al, 0x40
jne 0x6af03f6d
cmp byte [ebp - 3], 0x3d
jne 0x6af03f6d
mov ah, byte [ebp - 2]
mov al, dl
shr al, 4
and al, 3
shl ah, 2
or al, ah
shl dl, 4
mov byte [ecx + ebx], al
mov al, dh
shr al, 2
and al, 0xf
or al, dl
mov byte [ecx + ebx + 1], al
mov al, dh
shl al, 6
mov byte [ecx + ebx + 2], al
inc ecx
cmp dh, 0x40
je 0x6af03f5f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc
push 0x57
pop eax
jmp 0x6af03f66
Function at 0x6af0877a
Capabilities:
Encode data using xor

Disassembly:
rol byte [edi + 0x2a], 1
mov bl, 0x77
add dword [eax], eax
add byte [esi + 0xd279ad2], ah
or byte [ecx], cl
sub dh, byte [ebx + 0x177]
cmpsb byte [esi], byte es:[edi]
rcr byte [edx + 0x9080d27], cl
test dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x59], ah
mov ah, 0x77
add dword [eax], eax
add byte [ebx], ch
ror byte [edi - 0xa], 1
add byte [ebx + 5], dh
jae 0x6af087a4
add byte [eax], 0
xor eax, dword [eax]
xor dword [eax], eax
add byte cs:[eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], dh
add byte [eax], dh
add byte [esi], ch
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], dh
jl 0x6af08778
ja 0x6af087c7
add byte [eax], al
ror byte cs:[esi + esi*8], 1
invalid
add byte [esi], ch
ror byte [esi + esi*8], 1
invalid
je 0x6af087d4
add byte [eax], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
sldt word [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [0xf649d0], ch
Function at 0x40231a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x42bb84]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x40235a
push 0x423a90
push 4
push eax
call fcn.00410ae5
push eax
call fcn.00401c20
add esp, 0x10
jmp 0x40236c
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4023da
push edi
call fcn.00410cac
mov edi, dword [eax]
call fcn.00410cac
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00410c52
add esp, 0x18
mov ebx, eax
call fcn.00410cac
cmp dword [eax], 0
je 0x4023ba
call fcn.00410cac
push dword [eax]
call fcn.004021ca
pop ecx
jmp 0x4023c1
call fcn.00410cac
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4023da
cmp ebx, esi
jae 0x4023da
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4023dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f814
leave
ret
Function at 0x40abef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40ac32
call fcn.00405b8a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40ac32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ac4d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040a7a6
test ebx, ebx
mov esi, eax
je 0x40ac4b
test edi, edi
je 0x40ac4b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40bee8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40bf16
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40bf34
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040be52
jmp 0x40bf34
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40bf34
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040be52
test edi, edi
mov eax, edi
jne 0x40bf1e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x42eb50]
test ecx, ecx
je 0x40bff7
jmp 0x40bee7
ret 8

Function at 0x40f814
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bb84]
jne 0x40f81e
repz ret
jmp fcn.00415cbc
Function at 0x415dc0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42bd90]
je 0x415ddb
inc edi
cmp edi, 0x17
jb 0x415dcc
cmp edi, 0x17
jae 0x415f5b
push ebp
push 3
call fcn.0041c5b0
cmp eax, 1
pop ecx
je 0x415f27
push 3
call fcn.0041c5b0
test eax, eax
pop ecx
jne 0x415e0f
cmp dword [0x42bb90], 1
je 0x415f27
cmp ebx, 0xfc
je 0x415f5a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42f1b0
push ebp
call fcn.00410ae5
add esp, 0xc
test eax, eax
je 0x415e45
push esi
push esi
push esi
push esi
push esi
call fcn.00413ab6
add esp, 0x14
push 0x104
mov esi, 0x42f1c9
push esi
push 0
mov byte [0x42f2cd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x415e89
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00410ae5
add esp, 0xc
test eax, eax
je 0x415e89
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00413ab6
add esp, 0x14
push esi
call fcn.00410b50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x415ece
push esi
call fcn.00410b50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42f4c4
push 0x425804
sub ecx, eax
push ecx
push eax
call fcn.0041284b
add esp, 0x14
test eax, eax
je 0x415ece
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00413ab6
add esp, 0x14
jmp 0x415ed0
xor esi, esi
push 0x425800
push ebx
push ebp
call fcn.00410df1
add esp, 0xc
test eax, eax
je 0x415ef0
push esi
push esi
push esi
push esi
push esi
call fcn.00413ab6
add esp, 0x14
push dword [edi*8 + 0x42bd94]
push ebx
push ebp
call fcn.00410df1
add esp, 0xc
test eax, eax
je 0x415f12
push esi
push esi
push esi
push esi
push esi
call fcn.00413ab6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041c3f3
add esp, 0xc
jmp 0x415f5a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x415f5a
cmp ebp, 0xffffffff
je 0x415f5a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42bd94]
push dword [esi]
call fcn.00410b50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41c3f3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004156f9
xor ebx, ebx
cmp dword [0x42f8a0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41c4c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41c5a9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x426118
push edi
call esi
cmp eax, ebx
je 0x41c5a9
push eax
call fcn.0041568b
mov dword [esp], 0x426108
push edi
mov dword [0x42f8a0], eax
call esi
push eax
call fcn.0041568b
mov dword [esp], 0x4260f4
push edi
mov dword [0x42f8a4], eax
call esi
push eax
call fcn.0041568b
mov dword [0x42f8a8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040f8cc
test eax, eax
pop ecx
pop ecx
je 0x41c497
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00413ab6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41c4c9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041568b
cmp eax, ebx
pop ecx
mov dword [0x42f8b0], eax
je 0x41c4c9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041568b
pop ecx
mov dword [0x42f8ac], eax
mov eax, dword [0x42f8ac]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41c54e
cmp dword [0x42f8b0], ecx
je 0x41c54e
push eax
call fcn.00415702
push dword [0x42f8b0]
mov esi, eax
call fcn.00415702
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41c54e
cmp edi, ebx
je 0x41c54e
call esi
cmp eax, ebx
je 0x41c51b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c51b
test byte [ebp - 0x18], 1
jne 0x41c54e
lea eax, [ebp - 0x10]
push eax
call fcn.0040f903
test eax, eax
pop ecx
je 0x41c536
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00413ab6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41c545
or dword [ebp + 0x10], 0x200000
jmp 0x41c589
or dword [ebp + 0x10], 0x40000
jmp 0x41c589
mov eax, dword [0x42f8a4]
cmp eax, dword [ebp - 8]
je 0x41c589
push eax
call fcn.00415702
cmp eax, ebx
pop ecx
je 0x41c589
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c589
mov eax, dword [0x42f8a8]
cmp eax, dword [ebp - 8]
je 0x41c589
push eax
call fcn.00415702
cmp eax, ebx
pop ecx
je 0x41c589
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f8a0]
call fcn.00415702
cmp eax, ebx
pop ecx
je 0x41c5a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c5ab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421e40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42bb84]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00421dd5
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00410cf0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x421e8f
cmp dword [ebp - 0x1c], 5
jb 0x421ea7
jmp 0x421ea3
cmp dword [ebp - 0x10], 1
jne 0x421ea7
cmp dword [ebp - 0x1c], 4
ja 0x421ea3
jne 0x421ea7
cmp dword [ebp - 0x18], 0
jbe 0x421ea7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x426ab4
call fcn.00421cc6
test eax, eax
jge 0x421ec8
mov byte [0x42d024], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040f814
add ebp, 0x78
leave
ret
Function at 0x410875
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x10], ebx
mov ebx, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
jmp 0x41096b
mov ebx, dword [ebx]
cmp dword [ebx + 0x40], 0
je 0x410964
lea edi, [ebx + 0x30]
cmp dword [edi + 0x14], 0x10
jb 0x4108b2
mov edi, dword [edi]
mov ecx, edi
mov esi, 0x811c9dc5
call fcn.004356c1
test eax, eax
je 0x410960
movzx ecx, byte [edi]
xor esi, ecx
inc edi
imul esi, esi, 0x1000193
sub eax, 1
jne 0x4108c6
cmp esi, 0x5cb68de8
je 0x410925
cmp esi, 0x9f57303d
je 0x41091b
cmp esi, 0xb88c0d43
je 0x410901
cmp esi, 0xcded1a85
jne 0x410960
mov dword [esp + 0x20], 0x5ce3e4
jmp 0x41092d
mov eax, dword [esp + 0x14]
lea ecx, [ebx + 0x80]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00411cc3
jmp 0x410960
mov dword [esp + 0x20], 0x5ce3c8
jmp 0x41092d
mov dword [esp + 0x20], 0x5ce3ac
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 0x70]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x48], ecx
call fcn.00411f72
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x410960
mov edx, dword [ecx]
lea eax, [esp + 0x20]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add ebx, 4
mov dword [esp + 0x18], ebx
cmp ebx, eax
jne 0x41089b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413934
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 4], 0
and dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret

Function at 0x413ac4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, 0xcbf29ce4
push edi
mov edi, 0x84222325
test esi, esi
je 0x413b11
movzx eax, byte [ecx]
inc ecx
push eax
mov dword [esp + 0x10], ecx
call fcn.004d5ad3
cdq
mov dword [esp], 0x100
xor edx, ebx
push 0x1b3
xor eax, edi
push edx
push eax
call fcn.004ac290
mov ecx, dword [esp + 0xc]
mov edi, eax
mov ebx, edx
sub esi, 1
jne 0x413ade
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4152a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
shr edx, 2
mov esi, 0xeeeeeeee
push edi
mov edi, ecx
test edx, edx
je 0x4152f2
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
add esi, dword [eax*4 + 0x5c89e0]
mov eax, ebx
not eax
shl eax, 0x15
add eax, 0x11111111
lea ecx, [esi + ebx]
imul esi, esi, 0x21
xor ecx, dword [edi]
shr ebx, 0xb
or ebx, eax
mov dword [edi], ecx
lea edi, [edi + 4]
add esi, 3
add esi, ecx
sub edx, 1
jne 0x4152bf
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4152f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
shr edx, 2
mov esi, 0xeeeeeeee
push edi
mov edi, ecx
test edx, edx
je 0x415342
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, bl
add esi, dword [eax*4 + 0x5c89e0]
lea eax, [esi + ebx]
imul esi, esi, 0x21
xor eax, ecx
mov dword [edi], eax
lea edi, [edi + 4]
mov eax, ebx
shr ebx, 0xb
not eax
shl eax, 0x15
add esi, 3
add eax, 0x11111111
add esi, ecx
or ebx, eax
sub edx, 1
jne 0x41530d
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x415346
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, 0x7fed7fed
mov ecx, 0xeeeeeeee
mov al, byte [esi]
inc esi
test al, al
je 0x41538a
shl ebx, 8
movzx eax, al
add edi, ecx
imul ecx, ecx, 0x21
mov al, byte [eax + 0x5c78e0]
movzx edx, al
add ecx, 3
add ecx, edx
lea eax, [ebx + edx]
xor edi, dword [eax*4 + 0x5c79e0]
mov al, byte [esi]
add ecx, edi
inc esi
test al, al
jne 0x415361
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x42cda6
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x764
push ebx
push esi
push edi
mov edi, ecx
call fcn.004356c1
inc eax
mov dword [esp + 0x368], eax
cmp eax, 0x400
ja 0x42cdd4
lea esi, [esp + 0x370]
jmp 0x42cddd
push eax
call fcn.004ac0fa
pop ecx
mov esi, eax
push 7
push 0x5d0790
push edi
mov dword [esp + 0x378], esi
call int.004c4060
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x13], al
test al, al
je 0x42ce4a
mov dl, byte [edi]
lea ecx, [edi + 1]
jmp 0x42ce3c
cmp dl, 0x25
jne 0x42ce32
mov al, byte [ecx]
test al, al
je 0x42ce40
mov bl, byte [ecx + 1]
add ecx, 2
test bl, bl
je 0x42ce40
movsx eax, al
mov dl, byte [eax + 0x5d1a00]
movsx eax, bl
shl dl, 4
or dl, byte [eax + 0x5d1a00]
mov byte [esi], dl
lea eax, [esi + 1]
mov dl, byte [ecx]
mov esi, eax
inc ecx
test dl, dl
jne 0x42ce08
mov byte [esi], 0
mov edi, dword [esp + 0x36c]
push 0x3c
pop esi
push esi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004c3e40
add esp, 0xc
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0x5d0b90
inc ebx
mov dword [esp + 0x18], 0x400
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, ebx
sete bl
cmp eax, 1
jne 0x42ce99
xor ebx, ebx
inc ebx
jmp 0x42cf54
cmp byte [esp + 0x13], 0
jne 0x42cf54
lea eax, [esp + 0x158]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x42cf54
call fcn.00436b27
push eax
lea eax, [esp + 0x15c]
push eax
push 0x5d0b98
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0043577d
add esp, 0x14
lea eax, [esp + 0x50]
push 0x5d0bb0
push eax
call fcn.004d5759
pop ecx
pop ecx
test eax, eax
je 0x42cf54
push eax
call fcn.004d5b89
pop ecx
lea eax, [esp + 0x260]
push eax
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov esi, eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, 0x20
seta bl
jbe 0x42cf54
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x260]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
lea eax, [esp + 0x370]
cmp dword [esp + 0x36c], eax
je 0x42cf71
push dword [esp + 0x36c]
call fcn.004ab853
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42eb9f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push esi
mov esi, ecx
test esi, esi
je 0x42ebea
push 2
call fcn.004d4c5a
push eax
push esi
call fcn.004d68fc
add esp, 0xc
lea ecx, [esp + 8]
push esi
call fcn.0043580a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 0x10]
cmp dword [esp + 0xc], eax
je 0x42ebea
push dword [esp + 0xc]
call fcn.004ab853
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
jne 0x430426
push 8
pop ecx
call fcn.0043023b
push dword [edi + 0x54]
lea eax, [esp + 0x1c]
push 0x5d0d98
push eax
call fcn.004383b9
add esp, 0xc
mov edx, eax
push 1
push 8
pop ecx
call fcn.00430274
pop ecx
xor al, al
jmp 0x4304b0
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi]
test ebx, ebx
je 0x4304ae
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test eax, eax
jne 0x4304ae
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x26
jne 0x4304b7
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4304b7
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 0xc]
or ecx, dword [edx + 8]
cmp eax, dword [esp + 0x14]
jg 0x4304b7
jl 0x430484
cmp ecx, dword [esp + 0x10]
ja 0x4304b7
push 7
pop ecx
call fcn.0043023b
push dword [edi + 0x54]
lea eax, [esp + 0x1c]
push 0x5d0dac
push eax
call fcn.004383b9
add esp, 0xc
mov edx, eax
push 1
push 7
pop ecx
call fcn.00430274
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
mov esi, eax
mov ecx, esi
call fcn.004302cf
push 5
pop ecx
call fcn.0043023b
push dword [esp + 0xc]
lea eax, [esp + 0x1c]
push ebx
push dword [edi + 0x54]
push esi
push 0x5d0dcc
push eax
call fcn.004383b9
push 1
push 5
mov edx, eax
pop ecx
call fcn.00430274
add esp, 0x1c
jmp 0x43041f