joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4051bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4087b0]
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.004042aa
and dword [ebp - 0x14], 0
cmp dword [0x40c6f0], 0
mov dword [ebp - 0x18], eax
jne 0x40526e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405316
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405316
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c6f0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c6f4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c6f8], eax
call edi
push eax
call esi
mov dword [0x40c700], eax
test eax, eax
je 0x40526e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c6fc], eax
mov eax, dword [0x40c6fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4052c7
cmp dword [0x40c700], ecx
je 0x4052c7
push eax
call esi
push dword [0x40c700]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4052c7
test ebx, ebx
je 0x4052c7
call edi
test eax, eax
je 0x4052be
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4052be
test byte [ebp - 8], 1
jne 0x4052c7
or dword [ebp + 0x10], 0x200000
jmp 0x4052fa
mov eax, dword [0x40c6f4]
cmp eax, dword [ebp - 0x18]
je 0x4052fa
push eax
call esi
test eax, eax
je 0x4052fa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4052fa
mov eax, dword [0x40c6f8]
cmp eax, dword [ebp - 0x18]
je 0x4052fa
push eax
call esi
test eax, eax
je 0x4052fa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c6f0]
call esi
test eax, eax
je 0x405316
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405318
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405526
leave
ret

Function at 0x405526
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4087b0]
jne 0x405530
repz ret
jmp fcn.00406693
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
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 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c
Function at 0x40895e
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x4085d8
inc edi
call fcn.00408983
or edi, edi
xor dword [ebx], eax
inc edi
sub edi, 0x7fa84915
add ebx, 1
or edi, edx
or edx, edi
cmp ebx, esi
jne fcn.0040895e
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4c048e8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6a344f7b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4022e0
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push dword [0x40374f]
call dword [sym.imp.pdh.dll_PdhCloseQuery]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x40230e
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401775], eax
ret
Function at 0x404e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
push str.VirtualAlloc
push str.Kernel32.dll
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x3000
push 0x1dcd6500
mov edi, eax
push esi
call edi
test eax, eax
je 0x404fee
mov ecx, 0x1dcd6500
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x404eb1
push ebx
lea ebx, [ecx + 0xd]
mov edi, edi
mov al, byte [ecx + section..data]
ror al, 3
xor al, byte [esi + str.hpfgsqnjeavyj]
inc ecx
mov byte [ecx + 0x424fff], al
lea eax, [esi + 1]
cdq
idiv ebx
mov esi, edx
cmp ecx, 0x168d
jb 0x404ec0
push 0x40
push 0x3000
push 0x168d
push 0
call edi
mov edi, section..data
mov edx, eax
sub edi, eax
mov esi, 0x168d
pop ebx
mov cl, byte [edi + edx]
mov byte [edx], cl
lea edx, [edx + 1]
dec esi
jne 0x404f05
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
mov eax, dword [0x428200]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x428230]
mov esi, dword [esi]
mov ecx, esi
mov eax, dword [esi]
mov dword [ebp - 4], esi
call dword [eax + 4]
lea eax, [ebp - 4]
push eax
call fcn.00401240
mov edx, dword [esi]
add esp, 4
mov ecx, esi
mov edi, eax
call dword [edx + 8]
test eax, eax
je 0x404f54
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [edi]
push 0xa
mov eax, dword [eax + 0x20]
mov ecx, edi
call eax
mov byte [ebp - 4], al
push dword [ebp - 4]
lea eax, [ebp - 0x34]
push eax
push 0x428200
call fcn.00401040
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.004030a0
lea ecx, [ebp - 0x1c]
call fcn.00403e80
push eax
mov ecx, 0x4282d0
call fcn.004017f0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404b30
mov ecx, esi
call fcn.00404680
cmp dword [ebp - 8], 0x10
jb 0x404fcb
push dword [ebp - 0x1c]
call fcn.00406b05
add esp, 4
cmp dword [ebp - 0x20], 0x10
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
jb 0x404fee
push dword [ebp - 0x34]
call fcn.00406b05
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x413eb9
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040ad11
mov dword [ebp - 0x14], eax
cmp dword [0x429364], edi
jne 0x413faa
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x413f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41408a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41408a
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41408a
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x429364], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x429368], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x42936c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429374], eax
test eax, eax
je 0x413fa7
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429370], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x413fcf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x413fc2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x413fe4
push 4
pop eax
jmp 0x41408c
cmp dword [ebp - 0x14], edi
je 0x413fe4
push dword [0x429364]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x413fc9
mov eax, dword [0x429370]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x414042
cmp dword [0x429374], esi
je 0x414042
push eax
call ebx
push dword [0x429374]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x414042
test eax, eax
je 0x414042
call ecx
test eax, eax
je 0x414037
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x414037
test byte [ebp - 8], 1
jne 0x414042
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x414072
mov eax, dword [0x429368]
cmp eax, esi
je 0x41406f
push eax
call ebx
test eax, eax
je 0x41406f
call eax
mov edi, eax
test edi, edi
je 0x41406f
mov eax, dword [0x42936c]
cmp eax, esi
je 0x41406f
push eax
call ebx
test eax, eax
je 0x41406f
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x429364]
call ebx
test eax, eax
je 0x41408a
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41408c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004093bb
leave
ret
Function at 0x41657e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040e44a
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4165b6
xor eax, eax
jmp 0x4165e2
cmp esi, dword [ebp - 4]
je 0x4165df
cmp dword [ebp + 0xc], 0
je 0x4165df
push dword [edi + 0x9c]
call fcn.0041618c
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040b0bc
pop ecx
pop ecx
cmp esi, eax
je 0x4165b2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401311
Capabilities:
Encode data using xor

Disassembly:
jmp 0x417620
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x417771
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
sub byte [edi + ebp], 0x33
call esi
add byte [edi + ebp], 0x20
call esi
xor byte [edi + ebp], 0x1d
call esi
add byte [edi + ebp], 0xe4
call esi
add byte [edi + ebp], 0xfc
call esi
add byte [edi + ebp], 0x26
call esi
add byte [edi + ebp], 0x51
call esi
xor byte [edi + ebp], 0xfe
call esi
add byte [edi + ebp], 0x11
call esi
add byte [edi + ebp], 0x61
call esi
xor byte [edi + ebp], 0xf7
call esi
add byte [edi + ebp], 0xec
call esi
add byte [edi + ebp], 0x25
call esi
add byte [edi + ebp], 0x23
call esi
add byte [edi + ebp], 0xc7
call esi
add byte [edi + ebp], 0x51
call esi
xor byte [edi + ebp], 0xea
call esi
add byte [edi + ebp], 0x94
call esi
add byte [edi + ebp], 0xf1
call esi
add byte [edi + ebp], 5
call esi
add byte [edi + ebp], 0xd0
call esi
add byte [edi + ebp], 0x4c
call esi
add byte [edi + ebp], 0x51
call esi
add byte [edi + ebp], 0xe2
call esi
add byte [edi + ebp], 0x8d
call esi
xor byte [edi + ebp], 0x15
call esi
add byte [edi + ebp], 0x56
call esi
add byte [edi + ebp], 0xe2
call esi
add byte [edi + ebp], 0x65
call esi
add byte [edi + ebp], 0xd9
call esi
add byte [edi + ebp], 0x8d
call esi
xor byte [edi + ebp], 0x37
call esi
xor byte [edi + ebp], 0xe5
call esi
xor byte [edi + ebp], 0x22
call esi
add byte [edi + ebp], 0xdf
call esi
add byte [edi + ebp], 0xa6
call esi
xor byte [edi + ebp], 0xcb
call esi
add byte [edi + ebp], 0xaf
call esi
add byte [edi + ebp], 0xec
call esi
xor byte [edi + ebp], 0x60
call esi
add byte [edi + ebp], 0x5e
call esi
xor byte [edi + ebp], 0xea
call esi
add byte [edi + ebp], 0x89
call esi
xor byte [edi + ebp], 0xc8
call esi
add byte [edi + ebp], 0x81
call esi
xor byte [edi + ebp], 0x9d
call esi
add byte [edi + ebp], 0xb5
call esi
add byte [edi + ebp], 0xe
call esi
add byte [edi + ebp], 0xe0
inc edi
cmp edi, ebx
jb 0x417640
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x402e0a
Capabilities:
Terminate process

Disassembly:
jmp 0x42b239
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x42b24a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00404a11
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402f09
Capabilities:
Query environment variable

Disassembly:
jmp 0x45d7b9
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45d7ca
pop esi
ret
push ebx
push edi
push esi
call fcn.0045d6a0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403666
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45d7f2
push ebx
push esi
push edi
call fcn.0040487c
add esp, 0xc
push 0
call fcn.0040514b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x404ef0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x41f280]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.004052b0
xor eax, eax
mov dword [esp + 0x44], esi
mov word [esp + 0x34], ax
mov dword [esp + 0x10], esi
push 3
mov eax, 0x41af8c
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
call fcn.00404b10
mov ecx, esi
mov ebx, 0x41b2b4
lea esi, [esp + 0x14]
call fcn.004039f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.00403070
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x404f7c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040a57a
add esp, 4
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x404f8a
lea eax, [esp + 0x34]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404fe1
mov edx, dword [ebp + 0x14]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x42166c
push 0x67
push edi
mov dword [0x421664], edi
mov dword [0x421668], edx
call esi
push 0x64
push 0x421734
push 0x6d
push edi
call esi
mov eax, edi
call fcn.00405030
call fcn.004048b0
mov esi, eax
jmp 0x404fe5
mov esi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.00405210
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x48], 8
jb 0x405011
mov eax, dword [esp + 0x34]
push eax
call fcn.0040a57a
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a585
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408ec0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x41805b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x41f280]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x408f31
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408f20
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x408f42
push esi
call fcn.00409010
call fcn.00409090
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x408f69
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40206c
Capabilities:
Allocate or change rwx memory

Disassembly:
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404080]
or dl, 1
imul edx, eax
mov eax, dword [0x404080]
sub eax, edx
mov ebx, esi
mov edx, eax
mov eax, 0x404084
call fcn.00401fe6
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
jmp 0x4020ea
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x402010
or al, 0x40
mov edi, 0x40389b
push eax
sub edi, fcn.00403045
push edi
push fcn.00403045
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402129
mov eax, fcn.00403045
mov ebx, esi
mov edx, edi
call fcn.00401fe6
mov edx, 0x1c000
mov eax, 0x404084
mov ebx, esi
call fcn.00402630
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.00402bb7
lea edx, [esi + 0x1c000]
add edx, esi
lea eax, [esi - 1]
lea ebx, [ebp - 2]
and eax, 0x404084
call fcn.00403045
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40596d
pop dword [ebp - 0xc]
mov eax, 0x5b989794
sub eax, 0x5b583e27
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3b645bec
sub dword [ebp - 0x1c], 0xed1216a1
mov dword [ebp - 0x18], 0x6ec1f25f
add dword [ebp - 0x18], 0xc37159e6
mov dword [ebp - 0x14], 0x815afd1f
sub dword [ebp - 0x14], 0x350eb8f1
mov dword [ebp - 0x10], 0x3d2736bb
sub dword [ebp - 0x10], 0x3d2736bb
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x13c72c0b
add dword [ebp - 0x1c], 0x60ab3d4b
mov dword [ebp - 0x18], 0xbf0f2911
add dword [ebp - 0x18], 0x825d3864
mov dword [ebp - 0x14], 0xd08bd3a8
add dword [ebp - 0x14], 0x92e398c4
mov dword [ebp - 0x10], 0xaffd698c
sub dword [ebp - 0x10], 0xaffd698c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x7c4b439c
add eax, 0x83f52d64
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x35243
push 0
call eax
mov ecx, 0x427ce409
add ecx, 0xbd835daa
mov edx, eax
mov esi, 0x410000
add esi, dword [ebp - 0xc]
mov ebx, 0x8f9f7c98
sub ebx, 0xded83685
sub dword [ebp - 8], eax
mov edi, dword [esi]
xor edi, ebx
xor dword [ebp - 8], edi
mov dword [edx], edi
sub dword [ebp - 4], 0x672ea107
add edx, 0x55588056
sub edx, 0x55588052
add esi, 0x1bc3c53e
add esi, 0xe43c3ac6
loop 0x405a84
add eax, 0xf99f
mov ebx, eax
add eax, 0xdf0c6c79
add eax, 0x20f3938c
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941