joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4106e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x14], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x466978
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x18]
mov bl, 1
push eax
mov byte [ebp - 4], bl
call fcn.00404360
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [eax]
push 0x9001
push eax
lea ecx, [ebp - 0x2c]
call fcn.004377db
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410774
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx]
push edx
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00436e88
lea ecx, [ebp - 0x2c]
call fcn.004370ec
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0043726b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4107c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4107f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45afd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 1
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00406b90
mov eax, dword [eax]
mov ecx, 0x464848
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41084b
test dx, dx
je 0x410847
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41084b
add eax, 4
add ecx, 4
test dx, dx
jne 0x410825
xor eax, eax
jmp 0x410850
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp]
push ebx
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410875
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
pop ebx
je 0x41088a
push 1
push 0x464848
lea ecx, [esp + 0x1c]
call fcn.004045d0
push 0x13
push str.RecibidasNuevaNota
lea ecx, [esp + 0x1c]
call fcn.004045d0
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4108cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x414c20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bca2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x4680e8
push 0
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414c80
push 0
push 0x10
push str.Ya_hay_un_Gnotas_ejecut
call fcn.004327a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00438357
push 0
call fcn.0043d41b
push eax
call fcn.0043e3c5
add esp, 8
lea eax, [ebp - 0x18]
push eax
push str.SoftwareStridensGnotas2Perfiles
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x414cc2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414cce
lea edx, [ebx + 0xa4]
push edx
call fcn.004092c0
lea edi, [ebx + 0xa4]
push edi
call fcn.00408c10
mov eax, dword [ebx + 0x15c]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x1a8]
cmp dword [eax - 0xc], 0
je 0x414d0c
push ecx
mov esi, esp
mov eax, edi
mov dword [ebp - 0x18], esp
call fcn.00414ac0
push ebx
call fcn.00414e30
mov ecx, dword [ebx + 0x48]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404ea0
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004132f0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x414d8d
push 0x468144
push eax
call fcn.0043e3f9
add esp, 8
test eax, eax
je 0x414d8d
sub eax, dword [ebp - 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x414d8d
push ebx
call fcn.004151d0
test al, al
je 0x414d8d
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414c6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd8
call fcn.0042ab0b
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x414dc3
lea ecx, [ebx + 0x1f4]
push ecx
lea edx, [ebx + 0x1d4]
push edx
push eax
lea ecx, [ebx + 0xa4]
call fcn.004161b0
mov ecx, eax
jmp 0x414dc5
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [ebx + 0x214], ecx
call fcn.00416590
mov eax, dword [ebx + 0x214]
mov dword [ebx + 0x20], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x458d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00432195
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.0043242b
mov edx, dword [esi + 0x20]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esi + 0x5c]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x14]
push 0xc20
lea ecx, [esp + 8]
push ecx
push eax
mov eax, dword [edx + 0x68]
push esi
lea ecx, [esp + 0x24]
call eax
mov edx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
sub esi, edx
sub esi, dword [esp + 4]
mov eax, ecx
lea ecx, [esi + ecx + 0xd]
sub eax, edx
mov dword [edi], ecx
lea ecx, [esp + 0x14]
mov dword [edi + 4], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004321e9
mov ecx, dword [esp + 0x28]
mov eax, edi
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret
Function at 0x4191f0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax + 4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_CheckMenuItem]
push esi
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x5c]
cmp dword [ecx + 0x1c], 0
je 0x4192c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4192bb
mov edx, dword [eax]
mov dword [ecx + 0x1c], edx
mov esi, dword [eax + 8]
test esi, esi
je 0x4192c0
cmp byte [esi + 0x30], 0
je 0x419202
cmp byte [esi + 0x31], 0
jne 0x4192ae
push esi
lea eax, [edi + 0x80]
push eax
call fcn.0041e320
mov eax, dword [esi + 0x60]
push 0x46a25c
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esi + 0x31], 1
call fcn.0043eed6
add esp, 0xc
test eax, eax
jne 0x41929c
mov edx, dword [esp + 8]
push edx
push 1
lea eax, [esi + 8]
push 0x48
push eax
call fcn.0043f46d
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax - 0xc]
push ecx
push 1
add edx, edx
push edx
push eax
call fcn.0043f46d
mov eax, dword [esp + 0x28]
push eax
call fcn.0043f28f
add esp, 0x24
mov byte [esi + 0x64], 0
jmp 0x4192a0
mov byte [esi + 0x54], 1
mov ecx, dword [esi]
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 4]
push 8
push ecx
push eax
call ebp
mov esi, dword [esi + 4]
call fcn.00424dc0
jmp 0x419202
call fcn.0042adb3
pop esi
pop ebp
pop ecx
ret

Function at 0x4197d0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push 0
push 0x4693b8
mov dword [esp + 8], 0x24
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
cmp dword [esp + 0x10], 0
je 0x419805
xor eax, eax
add esp, 0x24
ret
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cmp dword [esp + 0x14], eax
jge 0x419828
xor ecx, ecx
cmp dword [esp + 0x1c], eax
setle cl
inc ecx
mov eax, ecx
add esp, 0x24
ret
mov eax, 3
add esp, 0x24
ret
Function at 0x419940
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45b07b
push eax
mov dword fs:[0], esp
sub esp, 0x808
lea eax, [esp]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp byte [esp + 0x818], 0
je 0x419a13
push 0x400
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 8]
xor edx, edx
push eax
lea ecx, [esp + 8]
mov word [esp + 0x80a], dx
call fcn.00404ea0
push 3
push 0x469448
lea ecx, [esp + 0xc]
mov dword [esp + 0x818], 0
call fcn.004045d0
mov eax, dword [esp + 4]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.Gnotas_2
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x810], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x419a22
mov ecx, dword [esp]
push str.Gnotas_2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x808]
mov dword fs:[0], ecx
add esp, 0x814
ret 4
Function at 0x41cad0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b00f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push edi
mov edi, dword [esp + 0x420]
mov dword [esp + 0x414], 0
mov dword [esp + 8], 0
call fcn.0042ae70
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cb20
push 0x80004005
call fcn.00405760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x41c]
mov dword [esp + 0x414], 0
mov eax, dword [ecx + 0x5c]
push 0x46a254
push eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], 1
call fcn.0043eed6
add esp, 0xc
test eax, eax
jne 0x41cbb2
mov eax, dword [esp + 4]
push eax
push 0x400
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.0043f1fb
mov edx, dword [esp + 0x14]
push edx
call fcn.0043f28f
add esp, 0x14
xor eax, eax
mov word [esp + 0x40a], ax
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41cb96
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00405350
mov ecx, dword [esp + 0x40c]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x414
ret 8
Function at 0x41ce80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4596c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
lea ebx, [ebp - 0x80]
mov dword [ebp - 0x18], eax
call fcn.004011f0
mov ecx, dword [ebp + 8]
push str.Alarmas
add ecx, 0x50
push ecx
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 1
call fcn.00404360
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
call fcn.00436de4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cf01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jle 0x41d021
mov esi, dword [ebp + 8]
push str.Alarmas
lea ecx, [esi + 0x50]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00404360
mov eax, dword [eax]
push 0x46a25c
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043eed6
add esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cf5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d01d
mov ecx, dword [ebp - 0x14]
push ecx
push 1
lea edx, [ebp - 0x18]
push 4
push edx
call fcn.0043f46d
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov dword [ebp + 0x28], eax
test eax, eax
je 0x41d00f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x28], edx
mov esi, dword [ecx + 8]
push eax
mov ecx, 0xf
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x44]
push 1
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x44]
push 0x24
push ecx
call fcn.0043f46d
add esp, 0x10
cmp eax, 1
je 0x41cfca
mov edx, dword [ebp + 8]
mov byte [edx + 0x54], 1
lea eax, [ebp - 0x44]
call fcn.00429ec0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push eax
push 1
lea ecx, [ebp - 0x1c]
push 4
push ecx
call fcn.0043f46d
add esp, 0x10
cmp eax, 1
mov eax, dword [ebp + 0x28]
je 0x41cf81
mov edx, dword [ebp + 8]
mov byte [edx + 0x54], 1
jmp 0x41cf81
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043f28f
add esp, 4
jmp 0x41d021
mov byte [esi + 0x54], 1
mov ecx, dword [ebp + 8]
add ecx, 0x70
push ecx
lea eax, [ebp + 0xc]
call fcn.00405940
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00405820
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x41d2f0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x60]
push 0x46a25c
push eax
lea eax, [esp + 8]
push eax
call fcn.0043eed6
add esp, 0xc
test eax, eax
jne 0x41d345
mov ecx, dword [esp]
push ecx
push 1
lea edx, [esi + 8]
push 0x48
push edx
call fcn.0043f46d
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
push ecx
push 1
add edx, edx
push edx
push eax
call fcn.0043f46d
mov eax, dword [esp + 0x20]
push eax
call fcn.0043f28f
add esp, 0x24
mov byte [esi + 0x64], 0
pop ecx
ret
mov byte [esi + 0x54], 1
pop ecx
ret

Function at 0x41d350
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b839
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0
call fcn.0042ae70
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d397
push 0x80004005
call fcn.00405760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
push 0x46a218
add ecx, 0x50
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0
push edx
mov dword [esp + 0x18], 1
call fcn.00404360
mov eax, dword [eax]
push 0x46a254
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0043eed6
add esp, 0x18
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d407
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
pop ebx
je 0x41d486
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0xffff
or eax, ecx
jge 0x41d431
push 0xffff
mov ecx, esi
call fcn.004052a0
mov ecx, dword [esp + 4]
push edi
mov edi, dword [esi]
push ecx
push 0xffff
push 2
push edi
call fcn.0043f1fb
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
add esp, 0x10
pop edi
test eax, eax
je 0x41d467
push ecx
push eax
call fcn.0043f4ef
add esp, 8
test eax, eax
jl 0x41d4a4
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41d4a4
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 4]
push eax
call fcn.0043f28f
add esp, 4
mov ecx, dword [esp + 0x20]
push esi
call fcn.0041cd30
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
push 0x80070057
call fcn.00405760
int3
Function at 0x41d4b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push 0x46a218
lea eax, [esi + 0x50]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00404360
mov eax, dword [eax]
push 0x46a25c
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0043eed6
add esp, 0x18
test eax, eax
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
pop ebx
je 0x41d531
mov eax, dword [edi]
mov ecx, dword [esp]
mov edx, dword [eax - 0xc]
push ecx
push edx
push 2
push eax
call fcn.0043f46d
mov eax, dword [esp + 0x10]
push eax
call fcn.0043f28f
add esp, 0x14
push edi
mov ecx, esi
call fcn.0041cd30
add esp, 8
ret
push edi
mov ecx, esi
mov byte [esi + 0x54], 1
call fcn.0041cd30
add esp, 8
ret

Function at 0x41dc20
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x459e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
lea eax, [esp + 8]
push eax
push edi
call fcn.0041db80
push str.._
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x40], 0
call fcn.00404360
add esp, 0xc
mov byte [esp + 0x34], 2
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dc84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp]
cmp dword [eax - 4], 1
push ebx
mov ebx, dword [eax - 0xc]
jle 0x41dca1
mov ecx, ebx
push ecx
lea ecx, [esp + 8]
call fcn.004051d0
mov eax, dword [esp + 4]
xor edx, edx
mov word [eax + ebx*2 - 2], dx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov eax, 0x410
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], edx
mov word [esp + 0x24], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop ebx
test eax, eax
je 0x41dd0e
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dcfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push esi
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.0041db80
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dd43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x41e690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.0042b3cb
mov dword [esp + 0x30], 0
mov eax, dword [edi + 8]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
je 0x41e724
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41e71f
mov ecx, dword [eax]
mov dword [edi + 0x20], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x41e724
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e706
mov esi, eax
mov ecx, eax
test eax, eax
je 0x41e71f
mov ecx, dword [ecx + 8]
mov ebx, dword [edx + 0x54]
mov ecx, dword [ecx + 0x54]
mov ebx, dword [ebx + 0x34]
mov eax, dword [eax]
cmp ebx, dword [ecx + 0x34]
jb 0x41e712
test eax, eax
jne 0x41e6e7
push edx
lea ecx, [esp + 0x10]
call fcn.00439f11
jmp 0x41e6c6
push edx
push esi
lea ecx, [esp + 0x14]
call fcn.0042b42d
jmp 0x41e6c6
call fcn.0042adb3
mov esi, dword [esp + 0x10]
mov dword [0x47eac0], 0
test esi, esi
je 0x41e76d
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ebx, 1
mov eax, esi
test esi, esi
je 0x41e71f
mov eax, dword [eax + 8]
mov edx, dword [0x47eac0]
mov ecx, dword [eax + 0x54]
mov esi, dword [esi]
add edx, ebx
mov dword [0x47eac0], edx
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x64], bl
mov edx, dword [eax + 0x20]
push edx
call edi
test esi, esi
jne 0x41e741
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042b3f3
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x41e790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.0042b3cb
mov dword [esp + 0x30], 0
mov eax, dword [edi + 8]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
je 0x41e824
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41e81f
mov ecx, dword [eax]
mov dword [edi + 0x20], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x41e824
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e806
mov esi, eax
mov ecx, eax
test eax, eax
je 0x41e81f
mov ecx, dword [ecx + 8]
mov ebx, dword [edx + 0x54]
mov ecx, dword [ecx + 0x54]
mov ebx, dword [ebx + 0x34]
mov eax, dword [eax]
cmp ebx, dword [ecx + 0x34]
jb 0x41e812
test eax, eax
jne 0x41e7e7
push edx
lea ecx, [esp + 0x10]
call fcn.00439f11
jmp 0x41e7c6
push edx
push esi
lea ecx, [esp + 0x14]
call fcn.0042b42d
jmp 0x41e7c6
call fcn.0042adb3
mov esi, dword [esp + 0x14]
mov dword [0x47eac0], 0
test esi, esi
je 0x41e86e
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ebx, 1
mov eax, esi
test esi, esi
je 0x41e81f
mov eax, dword [eax + 8]
mov edx, dword [0x47eac0]
mov ecx, dword [eax + 0x54]
mov esi, dword [esi + 4]
add edx, ebx
mov dword [0x47eac0], edx
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x64], bl
mov edx, dword [eax + 0x20]
push edx
call edi
test esi, esi
jne 0x41e841
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042b3f3
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret