joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447768
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4477b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00446d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4477cf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4477d8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00446d00
dec esi
jne 0x4477fa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x45ee7c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45efa4
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0045ed68
mov eax, dword [esi]
call fcn.00408d1c
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4155b8]
call fcn.00408ed0
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.0040462c
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.0040462c
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408d1c
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d4d1c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0044df50
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404c28
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408d1c
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0044df2c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.0044dce4
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0044df48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45efab
lea eax, [ebp - 4]
mov edx, dword [0x4155b8]
call fcn.00408edc
ret
Function at 0x47ff00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4800bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040761c
mov eax, dword [ebp - 4]
call fcn.0047f850
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x47ff52
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004080bc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00480b3c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x480031
xor eax, eax
push ebp
push 0x48002a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0047faf0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004800f0
test al, al
je 0x480008
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040737c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x480008
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407cb0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047fa50
test al, al
je 0x480002
mov eax, dword [ebp - 8]
call fcn.00407cb0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407d18
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0047ff00
dec ebx
cmp ebx, 0xffffffff
jne 0x47ffb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480031
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0047faf0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x4da054], 0
je 0x480071
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00407cb0
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0047fadc
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047fa50
mov ebx, eax
jmp 0x480098
mov eax, dword [ebp - 4]
call fcn.00407cb0
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0047fadc
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047fa50
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4800c2
lea eax, [ebp - 0x3c]
call fcn.00407214
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407274
ret
Function at 0x48015c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x480214
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004800f0
test al, al
je 0x4801f6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040737c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4801f6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407cb0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00407cb0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00407d18
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4801af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48021b
lea eax, [ebp - 0x2c]
call fcn.00407214
lea eax, [ebp - 4]
call fcn.00407214
ret

Function at 0x480a18
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0047f868
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00407cb0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0047fa50
test al, al
jne 0x480a80
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d49c0]
mov dl, 1
mov eax, dword [0x47e63c]
call fcn.0041f58c
call fcn.00406948
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x480a8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00407cb0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0047fa50
test al, al
jne 0x480aed
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d4e8c]
mov dl, 1
mov eax, dword [0x47e63c]
call fcn.0041f58c
call fcn.00406948
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047f898
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4810ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x481214
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0047faf0
xor eax, eax
push ebp
push 0x4811ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004800f0
test al, al
je 0x4811d3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00480fcc
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040737c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4811d3
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407cb0
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047fa50
test al, al
je 0x4811cf
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407cb0
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407d18
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00480fcc
pop ecx
inc edi
dec ebx
jne 0x481177
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4811f6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0047faf0
ret
Function at 0x481224
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x481472
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0047faf0
xor eax, eax
push ebp
push 0x481448
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004800f0
test al, al
je 0x48142c
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040737c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x48142c
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00407cb0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047fa50
test al, al
je 0x481420
mov eax, dword [ebp - 4]
call fcn.00407cb0
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00407d18
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00480b3c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x481420
xor eax, eax
push ebp
push 0x481419
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0047faf0
xor eax, eax
push ebp
push 0x4813fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407cb0
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00407d18
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047faf4
mov eax, dword [ebp - 4]
call fcn.00407cb0
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00407d18
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00480b3c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4813d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004810ec
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00481224
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4813df
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4812af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48144f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0047faf0
ret
Function at 0x48dfa4
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407e2c
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x48dfc9
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00407cb0
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x48dfe8
mov eax, ebx
mov edx, dword [esp]
call fcn.00407e2c
pop ecx
pop edx
pop ebx
ret
Function at 0x4ce478
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x4c79bc
call fcn.0040ab80
xor eax, eax
push ebp
push 0x4ce586
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ce520
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4da1ec
mov edx, 0x4ce5a4
call fcn.004075d4
lea eax, [ebp - 0x14]
call fcn.004c78e8
lea eax, [ebp - 0x14]
mov edx, 0x4ce5e0
call fcn.00407eac
mov edx, dword [ebp - 0x14]
mov eax, 0x4ce614
call fcn.004c77fc
push 0
push 0
push 0x4ce69c
lea eax, [ebp - 0x18]
call fcn.004c78e8
lea eax, [ebp - 0x18]
mov edx, 0x4ce5e0
call fcn.00407eac
mov eax, dword [ebp - 0x18]
call fcn.00407cb0
push eax
push 0x4ce6a8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ce56b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce58d
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00407274
ret
Function at 0x10003770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov ax, word [0x1005340c]
movzx ecx, word [0x10053450]
inc ax
mov edx, dword [0x1005341c]
add ecx, 0x1201
dec byte [0x1005340a]
inc edx
mov word [0x1005340c], ax
push ebx
mov bl, byte [0x10053404]
movzx eax, ax
and eax, dword [0x100533dc]
push ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov ecx, 0x3479
mov dword [esp + 0xc], eax
movzx eax, word [0x1005344c]
push esi
mov dword [0x1005341c], edx
sub ecx, dword [ebp + 0x36c]
mov dword [esp + 0x14], eax
mov eax, dword [0x10053418]
mov dword [ebp + 0x36c], ecx
push edi
mov edi, dword [0x10053438]
imul edi, edx
xor edx, edx
div dword [0x10053428]
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x20]
shl ecx, 2
movzx esi, ax
mov eax, dword [0x100533e0]
mov dword [esp + 0x2c], ecx
mov edx, dword [ecx + eax]
movzx eax, word [0x10053408]
mov ecx, dword [esp + 0x24]
push eax
inc ecx
movzx eax, bl
xor ecx, eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push esi
push dword [eax + ecx]
push edi
call fcn.10003770
mov ebx, dword [esp + 0x38]
add esp, 0x18
mov dword [0x100533f8], eax
mov eax, dword [0x100533f4]
mov esi, dword [ebp + eax*4]
inc eax
mov dword [0x100533f4], eax
movzx eax, word [0x10053410]
cmp esi, eax
jge 0x100038a4
mov edi, 0x292
nop dword [eax]
mov eax, dword [0x10053438]
push 1
push edi
push esi
mov eax, dword [ebp + eax*4]
push dword [0x100533d8]
add eax, dword [esp + 0x20]
push eax
call fcn.10002a80
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov dword [esp + 0x10], eax
dec edi
mov eax, dword [esp + 0x14]
or dword [ecx + eax], 0xffffe624
add dword [ebp + esi*4], ebx
inc esi
movzx ecx, word [0x10053410]
cmp esi, ecx
jl 0x10003860
movzx edx, word [esp + 0x28]
mov eax, dword [esp + 0x18]
movzx eax, ax
lea ecx, [ebx + edx*4]
cmp eax, dword [edx + ecx]
jl 0x100038db
mov eax, dword [0x10053440]
xor edx, edx
div dword [ebp + 0x4d5c]
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x4d5c], edx
mov eax, dword [eax + 0x1d54]
and dword [0x10053420], eax
pop edi
pop esi
pop ebp
mov eax, 0x112d
pop ebx
add esp, 0xc
ret
Function at 0x10004210
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
lea ecx, [eax + 0x5a2]
add ebx, 0xffffd104
lea edx, [eax - 0x86]
mov eax, dword [esp + 0x34]
add eax, 0x14
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
add esi, 0xfffffef5
mov eax, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x40]
add eax, 0x541
lea ebp, [edi + 0x1e]
cmp dword [esp + 0x18], eax
jg 0x10004323
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x150], 0x15f73
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x58]
sub eax, 0x21e
cmp dword [edi + 0x38], eax
jb 0x10004285
mov eax, dword [edi + 0x4c]
or dword [edi + 0x1c], eax
inc eax
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x40]
add edx, 0x3ce
sub dword [edi + 0x128], eax
dec eax
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x18]
add eax, 0x496
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
push eax
lea eax, [edx + 0x79b]
push eax
lea eax, [ecx - 0x25a]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [ecx + 0x415]
push eax
lea eax, [ebx + 0x32ca]
push eax
lea eax, [edx + 0x1f9]
push eax
lea eax, [ecx + 0x12a]
push eax
push edi
push edx
call fcn.100044e0
mov ecx, dword [esp + 0x44]
lea eax, [ebp + 0xfc]
add esi, 0xfffffba6
lea edx, [ecx + 0x213]
push edx
push esi
push eax
lea eax, [ebx + 0x3372]
push eax
mov eax, dword [esp + 0x4c]
push edi
push eax
push ecx
lea ecx, [eax + 0x431]
push ecx
push edx
push esi
call fcn.100031f0
mov eax, dword [esp + 0x8c]
add esp, 0x4c
pop edi
pop esi
pop ebp
pop ebx
ret
sub ebx, ecx
or ebx, edx
cmp ecx, ebx
je 0x10004362
mov ecx, dword [esp + 0x2c]
xor esi, 0x2ff7
mov eax, dword [ecx + 0x120]
sub esi, dword [ecx + 0x4c]
sub eax, 0x32ca
add dword [ecx + 8], eax
imul esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x1a4]
sub eax, 0x5df8
xor dword [ecx + 0xc], eax
mov eax, edi
pop edi
mov dword [ecx + 0x24], esi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x84]
xor eax, ebp
cmp ecx, eax
ja 0x1000437f
xor ebp, 0x31ce
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100049b0
Capabilities:
Clear file content
Encode data using xor

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 0x7f]
add ebp, 0xfffffa2b
mov dword [esp + 8], eax
lea ebx, [ecx - 0x34dd]
mov eax, dword [esp + 0x3c]
add eax, 0x6a4
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
add eax, 0x323
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
add eax, 0x5e9
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x58]
add esi, 0xfffff889
mov dword [esp + 0x38], eax
add edi, 0xfb
mov eax, dword [esp + 0x50]
lea edx, [eax - 0x86]
cmp esi, eax
jg 0x10004bd4
lea eax, [esi + 0x730]
mov esi, dword [esp + 0x3c]
cmp ebx, eax
jg 0x10004a96
cmp dword [esi + 0x168], 0
je 0x10004a88
mov eax, dword [esi + 0x1ec]
xor eax, dword [0x10039054]
mov dword [esi + 0x16c], eax
imul eax, dword [esi + 0xa4], 0xffffcadc
push 0
push 0
add dword [esi + 8], eax
mov eax, dword [esi + 0x20]
or eax, 0x2d89
mov dword [esi + 0x7c], eax
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x16c]
push ecx
add eax, ecx
push 0
mov dword [esi + 0x17c], eax
call eax
mov dword [esi + 0x168], eax
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x34dd]
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0xf0]
imul eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x58], ecx
sub eax, dword [esi + 0x194]
cmp ecx, eax
jbe 0x10004bd4
not edx
mov dword [esp + 0x4c], edx
nop
mov eax, edx
mov dword [esp + 0x44], ebp
and eax, dword [esi + 0x60]
cmp ebp, eax
jb 0x10004ba1
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
or ebp, 0x31b0
xor ebp, dword [esp + 0x54]
and eax, 0x3239
mov dword [esp + 0x40], eax
nop dword [eax]
mov eax, dword [esi + 0xac]
add eax, dword [esi + 0x6c]
add eax, dword [esi + 0x140]
mov edx, dword [esi + 0x134]
mov ecx, dword [esi + 0xc]
imul eax, edi
xor ecx, 0x3239
mov edi, dword [esi + 0x164]
sub edi, 0x107e
and edi, 0x3239
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1e8]
mov esi, dword [esp + 0x3c]
and eax, 0x3451
imul ebx, eax, 0x3372
mov eax, dword [esp + 0x14]
add edx, eax
add eax, dword [esp + 0x2c]
xor eax, 0x32ca
push eax
mov eax, dword [esp + 0x58]
push esi
push ebp
push ecx
push edx
push edi
add eax, 0xffff9812
push eax
push dword [esp + 0x5c]
push ebx
call fcn.10008a00
add esp, 0x24
xor eax, 0xfffff6ff
and eax, 0x2d89
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
add ecx, 2
mov edi, dword [esp + 0x2c]
mov eax, edx
and eax, dword [esi + 0x60]
mov dword [esp + 0x44], ecx
cmp ecx, eax
jae 0x10004af0
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + 0xf0]
add ecx, 4
imul eax, dword [esi + 0x140]
mov dword [esp + 0x58], ecx
sub eax, dword [esi + 0x194]
cmp ecx, eax
ja 0x10004ac0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
add eax, 0x30f
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x30f]
pop ebx
add esp, 0x10
ret