joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442233
push esi
call fcn.00445300
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44222c
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 0x4422b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4422a2
mov eax, dword [esi + 8]
test eax, eax
je 0x442257
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 0x44229e
cmp eax, 2
je 0x4422a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44224a
cmp eax, 3
je 0x44227d
cmp eax, 1
jne 0x44224a
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 0x44224a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44224a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004422e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4422c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004422e0
add esp, 4
pop esi
ret

Function at 0x460b15
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460b4d
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.0045ebcc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045eba4
jmp 0x460b59
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46220a
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 0x46224c
call fcn.00467d02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46224c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462243
xor eax, eax
jmp 0x462254
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046225a
pop edi
pop esi
pop ebx
ret 4

Function at 0x468232
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 0x468260
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46827e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468198
jmp 0x46827e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46827e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468198
test edi, edi
mov eax, edi
jne 0x468268
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401488
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x446c90]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40151d
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x4014da
cmp dword [ebp + 0x10], ebx
jne 0x401511
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.00401488
test eax, eax
jne 0x4014ec
push edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014c1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.0040562d
cmp eax, ebx
je 0x401524
push ebx
push dword [0x446c90]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40151d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x446c90], ebx
jne 0x40151a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40151a
jmp 0x40151d
Function at 0x402d20
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
mov dword [ebp - 8], esi
jne 0x402d3d
mov dword [ebp - 8], CreatePopupMenu
and dword [ebp - 4], 0
test edi, edi
mov ebx, edi
jne 0x402d4c
mov ebx, 0x4178e8
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402d61
mov ecx, dword [0x446bf8]
add ecx, eax
push ecx
call fcn.00402d09
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00402cd7
test eax, eax
jne 0x402d78
push 0xfffffffffffffffd
pop eax
jmp 0x402ed1
test dword [ebp + 0x14], 0x80000000
je 0x402eb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x4278f0
mov dword [ebp - 0xc], eax
call fcn.00405de7
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x402ece
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402db8
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x4138e8
push edi
call fcn.00402cd7
test eax, eax
je 0x402d70
sub dword [ebp + 0x14], esi
mov dword [0x427908], edi
mov dword [0x42790c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x4278f0
mov dword [0x427910], ebx
mov dword [0x427914], eax
call fcn.00405e07
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x402ea2
mov esi, dword [0x427910]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x446c94], 1
mov edi, eax
je 0x402e56
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402e23
cmp dword [ebp + 0x14], 0
jne 0x402e56
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404603
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x402e97
cmp dword [ebp + 0x10], eax
jne 0x402e7f
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402ea9
cmp dword [ebp - 0x10], esi
jne 0x402ea9
add dword [ebp - 4], esi
jmp 0x402e8b
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x427910]
cmp dword [ebp - 0x14], 1
jne 0x402dd7
jmp 0x402ece
cmp dword [ebp + 0x14], eax
jg 0x402dab
jmp 0x402ece
push 0xfffffffffffffffc
jmp 0x402d72
push 0xfffffffffffffffe
jmp 0x402d72
test edi, edi
je 0x402f17
cmp dword [ebp + 0x14], esi
jge 0x402ebc
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00402cd7
test eax, eax
je 0x402d70
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x402ee3
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x4138e8
push edi
call fcn.00402cd7
test eax, eax
je 0x402d70
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402ea9
cmp esi, dword [ebp + 0x10]
jne 0x402ea9
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x402ed8
jmp 0x402ece
Function at 0x402f1f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x2000
mov esi, 0x47d000
push esi
add eax, 0x3e8
push ebx
mov dword [0x446c00], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 3
push 0x80000000
push esi
call fcn.004053ba
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xc], edi
mov dword [0x40900c], edi
jne 0x402f79
mov eax, 0x407364
jmp 0x40314e
push esi
mov esi, 0x475000
push esi
call fcn.0040554a
push esi
call fcn.004056c4
push eax
push 0x47f000
call fcn.0040554a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
mov dword [0x427978], eax
mov esi, eax
jle 0x403094
mov ebx, 0x41f8f0
mov eax, dword [0x446c0c]
neg eax
sbb eax, eax
and eax, 0x7e00
add eax, 0x200
cmp esi, eax
mov edi, esi
jl 0x402fcd
mov edi, eax
push edi
push ebx
call fcn.00402cd7
test eax, eax
je 0x403155
cmp dword [0x446c0c], 0
jne 0x40305f
push 0x1c
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00405376
mov eax, dword [ebp - 0x28]
test eax, 0xfffffff0
jne 0x40306d
cmp dword [ebp - 0x24], 0x4332532e
jne 0x40306d
cmp dword [ebp - 0x18], 0x786f462e
jne 0x40306d
cmp dword [ebp - 0x1c], 0x687a462e
jne 0x40306d
cmp dword [ebp - 0x20], 0x7961522e
jne 0x40306d
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x41f8ec]
and eax, 2
or dword [0x446c80], eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
mov dword [0x446c0c], ecx
jg 0x40315d
test byte [ebp + 8], 8
jne 0x403051
test byte [ebp + 8], 4
jne 0x403092
inc dword [ebp - 4]
lea esi, [eax - 4]
cmp edi, esi
jbe 0x40306d
mov edi, esi
jmp 0x40306d
test byte [ebp + 8], 2
jne 0x40306d
push 0
call fcn.00402c7c
pop ecx
cmp esi, dword [0x427978]
jge 0x403082
push edi
push ebx
push dword [ebp - 8]
call fcn.00405d79
mov dword [ebp - 8], eax
add dword [0x41f8ec], edi
sub esi, edi
test esi, esi
jg 0x402fb2
xor ebx, ebx
push 1
call fcn.00402c7c
cmp dword [0x446c0c], ebx
pop ecx
je 0x40315d
cmp dword [ebp - 4], ebx
je 0x4030d7
push dword [0x41f8ec]
call fcn.00402d09
push 4
lea eax, [ebp + 8]
push eax
call fcn.00402cd7
test eax, eax
je 0x40315d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x40315d
push dword [ebp - 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov eax, dword [0x446c0c]
add eax, 0x1c
push eax
call fcn.00402d09
push dword [ebp - 0x14]
push esi
push ebx
push 0xffffffffffffffff
call fcn.00402d20
cmp eax, dword [ebp - 0x14]
jne 0x40315d
test byte [ebp - 0x28], 1
mov dword [0x446bac], esi
mov eax, dword [esi]
mov dword [0x446c08], eax
je 0x40311c
inc dword [0x446c04]
push 8
pop ecx
lea eax, [esi + 0x44]
sub eax, 8
add dword [eax], esi
dec ecx
cmp ecx, ebx
jne 0x403122
push 1
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x3c], eax
push 0x40
add esi, 4
push esi
push 0x446bc0
call fcn.00405376
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 1
call fcn.00402c7c
pop ecx
mov eax, 0x4072c0
jmp 0x40314e
Function at 0x405223
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x4399b8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4399b8], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40525e
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x40539a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4053b7
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x4053ba
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x4053e9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40542d
test edi, edi
jne 0x4053f4
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405427

Function at 0x405431
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4054a2
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x2000
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405491
cmp dword [ebp + 0x14], 1
je 0x405493
cmp dword [ebp + 0x14], 2
je 0x405493
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4056eb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x439a00
push esi
call fcn.0040554a
push esi
call fcn.00405329
mov edi, eax
test edi, edi
jne 0x40570c
xor eax, eax
jmp 0x405764
push edi
call fcn.0040556c
test byte [0x446c08], 0x80
je 0x405725
mov al, byte [edi]
test al, al
je 0x405708
cmp al, 0x5c
je 0x405708
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x405745
push esi
call fcn.00405606
test eax, eax
je 0x40573f
test byte [eax], 0x10
je 0x405769
push esi
call fcn.004056c4
push esi
call ebx
cmp eax, edi
jg 0x405730
push esi
call fcn.00405697
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x405763
Function at 0x405a14
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.0040562d
test eax, eax
mov esi, dword [esp + 0x18]
je 0x405a38
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405b71
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x43ba00], 0x4c554e
mov edi, 0x400
mov ebp, 0x43ba00
je 0x405a7c
push 1
push 0
push esi
call fcn.004053ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405b77
cmp eax, edi
jg 0x405b77
push edi
mov esi, 0x43c340
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405b77
cmp eax, edi
jg 0x405b77
push esi
push ebp
push str._s_s_r_n
push 0x43be00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x446bac]
push dword [eax + 0x128]
push esi
call fcn.004057c3
push 4
push 0xc0000000
push esi
call fcn.004053ba
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405b71
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405b6a
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405b6a
cmp edi, dword [esp + 0x18]
jne 0x405b6a
push str._Rename__r_n
push esi
call fcn.0040576d
test eax, eax
jne 0x405b7e
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.0040554a
add edi, 0xa
mov eax, edi
push ebx
push 0x43be00
add eax, esi
push eax
call fcn.00405376
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x446c70]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x4075dc
add eax, 0xa
push eax
call fcn.0040576d
test eax, eax
je 0x405b35
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405ba5
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405b9a
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405b37
Function at 0x405bad
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.004056eb
mov ecx, dword [ebp + 0xc]
test cl, 8
mov dword [ebp - 8], eax
je 0x405be2
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x446c68], eax
jmp 0x405d74
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x405bfd
test eax, eax
je 0x405d1f
test cl, 2
je 0x405d1f
push edi
push ebx
mov esi, 0x43c740
push esi
call fcn.0040554a
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x405c20
push str..
push esi
call edi
jmp 0x405c26
push ebx
call fcn.004056c4
cmp byte [ebx], 0
jne 0x405c34
cmp byte [0x43c740], 0x5c
jne 0x405c3c
push 0x407290
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [ebp - 0x148]
push eax
push esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x405d14
lea esi, [ebp - 0x11c]
push 0x3f
mov eax, esi
push eax
call fcn.004052e8
cmp byte [eax], 0
je 0x405c7f
cmp byte [ebp - 0x18], 0
je 0x405c7f
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405c95
mov al, byte [esi + 1]
test al, al
je 0x405cf3
cmp al, 0x2e
jne 0x405c95
cmp byte [esi + 2], 0
je 0x405cf3
push esi
push edi
call fcn.0040554a
test byte [ebp - 0x148], 0x10
je 0x405cba
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405cf3
push dword [ebp + 0xc]
push ebx
call fcn.00405bad
jmp 0x405cf3
push ebx
call fcn.0040539a
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405ceb
test byte [ebp + 0xc], 4
je 0x405ce3
push ebx
push 0xfffffffffffffff1
call fcn.00404603
push 0
push ebx
call fcn.00405a14
jmp 0x405cf3
inc dword [0x446c68]
jmp 0x405cf3
push ebx
push 0xfffffffffffffff2
call fcn.00404603
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405c61
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405d1e
mov byte [edi - 1], 0
pop edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405d73
cmp dword [ebp - 8], esi
je 0x405d63
push ebx
call fcn.00405606
test eax, eax
je 0x405d73
push ebx
call fcn.00405697
push ebx
call fcn.0040539a
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405d6b
test byte [ebp + 0xc], 4
je 0x405d63
push ebx
push 0xfffffffffffffff1
call fcn.00404603
push esi
push ebx
call fcn.00405a14
jmp 0x405d73
inc dword [0x446c68]
jmp 0x405d73
push ebx
push 0xffffffffffffffe5
call fcn.00404603
pop esi
pop ebx
leave
ret 8
Function at 0x405d79
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x43e744], 0
jne 0x405db4
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8d
mov dword [ecx*4 + 0x43e740], eax
inc ecx
cmp ecx, 0x100
jl 0x405d88
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x405de1
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x43e740]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x405dc2
not eax
pop ebp
ret 0xc
Function at 0x401554
Capabilities:
Encode data using xor

Disassembly:
push 0x401bc8
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esp + esi*4 - 0x3f], cl
cmpsb byte [esi], byte es:[edi]
add ebx, dword [ebx - 0x2c58b472]
or al, 0x1e
rcr byte [ebx + eax*4 + 0x61], 1
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx + 0x63], dl
push 0x6c756465
add byte gs:[eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
add byte [edi + 0x5a], ch
sub eax, 0x43a826a8
test al, 0x43
mov eax, 0xb8ecdceb
stosb byte es:[edi], al
outsd dx, dword [esi]
add eax, 0xc5ec9169
jbe 0x40156f
push esp
dec ebx
mov dword [ebx], ebp
mul dh
popfd
loopne 0x4015af
cmp cl, byte [edi - 0x53]
xor ebx, dword [ecx - 0x48ee309a]
or al, 0
stosb byte es:[edi], al
add byte [eax - 0x2d], ah
xchg ebx, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax + eax], 0x47c00
add byte [eax], al
add eax, 0x726f4600
insd dword es:[edi], dx
xor dword [eax], eax
or eax, 0x46000501
outsd dx, dword [esi]
jb 0x401683
xor dword [eax], eax
sbb dword [ecx], eax
add byte [edx], al
and edi, dword [esi]
add al, 0
add byte [esp + esi*2], ch
add byte [esi], dh
add al, 0
add byte [eax], al
add byte [ecx], al
add byte [edx], al
add byte [eax], ah
and byte [eax], dl
add byte [eax], al
add byte [eax], al
add al, ch
add al, byte [eax]
add byte [esi], ah
add byte [eax], al
add byte [eax], dl
adc byte [eax], dl
add byte [eax], al
add byte [eax], al
add byte [eax], ch
add dword [eax], eax
add byte [esi], cl
add eax, dword [eax]
add byte [eax], ch
add byte [eax], al
add byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add al, 0
add byte [eax], al
add byte [eax], al
add byte [edx], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x800000], al
add byte [eax], al
add byte [eax + 0x8000], 0
add byte [eax], 0x80
add byte [eax - 0x7fffff80], al
add byte [eax - 0x3f3f4000], 0
add byte [eax], al
inc dword [eax]
add bh, bh
add byte [eax], al
add bh, bh
inc dword [eax]
inc dword [eax]
add byte [eax], al
inc dword [eax]
inc dword [eax]
invalid