joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d978
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0x43dd9c
lea eax, [ebp - 0x14]
push eax
call fcn.0041dbb2
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d930
mov eax, dword [ebp - 0x10]
jmp 0x41da1f
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push dword [ebp - 0x14]
push dword [0x43dd9c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41d961
push dword [ebp - 8]
call fcn.0041d36f
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x41d996
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp - 0x14]
push dword [0x43dd9c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d996
mov eax, dword [ebp - 0x10]
jmp 0x41da1f
push dword [ebp + 0xc]
push 0x43b9d4
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d9b7
mov eax, dword [ebp - 0x10]
jmp 0x41da1f
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x43b9e0
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41d9f4
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041d785
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x43dd9c]
call fcn.0041d442
pop ecx
push str.TEMP_HIVE
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x41da31
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push 0x43ddd4
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 0x43de34
push 0x43b9f8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [0x43ddb8], 1
mov eax, dword [0x43de34]
mov dword [0x43ddbc], eax
mov eax, dword [0x43de38]
mov dword [0x43ddc0], eax
mov dword [0x43ddc4], 2
push 0
push 0
push 0x10
push 0x43ddb8
push 0
push dword [0x43ddd4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x43de04
lea eax, [ebp - 8]
push eax
call fcn.0041dbb2
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41dac1
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [0x43de04]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyA]
mov dword [ebp - 4], eax
push dword [0x43de04]
call fcn.0041d442
pop ecx
push 0
push 0
push 0x10
push 0x43ddb8
push 1
push dword [0x43ddd4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41dae1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push 0x43ddd4
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 0x43de34
push 0x43b9f8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [0x43ddb8], 1
mov eax, dword [0x43de34]
mov dword [0x43ddbc], eax
mov eax, dword [0x43de38]
mov dword [0x43ddc0], eax
mov dword [0x43ddc4], 2
push 0
push 0
push 0x10
push 0x43ddb8
push 0
push dword [0x43ddd4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x43de04
lea eax, [ebp - 8]
push eax
call fcn.0041dbb2
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41dac1
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [0x43de04]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyA]
mov dword [ebp - 4], eax
push dword [0x43de04]
call fcn.0041d442
pop ecx
push 0
push 0
push 0x10
push 0x43ddb8
push 1
push dword [0x43ddd4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41dee0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push 0xffffffffffffffd1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041e324
add esp, 0xc
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41df16
cmp dword [ebp - 0xc], 3
je 0x41ded4
cmp dword [ebp - 0xc], 5
je 0x41de86
cmp dword [ebp - 0xc], 8
je 0x41df64
cmp dword [ebp - 0xc], 9
je 0x41df22
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 5
jne 0x41decf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [ecx + 8]
fld qword [eax + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41deaf
mov dword [ebp - 4], 1
jmp 0x41decf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [eax + 8]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 5
jp 0x41dec8
and dword [ebp - 4], 0
jmp 0x41decf
mov dword [ebp - 4], 2
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 3
jne 0x41df11
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jne 0x41def6
mov dword [ebp - 4], 1
jmp 0x41df11
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jge 0x41df0a
and dword [ebp - 4], 0
jmp 0x41df11
mov dword [ebp - 4], 2
jmp 0x41dff9
mov dword [ebp - 4], 1
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 9
jne 0x41df5f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jne 0x41df44
mov dword [ebp - 4], 1
jmp 0x41df5f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jae 0x41df58
and dword [ebp - 4], 0
jmp 0x41df5f
mov dword [ebp - 4], 2
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 8
jne 0x41dff9
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x41df91
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jne 0x41df8b
and dword [ebp - 8], 0
jmp 0x41df8f
or dword [ebp - 8], 0xffffffff
jmp 0x41dfd7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jne 0x41dfa3
mov dword [ebp - 8], 1
jmp 0x41dfd7
cmp dword [ebp + 0x10], 0
je 0x41dfc1
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0041fcc0
pop ecx
pop ecx
mov dword [ebp - 8], eax
jmp 0x41dfd7
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0041eba8
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41dfe6
mov dword [ebp - 4], 1
jmp 0x41dff9
cmp dword [ebp - 8], 0
jge 0x41dff2
and dword [ebp - 4], 0
jmp 0x41dff9
mov dword [ebp - 4], 2
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41df88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push 0xffffffffffffffd1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041e324
add esp, 0xc
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41df16
cmp dword [ebp - 0xc], 3
je 0x41ded4
cmp dword [ebp - 0xc], 5
je 0x41de86
cmp dword [ebp - 0xc], 8
je 0x41df64
cmp dword [ebp - 0xc], 9
je 0x41df22
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 5
jne 0x41decf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [ecx + 8]
fld qword [eax + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41deaf
mov dword [ebp - 4], 1
jmp 0x41decf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [eax + 8]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 5
jp 0x41dec8
and dword [ebp - 4], 0
jmp 0x41decf
mov dword [ebp - 4], 2
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 3
jne 0x41df11
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jne 0x41def6
mov dword [ebp - 4], 1
jmp 0x41df11
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jge 0x41df0a
and dword [ebp - 4], 0
jmp 0x41df11
mov dword [ebp - 4], 2
jmp 0x41dff9
mov dword [ebp - 4], 1
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 9
jne 0x41df5f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jne 0x41df44
mov dword [ebp - 4], 1
jmp 0x41df5f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 8]
jae 0x41df58
and dword [ebp - 4], 0
jmp 0x41df5f
mov dword [ebp - 4], 2
jmp 0x41dff9
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 8
jne 0x41dff9
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x41df91
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jne 0x41df8b
and dword [ebp - 8], 0
jmp 0x41df8f
or dword [ebp - 8], 0xffffffff
jmp 0x41dfd7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jne 0x41dfa3
mov dword [ebp - 8], 1
jmp 0x41dfd7
cmp dword [ebp + 0x10], 0
je 0x41dfc1
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0041fcc0
pop ecx
pop ecx
mov dword [ebp - 8], eax
jmp 0x41dfd7
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0041eba8
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41dfe6
mov dword [ebp - 4], 1
jmp 0x41dff9
cmp dword [ebp - 8], 0
jge 0x41dff2
and dword [ebp - 4], 0
jmp 0x41dff9
mov dword [ebp - 4], 2
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41e2e1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 3
push dword [ebp + 8]
call fcn.0041e457
add esp, 0xc
push 0
push 3
push dword [ebp + 0xc]
call fcn.0041e457
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x41e319
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cdq
idiv dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
jmp 0x41e320
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
xor eax, eax
pop ebp
ret

Function at 0x41e36f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0
push 0
push dword [ebp + 8]
call fcn.0041e457
add esp, 0xc
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41e394
cmp dword [ebp - 4], 3
je 0x41e36c
cmp dword [ebp - 4], 5
je 0x41e380
cmp dword [ebp - 4], 8
je 0x41e446
cmp dword [ebp - 4], 9
je 0x41e41f
jmp 0x41e455
push 0
push 3
push dword [ebp + 0xc]
call fcn.0041e457
add esp, 0xc
jmp 0x41e455
push 0
push 5
push dword [ebp + 0xc]
call fcn.0041e457
add esp, 0xc
jmp 0x41e455
push 0
push 0
push dword [ebp + 0xc]
call fcn.0041e457
add esp, 0xc
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
je 0x41e3ec
cmp dword [ebp - 8], 5
je 0x41e3fd
cmp dword [ebp - 8], 8
je 0x41e3cf
cmp dword [ebp - 8], 9
je 0x41e40f
cmp dword [ebp - 8], 0x4009
je 0x41e40f
jmp 0x41e41d
mov eax, dword [ebp + 8]
mov word [eax], 8
push 0
push 0x43de47
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x41e41d
mov eax, dword [ebp + 8]
mov word [eax], 3
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
jmp 0x41e41d
mov eax, dword [ebp + 8]
mov word [eax], 5
mov eax, dword [ebp + 8]
fldz
fstp qword [eax + 8]
jmp 0x41e41d
push 0x43ba2c
push 1
call fcn.0041aa80
pop ecx
pop ecx
jmp 0x41e455
cmp dword [ebp + 0x10], 0xffffffd1
je 0x41e435
push 0x43ba5c
push 1
call fcn.0041aa80
pop ecx
pop ecx
jmp 0x41e444
push 0
push 0
push dword [ebp + 0xc]
call fcn.0041e457
add esp, 0xc
jmp 0x41e455
push 0
push 8
push dword [ebp + 0xc]
call fcn.0041e457
add esp, 0xc
leave
ret
Function at 0x41fee7
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [edx + 0xc]
test bh, 1
push esi
je 0x41fef2
mov dx, word [edx + 8]
xor eax, eax
xor ecx, ecx
xor esi, esi
cmp word [esi + 0x42eca0], dx
je 0x41febc
add esi, 0xa
inc ecx
cmp esi, 0x78
jb 0x41fea8
jmp 0x41ff3a
test bl, 3
lea eax, [ecx + ecx*4]
je 0x41fecd
lea eax, [eax*2 + 0x42eca8]
jmp 0x41ff3a
test bl, 0xc
je 0x41fedb
lea eax, [eax*2 + 0x42eca6]
jmp 0x41ff3a
test bl, 0x10
je 0x41fee9
lea eax, [eax*2 + 0x42eca4]
jmp 0x41ff3a
lea eax, [eax*2 + 0x42eca2]
jmp 0x41ff3a
test bl, 3
movzx eax, word [edx + 8]
je 0x41ff04
lea eax, [eax*8 + 0x42ed1e]
jmp 0x41ff27
test bl, 0xc
je 0x41ff12
lea eax, [eax*8 + 0x42ed1c]
jmp 0x41ff27
test bl, 0x10
je 0x41ff20
lea eax, [eax*8 + 0x42ed1a]
jmp 0x41ff27
lea eax, [eax*8 + 0x42ed18]
mov cl, byte [eax]
test cl, cl
je 0x41ff32
cmp cl, 0xe0
jne 0x41ff38
cmp byte [eax + 1], 0
jne 0x41ff3a
xor eax, eax
pop esi
pop ebx
ret

Function at 0x420be6
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, 0xffff
push esi
push 0x133f
call fcn.004285cd
mov edi, eax
mov eax, dword [ebp + 0xe]
and ax, 0x7ff0
cmp ax, 0x7ff0
pop ecx
pop ecx
jne 0x420c6d
fld qword [ebp + 8]
push ecx
push ecx
fstp qword [esp]
call fcn.0042849f
dec eax
pop ecx
pop ecx
je 0x420c61
dec eax
je 0x420c53
dec eax
fld qword [ebp + 8]
push edi
je 0x420c42
fadd qword [0x42f088]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 8]
fstp qword [esp]
push 0x15
push 8
call fcn.004283bd
add esp, 0x1c
jmp 0x420c8a
push ecx
push ecx
fstp qword [esp]
push 0x15
call fcn.0042836b
add esp, 0x10
jmp 0x420c8a
push esi
push edi
call fcn.004285cd
fld qword [ebp + 8]
fchs
jmp 0x420c88
push esi
push edi
call fcn.004285cd
fld qword [ebp + 8]
jmp 0x420c88
mov eax, dword [ebp + 0xc]
and eax, 0x7fffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], eax
call fcn.004285cd
fld qword [ebp - 8]
pop ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x421647
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [0x4579bc], 0
je 0x4290a3
sub esp, 8
stmxcsr dword [esp + 4]
mov eax, dword [esp + 4]
and eax, 0x1f80
cmp eax, 0x1f80
jne 0x421664
fnstcw word [esp]
mov ax, word [esp]
and ax, 0x7f
cmp ax, 0x7f
lea esp, [esp + 8]
jne 0x4290a3
jmp 0x421670
movq xmm0, qword [esp + 4]
movapd xmm2, xmmword [0x42f0b0]
movapd xmm3, xmm0
movapd xmm1, xmm0
movapd xmm4, xmm0
movapd xmm6, xmm0
psllq xmm0, 1
psrlq xmm0, 0x35
psrlq xmm3, 0x34
andpd xmm4, xmmword [0x42f0c0]
movd eax, xmm0
psubd xmm2, xmm0
mov ecx, dword [esp + 0xc]
psrlq xmm1, xmm2
psllq xmm1, xmm2
movd edx, xmm3
cmp eax, 0x3ff
jl 0x4216e2
cmp eax, 0x432
jg 0x4216eb
movq qword [ecx], xmm1
subsd xmm6, xmm1
orpd xmm6, xmm4
movq qword [esp + 4], xmm6
fld qword [esp + 4]
ret
movq qword [ecx], xmm4
fld qword [esp + 4]
ret
cmp eax, 0x7ff
movq xmm0, qword [esp + 4]
je 0x421709
movq qword [ecx], xmm0
cmp edx, 0x800
fldz
jl 0x421708
fchs
ret
movapd xmm1, xmm0
addsd xmm0, xmm0
movq qword [ecx], xmm0
andpd xmm0, xmmword [0x42f0a0]
cmpneqpd xmm0, xmmword [0x42f0d0]
pextrw eax, xmm0, 0
andpd xmm0, xmm1
orpd xmm0, xmm4
mov edx, 0x3ef
cmp eax, 0
jne 0x421748
movq qword [esp + 4], xmm0
fld qword [esp + 4]
ret
sub esp, 0x1c
movlpd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], edx
mov edx, esp
add edx, 0x10
mov dword [esp + 8], edx
add edx, 0x18
mov dword [esp + 4], edx
sub edx, 8
mov dword [esp], edx
call fcn.0042658a
fld qword [esp + 0x10]
add esp, 0x1c
ret
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0
call fcn.004285cd
mov esi, 0xffff
push esi
push dword [0x43c460]
mov ebx, eax
call fcn.004285cd
mov edi, dword [ebp + 0xe]
add esp, 0x10
mov eax, edi
and ax, 0x7ff0
cmp ax, 0x7ff0
push ecx
push ecx
jne 0x42917a
fld qword [0x43c428]
mov edi, dword [ebp + 0x10]
fstp qword [edi]
fld qword [ebp + 8]
fstp qword [esp]
call fcn.0042849f
test eax, eax
pop ecx
pop ecx
jle 0x42914a
cmp eax, 2
jle 0x429122
cmp eax, 3
jne 0x42914a
fld qword [ebp + 8]
push ebx
push ecx
fstp qword [edi]
fld qword [ebp + 8]
push ecx
fstp qword [esp]
push 0x1c
call fcn.0042836b
add esp, 0x10
jmp 0x4291c2
fld qword [ebp + 8]
sub esp, 0x10
fstp qword [edi]
fld qword [ebp + 8]
fstp qword [esp + 8]
fldz
fstp qword [esp]
call fcn.0042bc93
fstp qword [ebp - 8]
push esi
push ebx
call fcn.004285cd
add esp, 0x18
jmp 0x4291bf
fld qword [ebp + 8]
push ebx
fadd qword [0x42f088]
sub esp, 0x10
fstp qword [ebp - 8]
fld qword [ebp - 8]
fstp qword [edi]
fld qword [ebp - 8]
fstp qword [esp + 8]
fld qword [ebp + 8]
fstp qword [esp]
push 0x1c
push 8
call fcn.004283bd
add esp, 0x1c
jmp 0x4291c2
fld qword [ebp + 8]
fstp qword [esp]
call fcn.0042adf6
mov eax, dword [ebp + 0x10]
fstp qword [ebp - 8]
fld qword [ebp - 8]
pop ecx
fstp qword [eax]
pop ecx
fld qword [ebp + 8]
fsub qword [ebp - 8]
fstp qword [ebp - 8]
fld qword [0x42e520]
fld qword [ebp - 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4291b6
and di, 0x8000
or word [ebp - 2], di
push esi
push ebx
call fcn.004285cd
pop ecx
pop ecx
fld qword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422c5f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
push 0
sete al
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
test eax, eax
mov dword [0x457d40], eax
je 0x422c9a
call fcn.00422c36
cmp eax, 3
mov dword [0x457d44], eax
jne 0x422c9d
push 0x3f8
call fcn.00422ca1
test eax, eax
pop ecx
jne 0x422c9d
push dword [0x457d40]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
xor eax, eax
ret
xor eax, eax
inc eax
ret
Function at 0x425974
Capabilities:
Get geographical location

Disassembly:
cmp dword [0x458d70], 0
jne 0x425988
push 0xfffffffffffffffd
call fcn.00425787
pop ecx
mov dword [0x458d70], 1
xor eax, eax
ret

Function at 0x426412
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
imul esi, dword [esp + 0x10]
test esi, esi
push edi
mov ebx, esi
jne 0x4263bc
inc esi
xor edi, edi
cmp esi, 0xffffffe0
ja 0x4263fc
cmp dword [0x457d44], 3
jne 0x4263e7
add esi, 0xf
and esi, 0xfffffff0
cmp ebx, dword [0x457d30]
ja 0x4263e7
push ebx
call fcn.004234c8
mov edi, eax
test edi, edi
pop ecx
jne 0x426412
push esi
push 8
push dword [0x457d40]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x42641e
cmp dword [0x43e154], 0
je 0x42641e
push esi
call fcn.0042925e
test eax, eax
pop ecx
jne 0x4263bc
jmp 0x426420
push ebx
push 0
push edi
call fcn.00420340
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x42a531
Capabilities:
Write file on windows

Disassembly:
push 0x118
push 0x434210
call fcn.004254f8
mov eax, dword [0x43bff0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43e278]
xor ecx, ecx
cmp eax, ecx
je 0x42a520
mov dword [ebp - 4], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x42a61f
mov eax, dword [ebp + 8]
dec eax
je 0x42a53c
mov edi, str.Unknown_security_failure_detected_
mov dword [ebp - 0x128], str.A_security_error_of_unknown_cause_has_been_detected_which_has_ncorrupted_the_programs_internal_state.__The_program_cannot_safely_ncontinue_execution_and_must_now_be_terminated._n
mov esi, 0xd4
jmp 0x42a550
mov edi, str.Buffer_overrun_detected_
mov dword [ebp - 0x128], str.A_buffer_overrun_has_been_detected_which_has_corrupted_the_programs_ninternal_state.__The_program_cannot_safely_continue_execution_and_must_nnow_be_terminated._n
mov esi, 0xb9
mov byte [ebp - 0x20], cl
push 0x104
lea eax, [ebp - 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42a57d
push str._program_name_unknown_
lea eax, [ebp - 0x124]
push eax
call fcn.0041eab0
pop ecx
pop ecx
lea ebx, [ebp - 0x124]
mov eax, ebx
push eax
call fcn.0041ea20
pop ecx
add eax, 0xb
cmp eax, 0x3c
jbe 0x42a5b9
mov eax, ebx
push eax
call fcn.0041ea20
mov ebx, eax
lea eax, [ebp - 0x124]
sub eax, 0x31
add ebx, eax
push 3
push 0x433f10
push ebx
call fcn.0041f080
add esp, 0x10
push ebx
call fcn.0041ea20
pop ecx
lea eax, [eax + esi + 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.00420300
mov dword [ebp - 0x18], esp
mov esi, esp
push edi
push esi
call fcn.0041eab0
mov edi, 0x433ef0
push edi
push esi
call fcn.0041eac0
push str.Program:
push esi
call fcn.0041eac0
push ebx
push esi
call fcn.0041eac0
push edi
push esi
call fcn.0041eac0
push dword [ebp - 0x128]
push esi
call fcn.0041eac0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push esi
call fcn.0042c8cf
add esp, 0x3c
push 3
call fcn.0041efb9
int3
Function at 0x4ecda0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a000]
push edi
or ebp, 0xffffffff
jmp 0x4ecdc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ecdc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecdb8
mov eax, 1
add ebx, ebx
jne 0x4ecddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ecdec
jne 0x4ece0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ece0b
dec eax
add ebx, ebx
jne 0x4ecdf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ecdd0
add ebx, ebx
jne 0x4ece07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ece5d
xor ecx, ecx
sub eax, 3
jb 0x4ece23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ece92
sar eax, 1
mov ebp, eax
jmp 0x4ece2e
add ebx, ebx
jne 0x4ece2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecdfc
inc ecx
add ebx, ebx
jne 0x4ece3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecdfc
add ebx, ebx
jne 0x4ece49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ece3e
jne 0x4ece5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ece3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ece7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ece6e
jmp 0x4ecdbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ece7c
add edi, ecx
jmp 0x4ecdbe
pop esi
mov edi, esi
mov ecx, 0x3003
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ece9a
cmp byte [edi], 0x13
jne 0x4ece9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ece9f
lea edi, [esi + 0xe3000]
mov eax, dword [edi]
or eax, eax
je 0x4ecf17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf0bb4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf0d1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ececc
mov ecx, edi
jns 0x4ecefb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf0d20]
or eax, eax
je 0x4ecf11
mov dword [ebx], eax
add ebx, 4
jmp 0x4ecee9
call dword [esi + 0xf0d30]
mov ebp, dword [esi + 0xf0d24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ecf4b
sub esp, 0xffffff80
jmp 0x4575fe