joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x477559
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x477565
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x477560
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47d63b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4afc72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004afaf1

Function at 0x4b6314
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b5fd4
Function at 0x6e7ce0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x362000
lea edi, [esi - 0x291000]
push edi
jmp 0x6e7cfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6e7d01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e7cf0
mov eax, 1
add ebx, ebx
jne 0x6e7d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6e7d24
jne 0x6e7d43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e7d43
dec eax
add ebx, ebx
jne 0x6e7d30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6e7d08
add ebx, ebx
jne 0x6e7d3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6e7d95
xor ecx, ecx
sub eax, 3
jb 0x6e7d5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6e7dca
sar eax, 1
mov ebp, eax
jmp 0x6e7d66
add ebx, ebx
jne 0x6e7d66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e7d34
inc ecx
add ebx, ebx
jne 0x6e7d74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e7d34
add ebx, ebx
jne 0x6e7d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6e7d76
jne 0x6e7d92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e7d76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6e7db4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6e7da6
jmp 0x6e7cf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6e7db4
add edi, ecx
jmp 0x6e7cf6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6e7dd2
cmp byte [edi], 0x11
jne 0x6e7dd2
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 0x6e7dd7
lea edi, [esi + 0x2e0000]
mov eax, dword [edi]
or eax, eax
je 0x6e7e4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4f6aa4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4f6c20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6e7e04
mov ecx, edi
jns 0x6e7e33
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 + 0x4f6c24]
or eax, eax
je 0x6e7e49
mov dword [ebx], eax
add ebx, 4
jmp 0x6e7e21
call dword [esi + 0x4f6c34]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6e7e80
cmp al, 0xef
ja 0x6e7e73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6e7e55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6e7e62
mov ebp, dword [esi + 0x4f6c28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x6e7eb4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x4068c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068e5
xor eax, eax
test eax, eax
je 0x4068f8
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068f8
xor ecx, ecx
jmp 0x4068fb
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a1e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406a55
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a2f
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a2a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a86
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406a68
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10003ece
pop dword [ebp - 0x50]
mov eax, 0x2f7bcd62
add eax, 0xe084716c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x80e85a6c
sub dword [ebp - 0x60], 0x32961521
mov dword [ebp - 0x5c], 0x200560e9
sub dword [ebp - 0x5c], 0xedd214a4
mov dword [ebp - 0x58], 0xb31326f2
add dword [ebp - 0x58], 0x99391d3c
mov dword [ebp - 0x54], 0x1455c2b9
sub dword [ebp - 0x54], 0x1455c2b9
lea eax, [ebp - 0x60]
push eax
mov eax, 0xbe33a79
add eax, 0x41d15cb
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x3da262a1
add dword [ebp - 0x60], 0x36d006b5
mov dword [ebp - 0x5c], 0x701c0a30
add dword [ebp - 0x5c], 0xd1505745
mov dword [ebp - 0x58], 0x23f65793
sub dword [ebp - 0x58], 0xc086eb27
mov dword [ebp - 0x54], 0x9cd777d7
add dword [ebp - 0x54], 0x63288829
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xc1313d40
add eax, 0x4ecf1300
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3866e
push 0
call eax
mov ecx, 0x56fae151
add ecx, 0xa9056dc2
mov esi, eax
mov edi, 0x1000b600
add edi, dword [ebp - 0x50]
mov ebx, 0xb02ce5fb
add ebx, 0x61c32a4e
mov edx, dword [edi]
xor dword [ebp - 0x30], 0xf8153f4c
sub edx, ebx
sub dword [ebp - 0x48], edi
mov dword [esi], edx
add esi, 0xda5fcecc
sub esi, 0xda5fcec8
add edi, 0x5c7e12b2
sub edi, 0x5c7e12ae
loop 0x10003fea
add eax, 0x98e02722
add eax, 0x672107fd
xor ebx, ebx
add ebx, eax
add eax, 0xeebecea
sub eax, 0xeebece5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x10015636
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10015645
pop dword [ebp - 0x40]
mov eax, 0x82ee355c
add eax, 0x8d1320e9
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x77700721
add dword [ebp - 0x50], 0xd6e23e2a
mov dword [ebp - 0x4c], 0x1c8826a7
sub dword [ebp - 0x4c], 0xea54da62
mov dword [ebp - 0x48], 0xf171c047
sub dword [ebp - 0x48], 0xa5257c19
mov dword [ebp - 0x44], 0x1ff58ef6
sub dword [ebp - 0x44], 0x1ff58ef6
lea eax, [ebp - 0x50]
push eax
mov eax, 0xe67ee01a
sub eax, 0xd67cef76
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xaaf37b4f
sub dword [ebp - 0x50], 0x368111f9
mov dword [ebp - 0x4c], 0xac6d616f
sub dword [ebp - 0x4c], 0x6b00fffa
mov dword [ebp - 0x48], 0xf4d0c809
add dword [ebp - 0x48], 0x6e9ea463
mov dword [ebp - 0x44], 0x37018ddf
add dword [ebp - 0x44], 0xc8fe7221
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xb3237c16
sub eax, 0xa3218b7a
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3f335
push 0
call eax
mov ecx, 0x8d89a169
sub ecx, 0x8d8948c6
mov edx, eax
mov ebx, 0x2d155d63
sub ebx, 0x1d12c363
add ebx, dword [ebp - 0x40]
mov esi, 0xd51263e0
sub esi, 0xa9fcd5c2
add dword [ebp - 0x3c], 0x57e6f567
mov edi, dword [ebx]
xor dword [ebp - 0x38], ebx
xor edi, esi
xor dword [ebp - 0x30], eax
mov dword [edx], edi
add dword [ebp - 0x20], ecx
add edx, 4
add ebx, 4
loop 0x10015767
add eax, 0xafa9afb
add eax, 0xf506ba64
xor ebx, ebx
add ebx, eax
add eax, 0x470be70f
add eax, 0xb8f418f6
mov ecx, 0xd6971271
sub ecx, 0xc6971271
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call sym.drvSOFT.x3d_public:_enum_E3RESULT___stdcall_FILETYPE::QueryFormatInfo_class_e3_XMLNODE____unsigned_int_
lea eax, [ebp - 0x20c]
push eax
push edi
call sym.drvSOFT.x3d_public:_enum_E3RESULT___stdcall_FILETYPE::QueryFormatInfo_class_e3_XMLNODE____unsigned_int_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call sym.drvSOFT.x3d_public:_enum_E3RESULT___stdcall_FILETYPE::QueryFormatInfo_class_e3_XMLNODE____unsigned_int_
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.drvSOFT.x3d_public:_enum_E3RESULT___stdcall_FILETYPE::QueryFormatInfo_class_e3_XMLNODE____unsigned_int_
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.drvSOFT.x3d_public:_enum_E3RESULT___stdcall_FILETYPE::QueryFormatInfo_class_e3_XMLNODE____unsigned_int_
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c
Function at 0x1002e7d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1002e7df
pop dword [ebp - 0x30]
mov eax, 0x4ad1eb5f
sub eax, 0x3acf0380
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xe9af611c
sub dword [ebp - 0x40], 0x9b5d1bd1
mov dword [ebp - 0x3c], 0xcc4adaf4
sub dword [ebp - 0x3c], 0x9a178eaf
mov dword [ebp - 0x38], 0x85b85dfc
sub dword [ebp - 0x38], 0x396c19ce
mov dword [ebp - 0x34], 0xef1ec649
add dword [ebp - 0x34], 0x10e139b7
lea eax, [ebp - 0x40]
push eax
mov eax, 0x5ae5805d
sub eax, 0x4ae18021
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x7778aa0
sub dword [ebp - 0x40], 0x9305214a
mov dword [ebp - 0x3c], 0x77b32ca3
add dword [ebp - 0x3c], 0xc9b934d2
mov dword [ebp - 0x38], 0xe832d575
sub dword [ebp - 0x38], 0x84c36909
mov dword [ebp - 0x34], 0xfd371a0e
sub dword [ebp - 0x34], 0xfd371a0e
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x4a84e4be
add eax, 0xc57f1b72
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x43bf9
push 0
call eax
mov ecx, 0x3b0c
mov esi, eax
mov edx, 0x10056e00
add edx, dword [ebp - 0x30]
mov ebx, 0xf5e15cf8
mov dword [ebp - 8], 0x6f88f2aa
mov edi, dword [edx]
xor dword [ebp - 0x10], 0xb7c957dc
add edi, ebx
sub dword [ebp - 0x20], 0xeafcb7be
mov dword [esi], edi
add dword [ebp - 0xc], esi
add esi, 0xa09d5a81
add esi, 0x5f62a583
add edx, 4
loop 0x1002e8ef
add eax, 0xfc4e4447
sub eax, 0xfc4d6544
xor ebx, ebx
add ebx, eax
add eax, 0xa1d0512d
add eax, 0x5e2faed8
mov ecx, 0x1ee56de2
sub ecx, 0xee56de2
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x40e27b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b548]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409431
mov dword [ebp - 0x14], eax
cmp dword [0x456f7c], esi
jne 0x40e36e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e2fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e44e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e44e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e44e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x456f7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x456f80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x456f84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456f8c], eax
test eax, eax
je 0x40e36b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456f88], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e393
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e386
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e3a8
push 4
pop eax
jmp 0x40e450
cmp dword [ebp - 0x14], esi
je 0x40e3a8
push dword [0x456f7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e38d
mov eax, dword [0x456f88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e406
cmp dword [0x456f8c], edi
je 0x40e406
push eax
call ebx
push dword [0x456f8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e406
test eax, eax
je 0x40e406
call ecx
test eax, eax
je 0x40e3fb
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 0x40e3fb
test byte [ebp - 8], 1
jne 0x40e406
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e436
mov eax, dword [0x456f80]
cmp eax, edi
je 0x40e433
push eax
call ebx
test eax, eax
je 0x40e433
call eax
mov esi, eax
test esi, esi
je 0x40e433
mov eax, dword [0x456f84]
cmp eax, edi
je 0x40e433
push eax
call ebx
test eax, eax
je 0x40e433
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x456f7c]
call ebx
test eax, eax
je 0x40e44e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e450
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404483
mov esp, ebp
pop ebp
ret
Function at 0x410770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [eax + 0x62fffffc], esi
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040ff52
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ff07
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
add eax, esi
test dword [ebp - 4], ecx
invalid
jmp [eax]
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040ff52
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ff07
add esp, 0xc
mov dword [ebp - 0x538], eax

Function at 0x410c14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ecx]
cmp dword [ebp - 0x398], 0
je 0x410c36
cmp dword [ebp - 0x398], 0
je 0x410e00
cmp dword [ebp + 0xc], 1
je 0x410e00
cmp dword [ebp + 0xc], 8
jne 0x410dc8
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
invalid
test dword [ebp - 7], ecx

Function at 0x413b17
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x413b3e
call fcn.00413229
mov dword [eax], esi
call fcn.00413216
push 0x16
pop esi
mov dword [eax], esi
call fcn.0041972d
mov eax, esi
jmp 0x413b93
test dword [ebp + 0xc], 0xfffffff9
jne 0x413b24
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x413b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041323c
pop ecx
call fcn.00413216
mov eax, dword [eax]
jmp 0x413b93
test al, 0x10
jne 0x413b91
test al, 1
je 0x413b91
test byte [ebp + 0xc], 2
je 0x413b91
call fcn.00413229
mov dword [eax], 5
call fcn.00413216
mov dword [eax], 0xd
jmp 0x413b62
xor eax, eax
pop esi
pop ebp
ret
Function at 0x425cb1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x434674]
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.004190ac
and dword [ebp - 0x14], 0
cmp dword [0x436f0c], 0
mov dword [ebp - 0x18], eax
jne 0x425d64
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x425e0c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x425e0c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x436f0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x436f10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x436f14], eax
call edi
push eax
call esi
mov dword [0x436f1c], eax
test eax, eax
je 0x425d64
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x436f18], eax
mov eax, dword [0x436f18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x425dbd
cmp dword [0x436f1c], ecx
je 0x425dbd
push eax
call esi
push dword [0x436f1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x425dbd
test ebx, ebx
je 0x425dbd
call edi
test eax, eax
je 0x425db4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x425db4
test byte [ebp - 8], 1
jne 0x425dbd
or dword [ebp + 0x10], 0x200000
jmp 0x425df0
mov eax, dword [0x436f10]
cmp eax, dword [ebp - 0x18]
je 0x425df0
push eax
call esi
test eax, eax
je 0x425df0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x425df0
mov eax, dword [0x436f14]
cmp eax, dword [ebp - 0x18]
je 0x425df0
push eax
call esi
test eax, eax
je 0x425df0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x436f0c]
call esi
test eax, eax
je 0x425e0c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x425e0e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411d2c
leave
ret