joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006e298
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.1004c1d8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.10004c12
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x1004a210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006ae90
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1004c1d8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.10004c12
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x1004a2a4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1004ade0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1006e338
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x1008aa68]
cmp eax, 0xffffffff
jne 0x1004ae15
xor esi, esi
jmp 0x1004ae1e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x24], 0
test esi, esi
je 0x1004ae65
cmp dword [esi + 0x1c], 0
jne 0x1004aea9
cmp dword [esi + 0xc], 0
jne 0x1004aeb0
push 0x10048200
push 0x1008ee34
call fcn.10048590
mov eax, dword [0x1008aa68]
add esp, 8
cmp eax, 0xffffffff
je 0x1004ae65
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test esi, esi
je 0x1004ae95
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1004ae95
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0xc], 0
je 0x1004aef0
nop
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1004aede
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0xc], 0
jne 0x1004aeb0
cmp dword [esi + 0x1c], 0
je 0x1004ae3a
lea ebx, [ebx]
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1004af1b
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1004af1b
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x14]
call fcn.1004a7a0
cmp dword [esi + 0x1c], 0
jne 0x1004af00
jmp 0x1004ae34
jmp 0x1004ade0
Function at 0x1004af40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1006e338
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x1008aa68]
cmp eax, 0xffffffff
jne 0x1004ae15
xor esi, esi
jmp 0x1004ae1e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x24], 0
test esi, esi
je 0x1004ae65
cmp dword [esi + 0x1c], 0
jne 0x1004aea9
cmp dword [esi + 0xc], 0
jne 0x1004aeb0
push 0x10048200
push 0x1008ee34
call fcn.10048590
mov eax, dword [0x1008aa68]
add esp, 8
cmp eax, 0xffffffff
je 0x1004ae65
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test esi, esi
je 0x1004ae95
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1004ae95
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0xc], 0
je 0x1004aef0
nop
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1004aede
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0xc], 0
jne 0x1004aeb0
cmp dword [esi + 0x1c], 0
je 0x1004ae3a
lea ebx, [ebx]
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1004af1b
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1004af1b
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x14]
call fcn.1004a7a0
cmp dword [esi + 0x1c], 0
jne 0x1004af00
jmp 0x1004ae34
jmp 0x1004ade0

Function at 0x1004bb70
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e5a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.1004ba90
mov esi, eax
push 0x10048200
push 0x1008ee34
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.10048590
mov eax, dword [0x1008aa68]
add esp, 8
cmp eax, 0xffffffff
je 0x1004bbd0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004bc00
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1008aa68]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x1004bc18
push eax
call esi
test eax, eax
jne 0x1004bc41
call fcn.1004bb70
mov eax, dword [0x1008aa68]
cmp eax, 0xffffffff
jne 0x1004bc3e
xor eax, eax
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.1004a180
add esp, 8
mov dword [esi], eax
pop esi
ret
push eax
call esi
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.1004a180
add esp, 8
mov dword [esi], eax
pop esi
ret

Function at 0x1004bc60
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1006e5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x1008aa68]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x38], 0
cmp eax, 0xffffffff
je 0x1004bca6
push eax
call edi
mov esi, eax
test esi, esi
jne 0x1004bcbe
call fcn.1004bb70
mov eax, dword [0x1008aa68]
cmp eax, 0xffffffff
jne 0x1004bcb9
xor esi, esi
jmp 0x1004bcbe
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], esp
test eax, eax
je 0x1004bceb
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x20]
call fcn.10048980
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x44], 1
call fcn.100495d0
add esp, 0xc
push 0
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0x40], 2
call fcn.10049f80
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x14]
call fcn.1004ab70
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x38], 1
test eax, eax
je 0x1004bd65
mov edi, eax
add eax, 4
push eax
call esi
test eax, eax
jne 0x1004bd65
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
push eax
call esi
test eax, eax
jne 0x1004bd65
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov edi, dword [esp + 0x18]
mov byte [esp + 0x38], 0
test edi, edi
je 0x1004bd98
lea ecx, [edi + 4]
push ecx
call esi
test eax, eax
jne 0x1004bd98
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
push ecx
call esi
test eax, eax
jne 0x1004bd98
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov edi, dword [esp + 0x48]
mov dword [esp + 0x38], 0xffffffff
test edi, edi
je 0x1004bdce
lea ecx, [edi + 4]
push ecx
call esi
test eax, eax
jne 0x1004bdce
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
push ecx
call esi
test eax, eax
jne 0x1004bdce
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x1004bde0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1008aa68]
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x1004bdfb
push eax
call esi
test eax, eax
jne 0x1004be11
call fcn.1004bb70
mov eax, dword [0x1008aa68]
cmp eax, 0xffffffff
jne 0x1004be0e
xor eax, eax
jmp 0x1004be11
push eax
call esi
lea esi, [eax + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10048be0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.1004b000
pop esi
add esp, 8
ret

Function at 0x1004be40
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1006e608
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x1008aa68]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], ebx
cmp eax, 0xffffffff
je 0x1004bef6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1004bef6
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x14]
call fcn.10049560
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x1004bef6
lea esi, [eax + 0x10]
test esi, esi
je 0x1004bef6
cmp byte [esp + 0x34], 0
je 0x1004becb
mov ecx, dword [esi]
test ecx, ecx
je 0x1004becb
mov eax, dword [esi + 8]
test eax, eax
je 0x1004becb
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0x30]
jne 0x1004bee5
test edi, edi
jne 0x1004bee5
push ebx
call fcn.1004bde0
add esp, 4
jmp 0x1004bf34
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.10048fb0
mov dword [esi + 8], edi
jmp 0x1004bf34
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
test ecx, ecx
jne 0x1004bf06
test eax, eax
je 0x1004bf34
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], esp
test eax, eax
je 0x1004bf2b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
call fcn.1004bc60
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x1004bf70
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi + 4]
push eax
call edi
test eax, eax
jne 0x1004bf70
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x1004bf70
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x1004c01d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008b2d0]
jne 0x1004c027
repz ret
jmp fcn.10054e8b
Function at 0x10063acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008b2d0]
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.10054254
and dword [ebp - 0x14], 0
cmp dword [0x1008fc48], 0
mov dword [ebp - 0x18], eax
jne 0x10063b7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10063c27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10063c27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1008fc48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1008fc4c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1008fc50], eax
call edi
push eax
call esi
mov dword [0x1008fc58], eax
test eax, eax
je 0x10063b7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1008fc54], eax
mov eax, dword [0x1008fc54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10063bd8
cmp dword [0x1008fc58], ecx
je 0x10063bd8
push eax
call esi
push dword [0x1008fc58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10063bd8
test ebx, ebx
je 0x10063bd8
call edi
test eax, eax
je 0x10063bcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10063bcf
test byte [ebp - 8], 1
jne 0x10063bd8
or dword [ebp + 0x10], 0x200000
jmp 0x10063c0b
mov eax, dword [0x1008fc4c]
cmp eax, dword [ebp - 0x18]
je 0x10063c0b
push eax
call esi
test eax, eax
je 0x10063c0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10063c0b
mov eax, dword [0x1008fc50]
cmp eax, dword [ebp - 0x18]
je 0x10063c0b
push eax
call esi
test eax, eax
je 0x10063c0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1008fc48]
call esi
test eax, eax
je 0x10063c27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10063c29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c01d
leave
ret
Function at 0x43338e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459744]
jne 0x433398
repz ret
jmp fcn.00437ec8

Function at 0x441447
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004387bf
xor ebx, ebx
cmp dword [0x45ebdc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44151c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x441487
xor eax, eax
jmp 0x4415e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x441480
push eax
call fcn.0043875c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45ebdc], eax
call esi
push eax
call fcn.0043875c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45ebe0], eax
call esi
push eax
call fcn.0043875c
mov dword [0x45ebe4], eax
lea eax, [ebp - 8]
push eax
call fcn.0043981d
test eax, eax
pop ecx
pop ecx
je 0x4414ea
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004337ad
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44151c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043875c
cmp eax, ebx
pop ecx
mov dword [0x45ebec], eax
je 0x44151c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043875c
pop ecx
mov dword [0x45ebe8], eax
mov eax, dword [0x45ebe8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x441595
cmp dword [0x45ebec], esi
je 0x441595
push eax
call fcn.004387c8
pop ecx
call eax
cmp eax, ebx
je 0x441562
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45ebec]
call fcn.004387c8
pop ecx
call eax
test eax, eax
je 0x441562
test byte [ebp - 0x18], 1
jne 0x441595
lea eax, [ebp - 0xc]
push eax
call fcn.00439854
test eax, eax
pop ecx
je 0x44157d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004337ad
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44158c
or dword [ebp + 0x10], 0x200000
jmp 0x4415c6
or dword [ebp + 0x10], 0x40000
jmp 0x4415c6
mov eax, dword [0x45ebe0]
cmp eax, esi
je 0x4415c6
push eax
call fcn.004387c8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4415c6
mov eax, dword [0x45ebe4]
cmp eax, esi
je 0x4415c6
push dword [ebp - 4]
push eax
call fcn.004387c8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45ebdc]
call fcn.004387c8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3e3d24b7
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
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
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7d42fdd
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x3001f3a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3001f3dc
test cl, cl
lea eax, [eax - 4]
je 0x3001f420
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3001f420
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3001f420
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3001f420
lea eax, [eax + 1]
jmp 0x3001f3dc
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3001f42f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3001f456
cmp word [eax], 0
je 0x3001f44f
lea eax, [eax + 2]
test eax, 3
je 0x3001f456
jmp 0x3001f43d
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3001f491
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3001f456
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3001f491
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3001f491
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3001f456
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3002138d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
cmp si, 0xffff
push edi
mov dword [ebp - 4], edx
je 0x30021402
test si, 0x3ff
je 0x30021402
push dword [ebp + 8]
call fcn.30021317
test eax, eax
jne 0x3002140b
movzx edi, si
mov esi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push eax
push eax
push 0x58
push edi
call esi
test eax, eax
je 0x3002140b
lea eax, [ebp - 0x24]
push 0x20
push eax
push 0x58
push edi
call esi
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x44]
push 3
lea ecx, [ebp - 0x14]
call fcn.3002128d
test eax, eax
je 0x300213fa
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x44]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x3002140b
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x30021405
mov byte [edx], 1
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop esi
leave
ret 4

Function at 0x40893d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
mov eax, dword [esp]
add esp, 4
mov esi, esi
call fcn.00408965
xor dword [ebx], eax
and ecx, ecx
sub esi, ecx
inc ebx
dec esi
sub esi, esi
cmp ebx, edi
jne fcn.0040893d
ret