joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410f4a
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
and dword [esp], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
test eax, eax
push edi
jle 0x410f8d
cdq
mov edi, eax
add eax, dword [ebp + 0xc]
mov ebx, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push ebx
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.00454d00
push ebx
push edi
push edx
push eax
call fcn.00459290
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00410d25
test eax, eax
pop ecx
pop ecx
je 0x410fad
push 0x800d
push dword [esi + 0x20]
push str.winTruncate1
jmp 0x410fd0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x410fe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x8010
push dword [esi + 0x20]
mov dword [esi + 0x14], eax
push str.winTruncate2
push 0x60a
call fcn.00410c35
mov dword [esp + 0x1c], eax
add esp, 0x10
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411027
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41106c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41106c
push 0x806c
push dword [esi + 0x20]
mov dword [esi + 0x14], eax
push str.winFileSize
push 0x70a
call fcn.00410c35
add esp, 0x10
jmp 0x41108c
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.00459290
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x411bbb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4700f0]
sub esp, 0x310
test eax, eax
push ebx
push esi
je 0x411beb
push eax
push 0x465a28
lea eax, [ebp - 0x108]
push eax
push 0xe6
call fcn.0040f240
add esp, 0x10
jmp 0x411c59
call fcn.004109a9
test eax, eax
mov esi, 0xe6
je 0x411c21
lea eax, [ebp - 0x310]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x310]
push eax
call fcn.00410a42
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x411c3d
push 7
pop eax
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.00410b03
jmp 0x411c13
push ebx
push 0x465a28
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0040f240
push ebx
call fcn.0044e858
add esp, 0x14
mov ecx, str.etilqs_
call fcn.0040f99e
lea ecx, [ebp - 0x108]
mov edx, eax
call fcn.0040f99e
lea eax, [edx + eax + 0x11]
cmp eax, 0x105
jl 0x411c80
xor eax, eax
inc eax
jmp 0x411c1d
lea ecx, [ebp - 0x108]
call fcn.0040f99e
test eax, eax
jbe 0x411c99
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x411c99
dec eax
jne 0x411c90
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
push str._setilqs_
push edi
push 0xf4
call fcn.0040f240
mov ecx, edi
call fcn.0040f99e
mov esi, eax
lea eax, [esi + edi]
push eax
push 0xf
call fcn.0040f403
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [esi + edi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + edi], al
inc esi
dec ecx
jne 0x411cd2
mov byte [esi + edi], cl
xor eax, eax
jmp 0x411c1d

Function at 0x411eea
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.00411b84
mov edi, eax
test edi, edi
pop ecx
jne 0x411f0d
push 7
pop eax
jmp 0x411fa1
call fcn.004109a9
xor ebx, ebx
inc ebx
test eax, eax
je 0x411f40
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411f65
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
jne 0x411f65
lea esi, [ebp - 4]
call fcn.00410cc3
test eax, eax
jne 0x411f19
jmp 0x411f65
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x411f65
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
test ebx, ebx
jne 0x411f65
lea esi, [ebp - 4]
call fcn.00410cc3
test eax, eax
jne 0x411f40
xor eax, eax
test ebx, ebx
sete al
mov esi, eax
test esi, esi
je 0x411f90
push 0x85d9
push dword [ebp + 0xc]
push str.winDelete
push 0xa0a
call fcn.00410c35
add esp, 0x10
mov esi, eax
jmp 0x411f98
mov ecx, dword [ebp - 4]
call fcn.00410cfc
push edi
call fcn.0044e858
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4121a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea eax, [ebp - 0x110]
push eax
push 0x104
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x200
push dword [ebp + 8]
call fcn.004120ad
add esp, 0x10
test eax, eax
jne 0x41225c
lea eax, [ebp - 0x110]
push eax
call fcn.00411b84
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x412255
call fcn.004109a9
test eax, eax
mov eax, esi
je 0x412222
cmp word [esi], bx
je 0x41220c
cmp word [eax], 0x5c
je 0x412209
inc eax
inc eax
cmp word [eax], bx
jne 0x4121fa
jmp 0x41220c
mov word [eax], bx
lea eax, [ebp - 4]
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x412248
cmp byte [esi], bl
je 0x412234
cmp byte [eax], 0x5c
je 0x412232
inc eax
cmp byte [eax], bl
jne 0x412226
jmp 0x412234
mov byte [eax], bl
lea eax, [ebp - 4]
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.0044e858
cmp edi, ebx
pop ecx
jne 0x41225c
mov dword [ebp - 8], 0x200
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4152cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [edi + 0x3c]
push ebx
xor ebx, ebx
cmp dword [edx], ebx
push esi
mov esi, eax
mov dword [ebp - 4], ebx
jne 0x415304
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
push edx
push ebx
push ecx
call dword [ecx + 0x18]
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4153d2
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x41533e
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.00459290
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], eax
jmp 0x41533e
xor ebx, ebx
cmp esi, ebx
je 0x4153d2
mov ebx, dword [esi + 0xc]
cmp ebx, dword [edi + 0x18]
ja 0x4153c5
test byte [esi + 0x14], 0x20
jne 0x4153c5
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.00459290
cmp ebx, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jne 0x415378
call fcn.00414a1b
push dword [ebp - 0xc]
mov eax, dword [esi]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [edi + 0x80]
push eax
mov eax, dword [edi + 0x3c]
call fcn.0040d632
add esp, 0x10
cmp ebx, 1
mov dword [ebp - 4], eax
jne 0x4153b2
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.0044c530
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x4153ba
mov dword [edi + 0x20], ebx
push dword [esi]
mov eax, dword [edi + 0x58]
call fcn.0041f0d3
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 8]
je 0x41533c
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x42bd2c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42bd3e
xor eax, eax
jmp 0x42be29
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.0040e1f3
mov esi, eax
test esi, esi
pop ecx
je 0x42be28
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.0042baa9
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.0042bb6c
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.0042b891
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.0042baa9
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.0042b891
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.0042baa9
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.0042bd2c
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.0042b891
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.0042b891
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
and ax, 0xfff7
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44486f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esi + 4]
call fcn.00443463
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
imul edx, edx, 0x28
add edx, edi
cmp byte [ebx + 0x1d], 0
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
jne 0x444a61
cmp dword [ebx + 0x3c], 0
jne 0x444a61
jmp 0x444a55
cmp word [edi + 0x10], 0x100
jne 0x444a52
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x444a52
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov esi, dword [ecx + 0x164]
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or eax, esi
je 0x444a52
mov esi, dword [ecx + 0x14]
fldz
mov ebx, dword [ecx + 0x1c]
imul esi, esi, 0x28
fst qword [esp + 0x20]
fstp qword [esp + 0x30]
and dword [esp + 0x10], 0
add esi, ebx
and dword [esp + 0x14], 0
jmp 0x4449f1
cmp word [ebx + 0x10], 0x200
jne 0x444952
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0xc]
jmp 0x44499f
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 8], eax
jne 0x4449ee
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x70]
push dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
push dword [ebp + 0x18]
mov byte [esp + 0x88], 0x45
push dword [ebp + 0x14]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 1
push eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.00445919
fld qword [esp + 0x70]
fadd qword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x78]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
or dword [esp + 0x2c], eax
fadd qword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
add esp, 0x18
fstp qword [esp + 0x30]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x4449fc
add ebx, 0x28
cmp ebx, esi
jb 0x444934
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0
je 0x444a1f
fld qword [esp + 0x30]
push ecx
push ecx
fstp qword [esp]
call fcn.00444831
fmul qword [esp + 0x38]
add esp, 8
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x444a52
mov eax, dword [esp + 0x10]
fld qword [esp + 0x20]
fstp qword [ecx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x14]
fld qword [esp + 0x30]
fstp qword [ecx + 8]
mov dword [ecx + 0x24], eax
mov dword [ecx], 0x10000000
mov dword [ecx + 0x10], edi
add edi, 0x28
cmp edi, edx
mov dword [esp + 0x1c], edi
jb 0x4448c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bff7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x44c189
push ebx
mov eax, edi
call fcn.004050ad
push dword [ebp - 4]
call fcn.0044cc9d
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x460620
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44c07a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44c0c9
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call fcn.0044c225
add esp, 0x14
push 0x46002c
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.0044bf68
test eax, eax
jne 0x44c0d9
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call fcn.0044c1cc
pop ecx
pop ecx
push str.ProductName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.0044bf68
push str.FileDescription
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.0044bf68
push str.FileVersion
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.0044bf68
push str.ProductVersion
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.0044bf68
push str.CompanyName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.0044bf68
push str.InternalName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.0044bf68
push str.LegalCopyright
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.0044bf68
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.0044bf68
xor esi, esi
push ebx
inc esi
call fcn.0044cd07
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x453c25
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46c940]
je 0x453c40
inc edi
cmp edi, 0x17
jb 0x453c31
cmp edi, 0x17
jae 0x453dc0
push ebp
push 3
call fcn.00459ed6
cmp eax, 1
pop ecx
je 0x453d8c
push 3
call fcn.00459ed6
test eax, eax
pop ecx
jne 0x453c74
cmp dword [0x46c040], 1
je 0x453d8c
cmp ebx, 0xfc
je 0x453dbf
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46e448
push ebp
call fcn.00457049
add esp, 0xc
test eax, eax
je 0x453caa
push esi
push esi
push esi
push esi
push esi
call fcn.004509fc
add esp, 0x14
push 0x104
mov esi, 0x46e461
push esi
push 0
mov byte [0x46e565], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x453cee
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00457049
add esp, 0xc
test eax, eax
je 0x453cee
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004509fc
add esp, 0x14
push esi
call fcn.0044f1a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x453d33
push esi
call fcn.0044f1a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46e75c
push 0x45ecac
sub ecx, eax
push ecx
push eax
call fcn.00456f96
add esp, 0x14
test eax, eax
je 0x453d33
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004509fc
add esp, 0x14
jmp 0x453d35
xor esi, esi
push 0x45eca8
push ebx
push ebp
call fcn.00456ed2
add esp, 0xc
test eax, eax
je 0x453d55
push esi
push esi
push esi
push esi
push esi
call fcn.004509fc
add esp, 0x14
push dword [edi*8 + 0x46c944]
push ebx
push ebp
call fcn.00456ed2
add esp, 0xc
test eax, eax
je 0x453d77
push esi
push esi
push esi
push esi
push esi
call fcn.004509fc
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00459d19
add esp, 0xc
jmp 0x453dbf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x453dbf
cmp ebp, 0xffffffff
je 0x453dbf
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46c944]
push dword [esi]
call fcn.0044f1a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x454127
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46c9f8]
jne 0x454131
repz ret
jmp fcn.0045a115
Function at 0x459d19
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00451638
xor ebx, ebx
cmp dword [0x46ea7c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x459def
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x459ecf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x459ecf
push eax
call fcn.004515ca
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46ea7c], eax
call esi
push eax
call fcn.004515ca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46ea80], eax
call esi
push eax
call fcn.004515ca
mov dword [0x46ea84], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00451e89
test eax, eax
pop ecx
pop ecx
je 0x459dbd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004509fc
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x459def
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004515ca
cmp eax, ebx
pop ecx
mov dword [0x46ea8c], eax
je 0x459def
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004515ca
pop ecx
mov dword [0x46ea88], eax
mov eax, dword [0x46ea88]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x459e74
cmp dword [0x46ea8c], ecx
je 0x459e74
push eax
call fcn.00451641
push dword [0x46ea8c]
mov esi, eax
call fcn.00451641
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x459e74
cmp edi, ebx
je 0x459e74
call esi
cmp eax, ebx
je 0x459e41
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x459e41
test byte [ebp - 0x18], 1
jne 0x459e74
lea eax, [ebp - 0x10]
push eax
call fcn.00451ec0
test eax, eax
pop ecx
je 0x459e5c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004509fc
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x459e6b
or dword [ebp + 0x10], 0x200000
jmp 0x459eaf
or dword [ebp + 0x10], 0x40000
jmp 0x459eaf
mov eax, dword [0x46ea80]
cmp eax, dword [ebp - 8]
je 0x459eaf
push eax
call fcn.00451641
cmp eax, ebx
pop ecx
je 0x459eaf
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x459eaf
mov eax, dword [0x46ea84]
cmp eax, dword [ebp - 8]
je 0x459eaf
push eax
call fcn.00451641
cmp eax, ebx
pop ecx
je 0x459eaf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ea7c]
call fcn.00451641
cmp eax, ebx
pop ecx
je 0x459ecf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x459ed1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4115a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4115af
pop dword [ebp - 0x3c]
mov eax, 0x4115af
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x50b46697
add dword [ebp - 0x4c], 0xfd9ddeb4
mov dword [ebp - 0x48], 0xdee00686
add dword [ebp - 0x48], 0x535345bf
mov dword [ebp - 0x44], 0xa7126d87
sub dword [ebp - 0x44], 0x5ac62959
mov dword [ebp - 0x40], 0x4ffd9626
add dword [ebp - 0x40], 0xb00269da
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x976d9aa9
sub eax, 0x9729e895
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xa571bc99
sub dword [ebp - 0x4c], 0x30ff5343
mov dword [ebp - 0x48], 0xabdce0cc
sub dword [ebp - 0x48], 0x6a707f57
mov dword [ebp - 0x44], 0x22b44bf5
sub dword [ebp - 0x44], 0xbf44df89
mov dword [ebp - 0x40], 0x6600fc63
add dword [ebp - 0x40], 0x99ff039d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x44cab
push 0
call eax
mov ecx, 0x4975
mov ebx, eax
mov esi, 0x464e00
add esi, dword [ebp - 0x3c]
mov edx, 0xa68e3c09
add edx, 0x2886f1f8
add dword [ebp - 0x20], 0x6ee605b8
mov edi, dword [esi]
xor dword [ebp - 0x24], 0x44fbf2ed
sub edi, edx
sub dword [ebp - 0x38], 0xe08ae22
mov dword [ebx], edi
add ebx, 0x60c4cf7d
add ebx, 0x9f3b3087
add esi, 4
loop 0x4116bb
add eax, 0x118a7
mov ebx, eax
add eax, 0xf91f3f8f
add eax, 0x6e0c076
mov ecx, 0xb9ce3905
sub ecx, 0xb98e3905
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret