joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x330
mov eax, dword [0x100405a0]
xor eax, esp
mov dword [esp + 0x32c], eax
push esi
push edi
call fcn.10001be0
push 0x104
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x41
lea esi, [esp + 0x120]
lea edi, [esp + 0x228]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x41
lea esi, [esp + 0x120]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push 0x5c
push ecx
call fcn.1001d150
mov byte [eax], 0
mov al, 0x67
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c], al
mov byte [esp + 0x22], al
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push str._s_s
push ecx
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0x64
mov byte [esp + 0x2b], 0x2e
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x6e
mov byte [esp + 0x2f], 0
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x244]
push eax
lea eax, [esp + 0x38]
call fcn.10001b20
add esp, 0x20
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10001d50
Capabilities:
Terminate process

Disassembly:
push ecx
cmp dword [0x10044254], 0
jne 0x10001d5f
jmp sym.cert.dll_king1
mov eax, dword [esp]
pop ecx
ret

Function at 0x10001fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp method.CDialog.virtual_312
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x10004f88
cmp dword [edi + 0x54], 0
jne 0x10004f88
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10006c7f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10004f2f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10002300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002319
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002354
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10002350
lea ebx, [ebx]
cmp esi, eax
jae 0x10002354
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10002340
cmp esi, eax
jb 0x1000235a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x1000395b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x100039a1
call fcn.10006c7f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100039a1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x100039e4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x100039cd
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x100039cd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x100039e1
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1000c269
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 0x1000c2ac
call fcn.10006c7f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1000c2ac
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1000c2c7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1000be20
test ebx, ebx
mov esi, eax
je 0x1000c2c5
test edi, edi
je 0x1000c2c5
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1000d930
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x100305d9
call fcn.1001dfa6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1000d955
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1000d9a1
call fcn.10006e6a
push eax
lea ecx, [ebp - 0x10]
call fcn.100023f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000ce3a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10002160
mov eax, esi
call fcn.1001e07e
ret 8
Function at 0x1001cc61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100405a0]
jne 0x1001cc6b
repz ret
jmp fcn.10021712

Function at 0x10029f27
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10021879
xor ebx, ebx
cmp dword [0x100441a4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10029ffc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10029f67
xor eax, eax
jmp 0x1002a0c0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10036108
push edi
call esi
cmp eax, ebx
je 0x10029f60
push eax
call fcn.10021816
mov dword [esp], 0x100360f8
push edi
mov dword [0x100441a4], eax
call esi
push eax
call fcn.10021816
mov dword [esp], 0x100360e4
push edi
mov dword [0x100441a8], eax
call esi
push eax
call fcn.10021816
mov dword [0x100441ac], eax
lea eax, [ebp - 8]
push eax
call fcn.1001e159
test eax, eax
pop ecx
pop ecx
je 0x10029fca
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100224cf
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10029ffc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10021816
cmp eax, ebx
pop ecx
mov dword [0x100441b4], eax
je 0x10029ffc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10021816
pop ecx
mov dword [0x100441b0], eax
mov eax, dword [0x100441b0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1002a075
cmp dword [0x100441b4], esi
je 0x1002a075
push eax
call fcn.10021882
pop ecx
call eax
cmp eax, ebx
je 0x1002a042
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100441b4]
call fcn.10021882
pop ecx
call eax
test eax, eax
je 0x1002a042
test byte [ebp - 0x18], 1
jne 0x1002a075
lea eax, [ebp - 0xc]
push eax
call fcn.1001e190
test eax, eax
pop ecx
je 0x1002a05d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100224cf
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1002a06c
or dword [ebp + 0x10], 0x200000
jmp 0x1002a0a6
or dword [ebp + 0x10], 0x40000
jmp 0x1002a0a6
mov eax, dword [0x100441a8]
cmp eax, esi
je 0x1002a0a6
push eax
call fcn.10021882
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1002a0a6
mov eax, dword [0x100441ac]
cmp eax, esi
je 0x1002a0a6
push dword [ebp - 4]
push eax
call fcn.10021882
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100441a4]
call fcn.10021882
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4031d4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5b5008], 0x8088405
inc edx
mov dword [ebx + 0x5b5008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x429458
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42945e
ret
Function at 0x47121c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5d2e0c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47123e
shr eax, 1
xor eax, 0xedb88320
jmp 0x471240
shr eax, 1
dec edx
jne 0x47122c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x471225
mov byte [0x5d320c], 1
pop esi
pop ebx
ret

Function at 0x47125c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5d320c], 0
jne 0x471273
call fcn.0047121c
mov eax, edi
dec eax
test eax, eax
jl 0x47129c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5d2e0c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47127d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x473cfc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x473d2d
dec al
je 0x473d69
dec al
je 0x473dad
dec al
je 0x473e18
jmp 0x473ea2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x473ea2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x473d3d
jmp 0x473ea2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x473ea2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x473d79
jmp 0x473ea2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x473ea2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x473ddb
xor ebp, ebp
jmp 0x473dec
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x473df5
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x473dbd
jmp 0x473ea2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x473ea2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x473e70
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004712a4
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x473e2c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ba494
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ba4c2
mov eax, ebx
call fcn.004baf48
cmp dword [ebx + 0x40], 0
je 0x4ba4bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ba533
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ba525
cmp dword [ebx + 8], 0
je 0x4ba4e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ba4f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ba525
cmp dword [ebx + 8], 0
je 0x4ba4d7
cmp eax, 3
je 0x4ba509
dec eax
jne 0x4ba4d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ba4d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ba4d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ba551
cmp dword [ebx + 0x14], 0xcc
je 0x4ba551
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ba55c
pop ebx
ret
Function at 0x4e9dc0
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x4e9e5e
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x5cbf88]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x5cbf88]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x5cbf88]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x5cbf88]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4e9ddf
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4e9e74
dec edx
je 0x4e9ea9
jmp 0x4e9efa
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x5cbf88]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x5cbf88]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4e9efa
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x5cbf88]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x5cbf88]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x5cbf88]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e9f5c
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x4e9f7b
add edx, 3
sar edx, 2
test edx, edx
jle 0x4ea088
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x3d
jg 0x4e9fb1
je 0x4e9ff1
sub ecx, 0x2b
je 0x4e9fe7
sub ecx, 4
je 0x4e9fec
dec ecx
sub ecx, 0xa
jb 0x4e9fda
jmp 0x4e9ff4
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4e9fc3
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4e9fcd
jmp 0x4e9ff4
mov cl, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4e9ff4
mov cl, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4e9ff4
mov cl, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4e9ff4
mov byte [eax], 0x3e
jmp 0x4e9ff4
mov byte [eax], 0x3f
jmp 0x4e9ff4
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4e9f93
mov al, byte [esp + 4]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
mov dl, byte [esp + 6]
cmp dl, 0xff
je 0x4ea045
cmp byte [esp + 7], 0xff
jne 0x4ea045
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x4ea07d
cmp dl, 0xff
je 0x4ea07d
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x4e9f8a
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x4ea970
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4ea990
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4ea97e
pop edi
pop esi
pop ebx
ret

Function at 0x4ece38
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407e40
ret
Function at 0x523208
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.00402cf8
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.00402cf8
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.00402cf8
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.00402cf8
mov eax, dword [edi + 0x20]
add dword [esp + 8], eax
mov eax, dword [edi + 0x24]
add dword [esp + 0x10], eax
mov esi, 1
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.00522fe4
mov ebx, eax
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.00522fe4
mov ebp, eax
mov eax, dword [esp + 4]
xor eax, ebx
mov edx, ebp
call fcn.00522fe4
mov edx, esi
add edx, edx
add eax, dword [edi + edx*4 + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
xor eax, ebp
mov edx, ebx
call fcn.00522fe4
mov edx, esi
add edx, edx
add eax, dword [edi + edx*4 + 0x24]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
inc esi
cmp esi, 0x15
jne 0x523274
mov eax, dword [edi + 0xc8]
add dword [esp + 4], eax
mov eax, dword [edi + 0xcc]
add dword [esp + 0xc], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.00402cf8
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.00402cf8
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.00402cf8
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.00402cf8
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x523368
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.00402cf8
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.00402cf8
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.00402cf8
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.00402cf8
mov eax, dword [edi + 0xcc]
sub dword [esp + 0xc], eax
mov eax, dword [edi + 0xc8]
sub dword [esp + 4], eax
mov esi, 0x14
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.00522fe4
mov ebp, eax
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.00522fe4
mov ebx, eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
pop edx
sub eax, edx
mov edx, ebx
call fcn.00522ff8
xor eax, ebp
mov dword [esp + 0xc], eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x20]
mov eax, dword [esp + 8]
pop edx
sub eax, edx
mov edx, ebp
call fcn.00522ff8
xor ebx, eax
mov dword [esp + 4], ebx
dec esi
test esi, esi
jne 0x5233da
mov eax, dword [edi + 0x24]
sub dword [esp + 0x10], eax
mov eax, dword [edi + 0x20]
sub dword [esp + 8], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.00402cf8
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.00402cf8
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.00402cf8
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.00402cf8
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x575374
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x57543b
xor edx, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
xor edx, edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
xor edx, edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
xor edx, edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
xor edx, edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
xor edx, edx
push ebp
push 0x575404
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x5753fa
cmp dword [eax + 0x60], 0
je 0x5753fa
mov eax, dword [eax + 0x60]
call fcn.005720a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57540e
xor eax, eax
push ebp
push 0x575431
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00572bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57543b
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5ae500
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
mov eax, 0x5ae594
call fcn.005ae454
mov eax, dword [ebx]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call fcn.004073b0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5ae584
xor eax, eax
push ebp
push 0x5ae57d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00407238
cmp dword [ebp - 0xc], 0x103
jne 0x5ae566
push 1
mov eax, dword [ebp - 8]
push eax
call fcn.00407448
test eax, eax
je 0x5ae566
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ae584
mov eax, dword [ebp - 8]
push eax
call fcn.004070d8
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret