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

Disassembly:
push 0xffffffffffffffff
push 0x482658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047b212
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00444ed0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047b140
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00477a04
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00477a04
push 1
push 0
push 0
mov ecx, esi
call fcn.004779ac
push 1
push 0
push 1
mov ecx, esi
call fcn.004779ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b284
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4456f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047b212
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00444ed0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047b140
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4457b4
cmp dword [esp + 0x40], 1
jne 0x4457b2
cmp ecx, eax
jge 0x4457b4
mov eax, ecx
cmp eax, 0xc8
jge 0x4457c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00445570
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b284
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x445fb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482723
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00475e21
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047b4ba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047c9d6
test eax, eax
je 0x4460cc
mov ecx, dword [esp + 0x3c]
call fcn.0047b4e7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x446090
push edi
mov ecx, esi
call fcn.00478b4f
mov ecx, esi
call fcn.00446290
cmp dword [esp + 0x38], 1
jne 0x4460c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00478c8a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4482d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448303
push esi
call fcn.00456670
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4482fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x448389
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448372
mov eax, dword [esi + 8]
test eax, eax
je 0x448327
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44836e
cmp eax, 2
je 0x448372
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44831a
cmp eax, 3
je 0x44834d
cmp eax, 1
jne 0x44831a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44831a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44831a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004483b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448398
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004483b0
add esp, 4
pop esi
ret

Function at 0x448c20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x448c41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x448c41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x448c41
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x476c17
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x476c4f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00474cce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474ca6
jmp 0x476c5b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47830c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47834e
call fcn.0047ddc1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47834e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x478345
xor eax, eax
jmp 0x478356
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047835c
pop edi
pop esi
pop ebx
ret 4
Function at 0x47e2f1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e31f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e33d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e257
jmp 0x47e33d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e33d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e257
test edi, edi
mov eax, edi
jne 0x47e327
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404714
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [0x490630]
push 0x64
call fcn.0044ff85
mov ecx, dword [0x490630]
jmp fcn.00450104

Function at 0x405c3e
Capabilities:
Send data
Send data on socket

Disassembly:
push 0
push 1
push 0xe
call fcn.0040472c
mov ecx, dword [0x490630]
jmp fcn.00450104

Function at 0x405fe7
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [0x490630]
push 0x1e
call fcn.0044ff85
mov ecx, dword [0x490630]
jmp fcn.00450104

Function at 0x40602b
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [0x490630]
push 8
call fcn.0044ff85
mov ecx, dword [0x490630]
push 2
push 2
call fcn.0044ff55
mov ecx, dword [0x490630]
jmp fcn.00450104

Function at 0x408016
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [0x490630]
push 0xff
call fcn.0044ff85
mov ecx, dword [0x490630]
jmp fcn.00450104
jmp 0x404e19
Function at 0x413575
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x5497a8]
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [0x46d434]
mov ebx, dword [esp + 0x54]
xor edi, edi
sub eax, edi
mov esi, 0x46e4b8
je 0x41364b
dec eax
je 0x41362d
dec eax
je 0x4135f4
dec eax
jne 0x413675
push edi
push 0x1c
call fcn.0044eda1
test eax, eax
pop ecx
pop ecx
jne 0x4135d2
push edi
push 0xf
call fcn.0044eda1
test eax, eax
pop ecx
pop ecx
je 0x413675
mov al, byte [0x5497e2]
or al, byte [0x5497d6]
je 0x4135eb
mov byte [ebx + 0x966], 2
jmp 0x41366e
mov byte [ebx + 0x966], 1
jmp 0x41366e
push edi
push 0x1c
call fcn.0044eda1
test eax, eax
pop ecx
pop ecx
jne 0x413610
push edi
push 0xf
call fcn.0044eda1
test eax, eax
pop ecx
pop ecx
je 0x413675
mov al, byte [0x5497e2]
or al, byte [0x5497d6]
jne 0x4135eb
mov byte [ebx + 0x966], 3
mov byte [ebx + 0x965], 2
jmp 0x41366e
push edi
push 0x1c
call fcn.0044eda1
test eax, eax
pop ecx
pop ecx
jne 0x4135df
push edi
push 0xf
call fcn.0044eda1
test eax, eax
pop ecx
pop ecx
je 0x413675
jmp 0x4135df
push edi
mov byte [ebx + 0x966], 1
push dword [0x54c56c]
mov ecx, esi
call fcn.0043fb32
and byte [ebp + 0x154e9], 0
and byte [ebp + 0x154f2], 0
mov byte [0x54a450], 1
cmp byte [0x54a450], 1
jne 0x41383a
movzx eax, byte [ebx + 0x966]
dec eax
mov edi, 0x154
je 0x4136b8
dec eax
jne 0x4136fe
push 1
push 0xc
lea eax, [ebp + 0x154f2]
push eax
push 0x12c
push edi
mov ecx, esi
call fcn.0043fd61
mov dword [0x46d434], 2
jmp 0x4136e9
push 0
push 8
lea eax, [ebp + 0x154e9]
push eax
push 0x105
push edi
mov ecx, esi
call fcn.0043fd61
push 0
push dword [0x54c56c]
mov ecx, esi
call fcn.0043fb32
mov dword [0x46d434], 1
and byte [0x54a450], 0
and byte [0x54a451], 0
and byte [0x54a452], 0
movzx eax, byte [ebx + 0x965]
dec eax
je 0x4137db
dec eax
je 0x413737
dec eax
jne 0x41383a
and byte [0x54a450], 0
and byte [0x54a451], 0
and byte [0x54a452], 0
mov byte [0x49063c], 1
jmp 0x41383a
cmp byte [ebp + 0x154e9], 0
lea eax, [ebp + 0x154e9]
jne 0x413767
push 0
push 8
push eax
push 0x105
push edi
mov ecx, esi
call fcn.0043fd61
mov dword [0x46d434], 1
jmp 0x413825
cmp byte [ebp + 0x154f2], 0
lea eax, [ebp + 0x154f2]
mov dword [esp + 0x54], eax
jne 0x41379b
push 1
push 0xc
push eax
push 0x12c
push edi
mov ecx, esi
call fcn.0043fd61
mov dword [0x46d434], 2
jmp 0x413825
push 4
push str.ymir
push eax
call fcn.004433e0
add esp, 0xc
test eax, eax
jne 0x4137b9
push 1
push 0xc
push dword [esp + 0x5c]
jmp 0x41377f
mov ecx, esi
call fcn.0043fde4
mov ecx, ebx
call fcn.0041edb1
and dword [0x46d434], 0
push 1
push 2
mov ecx, ebp
call fcn.00429769
jmp 0x413825
push 0x40
lea eax, [esp + 0x14]
push eax
push str.NEW_ACCOUNT_URL
call fcn.00441118
add esp, 0xc
test al, al
jne 0x413802
push str.LOCALE_ERROR:_NEW_ACCOUNT_URL
call fcn.00457f7d
pop ecx
xor eax, eax
jmp 0x41383d
push 3
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push str.open
push dword [0x54c56c]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, esi
call fcn.0043fde4
and byte [0x54a450], 0
and byte [0x54a451], 0
and byte [0x54a452], 0
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x41960e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x45ba2d
call fcn.004423d0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x45d41c
mov dword [esi + 8], eax
mov dword [esi + 4], eax
and byte [esi + 0x20], al
and byte [esi + 0x24], 0
mov dword [ebp - 4], eax
mov eax, 0x45d3fc
mov dword [esi + 0x1c], eax
and byte [esi + 0x2c], 0
and byte [esi + 0x30], 0
mov dword [esi + 0x28], eax
and byte [esi + 0x38], 0
mov dword [esi + 0x34], 0x45d3ec
lea edi, [esi + 0xa4]
mov ecx, edi
call fcn.004177b9
lea ebx, [esi + 0xc4]
mov ecx, ebx
call fcn.004177b9
and byte [esi + 0xe8], 0
lea eax, [esi + 0xe4]
mov dword [eax], 0x45d3ec
mov al, byte [ebp - 0xd]
and byte [esi + 0xf4], 0
lea ecx, [esi + 0xec]
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 8
mov byte [ecx + 1], al
call fcn.00419e96
push 1
push 0x10
push 0x11
mov eax, 0xa5
push eax
push 0xf
push eax
mov dword [esi], 0x45d48c
and byte [esi + 0x24], 0
push 0x16
push 5
lea ecx, [esi + 0x3c]
mov byte [esi + 0x30], 1
call fcn.00417a8a
push 1
push 0x10
push 0x11
mov eax, 0xa5
push eax
push 0xf
push eax
push 0x16
push 5
lea ecx, [esi + 0x70]
call fcn.00417a8a
xor eax, eax
and byte [edi + 4], al
push 0x64
pop ecx
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [ebx + 8], eax
and byte [ebx + 4], al
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429c07
Capabilities:
Create process on windows
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push 0x464a60
push str.patch.exe
call fcn.00442e54
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x429d57
push esi
push edi
push eax
call fcn.00442dde
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
mov esi, str.metin.exe
push esi
mov dword [ebp - 4], ebx
call edi
push esi
push str.patch.exe
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x429c85
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
dec eax
je 0x429c79
sub eax, 0xb5
je 0x429c74
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x429c80
push esi
call edi
jmp 0x429c80
mov dword [ebp - 4], 1
cmp dword [ebp - 4], ebx
je 0x429c46
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Patch_program_was_changed._Restarting_the_program.
push str.Notice
call fcn.00457f48
push 0x44
pop edi
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004428e0
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004428e0
mov dword [ebp - 0x58], edi
mov edi, 0x54c468
push edi
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 5
call fcn.00441f60
add esp, 0x24
cmp eax, 0xa
push 0x100
jb 0x429ce9
push 0x54c472
jmp 0x429cea
push edi
lea eax, [ebp - 0x15c]
push eax
call fcn.00442940
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x15c]
push eax
push esi
mov byte [ebp - 0x5c], bl
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x429d37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.could_not_execute_metin__d
push str.ERROR
call fcn.00457f48
add esp, 0xc
jmp 0x429d51
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x429d47
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x429d51
push dword [ebp - 0x10]
call esi
pop edi
xor eax, eax
pop esi
jmp 0x429d7e
push str.script.txt
call fcn.00429847
test eax, eax
pop ecx
jne 0x429d7b
push str.Script_Error
push str.Error
call fcn.00457f48
pop ecx
pop ecx
xor eax, eax
jmp 0x429d7e
push 1
pop eax
pop ebx
leave
ret
Function at 0x42a3f8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2140
call fcn.00443f60
push ebx
push esi
push edi
push 0x140
xor esi, esi
lea eax, [ebp - 0x140]
push esi
push eax
call fcn.004428e0
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
push str..upg
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a447
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
lea ebx, [ebp - 0x2140]
lea ecx, [ebp - 0x114]
mov eax, ebx
push ecx
push eax
inc esi
add ebx, 0x20
call fcn.00441e70
pop ecx
pop ecx
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42a44d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x42a43f
push 0x42a3e8
push 0x20
lea eax, [ebp - 0x2140]
push esi
push eax
call fcn.00443d8b
add esp, 0x10
xor edi, edi
test esi, esi
jle 0x42a43f
lea ebx, [ebp - 0x2140]
push ebx
call fcn.0042a639
test eax, eax
pop ecx
je 0x42a4b7
inc edi
add ebx, 0x20
cmp edi, esi
jl 0x42a4a2
jmp 0x42a43f
xor eax, eax
jmp 0x42a442

Function at 0x42a564
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push str._s.tar
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00442a3e
lea eax, [ebp - 0x204]
push 0x4671bc
push eax
call fcn.00442e54
mov ebx, eax
add esp, 0x14
cmp ebx, edi
jne 0x42a5a9
xor eax, eax
jmp 0x42a635
cmp dword [ebp + 0xc], 0
push esi
mov esi, str._s_d.dv
jle 0x42a5e9
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00442a3e
lea eax, [ebp - 0x104]
push eax
push ebx
call fcn.0042a4f5
add esp, 0x18
test eax, eax
je 0x42a5e2
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x42a5b5
jmp 0x42a5e9
mov dword [ebp - 4], 1
push ebx
call fcn.00442dde
xor edi, edi
cmp dword [ebp - 4], edi
pop ecx
je 0x42a606
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42a631
cmp dword [ebp + 0xc], edi
jle 0x42a631
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00442a3e
lea eax, [ebp - 0x104]
push eax
call fcn.00443b8f
add esp, 0x14
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x42a60b
push 1
pop eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x42f718
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [eax + 1]
cmp ecx, dword [esi + 4]
push edi
jge 0x42f79d
add eax, dword [esi]
push 1
push eax
lea eax, [ebp - 1]
push eax
call fcn.00442400
movzx edi, byte [ebp - 1]
add esp, 0xc
inc dword [esi + 8]
mov eax, dword [esi + 8]
lea ecx, [eax + edi]
cmp ecx, dword [esi + 4]
jge 0x42f79d
add eax, dword [esi]
mov ebx, dword [ebp + 8]
push edi
push eax
push ebx
call fcn.00442400
add dword [esi + 8], edi
mov eax, dword [esi + 8]
lea ecx, [eax + 1]
add esp, 0xc
cmp ecx, dword [esi + 4]
jge 0x42f79d
add eax, dword [esi]
push 1
push eax
lea eax, [ebp - 2]
push eax
call fcn.00442400
movzx ecx, byte [ebp - 1]
add esp, 0xc
inc dword [esi + 8]
xor al, al
xor edx, edx
test ecx, ecx
jle 0x42f795
xor al, byte [edx + ebx]
inc edx
cmp edx, ecx
jl 0x42f78d
cmp byte [ebp - 2], al
je 0x42f79d
and byte [ebx], 0
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4324f1
Capabilities:
Delete file

Disassembly:
mov eax, 0x45c322
call fcn.004423d0
sub esp, 0x108
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push str.clanmark_d.dat
push eax
call fcn.00442a3e
lea eax, [ebp - 0x114]
push 0x464a60
push eax
call fcn.00442e54
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [ebp - 0x10], edi
je 0x43262f
push edi
push 1
pop esi
push esi
push 2
push 0x4970a4
call fcn.004437f9
mov ax, word [0x4970a4]
add esp, 0x10
cmp ax, 0x1000
jbe 0x432579
and word [0x4970a4], 0
push edi
call fcn.00442dde
pop ecx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x43262f
push ebx
push edi
movzx eax, ax
push esi
push eax
mov edi, 0x4920a4
push edi
call fcn.004437f9
add esp, 0x10
cmp word [0x4970a4], si
mov ebx, esi
jb 0x432625
mov dword [ebp + 8], edi
dec dword [ebp + 8]
mov esi, 0x4930a8
mov eax, dword [ebp + 8]
cmp byte [eax + ebx], 0
je 0x432616
mov edi, dword [esi]
test edi, edi
je 0x4325c5
mov ecx, edi
call fcn.00453c3a
push edi
call fcn.004423ef
pop ecx
and dword [esi], 0
push 0x1c
call fcn.00442735
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor eax, eax
cmp ecx, eax
mov dword [ebp - 4], eax
je 0x4325e8
push eax
push 0xc
push 0x10
call fcn.00453bc4
push dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi], eax
call fcn.004551ae
mov al, byte [0x54c734]
mov ecx, dword [esi]
neg al
sbb eax, eax
and eax, 0x7c00
add eax, 0x7c1f
movzx eax, ax
push eax
call fcn.00453a81
movzx eax, word [0x4970a4]
inc ebx
add esi, 4
cmp ebx, eax
jle 0x4325a8
push dword [ebp - 0x10]
call fcn.00442dde
pop ecx
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43263d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push str.clanmark_d.dat
push eax
call fcn.00442a3e
lea eax, [ebp - 0x100]
push 0x4671bc
push eax
call fcn.00442e54
mov esi, eax
add esp, 0x14
test esi, esi
mov dword [ebp + 8], esi
je 0x432713
push esi
push 1
pop edi
push edi
push 2
push 0x4970a4
call fcn.004438e1
mov ax, word [0x4970a4]
add esp, 0x10
cmp ax, 0x1000
push esi
jbe 0x4326b3
call fcn.00442dde
pop ecx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x432713
movzx eax, ax
push edi
push eax
mov esi, 0x4920a4
push esi
call fcn.004438e1
add esp, 0x10
cmp word [0x4970a4], 0x1000
jbe 0x4326da
mov word [0x4970a4], 0x1000
cmp word [0x4970a4], di
jb 0x43270a
push ebx
mov ebx, 0x4930a8
dec esi
cmp byte [esi + edi], 0
je 0x4326fa
push dword [ebp + 8]
mov ecx, dword [ebx]
call fcn.00455115
movzx eax, word [0x4970a4]
inc edi
add ebx, 4
cmp edi, eax
jle 0x4326ea
pop ebx
push dword [ebp + 8]
call fcn.00442dde
pop ecx
pop edi
pop esi
leave
ret
Function at 0x437126
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x468164]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push 1
pop edi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
mov esi, ecx
mov byte [ebp - 1], 4
call fcn.004438e1
push ebx
push edi
lea eax, [ebp - 1]
push edi
push eax
call fcn.004438e1
push ebx
push edi
push edi
push esi
call fcn.004438e1
push ebx
push edi
lea eax, [esi + 1]
push edi
push eax
call fcn.004438e1
add esp, 0x40
push ebx
push edi
lea eax, [esi + 2]
push edi
push eax
call fcn.004438e1
push ebx
push edi
lea eax, [esi + 3]
push edi
push eax
call fcn.004438e1
push ebx
push edi
lea eax, [esi + 6]
push 2
push eax
call fcn.004438e1
push ebx
push edi
lea eax, [esi + 8]
push 2
push eax
call fcn.004438e1
add esp, 0x40
push ebx
push edi
lea eax, [esi + 0xa]
push 2
push eax
call fcn.004438e1
push ebx
push edi
lea eax, [esi + 4]
push edi
push eax
call fcn.004438e1
push 0xe
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004428e0
push ebx
push 0xe
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.004438e1
push ebx
push 8
lea eax, [esi + 0xc]
push 4
push eax
call fcn.004438e1
and dword [ebp + 8], 0
add esp, 0x4c
cmp word [esi + 6], 0
jle 0x437222
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp + 8]
xor dword [eax + ecx*8 + 4], 0x14ad
push ebx
push edi
lea eax, [eax + ecx*8]
push 8
push eax
call fcn.004438e1
movsx eax, word [esi + 6]
add esp, 0x10
inc dword [ebp + 8]
cmp dword [ebp + 8], eax
jl 0x4371f8
pop edi
pop esi
pop ebx
leave
ret 4