joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401392
Capabilities:
Delete file
Delete service
Get common file path
Print debug messages
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4160e4]
push ebx
mov ebx, ecx
push esi
push edi
test eax, eax
je 0x4013e1
push ebx
call eax
test eax, eax
jns 0x4013e1
push eax
lea eax, [ebp - 0x410]
push str.DrvInstaller:_Unloading_hider_error__0x_x._n
push eax
call fcn.00401752
add esp, 0xc
cmp eax, 0xffffffff
je 0x4013e1
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x401401
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401554
push 0x10025
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x401543
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x2000
push esi
push eax
mov dword [ebp - 0x434], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x438], eax
push ecx
push 0x2000
push eax
push ebx
mov dword [ebp - 0x430], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
lea eax, [ebp - 0x42c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x438]
cmp dword [ebx + 0xc], esi
je 0x401533
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4129d8
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00401ebc
push dword [ebx + 0xc]
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00401ebc
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
cmp eax, 0x20a
jae 0x401565
xor ecx, ecx
mov dword [ebp - 0x454], 3
mov word [ebp + eax - 0x210], cx
mov eax, 0x614
mov word [ebp - 0x448], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x446], esi
mov dword [ebp - 0x442], esi
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x43e], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push ebx
push esi
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40154b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ab3
mov esp, ebp
pop ebp
ret
call fcn.00401d3a
int3
Function at 0x40156b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov dword [ebp - 0xc], eax
push 4
inc esi
mov byte [ebp - 4], bl
mov ecx, ebx
mov byte [ebp - 5], bl
mov edi, ebx
mov byte [ebp - 2], bl
pop edx
mov byte [ebp - 1], bl
mov byte [ebp - 3], bl
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x10], esi
jle 0x401735
push 3
push 0x41297c
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x4015df
mov ecx, dword [eax + esi*4]
mov dh, 1
add ecx, 6
mov byte [ebp - 4], dh
mov dword [ebp - 0x14], ecx
jmp 0x401682
push 3
push 0x412984
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x401602
mov edi, dword [eax + esi*4]
add edi, 6
mov byte [ebp - 5], 1
jmp 0x40167f
push 0x41298c
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x401621
mov dh, byte [ebp - 4]
mov cl, 1
mov byte [ebp - 2], cl
jmp 0x401685
push 3
push 0x412994
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x401658
mov eax, dword [eax + esi*4]
add eax, 6
push eax
call fcn.00401e16
mov dh, byte [ebp - 4]
pop ecx
mov cl, byte [ebp - 2]
mov ch, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov byte [ebp - 1], ch
jmp 0x401688
push 0x41299c
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x40167d
mov cl, byte [ebp - 2]
mov dl, 1
mov ch, byte [ebp - 1]
mov dh, byte [ebp - 4]
mov byte [ebp - 3], dl
jmp 0x40168b
mov bl, 1
mov dh, byte [ebp - 4]
mov cl, byte [ebp - 2]
mov ch, byte [ebp - 1]
mov dl, byte [ebp - 3]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x4015b5
test bl, bl
jne 0x401740
mov bl, byte [ebp - 5]
test bl, bl
jne 0x4016bc
test cl, cl
jne 0x401740
test ch, ch
jne 0x401740
test dl, dl
jne 0x401740
test dh, dh
je 0x4016fc
call fcn.0040192f
mov ecx, eax
test ecx, ecx
je 0x401747
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test bl, bl
je 0x4016dd
mov ecx, edi
call fcn.00401392
mov ecx, dword [ebp - 0x14]
call fcn.004011de
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4016fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov cl, byte [ebp - 1]
test cl, cl
je 0x401711
test bl, bl
je 0x401711
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.0040132e
mov cl, byte [ebp - 2]
test cl, cl
je 0x401723
test bl, bl
je 0x401723
mov ecx, edi
call fcn.00401286
mov cl, byte [ebp - 3]
test cl, cl
je 0x401735
test bl, bl
je 0x401735
mov ecx, edi
call fcn.00401392
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x80070057
jmp 0x401737
push 0x80004005
call fcn.004019c5
int3
Function at 0x40818c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004029db
mov dword [ebp - 0x14], eax
cmp dword [0x416084], esi
jne 0x40827f
push 0x800
push esi
push 0x40fcb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40820c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40835f
push esi
push esi
push 0x40fcb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40835f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40835f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x416084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x416088], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41608c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x416094], eax
test eax, eax
je 0x40827c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x416090], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4082a4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408297
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4082b9
push 4
pop eax
jmp 0x408361
cmp dword [ebp - 0x14], esi
je 0x4082b9
push dword [0x416084]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40829e
mov eax, dword [0x416090]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x408317
cmp dword [0x416094], edi
je 0x408317
push eax
call ebx
push dword [0x416094]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408317
test eax, eax
je 0x408317
call ecx
test eax, eax
je 0x40830c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40830c
test byte [ebp - 8], 1
jne 0x408317
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408347
mov eax, dword [0x416088]
cmp eax, edi
je 0x408344
push eax
call ebx
test eax, eax
je 0x408344
call eax
mov esi, eax
test esi, esi
je 0x408344
mov eax, dword [0x41608c]
cmp eax, edi
je 0x408344
push eax
call ebx
test eax, eax
je 0x408344
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x416084]
call ebx
test eax, eax
je 0x40835f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x408361
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ab3
mov esp, ebp
pop ebp
ret
Function at 0x40c83b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
jne 0x40c84f
push esi
call fcn.0040c53b
pop ecx
cmp dword [esi + 4], 1
jne 0x40c869
push dword [ebp + 0x10]
lea eax, [esi + 8]
push dword [ebp + 0xc]
push eax
call fcn.0044d912
add esp, 0xc
jmp 0x40c8bd
cmp dword [esi + 4], 2
jne 0x40c8bd
cmp dword [esi], 0
jne 0x40c888
push 0x2f
push 0x489dd0
push str.ctx__lgfp
call fcn.0046a02e
add esp, 0xc
push dword [esi]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.004723e5
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jae 0x40c8bd
push esi
call fcn.0040c507
mov eax, dword [esi + 0x20]
mov dword [esi + 4], 3
mov dword [esp], str.Disabled_writing_session_log_due_to_error_while_writing
push eax
mov ecx, dword [eax]
call dword [ecx]
pop ecx
pop ecx
pop esi
pop ebp
ret

Function at 0x410675
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
xor edx, edx
push ebp
xor ebp, ebp
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
cmp dword [ebx], edx
jbe 0x410732
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], eax
mov eax, ebp
xor eax, dword [esp + 0x38]
mov ecx, eax
and eax, 1
shr ecx, 1
or ecx, eax
dec ecx
shr ecx, 0x1f
or edx, ecx
xor ecx, ecx
mov edi, edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
neg edi
and edi, esi
xor edx, edx
mov esi, dword [esp + 0x10]
xor esi, dword [esp + 0x28]
xor edx, dword [esp + 0x10]
neg eax
push ebp
push dword [esp + 0x30]
adc ecx, ecx
and esi, eax
xor dword [esp + 0x30], esi
neg ecx
and edx, ecx
xor dword [esp + 0x18], edx
call fcn.0041258f
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
pop ecx
pop ecx
xor ecx, ecx
add eax, edi
adc ecx, ecx
add eax, dword [esp + 0x14]
adc ecx, dword [esp + 0x18]
and dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], eax
inc ebp
cmp ebp, dword [ebx]
jb 0x4106b5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x410b26
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
push edi
mov ebx, dword [ebp]
mov edi, esi
cmp dword [eax], ebx
cmova ebx, dword [eax]
test ebx, ebx
je 0x410b62
push edi
push eax
call fcn.0041258f
push edi
push ebp
mov edx, eax
call fcn.0041258f
xor edx, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
or esi, edx
inc edi
cmp edi, ebx
jb 0x410b42
mov eax, esi
and esi, 1
shr eax, 1
pop edi
or eax, esi
pop esi
dec eax
pop ebp
shr eax, 0x1f
pop ebx
ret

Function at 0x410c0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, dword [edi]
je 0x410c32
push 0x9a
push str...mpint.c
push str.x0__nw__x1__nw
call fcn.0046a02e
add esp, 0xc
mov eax, dword [ebp + 0x10]
xor edx, edx
and eax, 1
neg eax
mov dword [ebp + 8], eax
cmp dword [esi], edx
jbe 0x410c65
mov eax, dword [esi + 4]
mov ecx, dword [edi + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 8]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [edi + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x410c43
pop edi
pop esi
pop ebp
ret
Function at 0x411219
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push 2
pop edi
xor esi, esi
cmp dword [ebp], edi
cmova edi, dword [ebp]
xor ebx, ebx
test edi, edi
je 0x411261
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x18], 0
mov edx, ecx
push ebx
push ebp
mov dword [esp + 0x18], eax
call fcn.0041258f
xor eax, edx
or esi, eax
inc ebx
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
cmp ebx, edi
jb 0x41123c
mov eax, esi
and esi, 1
shr eax, 1
pop edi
or eax, esi
pop esi
dec eax
pop ebp
shr eax, 0x1f
pop ebx
pop ecx
ret

Function at 0x411698
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc]
or dword [ebp - 0xc], 0xffffffff
push esi
push edi
xor esi, esi
push esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], esi
push eax
push esi
push dword [ebp + 8]
call fcn.00411274
mov edi, dword [ebp - 0xc]
add esp, 0x14
push 0x10
pop ecx
mov edx, edi
shr edx, cl
mov eax, edx
xor edx, edi
neg eax
shr eax, 0x1f
neg eax
and edx, eax
and eax, ecx
xor edi, edx
add esi, eax
shr ecx, 1
jne 0x4116c8
mov eax, dword [ebp - 4]
shl eax, 5
inc eax
pop edi
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412370
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebp, esi
mov eax, dword [ebx]
and esi, 0x1f
shr ebp, 5
sub eax, ebp
mov dword [esp + 0x10], ebp
push edi
shr eax, 0x1f
push eax
push ebx
mov dword [esp + 0x30], esi
call fcn.00410bbf
mov edx, dword [ebx]
xor edi, edi
mov dword [esp + 0x2c], edi
pop ecx
pop ecx
test edx, edx
je 0x412400
mov ecx, edi
mov esi, ebp
xor eax, eax
shr esi, cl
inc eax
and esi, 1
shl eax, cl
neg esi
xor ebp, ebp
mov dword [esp + 0x10], eax
test edx, edx
je 0x4123e7
mov edi, eax
mov edx, dword [ebx + 4]
lea eax, [edi + ebp]
push eax
push ebx
call fcn.0041258f
xor eax, dword [edx + ebp*4]
and eax, esi
xor dword [edx + ebp*4], eax
inc ebp
pop ecx
pop ecx
cmp ebp, dword [ebx]
jb 0x4123c7
mov edi, dword [esp + 0x24]
mov edx, dword [ebx]
inc edi
mov ebp, dword [esp + 0x14]
mov eax, edx
mov ecx, edi
mov dword [esp + 0x24], edi
shr eax, cl
test eax, eax
jne 0x4123ab
mov esi, dword [esp + 0x28]
mov edx, dword [ebx]
xor ebp, ebp
mov dword [esp + 0x10], ebp
xor eax, eax
mov ecx, ebp
inc eax
shl eax, cl
push 0x20
pop ecx
sub ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, esi
mov ecx, ebp
shr eax, cl
xor ecx, ecx
and eax, 1
mov dword [esp + 0x24], ecx
neg eax
mov dword [esp + 0x14], eax
test edx, edx
je 0x41247b
mov ebp, eax
mov esi, dword [ebx + 4]
lea edi, [ecx + 1]
push edi
push ebx
call fcn.0041258f
mov edx, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + edx*4]
shl eax, cl
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x24]
or eax, edx
xor eax, dword [esi + ecx*4]
and eax, ebp
xor dword [esi + ecx*4], eax
mov ecx, edi
mov edx, dword [ebx]
mov dword [esp + 0x24], ecx
cmp ecx, edx
jb 0x412437
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, 5
jb 0x412408
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x41248d
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x18]
and esi, 1
push edi
xor edi, edi
neg esi
cmp dword [ebx], edi
jbe 0x4124cd
push edi
push dword [esp + 0x18]
call fcn.0041258f
push edi
push dword [esp + 0x24]
mov edx, eax
call fcn.0041258f
mov ecx, dword [ebx + 4]
xor eax, edx
and eax, esi
add esp, 0x10
xor eax, edx
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [ebx]
jb 0x4124a3
pop edi
pop esi
pop ebx
ret
Function at 0x412672
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebp
push esi
push edi
test edx, edx
je 0x4126a1
mov edi, dword [esp + 0x14]
mov esi, edx
dec esi
mov eax, esi
xor eax, edx
movzx ecx, byte [esi + edi]
xor ecx, 0x30
dec ecx
shr ecx, 0x1f
dec ecx
and ecx, eax
xor edx, ecx
test esi, esi
jne 0x412684
mov dword [esp + 0x1c], edx
mov ebp, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0xc], esi
test ebp, ebp
je 0x4126fe
push ebx
mov ecx, esi
xor edi, edi
mov ebx, edx
inc edi
shr ebx, cl
and bl, 1
shl edi, cl
neg bl
cmp edi, ebp
jae 0x4126ee
mov eax, dword [esp + 0x18]
mov esi, eax
lea edx, [edi + eax]
sub edi, eax
mov cl, byte [esi]
mov al, byte [edx]
xor al, cl
and al, bl
xor cl, al
mov byte [esi], cl
xor byte [edx], al
inc esi
inc edx
lea eax, [edi + esi]
cmp eax, ebp
jb 0x4126cf
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
inc esi
mov eax, ebp
mov ecx, esi
mov dword [esp + 0x10], esi
shr eax, cl
test eax, eax
jne 0x4126b0
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x415f04
Capabilities:
Get session user name

Disassembly:
push 0x37
push dword [esp + 8]
call fcn.004032a4
pop ecx
pop ecx
cmp byte [eax], 0
je 0x415f1e
push eax
call fcn.0044dc7d
pop ecx
ret
push 0x38
push dword [esp + 8]
call fcn.00403019
pop ecx
pop ecx
test al, al
jne fcn.0045e073
xor eax, eax
ret
Function at 0x428be6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
add eax, esi
mov dword [esp + 8], eax
push edi
mov edi, dword [ebp + 8]
cmp esi, eax
jae 0x428c3a
lea eax, [edi - 0x104]
movups xmm0, xmmword [esi]
push eax
movaps xmmword [esp + 0x14], xmm0
call dword [ebp + 0x14]
movaps xmm1, xmmword [edi - 0x14]
lea eax, [edi - 0x104]
pxor xmm1, xmm0
movaps xmm0, xmmword [esp + 0x14]
movups xmmword [esi], xmm1
add esi, 0x10
movaps xmmword [edi - 0x14], xmm0
pop ecx
cmp esi, dword [esp + 0xc]
jb 0x428c0a
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43717c
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
xor ebx, ebx
inc ebp
push edi
mov dword [esi + 4], ebx
cmp dword [esi + 8], ebx
jbe 0x4371c9
push dword [esp + 0x18]
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
push eax
mov eax, dword [esi]
add eax, dword [esi + 4]
push ebp
push eax
call fcn.0046a621
push dword [esp + 0x28]
mov edi, eax
call fcn.00474e1f
add esp, 0x14
test eax, eax
jne 0x437200
test edi, edi
je 0x4371c9
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jb 0x437191
mov eax, dword [esi + 4]
mov edi, ebx
cmp eax, dword [esi + 8]
jne 0x4371e3
push dword [esp + 0x18]
call fcn.00474e86
cmp eax, 0xffffffff
pop ecx
cmovne edi, ebp
mov ecx, dword [esi]
mov eax, edi
mov edx, dword [esi + 4]
add esi, 0xc
mov dword [esi], ecx
mov dword [esi + 8], edx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], esi
pop edi
pop esi
pop ebp
pop ebx
ret
push 2
pop eax
jmp 0x4371fb
Function at 0x44d7a7
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x14
mov eax, dword [0x4adadc]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
xor edx, edx
push edi
mov edi, dword [esp + 0x28]
or ebp, 0xffffffff
mov cl, byte [edx + edi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x44d7d8
movsx eax, cl
sub eax, 0x41
jmp 0x44d810
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x44d7e7
movsx eax, cl
sub eax, 0x47
jmp 0x44d810
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x44d7f6
movsx eax, cl
add eax, 4
jmp 0x44d810
cmp cl, 0x2b
jne 0x44d7ff
push 0x3e
jmp 0x44d806
cmp cl, 0x2f
jne 0x44d809
push 0x3f
pop eax
jmp 0x44d810
cmp cl, 0x3d
jne 0x44d87e
mov eax, ebp
mov dword [esp + edx*4 + 0x10], eax
inc edx
cmp edx, 4
jl 0x44d7c6
mov edx, dword [esp + 0x10]
cmp edx, ebp
je 0x44d87e
cmp dword [esp + 0x14], ebp
je 0x44d87e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x44d83d
cmp eax, ebp
jne 0x44d87e
xor ebx, ebx
inc ebx
jmp 0x44d847
xor ebx, ebx
cmp eax, ebp
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, dword [esp + 0x14]
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [esi], al
cmp ebx, 1
jbe 0x44d872
mov ecx, edx
shr ecx, 8
mov byte [esi + 1], cl
cmp ebx, 2
jbe 0x44d87a
mov byte [esi + 2], dl
mov eax, ebx
jmp 0x44d880
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004659d6
add esp, 0x14
ret

Function at 0x44e053
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
je 0x44e07c
push edi
mov edi, dword [esp + 0x14]
sub edi, edx
movzx ecx, byte [edi + edx]
movzx eax, byte [edx]
xor ecx, eax
or ebx, ecx
inc edx
sub esi, 1
jne 0x44e06a
pop edi
mov ecx, 0x100
mov eax, ecx
sub eax, ebx
cmp eax, ecx
pop esi
sbb eax, eax
inc eax
pop ebx
ret
Function at 0x453588
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x4533d7
push 0
push 0x6f
push dword [0x4b27c8]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x458f94
Capabilities:
Terminate process

Disassembly:
call fcn.00459424
push dword [0x4b0948]
call fcn.0040dab8
mov eax, dword [0x4af8e4]
pop ecx
test eax, eax
je 0x458fb5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0045efc3
push 2
push dword [0x4af738]
call fcn.0040319c
pop ecx
pop ecx
cmp eax, 3
jne 0x458fd3
call fcn.00438b9d
call fcn.0045d2fc
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [esp + 4]
call fcn.00475525
int3

Function at 0x459281
Capabilities:
Terminate process

Disassembly:
push esi
push edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call fcn.0044dcac
push dword [0x48567c]
mov edi, eax
push str._s_Command_Line_Error
call fcn.0044dc6c
add esp, 0x10
mov esi, eax
push 0x10
push esi
push edi
push dword [0x4adacc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.0040dab8
push esi
call fcn.0040dab8
pop ecx
pop ecx
push 1
call fcn.00475525
pop edi
pop esi
mov eax, dword [esp + 4]
push esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], edx
sbb ecx, ecx
or esi, 0xffffffff
neg ecx
cmp edx, dword [eax + 4]
cmovb ecx, esi
mov eax, ecx
pop esi
ret