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

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x620cec], 0
je 0x46bc7e
xor eax, eax
xor esi, esi
mov dword [0x620cec], eax
mov eax, 0x620cf0
xor ebx, ebx
xor edx, edx
mov ecx, 0x1f
mov dl, byte [eax]
inc eax
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc ebx
cmp ebx, 0xe
jl 0x46bb7d
xor ebx, ebx
mov ecx, 0x65b024
mov eax, ebx
xor edx, edx
test al, 1
je 0x46bbaf
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x46bbb3
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x46bba3
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x46bb9f
xor ebx, ebx
mov esi, 0x65b024
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
add edx, ecx
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
add edx, ecx
lea ecx, [esi + 0x400]
mov dword [esi + 0x1000], edx
mov edx, 1
mov edi, eax
and edi, 0xff
shr eax, 8
mov edi, dword [edi*4 + 0x65b024]
xor edi, eax
mov eax, edi
mov ebp, eax
mov edi, eax
shr ebp, 8
mov dword [ecx], eax
shr edi, 0x18
and ebp, 0xff00
add edi, ebp
mov ebp, eax
and ebp, 0xff00
shl ebp, 8
add edi, ebp
mov ebp, eax
and ebp, 0xff
shl ebp, 0x18
add edi, ebp
mov dword [ecx + 0x1000], edi
inc edx
add ecx, 0x400
cmp edx, 4
jl 0x46bc0f
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x46bbd0
xor eax, eax
mov dword [0x620ce8], eax
jmp 0x46bc87
cmp dword [0x620ce8], 0
jne 0x46bc7e
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x471464
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x471473
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x621cac], 0
jne 0x471481
call fcn.00471408
or eax, 0xffffffff
movzx edx, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x65d8b0]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x471484
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x4714ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor edx, edx
mov ecx, eax
test ecx, ecx
je 0x4714bc
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4714f1
mov ebx, 1
movzx esi, byte [eax + ebx - 1]
movzx edi, dx
shr edi, 8
xor esi, edi
and esi, 0xff
movzx esi, word [esi*2 + 0x621aac]
shl edx, 8
and dx, 0xffff
xor si, dx
mov edx, esi
inc ebx
dec ecx
jne 0x4714c5
mov eax, edx
pop edi
pop esi
pop ebx
ret

Function at 0x471dcc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.004059cc
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.004059cc
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x471e40
inc dword [ebp - 0x5c]
test ebx, ebx
jbe 0x471e96
mov edi, 0x40
sub edi, dword [ebp - 0x54]
cmp ebx, edi
jb 0x471e7d
mov ecx, edi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
call fcn.0040532c
mov eax, 0x40
sub eax, dword [ebp - 0x54]
sub ebx, eax
mov eax, 0x40
sub eax, dword [ebp - 0x54]
add esi, eax
push ebp
call fcn.00471510
pop ecx
jmp 0x471e92
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
mov ecx, ebx
call fcn.0040532c
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x471e44
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x471eab
push ebp
call fcn.00471510
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.00471510
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.0040532c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471edc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x471efd
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x471eea
pop edi
pop esi
pop ebx
ret
Function at 0x471fe8
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.00471f04
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00471f04
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x65dcb8]
mov edx, dword [0x65dcbc]
mov dword [esp + 4], edx
mov edx, dword [0x65dcc0]
mov dword [esp + 8], edx
mov edx, dword [0x65dcc4]
mov dword [esp + 0xc], edx
mov edx, 0x20
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
sub esi, edi
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
sub ebx, edi
sub eax, 0x9e3779b9
dec edx
jne 0x472037
mov eax, ebx
call fcn.00471f04
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00471f04
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x495664
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x654738]
movzx edx, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x48dc68]
call fcn.00495488
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x494b35
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x49571f
cmp word [ebp - 4], 0x5a4d
jne 0x49571f
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00447c28
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x49571f
cmp dword [ebp - 8], 0
je 0x49571f
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00447c28
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x49571f
cmp dword [ebp - 0xc], 0x4550
jne 0x49571f
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x49571f
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494b3c
mov eax, dword [ebp - 0x10]
call fcn.00406180
ret

Function at 0x495744
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494cdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x48dc68]
call fcn.00495488
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x494cbe
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x4958a8
cmp word [ebp - 4], 0x5a4d
jne 0x4958a8
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00447c28
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x4958a8
cmp dword [ebp - 8], 0
je 0x4958a8
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00447c28
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x4958a8
cmp dword [ebp - 0xc], 0x4550
jne 0x4958a8
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.00495500
test al, al
je 0x4958a4
test byte [ebp - 0x15], 0x20
je 0x4958a4
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00490368
mov eax, dword [ebp - 0x2c]
call fcn.004087d8
push eax
call fcn.0040d9d0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x494c9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x494cec
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d6c4
test eax, eax
je 0x495882
push 0xa
push fcn.00494cf8
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d6c4
test eax, eax
je 0x495882
mov byte [ebp - 1], 2
jmp 0x495886
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494ca8
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d6dc
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494cc5
mov eax, dword [ebp - 0x10]
call fcn.00406180
ret
Function at 0x498934
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x497f03
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x498996
cmp byte [ebp - 5], 0x80
jb 0x498996
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
movzx edx, byte [ebp - 5]
mov eax, ebx
call fcn.0040846c
movzx ecx, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x498ad7
cmp byte [esi + 0x3b], 0
je 0x4989f6
mov eax, dword [0x65e094]
mov edx, dword [esi + 0x37]
call fcn.00408790
je 0x4989e6
mov eax, dword [esi + 0x37]
call fcn.00472098
mov eax, 0x65e094
mov edx, dword [esi + 0x37]
call fcn.00408148
movzx ecx, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.0047214c
jmp 0x498a52
cmp byte [ebx], 0
je 0x498a52
lea eax, [ebp - 0x10]
mov edx, ebx
mov ecx, 0
call fcn.00408504
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00472508
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00408570
lea eax, [ebp - 0x18]
mov edx, ebx
mov ecx, 0
call fcn.00408504
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x497f20
call fcn.004085ec
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, 0xff
call fcn.00408570
cmp byte [ebp - 6], 0
je 0x498ae8
lea eax, [ebp - 0x1c]
mov edx, ebx
mov ecx, 0
call fcn.00408504
lea eax, [ebp - 0x1c]
mov edx, 0x497f30
call fcn.00408594
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, 0xff
call fcn.00408570
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call fcn.00408504
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00498934
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x24]
mov ecx, 0
call fcn.00408504
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00408594
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov ecx, 0xff
call fcn.00408570
jmp 0x498ae8
movzx edx, byte [ebx]
test edx, edx
jle 0x498ae8
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x498ae1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497f0a
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00407d5c
ret
Function at 0x4a7f88
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x626b39], 0
jne 0x4a7fd5
xor esi, esi
mov edx, 0x65e774
mov eax, esi
mov ebx, 8
test al, 1
je 0x4a7fbb
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a7fbd
shr eax, 1
dec ebx
jne 0x4a7fae
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x4a7fa7
mov byte [0x626b39], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x4a8002
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x65e774]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x4a7fe1
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4dcca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4dccf2
test eax, edx
je 0x4dccf5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4dccb5
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4dccdb
add ecx, 4
js 0x4dcccb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4dccd8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4dcd01
test edx, edx
jne 0x4dcca8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x51f098
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov dl, 1
mov eax, dword [0x51b298]
call fcn.00406150
mov ebx, eax
cmp word [esi + 8], 0
jne 0x51f0d0
xor eax, eax
jmp 0x51f0b8
inc eax
cmp ax, word [esi + 0xa]
ja 0x51f0ca
movzx edx, ax
mov ecx, dword [esi + 4]
cmp byte [ecx + edx], 0
jne 0x51f0b7
mov word [ebx + 8], ax
jmp 0x51f0d6
mov word [ebx + 8], 0
cmp word [esi + 0xa], 0xffff
jne 0x51f0fd
mov ax, 0xffff
jmp 0x51f0e5
dec eax
cmp ax, word [esi + 8]
jb 0x51f0f7
movzx edx, ax
mov ecx, dword [esi + 4]
cmp byte [ecx + edx], 0
jne 0x51f0e4
mov word [ebx + 0xa], ax
jmp 0x51f103
mov word [ebx + 0xa], 0xffff
movzx eax, word [ebx + 0xa]
movzx edx, word [ebx + 8]
sub eax, edx
inc eax
push eax
lea eax, [ebx + 4]
mov ecx, 1
mov edx, dword [0x51b224]
call fcn.0040a04c
add esp, 4
movzx eax, word [ebx + 8]
movzx edx, word [esi + 8]
dec edx
sub dx, ax
jb 0x51f14a
inc edx
movzx ecx, ax
movzx edi, word [ebx + 8]
sub ecx, edi
mov edi, dword [ebx + 4]
mov byte [edi + ecx], 1
inc eax
dec dx
jne 0x51f134
movzx eax, word [ebx + 0xa]
movzx edx, word [esi + 8]
inc edx
sub dx, ax
ja 0x51f16f
dec edx
movzx ecx, ax
movzx edi, word [ebx + 8]
sub ecx, edi
mov edi, dword [ebx + 4]
mov byte [edi + ecx], 1
dec eax
inc dx
jne 0x51f159
movzx eax, word [esi + 8]
movzx edx, word [esi + 0xa]
sub dx, ax
jb 0x51f1a9
inc edx
movzx edi, ax
mov ecx, edi
movzx ebp, word [esi + 8]
sub ecx, ebp
mov ebp, dword [esi + 4]
movzx ecx, byte [ebp + ecx]
xor cl, 1
push ecx
movzx ecx, word [ebx + 8]
sub edi, ecx
mov ecx, dword [ebx + 4]
lea edi, [ecx + edi]
pop ecx
mov byte [edi], cl
inc eax
dec dx
jne 0x51f17d
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52a10c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x4f5f90]
call fcn.004fa068
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5295e9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov ecx, dword [edx + 0x40]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x58], 0
mov eax, dword [ebp - 4]
call fcn.005259c4
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
movzx edx, byte [ebp - 5]
mov byte [eax + 0x59], dl
test byte [ebp - 5], bl
je 0x52a1c6
mov eax, dword [ebp - 4]
call fcn.00529104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5295f0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0xc], edx
call fcn.00406180
ret
Function at 0x5793d4
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 0x5793da
ret

Function at 0x5849bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x583f79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x584b55
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x584b55
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x583d88]
call fcn.0040a04c
add esp, 4
lea eax, [ebp - 4]
call fcn.0040b6f8
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x654a3c]
push eax
call fcn.005703f0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00409e84
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004059cc
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x577114]
call fcn.005813b0
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x583f33
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00582fc4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.00581cd0
call fcn.0057c3d4
push eax
call fcn.0040de48
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00581fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x584b55
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x583f80
lea eax, [ebp - 8]
mov edx, dword [0x583d88]
call fcn.0040a14c
lea eax, [ebp - 4]
call fcn.0040b6f8
ret
Function at 0x404109
Capabilities:
Encode data using xor

Disassembly:
bswap edx
inc dl
xchg ecx, ebp
imul ebp, ecx, 0x71963edd
jmp 0x4040eb
cmp eax, ecx
jno 0x4040f3
test ecx, ecx
adc esi, edi
call 0x404109
sbb edi, ebx
neg dh
ja 0x404101
not al
inc eax
sub esi, eax
lea ecx, [0xdb3ea9b5]
movzx ebp, di
test edi, 0xbb8572b1
add ebx, 0x15e2a
bswap edx
sub ebx, 0x6912
pop edx
jmp 0x404126
dec edi
lea ecx, [0xbd4b7fef]
cmp esi, edx
imul ebp, edx
not cl
push 0x60b
cmp ch, bh
pop eax
lea ebx, [0xa338a466]
sub eax, 0x60b
xor bl, al
dec ebx
add eax, 0xf34
lea ebx, [0x6887b8b1]
sub eax, 0xf33
dec ecx
xchg edi, ecx
cmp eax, 0x87f
jb 0x404147
movd mm5, edx
movd eax, mm5
jno 0x404175
imul edx, ebp, 0x3ff9969f
mov edi, edi
dec ebp
mov ebx, edx
add eax, 0x28d87
imul edi, edi
sub eax, 0xe7c
dec bh
jb 0x404195
imul esi, edi, 0x193b3318
mov esi, 0xfe75a765
imul edi, edi
jno 0x40419b
dec ebp
imul ecx, edx, 0xc438267b
push 0xf9c11
not dl
pop ebx
mov ebp, ebx
sub ebx, 0xf954e
test ah, 0x46
mov edx, 0xc395a1ec
add ch, dl
or ecx, edx
mov edx, 0xfff0be60
dec ch
sub edx, 0x809
mov ch, ah
lea esi, [edx]
xor esi, 0xf4bee
sub ebx, esi
lea ecx, [0x134d588a]
sub ebx, 0x248
cmp ebx, 0x22
jae 0x4041b1
cmp edi, 0xd206
jae 0x4041f5
mov ebp, ebx
push ebp
push esi
push eax
movsx esi, si
jbe 0x4041ff
and cl, cl
not edi
movzx edi, bp
mov ebp, edi
dec dh
mov edi, 0xebb48d8a
lea ebx, [ebp]
and ch, cl
adc cl, ah
ret
Function at 0x41f573
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f5b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f5b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f5b2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f5b2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f5b2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x431790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4317bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4317bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x402bd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404840], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40410c], ecx
mov dword [0x4047c0], 0x30
mov dword [0x4047c4], 2
mov dword [0x4047cc], 0
mov dword [0x4047d0], 0
mov dword [0x4047c8], 0x402f50
jmp 0x402c23
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4047d4], eax
mov dword [0x4047e0], 0xf
mov dword [0x4047e8], 0x404767
mov dword [0x404104], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4047d8], eax
mov dword [0x4047ec], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4047dc], eax
push 0x4047c0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x404104]
push 0
push 0
push 0x24e
push 0x320
push 0xd8
push 0xa0
push 0x40000
push str.litform
push str.ndcls
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404838], eax
xor eax, eax
jmp 0x402cc2
push eax
push dword [0x404838]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404838]
call dword [sym.imp.user32.dll_UpdateWindow]
push 0
push 0
push 0
push 0x4047f0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x402d08
push 0x4047f0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4047f0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x402cdb
mov eax, dword [0x4047f8]
jmp 0x402d15
call 0x4022b2
ret