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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426238
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x430304]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x407251
cmp byte [edi + 0x49], bl
je 0x407251
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x407245
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4071a5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4071bd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4071e6
dec eax
je 0x4071ea
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x407240
jmp 0x40724c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4071fa
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x407223
cmp ebx, 0x10
jae 0x407209
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0040ff13
add esp, 0x10
cmp esi, eax
jne 0x40723d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x407249
test esi, esi
jne 0x4071b1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004066b0
jmp 0x4071ab
lea ecx, [ebp - 0x2c]
call fcn.00402150
xor al, al
jmp 0x407253
lea ecx, [ebp - 0x2c]
call fcn.00402150
mov al, 1
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.0040e376
mov esp, ebp
pop ebp
ret
Function at 0x408230
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425f2b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x430304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00420b25
push 4
mov dword [ebp - 4], 0
call fcn.0040ee52
mov edi, eax
add esp, 4
test edi, edi
je 0x4082b0
call fcn.00420703
mov dword [edi], eax
call fcn.004204c2
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004203f7
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4082a6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042041f
jmp 0x4082b2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x409af0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, eax
push edi
mov edx, esi
call fcn.0040add0
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jl 0x409c50
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push ebx
push ebx
push 0x80000001
mov dword [ebp - 0x1c], 0x80000001
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x10], bl
call edi
test eax, eax
jne 0x409b3c
mov byte [ebp - 0x10], 1
mov edx, dword [ebp - 0x18]
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareJavaSoftAuto_Update_
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x409b67
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x10], bl
je 0x409b7d
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x409b7d
mov byte [ebp - 0x10], bl
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push 0xf003f
push ebx
push str.SoftwareJavaSoftAuto_Update_
push eax
call edi
cmp eax, ebx
jne 0x409c5a
movzx ecx, byte [esi + 0xf]
movzx edx, byte [esi + 0xe]
movzx eax, byte [esi + 0xd]
push ecx
movzx ecx, byte [esi + 0xc]
push edx
movzx edx, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push ecx
movzx ecx, byte [esi + 9]
push edx
movzx edx, byte [esi + 8]
push eax
movzx eax, word [esi + 6]
push ecx
movzx ecx, word [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea edi, [esi + 0x10]
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push edi
mov byte [ebp - 0x10], 1
call fcn.0040f00c
mov eax, edi
add esp, 0x34
mov dword [ebp - 0x30], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x409bf0
mov ecx, dword [ebp - 8]
sub eax, edx
lea edx, [edi + eax + 1]
push ecx
push edx
lea eax, [ebp - 0x2c]
push eax
mov edx, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.0040a5f0
mov edx, str.AUTransferId
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x1c]
call fcn.00402e30
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub ecx, esi
push ecx
mov ecx, dword [eax + 0x10]
push esi
push edx
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, ebx
je 0x409c50
push esi
call fcn.0040e8d9
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409e50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax + 0x50]
sub esp, 0x14
push esi
push edx
call fcn.0040ae60
mov esi, eax
test esi, esi
js 0x409eb6
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareJavaSoftAuto_Update_
push 0x80000001
mov dword [ebp - 0x14], 0x80000001
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409eb1
mov ecx, dword [ebp - 0x10]
push str.AUTransferId
push ecx
mov byte [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SoftwareJavaSoftAuto_Update_
push 0x80000001
mov dword [ebp - 0x18], 0x80000001
mov dword [ebp - 8], ebx
mov byte [ebp - 0xc], bl
call esi
cmp eax, ebx
jne 0x40a16d
mov byte [ebp - 0xc], 1
jmp 0x40a1cc
cmp byte [ebp - 0xc], bl
je 0x40a183
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a183
mov byte [ebp - 0xc], bl
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push ebx
push ebx
push eax
call esi
test eax, eax
jne 0x40a19c
mov byte [ebp - 0xc], 1
mov edx, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareJavaSoftAuto_Update_
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a1c7
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xc], bl
je 0x40a1dd
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a1dd
mov byte [ebp - 0xc], bl
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push ebx
push str.SoftwareJavaSoftAuto_Update_
push eax
call esi
test eax, eax
jne 0x40a1fa
mov byte [ebp - 0xc], 1
mov eax, edi
mov dword [ebp - 0x2c], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40a206
mov ecx, dword [ebp - 4]
sub eax, edx
lea edx, [eax + edi + 1]
push ecx
push edx
lea eax, [ebp - 0x28]
push eax
mov edx, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040a5f0
mov edx, str.AUChecksum
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x18]
call fcn.00402e30
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
sub ecx, esi
push ecx
mov ecx, dword [eax + 0x10]
push esi
push edx
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, ebx
je 0x40a266
push esi
call fcn.0040e8d9
add esp, 4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a3a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x40a3bf
cmp dword [ebp + 0xc], ebx
jne 0x40a3c4
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], ebx
jmp 0x40a3cb
mov dword [ebp + 8], 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push ebx
push str.SoftwareJavaSoftAuto_Update_
push 0x80000001
mov dword [ebp - 0x14], 0x80000001
mov dword [ebp - 4], ebx
mov byte [ebp - 8], bl
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x40a406
mov byte [ebp - 8], 1
jmp 0x40a45d
cmp byte [ebp - 8], bl
je 0x40a418
mov ecx, dword [ebp - 0x10]
push ecx
call edi
test eax, eax
jne 0x40a418
mov byte [ebp - 8], bl
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0xf003f
push ebx
push ebx
push eax
call esi
test eax, eax
jne 0x40a431
mov byte [ebp - 8], 1
mov edx, dword [ebp - 0x10]
push ebx
lea ecx, [ebp + 0xc]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareJavaSoftAuto_Update_
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a458
mov eax, dword [ebp + 0xc]
push eax
call edi
cmp byte [ebp - 8], bl
je 0x40a46a
mov ecx, dword [ebp - 0x10]
push ecx
call edi
test eax, eax
jne 0x40a46a
mov byte [ebp - 8], bl
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0xf003f
push ebx
push str.SoftwareJavaSoftAuto_Update_
push eax
call esi
test eax, eax
jne 0x40a487
mov byte [ebp - 8], 1
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp + 8]
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040a5f0
mov edx, str.AUIsMSP
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.00402e30
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
sub edx, esi
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 4]
push esi
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, ebx
je 0x40a4eb
push esi
call fcn.0040e8d9
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40d0a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426bd7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x430304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x42c354
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov dword [ebx + edx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.00403a70
lea esi, [ebx + 0x10]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00408e50
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x40d137
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.004010a0
mov dword [ebp - 4], 2
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [ebx + edx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.00408230
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x432b38]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d2d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426977
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x430304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x42b920
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.00403a70
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00408e50
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x40d361
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.004010a0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.00408230
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x432b38]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e376
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430304]
jne 0x40e380
repz ret
jmp fcn.00411029
Function at 0x41bc0d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430304]
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.00411ef9
and dword [ebp - 0x14], 0
cmp dword [0x432848], 0
mov dword [ebp - 0x18], eax
jne 0x41bcc0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41bd68
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41bd68
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x432848], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43284c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x432850], eax
call edi
push eax
call esi
mov dword [0x432858], eax
test eax, eax
je 0x41bcc0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x432854], eax
mov eax, dword [0x432854]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41bd19
cmp dword [0x432858], ecx
je 0x41bd19
push eax
call esi
push dword [0x432858]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41bd19
test ebx, ebx
je 0x41bd19
call edi
test eax, eax
je 0x41bd10
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41bd10
test byte [ebp - 8], 1
jne 0x41bd19
or dword [ebp + 0x10], 0x200000
jmp 0x41bd4c
mov eax, dword [0x43284c]
cmp eax, dword [ebp - 0x18]
je 0x41bd4c
push eax
call esi
test eax, eax
je 0x41bd4c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41bd4c
mov eax, dword [0x432850]
cmp eax, dword [ebp - 0x18]
je 0x41bd4c
push eax
call esi
test eax, eax
je 0x41bd4c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432848]
call esi
test eax, eax
je 0x41bd68
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41bd6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e376
leave
ret
Function at 0x100013e0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x1000e760]
mov esi, ecx
test edi, edi
jne 0x100014c3
mov ecx, 0x85
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10009248]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x1000142d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x10001410
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x72657375
push eax
mov dword [ebp - 0x10], 0x642e3233
mov word [ebp - 0xc], 0x6c6c
mov byte [ebp - 0xa], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov word [ebp - 0xc], 0
mov byte [ebp - 0xa], 0
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
mov byte [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
cmp ebx, 0x1000
jbe 0x100014ba
push 7
call fcn.10007565
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [ebx]
lea eax, [edi + 2]
sub ebx, eax
mov word [edi], cx
sub ebx, 3
mov byte [eax], 0xe9
mov dword [eax + 1], ebx
jmp 0x100014bc
xor edi, edi
mov dword [0x1000e760], edi
pop ebx
push esi
mov dword [0x1000d524], edi
call edi
cwde
shr eax, 0x10
test eax, eax
je 0x10001514
cmp byte [esi*8 + 0x1000df58], 0
je 0x100014f7
cmp dword [esi*8 + 0x1000df5c], 0
je 0x1000151c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi*8 + 0x1000df5c], eax
ja 0x1000151c
pop edi
mov byte [esi*8 + 0x1000df58], 1
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007464
mov esp, ebp
pop ebp
ret
mov byte [esi*8 + 0x1000df58], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10007464
mov esp, ebp
pop ebp
ret
Function at 0x10003eb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1000d4cc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [0x1000d514], eax
lea edi, [eax + 0x10]
cmp edi, 0x1000
jbe 0x10003f04
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x3c]
cmp edi, 0x1000
jbe 0x10003f31
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x40]
cmp edi, 0x1000
jbe 0x10003f5e
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x44]
cmp edi, 0x1000
jbe 0x10003f8b
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x48]
cmp edi, 0x1000
jbe 0x10003fb8
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x4c]
cmp edi, 0x1000
jbe 0x10003fe5
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x50]
cmp edi, 0x1000
jbe 0x10004012
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x54]
cmp edi, 0x1000
jbe 0x1000403f
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
lea edi, [eax + 0x58]
cmp edi, 0x1000
jbe 0x1000406c
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10002890
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x1000d514]
cmp dword [0x1000d504], 0
jne 0x100040ab
lea edi, [eax + 0x34]
push ebx
cmp edi, 0x1000
jbe 0x100040a2
mov ebx, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], 0x10002980
push eax
push dword [ebp - 8]
push 4
push edi
call esi
jmp 0x100040a4
xor ebx, ebx
mov dword [0x1000d504], ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10007464
mov esp, ebp
pop ebp
ret