joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c9448
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5c9450
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c9605
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x5c9620
call fcn.0040a3f0
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.005c7774
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x5c9634
call fcn.0057b370
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5c94cb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5c950c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.005c7774
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5c969c
call fcn.0057b370
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040a398
mov eax, esi
mov edx, 0x5c96c8
call fcn.0040a398
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x5c9524
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5c9592
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5c96dc
call fcn.0057b370
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040a398
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5c955b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5c9586
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5c970c
call fcn.0057b370
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040a398
mov eax, esi
mov edx, 0x5c96c8
call fcn.0040a398
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x5c959e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5c95c9
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5c9738
call fcn.0057b370
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040a398
mov eax, esi
mov edx, 0x5c96c8
call fcn.0040a398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c960c
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409618
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409618
lea eax, [ebp - 4]
call fcn.004095b8
ret
Function at 0x5ed104
Capabilities:
Terminate thread

Disassembly:
push ecx
cmp dword [0x62252c], 0
je 0x5ed15a
mov eax, dword [0x62252c]
call fcn.004a123c
mov eax, dword [0x62252c]
cmp byte [eax + 0xe], 0
jne 0x5ed148
push esp
mov eax, dword [0x62252c]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_GetExitCodeThread
test eax, eax
je 0x5ed148
mov eax, dword [esp]
push eax
mov eax, dword [0x62252c]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x62252c]
xor edx, edx
mov dword [0x62252c], edx
call fcn.004079c4
pop edx
ret

Function at 0x5f50d4
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push ecx
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
mov dword [0x622b74], eax
cmp dword [0x622b74], 0xffffffff
jne 0x5f50f3
xor eax, eax
mov dword [0x622b74], eax
push 0x5f5268
call sub.kernel32.dll_GetModuleHandleW_2
mov esi, eax
push 0x5f5284
push esi
call fcn.0040fd70
mov ebx, eax
xor eax, eax
mov dword [esp], eax
test ebx, ebx
je 0x5f5128
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call ebx
test eax, eax
je 0x5f5128
cmp dword [esp], 0
jne 0x5f512c
xor eax, eax
jmp 0x5f512e
mov al, 1
mov byte [0x622940], al
mov eax, 0x622944
xor ecx, ecx
mov edx, 0x24
call fcn.005f4de8
cmp byte [0x622940], 0
je 0x5f515a
push 0x5f52a4
push esi
call fcn.0040fd70
jmp 0x5f515e
xor edx, edx
mov eax, edx
test eax, eax
je 0x5f516b
push 0x622944
call eax
jmp 0x5f5175
push 0x622944
call sub.kernel32.dll_GetSystemInfo_1
mov eax, 0xa
call fcn.00406450
cmp eax, 0x100000
jbe 0x5f519c
cmp dword [0x62294c], 0x100000
ja 0x5f519c
mov dword [0x62294c], 0x100000
call fcn.0040646c
mov dword [0x622968], 0x11c
push 0x622968
call sub.kernel32.dll_GetVersionExW
xor eax, eax
mov edx, dword [0x62296c]
sub edx, 5
je 0x5f51ca
dec edx
je 0x5f520e
jmp 0x5f5251
mov edx, dword [0x622970]
sub edx, 1
jb 0x5f51dc
je 0x5f51e0
dec edx
je 0x5f51e4
jmp 0x5f5251
mov al, 1
jmp 0x5f5251
mov al, 2
jmp 0x5f5251
cmp byte [0x622a82], 1
jne 0x5f51fb
cmp word [0x622944], 9
jne 0x5f51fb
mov al, 3
jmp 0x5f5251
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x5f520a
mov al, 4
jmp 0x5f5251
mov al, 5
jmp 0x5f5251
mov edx, dword [0x622970]
sub edx, 1
jb 0x5f5220
je 0x5f5231
dec edx
je 0x5f5242
jmp 0x5f5251
cmp byte [0x622a82], 1
jne 0x5f522d
mov al, 6
jmp 0x5f5251
mov al, 8
jmp 0x5f5251
cmp byte [0x622a82], 1
jne 0x5f523e
mov al, 0xc
jmp 0x5f5251
mov al, 0xa
jmp 0x5f5251
cmp byte [0x622a82], 1
jne 0x5f524f
mov al, 0xe
jmp 0x5f5251
mov al, 0x10
cmp word [0x622944], 9
jne 0x5f525c
inc eax
mov byte [0x622a84], al
pop edx
pop esi
pop ebx
ret
Function at 0x5f52f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x5f5371
cmp dword [ebp + 0xc], 0
je 0x5f5337
mov edx, esi
dec edx
test edx, edx
jl 0x5f5337
inc edx
xor eax, eax
movzx ecx, byte [ebx + eax]
mov edi, dword [ebp + 0xc]
mov byte [edi + eax], cl
inc eax
dec edx
jne 0x5f5329
mov edx, esi
dec edx
test edx, edx
jl 0x5f534f
inc edx
xor eax, eax
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax]
mov byte [ebx + eax], cl
inc eax
dec edx
jne 0x5f5341
cmp byte [ebp + 8], 0
jne 0x5f5364
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f6b28
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
mov ecx, str.cw
movzx ebx, word [eax + 0x112]
dec ebx
test ebx, ebx
jle 0x5f6c97
add eax, 0x10
mov edx, dword [eax]
mov esi, edx
shr esi, 0x18
movzx esi, byte [ecx + esi]
mov esi, dword [esi*4 + 0x619dec]
mov edi, edx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6199ec]
mov edi, edx
shr edi, 8
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6195ec]
and edx, 0xff
movzx edx, byte [ecx + edx]
xor esi, dword [edx*4 + 0x6191ec]
mov dword [eax], esi
mov edx, dword [eax + 4]
mov esi, edx
shr esi, 0x18
movzx esi, byte [ecx + esi]
mov esi, dword [esi*4 + 0x619dec]
mov edi, edx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6199ec]
mov edi, edx
shr edi, 8
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6195ec]
and edx, 0xff
movzx edx, byte [ecx + edx]
xor esi, dword [edx*4 + 0x6191ec]
mov dword [eax + 4], esi
mov edx, dword [eax + 8]
mov esi, edx
shr esi, 0x18
movzx esi, byte [ecx + esi]
mov esi, dword [esi*4 + 0x619dec]
mov edi, edx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6199ec]
mov edi, edx
shr edi, 8
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6195ec]
and edx, 0xff
movzx edx, byte [ecx + edx]
xor esi, dword [edx*4 + 0x6191ec]
mov dword [eax + 8], esi
mov edx, dword [eax + 0xc]
mov esi, edx
shr esi, 0x18
movzx esi, byte [ecx + esi]
mov esi, dword [esi*4 + 0x619dec]
mov edi, edx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6199ec]
mov edi, edx
shr edi, 8
and edi, 0xff
movzx edi, byte [ecx + edi]
xor esi, dword [edi*4 + 0x6195ec]
and edx, 0xff
movzx edx, byte [ecx + edx]
xor esi, dword [edx*4 + 0x6191ec]
mov dword [eax + 0xc], esi
add eax, 0x10
dec ebx
jne 0x5f6b43
pop edi
pop esi
pop ebx
ret
Function at 0x5f72c0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push ebx
mov esi, eax
mov eax, dword [edx]
mov ebx, dword [edx + 4]
bswap eax
bswap ebx
mov dword [esi], eax
mov dword [esi + 4], ebx
mov eax, dword [edx + 8]
mov ebx, dword [edx + 0xc]
bswap eax
bswap ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov eax, dword [edx + 0x10]
mov ebx, dword [edx + 0x14]
bswap eax
bswap ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov eax, dword [edx + 0x18]
mov ebx, dword [edx + 0x1c]
bswap eax
bswap ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov eax, dword [edx + 0x20]
mov ebx, dword [edx + 0x24]
bswap eax
bswap ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov eax, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
bswap eax
bswap ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov eax, dword [edx + 0x30]
mov ebx, dword [edx + 0x34]
bswap eax
bswap ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov eax, dword [edx + 0x38]
mov ebx, dword [edx + 0x3c]
bswap eax
bswap ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
lea esi, [esi + 0x40]
mov ecx, 0x30
mov eax, dword [esi - 8]
mov edi, dword [esi - 0x1c]
mov edx, eax
mov ebx, eax
ror eax, 0x11
ror edx, 0x13
shr ebx, 0xa
xor eax, edx
xor eax, ebx
add edi, eax
mov eax, dword [esi - 0x3c]
mov ebx, eax
mov edx, eax
ror eax, 7
ror edx, 0x12
shr ebx, 3
xor eax, edx
xor eax, ebx
add eax, edi
add eax, dword [esi - 0x40]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x5f734b
pop ebx
pop edi
pop esi
ret
Function at 0x5f738c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov ebx, eax
lea esi, [ebp - 0x20]
lea edx, [ebx + 0x28]
lea eax, [ebp - 0x120]
call fcn.005f72c0
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
push ebx
push esi
push edi
xor edi, edi
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov edx, eax
mov ebx, eax
ror eax, 6
ror edx, 0xb
ror ecx, 0x19
xor eax, edx
mov edx, dword [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 4]
add ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, edx
mov dword [ebp - 0xc], ebx
and eax, ebx
xor eax, edx
add eax, dword [edi*4 + 0x61b1ec]
add eax, ecx
mov ecx, dword [ebp - 0x14]
add eax, dword [ebp + edi*4 - 0x120]
mov ebx, dword [ebp - 0x20]
add ecx, eax
mov esi, eax
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov edx, ebx
ror eax, 2
mov ecx, ebx
ror edx, 0xd
ror ecx, 0x16
xor eax, edx
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
add esi, eax
mov eax, ebx
mov edx, ebx
or eax, ecx
and eax, dword [ebp - 0x18]
and edx, ecx
or eax, edx
inc edi
add esi, eax
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp edi, 0x40
jne 0x5f73dd
pop edi
pop esi
pop ebx
mov eax, dword [esi]
add dword [ebx], eax
mov eax, dword [esi + 4]
add dword [ebx + 4], eax
mov eax, dword [esi + 8]
add dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
add dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
add dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
add dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
add dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
add dword [ebx + 0x1c], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f7548
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x6c
call fcn.005f4de8
mov dword [ebx], 0x6a09e667
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
pop ebx
ret
Function at 0x5f7f50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
shr esi, 4
test esi, esi
jle 0x5f7f7d
mov ebx, ecx
shl ebx, 0xb
shr ecx, 0x15
xor ebx, dword [ecx*4 + 0x6191ec]
mov ecx, ebx
xor dword [eax], ecx
xor dword [eax + 4], ecx
xor dword [eax + 8], ecx
xor dword [eax + 0xc], ecx
add eax, 0x10
dec esi
jne 0x5f7f5b
mov ebx, ecx
shl ebx, 0xb
shr ecx, 0x15
xor ebx, dword [ecx*4 + 0x6191ec]
mov ecx, ebx
mov esi, 0xf
and esi, edx
shr esi, 2
test esi, esi
jle 0x5f7fa4
xor dword [eax], ecx
add eax, 4
dec esi
jne 0x5f7f9c
mov esi, 3
and esi, edx
test esi, esi
jle 0x5f7fb5
xor byte [eax], cl
inc eax
dec esi
jne 0x5f7faf
pop esi
pop ebx
ret
Function at 0x5f9168
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x6c
call fcn.005f4de8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
pop ebx
ret

Function at 0x5f9d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5f9d89
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x20a]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
jne 0x5f9d4d
call fcn.0042983c
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.0040a240
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.00428f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9d90
lea eax, [ebp - 0x210]
call fcn.004095b8
ret

Function at 0x5fa2c4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x4bde20]
call fcn.004bee88
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5fa32f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004bef34
mov cl, 1
mov edx, 0x5fa34c
mov eax, dword [ebp - 8]
call fcn.004bef98
test al, al
je 0x5fa319
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004bf60c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa336
mov eax, dword [ebp - 8]
call fcn.004079c4
ret

Function at 0x5fa4ec
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.0040a19c
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingW
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x5fa558
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 8], 0
je 0x5fa53c
push 4
push 0
push 0
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [eax]
mov dword [ebp - 4], edx
push eax
call sub.kernel32.dll_UnmapViewOfFile
jmp 0x5fa541
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa55f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x600a44
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, ecx
mov ebx, edx
cmp esi, 2
jne 0x600a59
mov eax, ebx
call fcn.005f9908
mov dword [esp], esi
mov eax, ebx
test eax, eax
je 0x600a67
sub eax, 4
mov eax, dword [eax]
add eax, eax
mov dword [esp + 4], eax
mov eax, ebx
call fcn.0040a19c
mov dword [esp + 8], eax
mov eax, dword [0x61b930]
cmp dword [eax], 0
jne 0x600a99
mov eax, 0x600ac4
call fcn.005f9908
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, esp
push eax
push 0
push 0x4a
mov eax, dword [0x61b930]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
push eax
call sub.user32.dll_SendMessageW
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x40eb37
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1c4], 0
jg 0x40eb5f
push 0x55b
push 0x100543c0
push 0x10057b70
call dword [0x10054230]
add esp, 0xc
mov ecx, dword [esi + 0x1c4]
mov edi, 4
mov eax, dword [esi + 0x1cc]
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10057ca8]
sub edi, 1
jne 0x40eb79
mov ecx, dword [0x10087770]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19d0], eax
jne 0x40ebab
mov dword [ecx + 0x19d4], eax
cmp dword [ecx + 0x19fc], eax
jne 0x40ebba
mov byte [ecx + 0x1a00], 1
pop ebp
ret 4

Function at 0x40ebc7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1c4], 0
jg 0x40ebf2
push 0x55b
push 0x100543c0
push 0x10057b70
call dword [0x10054230]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, 0x10
movss xmm0, dword [ecx]
subss xmm0, dword [esi + 0xc]
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1cc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10057ca8]
sub edi, 1
jne 0x40ec57
mov eax, dword [0x10087770]
not edx
pop edi
pop esi
cmp dword [eax + 0x19d0], edx
jne 0x40ec88
mov dword [eax + 0x19d4], edx
cmp dword [eax + 0x19fc], edx
jne 0x40ec97
mov byte [eax + 0x1a00], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x418a47
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10087770]
push ebx
push esi
push edi
mov esi, dword [eax + 0x19ac]
add esi, 0x1c4
mov dword [ebp - 4], ecx
cmp dword [esi], 0
jg 0x418a7f
push 0x55b
push 0x100543c0
push 0x10057b70
call dword [0x10054230]
add esp, 0xc
mov ecx, dword [esi]
lea edx, [ebp - 4]
mov eax, dword [esi + 8]
mov edi, 4
mov ebx, dword [eax + ecx*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10057ca8]
sub edi, 1
jne 0x418a97
mov edi, dword [esi + 4]
not ebx
mov ecx, dword [esi]
cmp ecx, edi
jne 0x418ade
inc ecx
test edi, edi
je 0x418acc
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x418ad1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00421357
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494f13
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 8]
sub eax, 1
jne 0x494f46
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
jne 0x494f46
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x494f46
cmp ecx, dword [eax + 0x34]
mov eax, 1
je 0x494f4b
mov dword [0x10121024], eax
ret 0xc
mov eax, 1
ret 0xc
Function at 0x49f0ac
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.00555103
mov eax, dword [0x10120f50]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
test eax, eax
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
jbe 0x49f23f
push ebx
add eax, 0xffffffff
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
add eax, 1
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
xor eax, eax
mov ah, byte [esi + 1]
add esi, 1
movzx ecx, byte [esi + 1]
add esi, 1
movzx edx, byte [esi + 1]
or ebx, eax
add esi, 1
movzx eax, byte [esi + 1]
shl ecx, 0x10
add esi, 1
or ebx, ecx
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 1]
or eax, ecx
add esi, 1
movzx ecx, byte [esi + 1]
add esi, 1
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 1
mov byte [edi], dl
mov byte [ebp], al
call fcn.004a2253
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004a23d3
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004a5753
push ebp
call fcn.004a2253
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.004a23d3
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.004a5753
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
add eax, 1
shr edx, 8
add esp, 0x30
mov byte [eax], dl
add eax, 1
add eax, 1
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
add eax, 1
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
add eax, 1
add eax, 1
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
add eax, 1
mov byte [eax], cl
mov edx, ecx
shr edx, 8
add eax, 1
mov byte [eax], dl
mov edx, ecx
add eax, 1
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x49f0ca
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.00555133
add esp, 0xa0
ret
Function at 0x4c37d3
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x4c37ec
mov esi, ebx
mov ebx, eax
jmp 0x4c37ee
mov esi, eax
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x10]
cmp eax, dword [edi + 8]
jg 0x4c37fe
mov eax, edi
jmp 0x4c3808
push eax
push edi
call fcn.004bab53
add esp, 8
test eax, eax
jne 0x4c3810
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x4c382e
mov edx, dword [esi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [edi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [ebx + 4]
jl 0x4c3817
cmp eax, dword [esi + 4]
jge 0x4c3845
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [edi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x4c3833
mov eax, dword [esi + 4]
test eax, eax
mov dword [edi + 4], eax
jle 0x4c3868
mov ecx, dword [edi]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4c3865
sub eax, 1
test eax, eax
jg 0x4c3855
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x4c3875
mov dword [edi + 0xc], 0
pop edi
pop esi
mov eax, 1
pop ebx
ret