joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0340
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x542ad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00534978
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x54605c]
push eax
mov ecx, edi
call fcn.0053a1a8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0053bd1e
test eax, eax
je 0x4c045c
mov ecx, dword [esp + 0x3c]
call fcn.0053a1d5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x54667c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4c0420
push edi
mov ecx, esi
call fcn.005377ae
mov ecx, esi
call fcn.004c0600
cmp dword [esp + 0x38], 1
jne 0x4c0455
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005378e9
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4c2620
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4c2653
push esi
call fcn.004d0890
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4c264c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4c26d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4c26c2
mov eax, dword [esi + 8]
test eax, eax
je 0x4c2677
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4c26be
cmp eax, 2
je 0x4c26c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4c266a
cmp eax, 3
je 0x4c269d
cmp eax, 1
jne 0x4c266a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4c266a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4c266a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004c2700
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4c26e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004c2700
add esp, 4
pop esi
ret
Function at 0x4f05a7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x543c46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.00532215
mov eax, dword [0x7412e0]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x71258c
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x4f0604
push ebx
call dword [0x546360]
inc eax
push eax
call fcn.005330f9
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x546368]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4fb8e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x4fba9d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x4fba16
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x4fba16
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x4fb9fd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4fb9fd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.004fcb50
mov ebp, eax
test ebp, ebp
je 0x4fb9f5
push ebp
mov ecx, esi
call fcn.004fdf80
test eax, eax
je 0x4fb9f5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x4fb9f5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4fb9b6
xor eax, eax
jmp 0x4fb9be
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004fe950
inc ebx
xor ebp, ebp
jmp 0x4fb947
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4fb920
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.004fce60
test eax, eax
pop ebx
je 0x4fba9d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.004fcb50
mov edi, eax
cmp edi, ebp
je 0x4fba9d
push edi
mov ecx, esi
call fcn.004fdf80
test eax, eax
je 0x4fba9d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.004fd0a0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.004fd110
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.004fe950
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x505d40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x544f47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.00531566
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.00531566
mov edi, dword [0x546614]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x546560]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x546190]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00506860
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x5085d0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x739d74]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5085e3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x508624
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x739e1c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x508656
mov bl, byte [esp + ecx + 0x4c]
jmp 0x50865a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x50864b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x508678
mov bl, byte [esp + ecx + 0x4c]
jmp 0x50867c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x50866d
xor ecx, ecx
mov eax, 0x739d84
xor ebx, ebx
mov bl, byte [ecx + 0x739e2c]
cmp byte [esp + ebx + 0x14], 0
je 0x5086a7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x739e44]
cmp byte [esp + ebx + 0x14], 0
je 0x5086be
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x50868e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x508617
lea edx, [esp + 0x84]
push edx
call fcn.00508700
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x50cc80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x78bdcc]
xor edx, edx
cmp eax, edx
jne 0x50cca6
xor eax, eax
mov byte [eax + 0x78bccc], al
inc eax
cmp eax, 0x100
jl 0x50cc8e
mov dword [0x78bdcc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x78bccc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x50cd37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x50cd0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x50ccd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x50cdb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x50ce03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x50cdea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5137a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54527e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005140c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x714504
call fcn.005330f9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x513833
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005330f9
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x51382c
push 0
mov ecx, eax
call fcn.0050a8b0
mov dword [esi + 0xc], eax
jmp 0x513835
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x513835
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x7a9c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x7a9d1c
test eax, eax
je 0x7a9d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x7c4fe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x7a9d03
lea edi, [eax + 4]
jmp 0x7a9c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x7a9c7c
mov dword [ebp - 4], 2
jmp 0x7a9c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x7a9c93
mov dword [ebp - 4], 1
jmp 0x7a9c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x7a9d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x7a9cd6
mov byte [ecx], 0x3d
jmp 0x7a9ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x7a9ced
mov byte [ecx], 0x3d
jmp 0x7a9cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x7a9c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xde1d3b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [ebp - 0x14], eax
jmp 0x11ee30e
mov esp, ebp
pop ebp
jmp 0xfd671a
cmp dword [ebp - 4], 0
jmp 0x1360889
jmp 0x11ee2f8
push ecx
mov ecx, dword [ebp - 0x18]
jmp 0xc86438
call fcn.004909e0
mov dword [ebp - 4], eax
jmp 0x9d5f6c
mov dword [ebp - 0x18], ecx
movsx dx, dl
cmova ax, ax
mov eax, dword [ebp + 8]
cmovle edx, edx
mov edx, 0x4b051944
mov ecx, dword [eax + 0xc]
rdtsc
cmovno eax, eax
push ecx
cwde
mov edx, dword [ebp + 8]
cwde
mov eax, dword [edx + 8]
movzx dx, al
push eax
setnp al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
not cx
mov ax, dx
movsx ecx, dx
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
jmp 0xbf1356
jmp 0xee0aa6
push ebp
mov ebp, esp
sub esp, 0x18
rdtsc
bswap ax
push ebx
setg ah
cwde
bswap eax
push esi
push edi
cbw
jmp 0xcdef5a
je 0xee0a9b
mov eax, dword [ebp + 8]
xchg edi, edi
setne cl
mov edi, 0x3100128a
mov dword [eax + 0x24], 1
bswap edi
not dl
mov ecx, dword [ebp + 8]
mov dx, 0x2502
xchg dx, di
setns ah
mov edx, dword [ebp - 8]
mov dword [ecx + 0x28], edx
mov di, cx
mov eax, 1
movsx ebx, bp
bswap bx
pop edi
movsx ebx, bx
pop esi
mov bh, 0x2b
movzx bx, ah
pop ebx
jmp 0x965a27
ret 4
push esi
push edi
cdq
or edx, esp
rcl edx, cl
mov edx, dword [ebp + 8]
sbb ax, 0x1b77
mov eax, dword [edx + 0xc]
cmp sp, 0x1aa
clc
sub eax, 1
jmp 0x92d30d
push dword [ebp - 0x10]
jmp 0xb115e1
mov ecx, dword [ebp - 0x14]
test ebx, 0x33000b4
lea ecx, [ecx - 1]
cmp ebp, 0x6f0f3efd
mov dword [ebp - 0x14], ecx
stc
cmp dword [ebp - 0x14], 0
jl 0x13a9b6a
mov edx, dword [ebp - 0x14]
not ecx
cmovbe ax, dx
xchg al, cl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x10], ecx
jmp 0x110c8ea
jne 0x10b71ef
sub eax, eax
jmp 0xd7b3dd
call dword [ebp - 4]
pop edi
test bp, cx
movsx edx, sp
shld si, sp, 0x73
pop esi
shld dx, di, 0xa7
stc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
adc dh, 0xa7
mov edx, dword [ebp - 0x18]
test ax, ax
mov dword [edx + 0x1e4], 0
cmc
cmp dword [ebp - 0xc], 0
jmp 0xee0a67
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40e505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40e514
pop dword [ebp - 0x14]
mov eax, 0x7a9c430f
add eax, 0x85a4a205
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x95b12e42
sub dword [ebp - 0x24], 0x475ee8f7
mov dword [ebp - 0x20], 0xa684de03
sub dword [ebp - 0x20], 0x745191be
mov dword [ebp - 0x1c], 0x542e8243
add dword [ebp - 0x1c], 0xf81dc1eb
mov dword [ebp - 0x18], 0x2bcf1628
sub dword [ebp - 0x18], 0x2bcf1628
lea eax, [ebp - 0x24]
push eax
mov eax, 0x61a11d67
add eax, 0x9ea1130d
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7e9c243c
add dword [ebp - 0x24], 0xf5d6451a
mov dword [ebp - 0x20], 0xd2220953
add dword [ebp - 0x20], 0x6f4a5822
mov dword [ebp - 0x1c], 0x67c0ea23
add dword [ebp - 0x1c], 0xfbae8249
mov dword [ebp - 0x18], 0xfcc0b051
sub dword [ebp - 0x18], 0xfcc0b051
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xf84a815d
add eax, 0x7f7afc7
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x41668
push 0
call eax
mov ecx, 0xcc1876d1
sub ecx, 0xcc18201b
mov edx, eax
mov ebx, 0x434400
add ebx, dword [ebp - 0x14]
mov esi, 0x6a45976
add esi, 0xee9efd0
xor dword [ebp - 4], 0xfec0cec8
mov edi, dword [ebx]
sub dword [ebp - 0xc], 0x7d42c7a
xor edi, esi
add dword [ebp - 8], esi
mov dword [edx], edi
sub dword [ebp - 0xc], 0x216e19b2
add edx, 4
add ebx, 4
loop 0x40e630
add eax, 0xaca7283e
add eax, 0x535a256d
xor ebx, ebx
add ebx, eax
add eax, 0x5fcc3e95
sub eax, 0x5fcc3e90
mov ecx, 0x7e93ffae
sub ecx, 0x7e53ffae
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x104fe0e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x105c]
imul edi, dword [eax + 0x1050]
mov ebx, dword [eax + 0x18]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x104ff38
push esi
mov esi, 0xf0
mov edx, dword [eax + 0x1050]
mov eax, dword [eax + 0x1058]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x104ff12
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0xf
mov edx, eax
and edx, 0xf
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0xf
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0xf
lea edx, [edx + ebx + 2]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x20]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0xf
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x104fe72
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x1050]
mov eax, dword [eax]
mov edx, dword [eax + 0x1050]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x104fe4e
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x406210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4070b0
push 0x406350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40d864], 0xffffffff
or dword [0x40d868], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40d804]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x40d800]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40d86c], eax
call fcn.00406341
cmp dword [0x408628], 0
jne 0x406293
push 0x40633e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040632c
push 0x40800c
push 0x408008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x40d7fc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d7f8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x408004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.004063a0
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219