joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418000
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4c8a7a
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x278]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], 0
mov esi, 1
push 0x4dfd54
mov ecx, ebp
mov dword [esp + 0x274], esi
call fcn.00402520
mov edi, dword [esp + 0x27c]
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4181a8
push edi
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x68]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x4181a8
push esi
call fcn.004a4697
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41819f
mov eax, dword [esp + 0x28]
push ebx
push esi
push eax
lea ecx, [esp + 0x70]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41819f
cmp dword [esp + 0x14], 0
je 0x41819f
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x16c]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test eax, eax
jl 0x418146
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x16c]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
cmp dword [esp + 0x14], 0
je 0x418146
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004023b0
jmp 0x41819f
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4e2d74
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41819f
mov esi, dword [esp + 0x1c]
mov ecx, 0xd
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, ecx
movzx edx, cx
mov ecx, esi
movzx esi, si
push esi
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
push str._d._d._d._d
push ebp
call fcn.00404460
mov edi, dword [esp + 0x294]
add esp, 0x18
push ebx
call fcn.004a475a
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x270], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4181cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004a3135
add esp, 0x260
ret 8
Function at 0x418200
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4c8a1a
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x170]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], 0
mov esi, 1
push 0x4dfd54
mov ecx, ebp
mov dword [esp + 0x16c], esi
call fcn.00402520
mov edi, dword [esp + 0x174]
push edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418328
push edi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x60]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x418328
push esi
call fcn.004a4697
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418328
mov eax, dword [esp + 0x14]
push ebx
push esi
push eax
lea ecx, [esp + 0x68]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4e2d74
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41831f
mov esi, dword [esp + 0x1c]
mov ecx, 0xd
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, ecx
movzx edx, cx
mov ecx, esi
movzx esi, si
push esi
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
push str._d._d._d._d
push ebp
call fcn.00404460
mov edi, dword [esp + 0x18c]
add esp, 0x18
push ebx
call fcn.004a475a
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x168], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41834c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004a3135
add esp, 0x158
ret
Function at 0x418490
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4c736b
mov eax, dword fs:[0]
push eax
mov eax, 0x8014
call fcn.004ae490
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x8010], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x8028]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 1
call fcn.00484590
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4184fb
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
cmp edi, ebp
mov dword [esp + 0x8030], ebp
je 0x4185e0
mov ecx, edi
call fcn.004849f9
mov esi, dword [esi + 4]
push esi
push 0x7fff
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov esi, eax
cmp esi, 0x7ffd
je 0x4185e0
lea ecx, [esp + 0x14]
call fcn.004024c0
add esi, 0xffffffff
cmp esi, ebp
mov dword [esp + 0x20], esi
jle 0x4185e4
jmp 0x418560
mov bl, byte [esp + ebp + 0x24]
test bl, bl
jne 0x41857f
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00484a9a
lea ecx, [esp + 0x14]
call fcn.004024c0
jmp 0x4185cb
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4185a8
push esi
lea ecx, [esp + 0x18]
call fcn.00402260
mov edx, dword [esp + 0x14]
test esi, esi
mov byte [edi + edx], bl
jl 0x4185d6
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4185d6
mov edi, dword [esp + 0x1c]
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
mov byte [esi + eax], 0
mov esi, dword [esp + 0x20]
add ebp, 1
cmp ebp, esi
jl 0x418560
xor ebp, ebp
jmp 0x4185e4
push 0x80070057
call fcn.004021e0
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
je 0x4185fd
cmp edi, ebp
je 0x4185fd
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00484a9a
mov dword [esp + 0x8030], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418628
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8028]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8010]
xor ecx, esp
call fcn.004a3135
add esp, 0x8020
ret
Function at 0x4186f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4c732a
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.004ae490
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x2008], eax
push ebx
push ebp
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x201c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x2024], 3
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418761
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.004024c0
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x2034]
mov ebp, dword [esp + 0x2030]
mov edi, dword [esp + 0x202c]
push eax
push 0x2000
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4187b1
sub eax, ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00402430
lea eax, [edi - 0x10]
mov byte [esp + 0x2024], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4187ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x2024], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x2024], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x201c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.004a3135
add esp, 0x2018
ret 0xc
Function at 0x41a210
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x2001f
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionSharedDLLs
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov esi, dword [esp + 0x1c]
jne 0x41a292
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [esp + 0x18], edi
push esi
mov edi, 4
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
add dword [esp + 8], 1
push edi
lea edx, [esp + 0xc]
push edx
push edi
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a2ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x41ae30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cad99
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esi], vtable.CIRLUACopyFiles.0
call fcn.00484590
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41ae7d
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov dword [esp + 0x24], edi
lea ebx, [esi + 0xc]
call fcn.00484590
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41aead
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x24], 1
lea ebp, [esi + 0x2c]
call fcn.00484590
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41aedd
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esi + 0x34], edi
lea ecx, [esi + 8]
mov dword [esi + 0x30], vtable.CFileInfoArray.0
mov dword [esi + 0x40], 0x32
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call fcn.004024c0
mov ecx, ebx
call fcn.004024c0
mov ecx, ebp
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 1
call fcn.004024c0
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], 0x32
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x41afa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c8761
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], vtable.CIRLUACopyFiles.0
lea esi, [edi + 0x30]
mov dword [esp + 0x18], 2
call fcn.00415cc0
mov byte [esp + 0x18], 1
mov eax, dword [edi + 0x2c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b003
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 0
mov eax, dword [edi + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b027
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov edi, dword [edi + 8]
sub edi, 0x10
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b04e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x41d1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6be8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], 1
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x68]
push ecx
mov ecx, dword [esi + 0x5c]
push edx
mov edx, dword [esi + 0x58]
push eax
mov eax, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x60]
push edx
push eax
push ecx
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push ebp
call fcn.00402860
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x4c], 2
mov edi, dword [esp + 0x54]
add edi, 0xfffffff0
mov dword [esp + 0x40], esp
mov ebx, esp
push edi
call fcn.00402860
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
add esp, 4
mov ecx, esi
mov byte [esp + 0x4c], 1
call edx
mov esi, eax
mov byte [esp + 0x24], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d288
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d2aa
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x41d430
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4c86b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d478
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x20], 1
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d4a7
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov byte [esp + 0x20], 2
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esi, 8
push 0x5c
push eax
call fcn.004a4635
add esp, 8
test eax, eax
je 0x41d52f
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x41d52f
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004061a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.004028f0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d51d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4e2d74
lea eax, [esp + 0x14]
call fcn.0040d3b0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
push 0x5c
push esi
call fcn.004a4635
add esp, 8
test eax, eax
je 0x41d5b4
sub eax, esi
cmp eax, 0xffffffff
je 0x41d5b4
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
call fcn.004061a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 4
call fcn.004028f0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d58c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
push 0
push ebp
call fcn.004a6318
add esp, 8
test eax, eax
jne 0x41d5b4
push ebp
push edi
call fcn.004a4495
add esp, 8
test eax, eax
je 0x41d5b4
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d5d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d5f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d61a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
Function at 0x41d680
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4cac1e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esi], vtable.CIRLUADeleteFiles.0
lea ebp, [esi + 4]
call fcn.00484590
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41d6d0
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x24], edi
lea ebx, [esi + 0x20]
call fcn.00484590
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41d700
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esi + 0x28], edi
mov ecx, ebp
mov dword [esi + 0x24], vtable.CFileInfoArray.0
mov dword [esi + 0x34], 0x32
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
call fcn.004024c0
mov ebp, 1
mov ecx, ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
call fcn.004024c0
mov dword [esi + 0x18], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x1c], 0x32
mov dword [esi + 0x4c], ebp
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x41e730
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4c86b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e778
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x20], 1
call fcn.00484590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e7a7
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov byte [esp + 0x20], 2
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 4]
add esi, 4
push 0x5c
push eax
call fcn.004a4635
add esp, 8
test eax, eax
je 0x41e82f
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x41e82f
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004061a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.004028f0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e81d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4e2d74
lea eax, [esp + 0x14]
call fcn.0040d3b0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
push 0x5c
push esi
call fcn.004a4635
add esp, 8
test eax, eax
je 0x41e8b4
sub eax, esi
cmp eax, 0xffffffff
je 0x41e8b4
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
call fcn.004061a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 4
call fcn.004028f0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e88c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
push 0
push ebp
call fcn.004a6318
add esp, 8
test eax, eax
jne 0x41e8b4
push ebp
push edi
call fcn.004a4495
add esp, 8
test eax, eax
je 0x41e8b4
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e91a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8