joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100558e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10055910
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10055940
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10055940
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x10055a15
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10055969
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10055975
movsx eax, bl
jmp 0x100559ac
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x10055a15
cmp eax, 1
jle 0x100559d6
cmp eax, 3
jne 0x10055a15
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100559f4
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10055a15
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x10055a15
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4
Function at 0x1005dcf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1005ddac
cmp byte [esi + 0x3d], 0
je 0x1005ddac
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1005dd9a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1005dd61
sub eax, 1
je 0x1005dd65
sub eax, 2
jne 0x1005dd9a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1005dd83
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1005dd9a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10062c29
mov esp, ebp
pop ebp
ret
Function at 0x100629c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f88d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.10062860
cmp byte [ebp - 0x84], 0
jne 0x10062b11
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x10062a55
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x1008f6f8
call fcn.10062860
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.10062860
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x10062ac4
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.10062910
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10062b53
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10062b49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10062b49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10063550
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xafd276e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x733c11f8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b480
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4273d4]
jne 0x40b48a
repz ret
jmp fcn.0041168c

Function at 0x41733c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4273d4]
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.0040e43f
and dword [ebp - 0x14], 0
cmp dword [0x45ed8c], 0
mov dword [ebp - 0x18], eax
jne 0x4173ef
push 0x4037fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417497
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037f0
push ebx
call edi
test eax, eax
je 0x417497
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037e0
push ebx
mov dword [0x45ed8c], eax
call edi
push eax
call esi
push 0x4037cc
push ebx
mov dword [0x45ed90], eax
call edi
push eax
call esi
push 0x4037b0
push ebx
mov dword [0x45ed94], eax
call edi
push eax
call esi
mov dword [0x45ed9c], eax
test eax, eax
je 0x4173ef
push 0x403798
push ebx
call edi
push eax
call esi
mov dword [0x45ed98], eax
mov eax, dword [0x45ed98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417448
cmp dword [0x45ed9c], ecx
je 0x417448
push eax
call esi
push dword [0x45ed9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417448
test ebx, ebx
je 0x417448
call edi
test eax, eax
je 0x41743f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41743f
test byte [ebp - 8], 1
jne 0x417448
or dword [ebp + 0x10], 0x200000
jmp 0x41747b
mov eax, dword [0x45ed90]
cmp eax, dword [ebp - 0x18]
je 0x41747b
push eax
call esi
test eax, eax
je 0x41747b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41747b
mov eax, dword [0x45ed94]
cmp eax, dword [ebp - 0x18]
je 0x41747b
push eax
call esi
test eax, eax
je 0x41747b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45ed8c]
call esi
test eax, eax
je 0x417497
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417499
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b480
leave
ret
Function at 0x41f660
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041e810
cmp dword [0x7ffb10], 0x37
jne 0x41f6f1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x40442c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404438
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7ffb14]
mov edx, dword [0x7fbf80]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401c66
pop dword [ebp - 0x30]
mov eax, 0x401c66
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x5a7318f9
add dword [ebp - 0x40], 0xf3df2c52
mov dword [ebp - 0x3c], 0x1a7775e4
sub dword [ebp - 0x3c], 0xe844299f
mov dword [ebp - 0x38], 0xf98bb758
add dword [ebp - 0x38], 0x52c08cd6
mov dword [ebp - 0x34], 0xfab637fe
add dword [ebp - 0x34], 0x549c802
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xbdec9a18
sub dword [ebp - 0x40], 0x497a30c2
mov dword [ebp - 0x3c], 0xd4a49a0a
sub dword [ebp - 0x3c], 0x93383895
mov dword [ebp - 0x38], 0x3b40f84
add dword [ebp - 0x38], 0x5fbb5ce8
mov dword [ebp - 0x34], 0xdea5d9e2
add dword [ebp - 0x34], 0x215a261e
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x6ca598e9
sub eax, 0x6c6568bd
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3590a
push 0
call eax
mov ecx, 0x5dbd8711
sub ecx, 0x5dbd42bb
mov edi, eax
mov ebx, 0x18dde3e2
add ebx, 0xe7628c1e
add ebx, dword [ebp - 0x30]
mov esi, 0xb46eec56
sub esi, 0x77f2b56
sub dword [ebp - 0x28], 0x12437142
mov edx, dword [ebx]
add dword [ebp - 0x20], 0xff7f8404
add edx, esi
xor dword [ebp - 0x24], edx
mov dword [edi], edx
mov dword [ebp - 0xc], 0xa4181d1a
add edi, 4
add ebx, 0xa62d418d
add ebx, 0x59d2be77
loop 0x401d7e
add eax, 0x1042b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

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

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x180f1639
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.180f1291
push eax
push esi
push dword [ebp + 8]
call fcn.180f1246
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.180f1291
push eax
push esi
push dword [ebp + 8]
call fcn.180f1246
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.180f1281
push esi
ljmp 0xff7c
Function at 0x180f192a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x180f1935
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x180f1930
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x180f191a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x180f1922
cmp edx, ebx
jne 0x180f1a70
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
enter 0x4d39, 8
enter 0x4d39, 8
jb 0x180f18f1
add eax, dword [eax + 4]
jmp 0x180f18de
mov dword [ebp + 0xc], ebx
jmp 0x180f1940
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x180f1958
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x180f1976
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x180f19d4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x180f19bb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x180f19c4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x180f19ce
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x180f19b0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x180f193a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x180f1a21
dec eax
je 0x180f1a18
sub eax, 3
je 0x180f1a0f
mov dword [ebp - 4], 0x40
jmp 0x180f1a3e
mov dword [ebp - 4], 4
jmp 0x180f1a24
mov dword [ebp - 4], 0x20
jmp 0x180f1a24
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x180f1a70
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x180f19f0
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.180f1281
mov ecx, 0xffb621b4
mov ah, 0x21
mov dh, 0xff
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x180f1a9b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
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.180f1291
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.180f1246
add esp, 0xc
mov dword [ebp - 0x68c], eax
invalid
xchg ebp, eax
je 0x180f1b38

Function at 0x180f1e27
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
cli
invalid
call [edx - 0x51b7a3a]
invalid
jmp [esi + eax*8 - 0x51a7b]
call [eax - 0x5197a3a]
invalid
dec dword [edi - 0x5187a3a]
invalid
dec dword [edi - 0x5177a3a]
invalid
invalid
ljmp 0xffff
push eax
call fcn.180f1291
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.180f1246
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.180f1281
invalid
Function at 0x40d39b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a548]
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.004086c1
mov dword [ebp - 0x14], eax
cmp dword [0x8156bc], esi
jne 0x40d48e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d41b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d56e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d56e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d56e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8156bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8156c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8156c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8156cc], eax
test eax, eax
je 0x40d48b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8156c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4b3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d4a6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d4c8
push 4
pop eax
jmp 0x40d570
cmp dword [ebp - 0x14], esi
je 0x40d4c8
push dword [0x8156bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d4ad
mov eax, dword [0x8156c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d526
cmp dword [0x8156cc], edi
je 0x40d526
push eax
call ebx
push dword [0x8156cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d526
test eax, eax
je 0x40d526
call ecx
test eax, eax
je 0x40d51b
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 0x40d51b
test byte [ebp - 8], 1
jne 0x40d526
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d556
mov eax, dword [0x8156c0]
cmp eax, edi
je 0x40d553
push eax
call ebx
test eax, eax
je 0x40d553
call eax
mov esi, eax
test esi, esi
je 0x40d553
mov eax, dword [0x8156c4]
cmp eax, edi
je 0x40d553
push eax
call ebx
test eax, eax
je 0x40d553
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8156bc]
call ebx
test eax, eax
je 0x40d56e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d570
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040438c
mov esp, ebp
pop ebp
ret
Function at 0x40bfb3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406dfb
and dword [ebp - 4], 0
cmp dword [0x413a8c], 0
mov ebx, eax
jne 0x40c064
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c115
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c115
push eax
call fcn.00406d89
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x413a8c], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413a90], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x413a94], eax
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x413a9c], eax
test eax, eax
je 0x40c064
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x413a98], eax
mov eax, dword [0x413a98]
cmp eax, ebx
je 0x40c0bc
cmp dword [0x413a9c], ebx
je 0x40c0bc
push eax
call fcn.00406e04
push dword [0x413a9c]
mov esi, eax
call fcn.00406e04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c0bc
test edi, edi
je 0x40c0bc
call esi
test eax, eax
je 0x40c0b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c0b3
test byte [ebp - 0xc], 1
jne 0x40c0bc
or dword [ebp + 0x10], 0x200000
jmp 0x40c0f5
mov eax, dword [0x413a90]
cmp eax, ebx
je 0x40c0f5
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c0f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c0f5
mov eax, dword [0x413a94]
cmp eax, ebx
je 0x40c0f5
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c0f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x413a8c]
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c115
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c117
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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