joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5077aa
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004fa4c3
xor ebx, ebx
cmp dword [0x55e6e8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x507880
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x507960
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53af30
push edi
call esi
cmp eax, ebx
je 0x507960
push eax
call fcn.004fa455
mov dword [esp], 0x53af20
push edi
mov dword [0x55e6e8], eax
call esi
push eax
call fcn.004fa455
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55e6ec], eax
call esi
push eax
call fcn.004fa455
mov dword [0x55e6f0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004f47d0
test eax, eax
pop ecx
pop ecx
je 0x50784e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ee9ae
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x507880
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004fa455
cmp eax, ebx
pop ecx
mov dword [0x55e6f8], eax
je 0x507880
push 0x53aed8
push edi
call esi
push eax
call fcn.004fa455
pop ecx
mov dword [0x55e6f4], eax
mov eax, dword [0x55e6f4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x507905
cmp dword [0x55e6f8], ecx
je 0x507905
push eax
call fcn.004fa4cc
push dword [0x55e6f8]
mov esi, eax
call fcn.004fa4cc
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x507905
cmp edi, ebx
je 0x507905
call esi
cmp eax, ebx
je 0x5078d2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5078d2
test byte [ebp - 0x18], 1
jne 0x507905
lea eax, [ebp - 0x10]
push eax
call fcn.004f4807
test eax, eax
pop ecx
je 0x5078ed
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ee9ae
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5078fc
or dword [ebp + 0x10], 0x200000
jmp 0x507940
or dword [ebp + 0x10], 0x40000
jmp 0x507940
mov eax, dword [0x55e6ec]
cmp eax, dword [ebp - 8]
je 0x507940
push eax
call fcn.004fa4cc
cmp eax, ebx
pop ecx
je 0x507940
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x507940
mov eax, dword [0x55e6f0]
cmp eax, dword [ebp - 8]
je 0x507940
push eax
call fcn.004fa4cc
cmp eax, ebx
pop ecx
je 0x507940
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x55e6e8]
call fcn.004fa4cc
cmp eax, ebx
pop ecx
je 0x507960
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x507962
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40833a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
inc eax
push edi
push 0x20
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
pop ebx
cmp eax, ebx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ecx
cmova eax, ebx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x58], ecx
cmp eax, dword [esi + 0x20]
je 0x4083df
lea edi, [esi + 0xc8]
cmp dword [edi + 8], ecx
je 0x4083c0
mov ecx, edi
call fcn.00407274
xor ecx, ecx
add edi, 0x28
sub ebx, 1
jne 0x4083b2
cmp dword [esi + 0x5c], ebx
je 0x4083da
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
and dword [esi + 0x5c], ebx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00407183
mov ecx, dword [esi + 0x58]
and dword [esi + 0x24], 0
and dword [esi + 0x28], 0
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.00407229
mov edi, eax
test edi, edi
jne 0x408446
lea ecx, [ebx + 0x20]
call fcn.0040853e
mov edi, eax
test edi, edi
jne 0x408446
lea ecx, [ebx + 0x1c]
call fcn.0040853e
mov edi, eax
test edi, edi
jne 0x408446
push ebx
call fcn.004080c7
mov edi, eax
test edi, edi
je 0x408446
and dword [esi + 0x44], 0
mov ecx, esi
call fcn.004072cf
mov ecx, edi
call fcn.00407175
test eax, eax
je 0x408454
mov dword [esi + 0x40], eax
cmp dword [esi + 0x38], 0
jne 0x40846a
cmp dword [esi + 0x40], 0
jne 0x40846a
cmp dword [esi + 0x3c], 0
jne 0x40846a
and dword [esi + 0x44], 0
xor ecx, ecx
cmp dword [esi + 0x44], ecx
pop edi
pop esi
cmovne eax, ecx
pop ebx
ret

Function at 0x4084ec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push edx
push eax
push eax
call fcn.0042839e
add esp, 0x18
mov dword [esi], eax
mov ecx, eax
call fcn.00408487
pop esi
leave
ret 4
Function at 0x423645
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0043c018]
test eax, eax
je 0x423684
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423684
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423684
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x423684
cmp dword [ecx + 0x74], 0xe
jbe 0x423684
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43b270
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43b29d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43b29d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x404dbc
Capabilities:
Encode data using add xor sub operations

Disassembly:
push edi
mov edi, eax
mov ecx, 0xffffffff
xor al, al
repne scasb al, byte es:[edi]
not ecx
std
dec edi
mov ebx, dword [esp]
sub esp, 0xfffffffc
pop edx
mov edi, 0xdddba561
xor edx, edi
pop edi
mov esi, edi
push esi
mov esi, ebx

Function at 0x404dcc
Capabilities:
Encode data using add xor sub operations

Disassembly:
push edi
mov edi, eax
mov ecx, 0xffffffff
xor al, al
repne scasb al, byte es:[edi]
not ecx
std
dec edi
mov ebx, dword [esp]
sub esp, 0xfffffffc
pop edx
mov edi, 0xdddba561
xor edx, edi
pop edi
mov esi, edi
push esi
mov esi, ebx

Function at 0x404de0
Capabilities:
Encode data using add xor sub operations

Disassembly:
sub esp, 4
mov dword [esp], esi
mov esi, 0x6a4b8d48
shr esi, 4
xor esi, 0x6e4a12b
push es
mov ebx, esi
dec ebx
mov eax, dword [ebx + 1]
xor eax, edx
mov dword [edi], eax
mov eax, 4
add esi, eax
mov eax, 0xfffffffc
sub edi, eax
mov eax, 0x79a7eb48
shr eax, 2
mov ebx, 0x1e29daad
xor ebx, eax
xor ebx, esi
mov ecx, 0x657e8962
shr ecx, 2
xor ecx, 0x195fa258
cmp ecx, ebx
jne 0x404df5
ret

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x41fe40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x41fe5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fe61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fe50
mov eax, 1
add ebx, ebx
jne 0x41fe73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fe68
jne 0x41fe84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fe68
xor ecx, ecx
sub eax, 3
jb 0x41fe98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ff0a
mov ebp, eax
add ebx, ebx
jne 0x41fea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41feb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fed4
inc ecx
add ebx, ebx
jne 0x41fec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41feb5
jne 0x41fed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41feb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fef4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fee5
jmp 0x41fe56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fef4
add edi, ecx
jmp 0x41fe56
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ff12
cmp byte [edi], 9
jne 0x41ff12
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 0x41ff17
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41ff8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20e50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20f30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ff44
mov ecx, edi
jns 0x41ff73
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 + 0x20f38]
or eax, eax
je 0x41ff89
mov dword [ebx], eax
add ebx, 4
jmp 0x41ff61
call dword [esi + 0x20f34]
mov ebp, dword [esi + 0x20f3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x41ffc3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5163588b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x70500f52
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x414f34
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415009
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x415024
push ebx
push 0x415034
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405370
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403270
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x414fb4
mov al, 0x69
call fcn.00414bac
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00414f08
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x414fbd
call fcn.00414f08
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415010
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x415124
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
jmp 0x4151e3
cmp dword [esi + 0x10], 0x1000
jne 0x4151cf
test byte [esi + 0x15], 1
jne 0x4151cf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415180
cmp ebp, 2
je 0x415180
cmp ebp, 0x10
je 0x415180
cmp ebp, 0x20
jne 0x41519c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41519c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151ad
mov eax, dword [esi]
add eax, ebx
call fcn.0041511c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4151a0
cmp byte [esp + 4], 0
je 0x4151cf
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415155
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x4010ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
or ebx, 0xffffffff
xor edi, edi
mov esi, 0x400
mov dword [ebp - 4], edi
cmp ebx, 0xffffffff
jne 0x4011a4
push esi
lea eax, [ebp - 0x404]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ebx, eax
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
lea eax, [ebp - 0x404]
jne 0x40114f
mov eax, 0x406ed8
push ebx
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push str._s_s_u.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x804]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401197
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x401107
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x4011bb
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
push esi
mov esi, 0x400
push edi
push esi
lea eax, [ebp - 0x748]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x748]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
mov edi, eax
lea eax, [ebp - 0x748]
push eax
call esi
lea eax, [edi + eax + 3]
mov edi, 0x104
cmp eax, edi
jge 0x4012b8
push dword [ebp + 8]
lea eax, [ebp - 0x748]
push eax
lea eax, [ebp - 0x348]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4012b8
push ebx
lea eax, [ebp - 0x114]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x748]
push eax
call esi
lea eax, [ebx + eax + 1]
cmp eax, edi
jge 0x40129a
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x748]
push eax
lea eax, [ebp - 0x244]
push 0x40601c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40124e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x401bec
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
or eax, 0xffffffff
test edx, edx
jbe 0x401c1c
mov ecx, dword [esp + 4]
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x406ee4]
xor eax, esi
inc ecx
dec edx
jne 0x401bfd
pop edi
pop esi
not eax
ret

Function at 0x401c1f
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x406ee4
push 8
mov eax, edx
pop esi
test al, 1
je 0x401c39
shr eax, 1
xor eax, 0xedb88320
jmp 0x401c3b
shr eax, 1
dec esi
jne 0x401c2c
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x4072e4
jl 0x401c27
pop esi
ret

Function at 0x401c4e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jl 0x401c54
and byte [ecx + 0x100], 0
and byte [ecx + 0x101], 0
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov eax, esi
cdq
idiv dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx ebx, byte [esi + ecx]
mov al, byte [edx + eax]
add eax, ebx
add eax, edi
and eax, 0xff
mov edi, eax
mov al, byte [edi + ecx]
mov byte [esi + ecx], al
inc esi
cmp esi, 0x100
mov byte [edi + ecx], bl
jl 0x401c74
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x401ca9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
push ebx
movzx edx, byte [eax + 0x100]
movzx ebx, byte [eax + 0x101]
jle 0x401d0c
push esi
push edi
mov esi, 0xff
inc edx
and edx, esi
movzx ecx, byte [edx + eax]
lea edi, [ecx + ebx]
and edi, esi
mov dword [ebp - 4], edi
mov bl, byte [edi + eax]
mov byte [edx + eax], bl
mov ebx, dword [ebp + 8]
mov byte [edi + eax], cl
mov edi, dword [ebp + 0xc]
add edi, ebx
mov bl, byte [edx + eax]
add ebx, ecx
and ebx, esi
mov cl, byte [ebx + eax]
mov ebx, dword [ebp - 4]
xor byte [edi], cl
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
jl 0x401cd0
pop edi
pop esi
mov byte [eax + 0x101], bl
mov byte [eax + 0x100], dl
pop ebx
leave
ret
Function at 0x4020f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
xor edi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401e7d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40216d
cmp dword [ebp + 0x10], edi
jne 0x402137
cmp dword [esi + 0xc], edi
je 0x402194
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv dword [esi + 0xc]
mov eax, dword [esi]
push dword [eax + edx*4]
call dword [sym.imp.SHLWAPI.dll_StrDupA]
mov edi, eax
jmp 0x402194
cmp dword [esi + 0xc], 2
jne 0x402194
mov eax, dword [esi + 4]
xor ecx, ecx
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov al, byte [edi + ecx]
xor al, byte [edx + ecx]
inc ecx
cmp ecx, 4
mov byte [ebp + ecx + 0xb], al
jl 0x402147
push 0x11
push 8
push dword [0x4076f0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x402171
xor eax, eax
jmp 0x40219d
movzx eax, byte [ebp + 0xf]
push eax
movzx eax, byte [ebp + 0xe]
push eax
movzx eax, byte [ebp + 0xd]
push eax
movzx eax, byte [ebp + 0xc]
push eax
push str._d._d._d._d
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
call fcn.00401e2a
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x402660
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 8], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
or eax, 0xffffffff
cmp dword [ebp - 4], eax
je 0x4026f6
push esi
push edi
mov dword [ebp - 0x130], 0x128
mov edi, 0x4060e0
lea eax, [ebp - 0x130]
xor esi, esi
cmp dword [ebp - 8], esi
push eax
push dword [ebp - 4]
je 0x4026af
call sub.KERNEL32.dll_Process32First
jmp 0x4026b4
call sub.KERNEL32.dll_Process32Next
cmp eax, esi
je 0x4026e9
cmp dword [str.ad_watch], esi
mov dword [ebp - 8], esi
je 0x402697
mov eax, edi
mov esi, edi
push dword [eax]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4026dd
or ebx, dword [esi + 4]
add esi, 8
mov eax, esi
cmp dword [esi], 0
jne 0x4026c7
jmp 0x402697
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x4026f9
Capabilities:
Initialize iwebbrowser2

Disassembly:
push 0x4072e4
push 0x406878
push 5
push 0
push 0x406868
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402750
mov eax, dword [0x4072e4]
test eax, eax
je 0x402750
cmp dword [esp + 4], 0
mov ecx, dword [eax]
je 0x402743
push 0
push eax
call dword [ecx + 0xa4]
mov eax, dword [0x4072e4]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
jmp 0x40274c
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
push 1
pop eax
ret
or eax, 0xffffffff
ret

Function at 0x402754
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ebx, eax
mov eax, dword [0x4072e4]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe0]
test eax, eax
jl 0x4027b0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
sub eax, ebx
cmp eax, dword [ebp + 8]
jg 0x4027b0
push 1
pop eax
cmp dword [ebp - 4], eax
je 0x40276d
cmp dword [ebp - 4], 3
je 0x40276d
jmp 0x4027b2
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x402b20
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [esp + 0x24]
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, ebx
je 0x402b5a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
je 0x402b53
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x402b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x2e
push 0
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
jne 0x402ba6
or eax, 0xffffffff
ret
mov byte [eax], 0x20
inc eax
mov byte [eax], 0x2e
inc eax
mov byte [eax], 0x65
inc eax
mov byte [eax], 0x78
inc eax
mov byte [eax], 0x65
and byte [eax + 1], 0
cmp dword [esp + 8], 0
jne 0x402bc8
push 1
pop eax
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret