joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e88d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53c2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
call fcn.004e82b0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x4e8915
xor eax, eax
jmp 0x4e891a
mov eax, dword [eax + 8]
add eax, ecx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004e8f10
mov esi, dword [esp + 0x48]
mov dl, byte [esp + 0x28]
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x58267c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004e8030
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4e8998
mov al, byte [ecx - 1]
cmp al, bl
je 0x4e898e
cmp al, 0xff
je 0x4e898e
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0052c540
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4ee370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x53c458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004ee680
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5e8604
call fcn.0050b1a7
mov ecx, dword [0x58267c]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004e8030
mov esi, 0x5826e4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4ee417
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ee40e
cmp al, 0xff
je 0x4ee40e
dec al
mov byte [ecx], al
jmp 0x4ee417
push ecx
call fcn.0052c540
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00528900
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4ee45d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ee454
cmp al, 0xff
je 0x4ee454
dec al
mov byte [ecx], al
jmp 0x4ee45d
push ecx
call fcn.0052c540
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0050b22e
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4f4040
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e8718]
xor edx, edx
cmp eax, edx
jne 0x4f4066
xor eax, eax
mov byte [eax + 0x5e8618], al
inc eax
cmp eax, 0x100
jl 0x4f404e
mov dword [0x5e8718], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e8618
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4f40f7
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 0x4f40ca
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 0x4f4098
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4f4170
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 0x4f41c3
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 0x4f41aa
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 0x4fab40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53c6fe
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.004fb460
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x582914
call fcn.0052c517
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4fabd3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0052c517
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4fabcc
push 0
mov ecx, eax
call fcn.004f1c70
mov dword [esi + 0xc], eax
jmp 0x4fabd5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4fabd5
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 0x522ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x53d700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00517ce2
mov eax, dword [0x5861e0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00517c14
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00523a00
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x522f97
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x522f8e
cmp al, 0xff
je 0x522f8e
dec al
mov byte [ecx], al
jmp 0x522f97
push ecx
call fcn.0052c540
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x522fc8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x522fbf
cmp al, 0xff
je 0x522fbf
dec al
mov byte [ecx], al
jmp 0x522fc8
push ecx
call fcn.0052c540
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x606c10
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 0x606d1c
test eax, eax
je 0x606d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x621fe8
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 0x606d03
lea edi, [eax + 4]
jmp 0x606c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x606c7c
mov dword [ebp - 4], 2
jmp 0x606c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x606c93
mov dword [ebp - 4], 1
jmp 0x606c9d
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 0x606d13
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 0x606cd6
mov byte [ecx], 0x3d
jmp 0x606ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x606ced
mov byte [ecx], 0x3d
jmp 0x606cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x606c64
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 0x4064a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409a50]
jne 0x407826
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40a2b8], eax
mov dword [0x40a2b4], ecx
mov dword [0x40a2b0], edx
mov dword [0x40a2ac], ebx
mov dword [0x40a2a8], esi
mov dword [0x40a2a4], edi
mov word [0x40a2d0], ss
mov word [0x40a2c4], cs
mov word [0x40a2a0], ds
mov word [0x40a29c], es
mov word [0x40a298], fs
mov word [0x40a294], gs
pushfd
pop dword [0x40a2c8]
mov eax, dword [ebp]
mov dword [0x40a2bc], eax
mov eax, dword [ebp + 4]
mov dword [0x40a2c0], eax
lea eax, [ebp + 8]
mov dword [0x40a2cc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40a208], 0x10001
mov eax, dword [0x40a2c0]
mov dword [0x40a1bc], eax
mov dword [0x40a1b0], 0xc0000409
mov dword [0x40a1b4], 1
mov eax, dword [0x409a50]
mov dword [ebp - 0x328], eax
mov eax, dword [0x409a54]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x40a200], eax
push 1
call fcn.004068ed
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x4021d8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x40a200], 0
jne 0x407916
push 1
call fcn.004068ed
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x6d4050f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x6d405102
pop dword [ebp - 0x50]
mov eax, 0xe6ac3ba7
add eax, 0x8694155b
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xb312754b
sub dword [ebp - 0x60], 0x64c03000
mov dword [ebp - 0x5c], 0x8237621
sub dword [ebp - 0x5c], 0xd5f029dc
mov dword [ebp - 0x58], 0xe5f3d381
sub dword [ebp - 0x58], 0x99a78f53
mov dword [ebp - 0x54], 0xfcab5540
add dword [ebp - 0x54], 0x354aac0
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xa97d26ee
sub dword [ebp - 0x60], 0x350abd98
mov dword [ebp - 0x5c], 0x672ac863
sub dword [ebp - 0x5c], 0x25be66ee
mov dword [ebp - 0x58], 0xd01b2921
add dword [ebp - 0x58], 0x9354434b
mov dword [ebp - 0x54], 0x2c4df6b4
add dword [ebp - 0x54], 0xd3b2094c
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x793d10bc
sub eax, 0xbfc9070
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x40b1b
push 0
call eax
mov ecx, 0x5de5
mov ebx, eax
mov esi, 0x42507dbd
sub esi, 0xd50f15bd
add esi, dword [ebp - 0x50]
mov edx, 0x63dbcc2f
add edx, 0x8ef9955b
add dword [ebp - 0x14], edi
mov edi, dword [esi]
xor dword [ebp - 0x24], edx
xor edi, edx
sub dword [ebp - 0x14], esi
mov dword [ebx], edi
add dword [ebp - 0x2c], eax
add ebx, 0x1c636a6a
sub ebx, 0x1c636a66
add esi, 4
loop 0x6d405219
add eax, 0xc9c0b4c5
add eax, 0x3640b5a2
mov ebx, eax
add eax, 0x91911ff8
add eax, 0x6e6ee00d
mov ecx, 0x915eb7ff
add ecx, 0xdbe04801
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x55ed30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x159000]
push edi
jmp 0x55ed4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55ed51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed40
mov eax, 1
add ebx, ebx
jne 0x55ed63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55ed74
jne 0x55ed93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed93
dec eax
add ebx, ebx
jne 0x55ed80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55ed58
add ebx, ebx
jne 0x55ed8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55ede5
xor ecx, ecx
sub eax, 3
jb 0x55edab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55ee1a
sar eax, 1
mov ebp, eax
jmp 0x55edb6
add ebx, ebx
jne 0x55edb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed84
inc ecx
add ebx, ebx
jne 0x55edc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed84
add ebx, ebx
jne 0x55edd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55edc6
jne 0x55ede2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55edc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55ee04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55edf6
jmp 0x55ed46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55ee04
add edi, ecx
jmp 0x55ed46
pop esi
mov edi, esi
mov ecx, 0x255
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55ee22
cmp byte [edi], 1
jne 0x55ee22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x55ee27
lea edi, [esi + 0x15c000]
mov eax, dword [edi]
or eax, eax
je 0x55ee9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17efbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17f070]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55ee54
mov ecx, edi
jns 0x55ee83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17f074]
or eax, eax
je 0x55ee99
mov dword [ebx], eax
add ebx, 4
jmp 0x55ee71
call dword [esi + 0x17f084]
mov ebp, dword [esi + 0x17f078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x55eed3
sub esp, 0xffffff80
jmp 0x40354b
Function at 0x413630
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
test esi, esi
je 0x41367a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x41367a
push ebx
xor ebx, ebx
test eax, eax
je 0x413679
add esi, 0x29
nop dword [eax]
lea ecx, [eax - 1]
xor edx, edx
mov eax, 0xff
lea esi, [esi + 4]
div ecx
movzx ecx, bl
inc ebx
movzx eax, al
imul eax, ecx
mov byte [esi - 3], al
mov byte [esi - 4], al
mov byte [esi - 5], al
mov eax, dword [edi + 0x28]
cmp ebx, eax
jb 0x413650
pop ebx
pop edi
pop esi
ret

Function at 0x413ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x413abe
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045caf1
add esp, 0x10
pop ebp
ret 0xc

Function at 0x413ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x413aee
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045676d
add esp, 0x10
pop ebp
ret 0xc
Function at 0x41ae60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ae84
cmp word [eax], 0
je 0x41ae84
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ae84
test al, 0x10
jne 0x41ae84
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x41be80
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x20], eax
push dword [esi]
call ebx
push dword [esi + 4]
mov edi, eax
call ebx
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x1c], eax
push dword [ebx + esi*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x41beb7
mov ebx, dword [ebp - 0x1c]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x41bed7
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp - 0x20]
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044ca89
mov esp, ebp
pop ebp
ret
Function at 0x42048b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov esi, 0x100
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebx + 0x4c]
cmp edx, 1
mov edi, dword [ebx + 0x1a8]
sete al
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edx
mov byte [edi + 0x1c], al
mov eax, 0x2fe
push dword [ebx + 0x64]
mov ecx, dword [ebx + 4]
cmovne eax, esi
push eax
push 1
push ebx
call dword [ecx + 8]
xor esi, esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x14]
add esp, 0x10
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x64], esi
jle 0x4205af
mov ecx, dword [edi + esi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 8], 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jne 0x4204ff
mov eax, dword [edi + 0x18]
add dword [eax + esi*4], 0xff
mov eax, dword [edi + 0x18]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea eax, [esi + 0xfe]
lea ebx, [esi*2 - 2]
cdq
idiv ebx
mov dword [ebp - 0x18], ebx
xor edi, edi
mov edx, eax
cmp edi, edx
jle 0x42054f
imul eax, ecx, 0x1fe
lea ebx, [esi + 0xfe]
add ebx, eax
add ebx, 0x1fe
inc ecx
mov eax, ebx
cdq
idiv dword [ebp - 0x18]
mov edx, eax
cmp edi, edx
jg 0x420539
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x14]
movzx eax, al
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 0xc]
mov byte [edi + eax], cl
inc edi
mov ecx, dword [ebp - 4]
cmp edi, 0xff
jle 0x420527
cmp dword [ebp - 8], 1
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
jne 0x42059c
mov edi, eax
xor ecx, ecx
inc ecx
lea edx, [edi - 1]
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 0xff]
mov byte [edi + ecx + 0xff], al
inc ecx
dec edx
cmp ecx, 0xff
jle 0x420581
mov edi, dword [ebp - 0x20]
inc esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
cmp esi, dword [ebx + 0x64]
jl 0x4204e2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4367b0
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x4367ca
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4367ca
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x4367ca
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x443a90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x443a9b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00443ab0
Function at 0x4463f0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x14]
test eax, eax
je 0x44646f
push ebx
push esi
add eax, 3
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
mov edx, dword [edi + 0x14]
mov ecx, eax
mov dword [ebp - 4], ecx
mov eax, esi
jb 0x44642a
mov eax, dword [esi]
push edx
push eax
push edx
push ecx
call fcn.00446480
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 4]
push ebx
mov byte [ecx + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push dword [0x4a8270]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x446460
mov esi, dword [esi]
mov byte [esi], 0
mov eax, 1
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x446550
Capabilities:
Check if file exists
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c486
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x4466d1
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4466d1
push esi
lea ecx, [ebp - 0x1d8]
call fcn.00412030
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], esi
call fcn.00413ec0
lea ecx, [ebp - 0x1d8]
call fcn.00412b10
test al, al
je 0x4466aa
push esi
lea ecx, [ebp - 0x3a0]
call fcn.00412030
push 1
push 0x18
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 1
call fcn.00412ac0
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00412ad0
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00412320
lea ecx, [ebp - 0x1d8]
xor edi, edi
call fcn.00412ac0
test eax, eax
je 0x446653
lea ecx, [ebp - 0x1d8]
xor esi, esi
call fcn.00412ad0
test eax, eax
je 0x446643
push 0xffffff
push edi
push esi
lea ecx, [ebp - 0x3a0]
call fcn.004132e0
lea ecx, [ebp - 0x1d8]
inc esi
call fcn.00412ad0
cmp esi, eax
jb 0x446621
lea ecx, [ebp - 0x1d8]
inc edi
call fcn.00412ac0
cmp edi, eax
jb 0x446610
push 0
push 0
push 0
push 6
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.004147c0
lea ecx, [ebp - 0x3a0]
call fcn.00413860
push eax
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, 1
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 2
mov dword [ebp - method.CxImage.virtual_0], vtable.CxImage.0
call fcn.00412110
lea ecx, [ebp - 0x3a0]
call fcn.00412050
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 3
mov dword [ebp - method.CxImage.virtual_0], vtable.CxImage.0
call fcn.00412110
lea ecx, [ebp - 0x1d8]
call fcn.00412050
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 4
Function at 0x4466f0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c4c2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a704c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4467b3
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44673d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push 0x1c8
call fcn.0044cacb
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x446763
push 0
mov ecx, eax
call fcn.00412030
jmp 0x446765
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 4], eax
test eax, eax
je 0x4467b3
push 0
push edi
mov ecx, eax
call fcn.004138c0
mov ecx, dword [esi + 4]
call fcn.00412b10
test al, al
jne 0x44679d
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x446796
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret