joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413460
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce139
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5000f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], ecx
mov edi, edx
mov dword [ebp - 0x54], esi
call fcn.00404eb0
mov dword [ebp - 4], esi
mov eax, 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.00405c10
mov byte [ebp - 4], 2
push esi
push esi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call ebx
mov esi, eax
add esi, 2
push 0
push esi
lea ecx, [ebp - 0x30]
call fcn.004178f0
mov byte [ebp - 4], 3
push esi
push 0
lea ecx, [ebp - 0x30]
call fcn.00417920
push eax
push edi
call ebx
test eax, eax
je 0x413502
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4134f9
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.00405590
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00405c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00405c80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004aa641
mov esp, ebp
pop ebp
ret
Function at 0x413c80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf622
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x413e4a
push esi
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00417cd0
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x6c]
call fcn.00417d40
push eax
push esi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x413e3e
push edi
lea ecx, [ebp - 0x6c]
call fcn.00417d40
push eax
lea edx, [ebp - 0x54]
push edx
call fcn.004103b0
add esp, 8
mov byte [ebp - 4], 2
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov edi, edi
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x30], edi
mov ecx, dword [ebx]
mov dword [ebp - 0x30], ecx
cmp eax, edi
je 0x413d33
cmp eax, ecx
je 0x413d38
call fcn.004ab09b
cmp dword [ebp - 0x38], esi
je 0x413e31
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
sar eax, 2
cmp edi, eax
jae 0x413e1f
lea ecx, [ebp - 0x24]
call fcn.00404eb0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x3c]
call fcn.0043f210
mov ebx, eax
lea esi, [ebp - 0x54]
call fcn.00417c30
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx]
push ecx
call fcn.00417c30
movzx edx, word [eax + 2]
push edx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x24]
push edx
call fcn.0041c220
add esp, 0x14
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00417d40
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x413e0a
cmp dword [ebp - 0x1c], esi
je 0x413e0a
cmp dword [ebp - 0x18], esi
jbe 0x413e0a
lea ecx, [ebp - 0x20]
call fcn.00404eb0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004177c0
lea edx, [ebp - 0x20]
push edx
lea esi, [ebp - 0x3c]
call fcn.0043f210
mov ecx, eax
add ecx, 4
call fcn.00417a30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00405020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00405020
inc edi
mov ebx, dword [ebp + 8]
jmp 0x413d41
lea esi, [ebp - 0x3c]
call fcn.0043c0d0
mov eax, dword [ebp - 0x3c]
xor edi, edi
jmp 0x413d20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
call fcn.00426830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004a8410
mov dword [ebp - 4], 0xffffffff
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 0x414820
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d138a
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 6
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ebx
call fcn.004412c0
mov ebp, 1
mov dword [esp + 0x248], ebp
push 0x206
lea ecx, [esp + 0x3a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x40], ax
call fcn.004ad2a0
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.00418640
mov byte [esp + 0x248], 2
mov eax, dword [eax + 8]
push 0x103
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x20], ebp
call eax
test eax, eax
je 0x4148dc
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4148c7
sub eax, edx
sar eax, 1
je 0x4148dc
mov al, 1
jmp 0x4148de
xor al, al
mov dword [esp + 0x248], ebp
mov ecx, ebp
mov dword [esp + 0x18], ecx
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp al, bl
je 0x41494f
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
cmp esi, ebx
movzx ebp, word [esp + 0x34]
jg 0x41491c
push 0x80070057
call fcn.00401000
cmp dword [eax - 4], 1
jle 0x414932
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.0040b700
mov eax, dword [esp + 0x14]
cmp esi, ebx
mov word [eax], bp
jl 0x414912
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x414912
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + esi*2], dx
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.00418720
mov byte [esp + 0x248], 3
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push edx
call eax
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x1c]
xor eax, 0x11
push eax
push 0x4eb824
push 0x64
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
call fcn.00449740
add esp, 0xc
or dword [esp + 0x18], 2
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x14]
call fcn.00405020
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004aa641
add esp, 0x238
ret
Function at 0x416db0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4d0d24
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x5c]
push ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
call fcn.00419a60
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 1
call fcn.00419b50
mov eax, dword [eax + 8]
push ebx
push ebx
call eax
mov edi, eax
cmp edi, ebx
je 0x416f3b
xor ecx, ecx
push ebx
lea edx, [edi + 1]
mov word [esp + 0x30], cx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
call fcn.00419fd0
mov dword [esp + 0x54], 1
cmp dword [esp + 0x40], 8
mov ebp, dword [esp + 0x2c]
jae 0x416e58
lea ebp, [esp + 0x2c]
lea esi, [esp + 0x18]
call fcn.00419b50
mov eax, dword [eax + 8]
push ebp
push edi
call eax
cmp eax, ebx
je 0x416f0a
cmp dword [esp + 0x40], 8
mov esi, dword [esp + 0x2c]
jae 0x416e7f
lea esi, [esp + 0x2c]
cmp word [esi], bx
je 0x416f0a
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, edi
push esi
lea ecx, [esp + 0x1c]
call fcn.004054b0
mov byte [esp + 0x54], 2
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x20], ebx
call ebp
mov dword [esp + 0x1c], eax
mov byte [esp + 0x54], 3
mov edi, dword [esp + 0x14]
lea ebx, [esp + 0x18]
call fcn.00419ad0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416ee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416ef0
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
xor ebx, ebx
cmp word [esi], bx
jne 0x416e90
mov byte [esp + 0x54], bl
cmp dword [esp + 0x40], 8
jb 0x416f22
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0045a597
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
jmp 0x416f3d
mov eax, ebp
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004aa641
add esp, 0x44
ret
Function at 0x41d590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d1f08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ecx, 0x513f94
mov dword [esp + 0x20], 0x513f94
call fcn.00404eb0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
call fcn.00448f00
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00448bd0
mov esi, eax
mov byte [esp + 0x34], 2
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.004102e0
mov byte [esp + 0x3c], 3
push 0x4eb074
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00405800
mov byte [esp + 0x48], 4
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00405750
mov byte [esp + 0x54], 5
push str..txt
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00405800
add esp, 0x34
mov byte [esp + 0x2c], 6
push eax
mov ecx, 0x513f94
call fcn.00407780
mov byte [esp + 0x2c], 5
lea ecx, [esp + 8]
call fcn.00405020
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xc]
call fcn.00405020
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x10]
call fcn.00405020
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x14]
call fcn.00405020
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x18]
call fcn.00405020
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
call fcn.00405020
mov dword [esp + 0x2c], 0xffffffff
mov eax, 0x513f94
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x41d6c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4cb068
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x513f94]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push 0x4eb080
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00405020
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x41f160
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x513f84]
push esi
test eax, eax
je 0x41f173
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0x513e78
push 0x420310
push 0
push 0
call fcn.004aae8e
add esp, 0x18
mov dword [0x513f84], eax
call fcn.004276f0
call fcn.0041ef10
call fcn.0041eb90
call fcn.0041ed50
call fcn.0041efd0
call fcn.0040ced0
call fcn.004a9280
mov esi, eax
test esi, esi
je 0x41f1df
mov ecx, esi
call fcn.004a7fb0
test al, al
jne 0x41f1df
push 0
mov ecx, esi
call fcn.004a8060
test al, al
je 0x41f1df
push 0x41e3d0
mov ecx, esi
call fcn.004a9cb0
mov al, 1
pop esi
ret
Function at 0x4202e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4202f3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push esi
push 0x420310
push 0
push 0
call fcn.004aae8e
add esp, 0x18
mov dword [esi + 0x10c], eax
ret

Function at 0x420a60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cdcf0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x512c3c]
mov edx, dword [eax + 0xc]
mov ecx, 0x512c3c
mov dword [esp + 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x30], 0
xor ecx, ecx
mov eax, 0xa
lea esi, [esp + 0xc]
mov word [esp + 0xe], cx
mov word [esp + 0xc], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x420ac7
sub esi, ecx
sar esi, 1
mov dword [esp + 0x14], 0
mov byte [esp + 0x30], 1
lea eax, [esi + 1]
mov edx, 2
mul edx
test edx, edx
ja 0x420af6
cmp eax, 0xffffffff
jbe 0x420b00
push 0x80070057
call fcn.00401000
cmp eax, 0xa
jbe 0x420b11
lea ecx, [esp + 0x14]
push ecx
call fcn.00424790
jmp 0x420b19
lea edx, [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
push 2
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + esi + 2]
push ecx
push edx
call fcn.004ab117
push eax
call fcn.00401020
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
add esp, 0x14
or eax, ecx
jge 0x420b56
push esi
mov ecx, edi
call fcn.0040adf0
mov ecx, dword [edi]
cmp esi, 1
jne 0x420b69
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov word [ecx], ax
jmp 0x420b8b
xor eax, eax
test esi, esi
jle 0x420b85
nop
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x420b70
test esi, esi
jl 0x420af6
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x420af6
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [eax + esi*2], cx
mov byte [esp + 0x30], cl
lea edx, [esp + 0x18]
cmp dword [esp + 0x14], edx
je 0x420bb8
lea eax, [esp + 0x14]
call fcn.004231c0
mov dword [esp + 0x30], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004aa641
add esp, 0x2c
ret
Function at 0x4256c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d4650
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventW]
or edi, 0xffffffff
cmp dword [0x513aac], 0
jne 0x42572e
push 0x36
lea ecx, [esp + 0x14]
call fcn.004412c0
mov dword [esp + 0x20], 0
mov eax, dword [eax]
push eax
push 0
push 0x100000
call esi
mov dword [0x513aac], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405020
cmp dword [0x513ab0], 0
jne 0x425768
push 0x37
lea ecx, [esp + 0x14]
call fcn.004412c0
mov dword [esp + 0x20], 1
mov eax, dword [eax]
push eax
push 0
push 0x100000
call esi
mov dword [0x513ab0], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405020
cmp dword [0x513ab4], 0
jne 0x4257a2
push 0x38
lea ecx, [esp + 0x14]
call fcn.004412c0
mov dword [esp + 0x20], 2
mov eax, dword [eax]
push eax
push 0
push 0x100000
call esi
mov dword [0x513ab4], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405020
push 4
call fcn.004ab619
add esp, 4
test eax, eax
je 0x4257bb
mov ecx, eax
call fcn.00404eb0
mov esi, eax
jmp 0x4257bd
xor esi, esi
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.004054b0
mov dword [esp + 0x20], 3
push eax
mov ecx, esi
call fcn.00407780
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405020
push 0
push 0
push esi
push 0x4255c0
push 0
push 0
call fcn.004aae8e
add esp, 0x18
mov dword [0x513ac8], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x425820
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3270
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.004054b0
mov dword [esp + 0x28], 0
mov eax, dword [ebp + 0x14]
mov edi, eax
test eax, eax
jbe 0x425939
cmp eax, 5
seta cl
push 0
mov byte [esp + 0x14], cl
lea edx, [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00405450
mov byte [esp + 0x30], 1
mov esi, dword [esp + 0x18]
push esi
mov byte [esp + 0x34], 0
call fcn.00410490
add esp, 0xc
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00405450
mov byte [esp + 0x30], 2
push esi
mov byte [esp + 0x34], 0
call fcn.00410490
add esp, 0xc
cmp dword [ebp + 0x44], 1
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [esp + 0x14]
push edx
sete bl
call fcn.004268a0
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 0x14]
push esi
push ebx
push edi
mov edi, eax
call fcn.004119b0
add esp, 0xc
test al, al
sete bl
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00405020
test bl, bl
je 0x4259e2
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405020
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00405450
mov ebx, 4
mov byte [esp + 0x28], bl
mov ecx, dword [esp + 0x10]
push 0x5e
push ecx
call fcn.004ac0ec
add esp, 8
test eax, eax
je 0x425999
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x425999
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.004175a0
mov byte [esp + 0x28], 5
push eax
lea ecx, [esp + 0x14]
call fcn.00407780
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
call fcn.00405020
mov eax, dword [esp + 0x10]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x4259d4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4259d4
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00405020
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405020
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
Function at 0x426400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d0580
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.004054b0
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004054b0
mov byte [esp + 0x20], 1
mov dword [esp + 0x20], 0xffffffff
call fcn.0040cf40
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x34

Function at 0x4266c0
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3750
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x426763
lea ecx, [esp + 0xc]
call fcn.004a8d60
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0xc]
call fcn.004054b0
mov byte [esp + 0x30], 1
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00417a30
mov byte [esp + 0x30], 0
lea ecx, [esp + 8]
call fcn.00405020
lea edx, [esp + 0xc]
push 1
push edx
call fcn.00438cc0
add esp, 8
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00406270
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24
cmp eax, 1
jne 0x42678b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24
call fcn.0043a150
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24

Function at 0x4268a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cd950
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [0x512c3c]
mov edx, dword [eax + 0xc]
mov ecx, 0x512c3c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
push 8
push 0
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x426913
push eax
call fcn.00401000
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x42691f
xor eax, eax
jmp 0x426933
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426924
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00408e90
mov byte [esp + 0x28], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x28], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8