joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10049460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c]
mov edi, edi
mov edx, dword [edi + 0x3c]
sub edx, dword [edi + 0x74]
mov eax, dword [edi + 0x2c]
sub edx, dword [edi + 0x6c]
add eax, 0xfffffefa
add eax, esi
mov dword [ebp - 4], edx
cmp dword [edi + 0x6c], eax
jb 0x100494ec
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.10073510
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
add esp, 0xc
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
mov edi, edi
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x100494bf
sub eax, esi
jmp 0x100494c1
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x100494b0
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x100494df
sub eax, esi
jmp 0x100494e1
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x100494d0
mov edx, dword [ebp - 4]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x10049620
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x10049519
xor eax, eax
jmp 0x1004956c
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x10049536
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.10049fb0
jmp 0x1004954e
cmp eax, 2
jne 0x10049554
mov edx, dword [ebx]
test edx, edx
jne 0x10049545
xor eax, eax
jmp 0x10049551
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.10048fd0
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebp - 4]
push dword [ebx]
push dword [ebp - 8]
call fcn.10073510
mov eax, dword [ebp - 4]
add dword [ebx], eax
add esp, 0xc
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x10049594
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x100495a8
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x10049470
mov edx, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp edx, ecx
jae 0x10049620
mov esi, dword [edi + 0x6c]
add esi, ebx
cmp edx, esi
jae 0x100495f0
sub ecx, esi
mov eax, 0x102
cmp ecx, eax
cmova ecx, eax
mov eax, dword [edi + 0x38]
push ecx
add eax, esi
push 0
push eax
mov dword [ebp - 8], ecx
call fcn.10073e30
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, esi
mov dword [edi + 0x16c0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x102]
cmp edx, eax
jae 0x10049620
mov eax, dword [edi + 0x38]
sub esi, edx
sub ecx, edx
add esi, 0x102
cmp esi, ecx
cmova esi, ecx
push esi
add eax, edx
push 0
push eax
call fcn.10073e30
add esp, 0xc
add dword [edi + 0x16c0], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004e2a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100982c1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100b84c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
call fcn.10050350
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
sub esp, 8
mov dword [ebp - 0x10], ecx
call fcn.10045a20
mov byte [ebp - 4], 4
lea ecx, [esi + 0x3c]
push 0xffffffffffffffff
mov byte [esi + 0x38], 0
push 0
lea eax, [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10014720
mov byte [ebp - 4], 5
lea edi, [esi + 0x54]
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push eax
mov word [edi], ax
lea eax, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.10014ef0
mov byte [ebp - 4], 6
lea eax, [esi + 0x74]
push eax
mov byte [esi + 0x6c], 0
mov dword [esi + 0x70], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [ebp + 0x18], 0
je 0x1004e3b7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edi
mov word [ecx], ax
call fcn.10014ef0
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10014720
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.1004ed30
push 0
push 0
push esi
push 0x1004f520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x1004e3e3
push dword [ebp + 8]
call fcn.1006e29c
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x34], 8
jb 0x1004e40d
push dword [ebp + 0x20]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov word [ebp + 0x20], ax
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1005c440
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a6a1
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x170], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x170], 1
mov dword [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.100135d0
mov byte [ebp - 4], 2
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x48]
call fcn.1001ecf0
mov edi, eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0xf0]
call fcn.1001ecf0
mov esi, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x16c]
lea ecx, [ebp - 0xd8]
call fcn.1001ecf0
mov byte [ebp - 4], 5
push eax
push 0x100a7c88
lea eax, [ebp - 0x90]
push eax
call fcn.1005c690
add esp, 0xc
mov byte [ebp - 4], 6
push 0x100a7c84
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100180a0
add esp, 0xc
mov byte [ebp - 4], 7
push esi
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.10017d90
add esp, 4
mov byte [ebp - 4], 8
push 0x100a7c80
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100180a0
add esp, 0xc
mov byte [ebp - 4], 9
push edi
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10017d90
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.10013490
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.10013490
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa8]
call fcn.10013490
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.10013490
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd8]
call fcn.10013490
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf0]
call fcn.10013490
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.10013490
lea ecx, [ebp - 0x164]
call fcn.1003d570
call fcn.1003d5a0
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
push dword [ebp - 0x20]
push eax
call fcn.1003d6a0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x164]
call fcn.1003e070
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.10013450
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.10013490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10013490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.100136d0
mov dword [ebp - 4], 0
mov eax, ebx
jmp 0x1005c665
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret 4
Function at 0x10060570
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009ad50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b84c0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x100b84c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [0x100bbaec], 0
mov dword [0x100bbaf0], 0
call fcn.100463f0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push 0x100bbaec
push 0x100a34d4
push 1
push 0
push 0x100a35a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x100bbaec], 0
jne 0x10060601
mov eax, 0xfffffffd
jmp 0x100606d2
lea ecx, [esp + 8]
call fcn.1005da80
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 8
jb 0x1006061a
mov eax, dword [eax]
push eax
lea ecx, [esp + 8]
call fcn.10045de0
mov byte [esp + 0x30], 1
mov edx, dword [eax]
test edx, edx
je 0x10060633
mov edx, dword [edx]
jmp 0x10060635
xor edx, edx
mov eax, dword [0x100bbaec]
push 0x100bbaf0
mov ecx, dword [eax]
push 0
push 0
push 0x80
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov byte [esp + 0x30], 0
lea ecx, [esp + 4]
call fcn.10045e80
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x1c], 8
jb 0x1006067e
push dword [esp + 8]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
cmp dword [0x100bbaec], eax
jne 0x100606a4
mov eax, 0xfffffffc
jmp 0x100606d2
call fcn.100600d0
test eax, eax
jne 0x100606b4
mov eax, 0xfffffffb
jmp 0x100606d2
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [0x100bbaf0]
call eax
neg eax
sbb eax, eax
and eax, 0xfffffffa
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x10062410
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009af1b
mov eax, dword fs:[0]
push eax
mov eax, 0x37e4
call fcn.1007b8c0
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
mov dword [ebp - 0x37e8], eax
xor edi, edi
lea ecx, [ebp - 0x37e4]
call fcn.10045c30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1006246c
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10045dc0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x37d0], 0x10
jb 0x1006249b
push dword [ebp - 0x37e4]
call fcn.1006e29c
add esp, 4
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x37d0], 0xf
mov dword [ebp - 0x37d4], 0
mov byte [ebp - 0x37e4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10062671
push 0x2710
xorps xmm0, xmm0
lea eax, [ebp - 0x2ff0]
movq qword [ebp - 0x37cc], xmm0
push 0
push eax
mov dword [ebp - 0x37ec], 0
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x37c8], 0
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x37ec]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2ff0]
push eax
push 0xc
lea eax, [ebp - 0x37cc]
push eax
push 0x2d1400
push esi
call ebx
test eax, eax
je 0x1006266a
mov edx, dword [ebp - 0x2fe4]
lea eax, [ebp - 0x37c0]
push eax
push 0
lea ecx, [ebp - 0x2ff0]
call fcn.100622b0
mov edx, dword [ebp - 0x2fe0]
lea eax, [ebp - 0x8e0]
push eax
push 0
lea ecx, [ebp - 0x2ff0]
call fcn.100622b0
mov edx, dword [ebp - 0x2fdc]
lea eax, [ebp - 0x33d8]
push eax
push 0
lea ecx, [ebp - 0x2ff0]
call fcn.100622b0
mov edx, dword [ebp - 0x2fd8]
lea eax, [ebp - 0x4f8]
push eax
push 1
lea ecx, [ebp - 0x2ff0]
call fcn.100622b0
add esp, 0x20
cmp byte [0x100bc108], 0
jne 0x10062633
mov al, byte [ebp - 0x4f8]
test al, al
je 0x10062633
cmp al, 0xa
je 0x10062633
movsx eax, al
push eax
call fcn.1006f3ad
add esp, 4
test eax, eax
jne 0x100625f7
movsx eax, byte [ebp - 0x4e5]
push eax
call fcn.1006f3ad
add esp, 4
test eax, eax
je 0x10062633
lea eax, [ebp - 0x4f8]
push eax
push 0x400
push 0x100bc108
call fcn.10070113
add esp, 0xc
lea eax, [ebp - 0x8e0]
push eax
push 0x400
push 0x100bbd08
call fcn.10070113
add esp, 0xc
mov dword [ebp - 0x37e8], 1
push 0x2710
lea eax, [ebp - 0x2ff0]
push 0
push eax
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x37ec]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2ff0]
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x10062452
mov eax, dword [ebp - 0x37e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x10062a40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x100b84c0]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push edi
push 0x100a3664
push 0x400
push 0x100bc108
xor edi, edi
call fcn.10070113
add esp, 0xc
lea eax, [esp + 8]
push 0x114
push edi
push eax
call fcn.10073e30
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x18], 2
jne 0x10062ac4
call fcn.10061ec0
test eax, eax
jne 0x10062ae0
call fcn.10062880
test eax, eax
jne 0x10062ae0
call fcn.10062410
test eax, eax
jne 0x10062ae0
call fcn.100620f0
jmp 0x10062ae0
xor esi, esi
test edi, edi
jne 0x10062ae0
cmp byte [0x100bc108], 0
jne 0x10062ae0
call fcn.100626a0
inc esi
mov edi, eax
cmp esi, 0xa
jl 0x10062ac6
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, esp
mov eax, 0x100bc108
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x1007dd6c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b84c0]
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.10077f23
mov dword [ebp - 0x14], eax
cmp dword [0x100bb4e0], edi
jne 0x1007de5d
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1007ddea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007df3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1007df3d
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007df3d
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100bb4e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100bb4e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100bb4e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100bb4f0], eax
test eax, eax
je 0x1007de5a
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100bb4ec], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007de82
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007de75
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1007de97
push 4
pop eax
jmp 0x1007df3f
cmp dword [ebp - 0x14], edi
je 0x1007de97
push dword [0x100bb4e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007de7c
mov eax, dword [0x100bb4ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1007def5
cmp dword [0x100bb4f0], esi
je 0x1007def5
push eax
call ebx
push dword [0x100bb4f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007def5
test eax, eax
je 0x1007def5
call ecx
test eax, eax
je 0x1007deea
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 0x1007deea
test byte [ebp - 8], 1
jne 0x1007def5
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1007df25
mov eax, dword [0x100bb4e4]
cmp eax, esi
je 0x1007df22
push eax
call ebx
test eax, eax
je 0x1007df22
call eax
mov edi, eax
test edi, edi
je 0x1007df22
mov eax, dword [0x100bb4e8]
cmp eax, esi
je 0x1007df22
push eax
call ebx
test eax, eax
je 0x1007df22
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100bb4e0]
call ebx
test eax, eax
je 0x1007df3d
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1007df3f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e28d
leave
ret
Function at 0x1008496c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10074acd
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 0x100849a4
xor eax, eax
jmp 0x100849d0
cmp esi, dword [ebp - 4]
je 0x100849cd
cmp dword [ebp + 0xc], 0
je 0x100849cd
push dword [edi + 0x9c]
call fcn.1008457a
push dword [edi + 0x9c]
mov esi, eax
call fcn.1007c78e
pop ecx
pop ecx
cmp esi, eax
je 0x100849a0
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x408dfa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
push ebx
push 0x4011e0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x417888
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x408e79
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x14], bl
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408e3e
push dword [ebp - 0x14]
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
call fcn.0040aab3
add esp, 0xc
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
call fcn.00408be4
pop ecx
xor ecx, ecx
inc ecx
cmp dword [eax], 3
jne 0x408e7c
jmp 0x408e7e
mov ecx, dword [ebp - 0x14]
mov bl, 1
test cl, 1
je 0x408e8b
lea ecx, [ebp - 0x30]
call fcn.00409ef4
mov ecx, esi
test bl, bl
je 0x408e98
push 0x406dcc
jmp 0x408e9b
push dword [ebp - 8]
call fcn.00409db3
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2a3
leave
ret
Function at 0x40bc15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
wait
and ebp, dword [edi]
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040b8c1
push eax
push esi
push dword [ebp + 8]
call fcn.0040b876
mov dword [ebp - 8], eax
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.0040b8c1
push eax
push esi
push dword [ebp + 8]
call fcn.0040b876
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.0040b8c1
push eax
push esi
push dword [ebp + 8]
call fcn.0040b876
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040b8b1
inc edi

Function at 0x40c25f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040b8c1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b876
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0040b8b1
outsd dx, dword [esi]
jecxz 0x40c39d
Function at 0x40c5bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
dec dword [0xf94f85c6]
invalid
call dword [eax]
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
pop esp
stc
invalid
call dword [esi]
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0040b8c1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b876
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0040b8b1
aad 0x95
add dword [ecx - 1], esp
mov ch, 0x68
stc
invalid

Function at 0x416590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4165bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4165bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret