joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007e5d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007e9c0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100b9a84], 0
jne 0x1007e60d
cmp dword [0x100b9a80], 0
je 0x1007e60d
mov eax, dword [0x100b9a80]
mov dword [0x100b9a84], eax
cmp dword [0x100b9a84], 0
je 0x1007e68a
mov ecx, dword [0x100b9a84]
cmp dword [ecx + 8], 0
je 0x1007e68a
mov edx, dword [0x100b9a84]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1007e68a
mov ecx, dword [0x100b9a84]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1007e68a
mov eax, dword [0x100b9a84]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1007e659
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1007e660
xor eax, eax
jmp 0x1007e7a9
mov ecx, dword [0x100b9a84]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100831e0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1007e7a9
mov edx, dword [0x100b9a80]
mov dword [0x100b9a84], edx
jmp 0x1007e6a6
mov eax, dword [0x100b9a84]
mov ecx, dword [eax + 4]
mov dword [0x100b9a84], ecx
cmp dword [0x100b9a84], 0
je 0x1007e6e6
cmp dword [0x100b9a84], 0
je 0x1007e6e4
mov edx, dword [0x100b9a84]
cmp dword [edx + 8], 0
je 0x1007e6e4
mov eax, dword [0x100b9a84]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1007e6e4
mov edx, dword [0x100b9a84]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1007e6e4
jmp 0x1007e63e
jmp 0x1007e698
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007e7b0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1007e7a7
mov eax, dword [ebp - 0x18]
mov dword [0x100b9a84], eax
mov ecx, dword [0x100b9a84]
mov dword [ecx], 0x52727464
mov edx, dword [0x100b9a84]
mov dword [edx + 8], 0
mov eax, dword [0x100b9a84]
mov ecx, dword [0x100b9a80]
mov dword [eax + 4], ecx
mov edx, dword [0x100b9a84]
mov dword [0x100b9a80], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100b9a84]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1007e777
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1007e797
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1007e76e
mov eax, dword [0x100b9a84]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1007e63e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1007f4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b9a80]
mov dword [ebp - 4], eax
jmp 0x1007f509
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1007f530
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1007f52e
call sub.KERNEL32.dll_GetLastError
jmp 0x1007f532
jmp 0x1007f500
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1007f9d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100b9a90], eax
je 0x1007f9f4
mov eax, 0x10dd
jmp 0x1007fb9c
cmp dword [0x100b9a94], 0
je 0x1007fa07
mov eax, dword [0x100b9a94]
jmp 0x1007fb9c
cmp dword [ebp + 0xc], 0
jne 0x1007fa17
mov eax, 0x57
jmp 0x1007fb9c
cmp dword [ebp + 8], 0
jne 0x1007fa27
mov eax, 6
jmp 0x1007fb9c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1007fa50
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100b9a94], ecx
mov edx, dword [ebp + 8]
mov dword [0x100b9a98], edx
mov eax, dword [ebp - 8]
jmp 0x1007fb9c
push 0x18
call fcn.10081083
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007faab
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100b9a94], ecx
cmp dword [ebp - 4], 0
je 0x1007fa9a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.100810d6
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100b9a98], ecx
mov eax, dword [ebp - 8]
jmp 0x1007fb9c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1007f9b0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1007f9b0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1007faeb
cmp dword [ebp - 0xc], 0x1e
jbe 0x1007fb07
mov dword [ebp - 8], 9
cmp dword [0x100b9a88], 0
je 0x1007fb02
jmp 0x1007fa79
jmp 0x1007fa70
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1007fb2e
mov dword [ebp - 8], 9
cmp dword [0x100b9a88], 0
je 0x1007fb29
jmp 0x1007fa79
jmp 0x1007fa70
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1007fb59
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1007fa70
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100b9aa0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100b9aa0], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1007fbb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100b9a90], eax
je 0x1007fbcd
mov eax, 0x10dd
jmp 0x1007fcb0
mov eax, dword [0x100b9aa0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1007fc4c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1007fc28
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1007fc28
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1007ea50
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1007fbd5
mov dword [0x100b9aa0], 0
call fcn.1007f330
mov ecx, dword [0x100b9a9c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1007fc9a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100810d6
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1007fc64
mov dword [0x100b9a9c], 0
mov dword [0x100b9a90], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10080190
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100b9a94], 0
je 0x100801a9
mov eax, dword [0x100b9a94]
jmp 0x10080248
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100801ba
xor eax, eax
jmp 0x10080248
push 8
call fcn.10081083
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10080212
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100801fb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.100810d6
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100b9a94], eax
mov dword [0x100b9a98], 0
mov eax, dword [ebp - 8]
jmp 0x10080248
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1008022a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100801da
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100b9a9c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100b9a9c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100864d8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10086517
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10086517
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10086517
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10086517
cmp dword [ecx + 0x74], 0xe
jbe 0x10086517
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1008e8c5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a5250
push 0x100a5248
push str.FlsAlloc
push 0x1f
call fcn.1008e78d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008e8f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a129c]
call esi
jmp 0x1008e8ff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1008e943
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a5260
push 0x100a5258
push str.FlsGetValue
push 0x21
call fcn.1008e78d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008e97a
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a129c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1008e982
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a5268
push 0x100a5260
push str.FlsSetValue
push 0x22
call fcn.1008e78d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008e9bc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100a129c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10092e3d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10092eda
push ebx
push esi
call fcn.10092e06
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10091cce
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10092e87
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10092ed9
push edi
push eax
call fcn.1008ef74
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10092ea7
call fcn.1008df8a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10092ed8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10091cce
add esp, 0x20
test eax, eax
jne 0x10092ec6
push edi
call fcn.1008df8a
jmp 0x10092ece
push ebx
call fcn.1008df8a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10095011
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1008c52c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10095080
cmp esi, dword [ebp - 4]
je 0x1009507b
cmp dword [ebp + 0xc], 0
je 0x1009507b
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10095058
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10094b63
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10095082
xor eax, eax
inc eax
jmp 0x10095082
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100950e7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1008c52c
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1008c52c
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1009515e
cmp word [ecx], dx
je 0x1009515e
mov eax, dword [0x100a599c]
push edi
dec eax
push eax
push 0x100a5888
call fcn.10095086
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100951d1
cmp word [eax], dx
je 0x100951d1
mov eax, dword [edi]
test eax, eax
je 0x10095182
cmp word [eax], dx
je 0x10095182
lea eax, [ebp - 0x10]
push eax
call fcn.10094a69
jmp 0x1009518b
lea eax, [ebp - 0x10]
push eax
call fcn.10094b04
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100951fb
mov eax, dword [0x100a5884]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100a5578
call fcn.10095086
add esp, 0xc
test al, al
je 0x100951fb
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100951c6
cmp word [eax], di
je 0x100951c6
lea eax, [ebp - 0x10]
push eax
call fcn.10094a69
pop ecx
jmp 0x100951fd
lea eax, [ebp - 0x10]
push eax
call fcn.10094b04
jmp 0x100951c3
mov eax, dword [edi]
test eax, eax
je 0x100951e8
cmp word [eax], dx
je 0x100951e8
lea eax, [ebp - 0x10]
push eax
call fcn.10094a1e
pop ecx
jmp 0x100951fb
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100952c6
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10094f0b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100952c6
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100952c6
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100952c6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10095253
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1008eac2
test ebx, ebx
je 0x100952c1
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1008eac2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100952c6
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100952c6
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10098c61
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100952c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10081075
leave
ret
Function at 0x1009a930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1009a95d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1009a95d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40170c
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x48801a
call fcn.0045d7a0
sub esp, 0x428
push ebx
push esi
push edi
push 0x400
xor esi, esi
lea eax, [ebp - 0x434]
mov edi, ecx
push esi
push eax
mov dword [ebp - 0x10], edi
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x34]
push 0x4bb72c
push eax
call fcn.0046382e
add esp, 0x14
push 0x200
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], esi
push ecx
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
mov ecx, 0x4f2e74
call fcn.0046b506
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ebx, [edi + 0x340]
mov eax, dword [ebx]
lea ecx, [ebp - 0x434]
push ecx
mov ecx, ebx
call dword [eax + 0x17c]
push esi
lea ecx, [edi + 0xcf8]
call sub.mfc140u.dll_CWnd::ShowWindow
push esi
lea ecx, [edi + 0x958]
call sub.mfc140u.dll_CWnd::ShowWindow
push esi
lea ecx, [edi + 0xb20]
call sub.mfc140u.dll_CWnd::ShowWindow
push esi
push dword [edi + 0x16c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0
push dword [edi + 0x208]
call esi
push 0
push dword [edi + 0x2a4]
call esi
xor esi, esi
lea ecx, [edi + 0x478]
push esi
call sub.mfc140u.dll_CWnd::ShowWindow
push esi
lea ecx, [edi + 0x5b0]
call sub.mfc140u.dll_CWnd::ShowWindow
push esi
lea ecx, [edi + 0x820]
call sub.mfc140u.dll_CWnd::ShowWindow
push esi
lea ecx, [edi + 0x6e8]
call sub.mfc140u.dll_CWnd::ShowWindow
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x360]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
call edi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call sub.mfc140u.dll_CWnd::ScreenToClient
mov eax, 0x96
add dword [ebp - 0x1c], eax
add dword [ebp - 0x14], eax
add dword [ebp - 0x20], eax
add dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00445c78
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
lea esi, [ebx + 0xd0]
push dword [esi]
call edi
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call sub.mfc140u.dll_CWnd::ScreenToClient
mov eax, 0x96
mov ecx, esi
add dword [ebp - 0x2c], eax
add dword [ebp - 0x24], eax
add dword [ebp - 0x30], eax
add dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.00445c53
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x423451
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x42345c
xor eax, eax
ret
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not ecx
cmp esi, 8
jb 0x42351d
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
sub edi, 1
jne 0x423476
pop edi
test esi, esi
je 0x423539
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3b10]
inc edx
sub esi, 1
jne 0x423521
not ecx
mov eax, ecx
pop esi
ret
Function at 0x447b9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 0xc
cmp byte [edx + 4], 0
je 0x447bd4
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x447bcf
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x447bbf
pop edi
pop esi
leave
ret 8
push dword [0x4f2800]
lea ecx, [ebp - 0xc]
call fcn.00447b0b
push 0x4df428
lea eax, [ebp - 0xc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x448086
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push 0x2e
pop eax
push 0x6e
mov word [ebp - 0x20], ax
xor ebx, ebx
pop eax
push 0x65
pop edx
push 0x32
mov word [ebp - 0x2a], ax
pop eax
push 0x6c
mov word [ebp - 0x22], ax
pop eax
push 0x64
pop ecx
push 0x72
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], ax
mov word [ebp - 0x26], ax
pop eax
push 0x33
mov word [ebp - 0x2c], ax
pop eax
mov word [ebp - 0x24], ax
push 0x4b
pop eax
mov word [ebp - 0x30], ax
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x2e], dx
push eax
mov word [ebp - 0x28], dx
mov word [ebp - 0x1e], cx
mov word [ebp - 0xe], 0x6c75
mov byte [ebp - 0x13], dl
mov byte [ebp - 0xc], dl
mov byte [ebp - 8], dl
mov word [ebp - 0x11], 0x6f4d
mov word [ebp - 0xa], 0x6c69
mov byte [ebp - 4], dl
mov word [ebp - 3], 0x57
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xb], 0x46
mov word [ebp - 6], 0x6d61
mov byte [ebp - 7], 0x4e
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x12], 0x74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x448143
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ebx, eax
mov eax, ebx
pop ebx
leave
ret