joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b56ff10
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ecx, 0x13
push edi
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [esp + 0xb8]
lea edx, [esp + 0x3c]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 0x6a09e667
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x8c], eax
xor eax, eax
mov eax, 0x6b62cb20
mov edi, edx
mov dword [esp + 0x88], 0x20
test ebx, ebx
mov ebp, dword [esp + 0xb0]
cmove ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x20], 0xbb67ae85
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
test eax, eax
je 0x6b56ffb9
mov ecx, dword [esp + 0xb4]
mov edx, ebp
mov eax, esi
call sym._SHA256_Update.part.0
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_SHA256_Final
mov dword [esp + 4], 0x70
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov eax, dword [esp + 0x8c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b56fff1
add esp, 0x9c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]
Function at 0x6b583310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp], 0x18
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov dword [esp + 8], 0x206
mov dword [esp + 4], str.crypto_store_store_lib.c
call sym.libcrypto_1_1.dll_CRYPTO_zalloc
mov ebx, eax
test eax, eax
je 0x6b583450
test esi, esi
je 0x6b583364
mov dword [esp], esi
call sym.libcrypto_1_1.dll_EVP_MD_size
cmp eax, edi
jne 0x6b583390
mov dword [ebx], 3
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], edi
mov eax, dword [esp + 0x4c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b583481
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call sym.libcrypto_1_1.dll_EVP_MD_size
lea edx, [esp + 0x24]
mov dword [esp + 8], 0x6b617558
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x14
call sym.libcrypto_1_1.dll_BIO_snprintf
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], edi
mov dword [esp], ecx
mov dword [esp + 8], 0x6b61755b
mov dword [esp + 4], 0x14
call sym.libcrypto_1_1.dll_BIO_snprintf
mov dword [esp + 0x10], 0x213
mov dword [esp + 0xc], str.crypto_store_store_lib.c
mov dword [esp + 8], 0x79
mov dword [esp + 4], 0x88
mov dword [esp], 0x2c
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp], esi
call sym.libcrypto_1_1.dll_EVP_MD_type
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OBJ_nid2sn
lea ecx, [esp + 0x38]
lea edx, [esp + 0x24]
mov dword [esp + 0x10], str.__fingerprint_size_is
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], str._size_is
mov dword [esp + 4], eax
mov dword [esp], 5
call sym.libcrypto_1_1.dll_ERR_add_error_data
jmp 0x6b583364
mov dword [esp + 0x10], 0x209
mov dword [esp + 0xc], str.crypto_store_store_lib.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x88
mov dword [esp], 0x2c
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b583373
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]

Function at 0x6b583810
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.libcrypto_1_1.dll_OPENSSL_LH_strhash

Function at 0x6b584260
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
mov dword [edx], eax
setne al
add esp, 0xc
movzx eax, al
ret

Function at 0x6b584280
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x6b5842c0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
setne al
add esp, 0x1c
movzx eax, al
ret

Function at 0x6b586ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.libcrypto_1_1.dll_ASN1_INTEGER_set

Function at 0x6b5895f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.libcrypto_1_1.dll_ASN1_INTEGER_set

Function at 0x6b589cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp sym.libcrypto_1_1.dll_ASN1_INTEGER_set
Function at 0x6b5a27f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push ebx
sub esp, 4
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x6b5a282b
mov eax, dword [ebx]
test eax, eax
je 0x6b5a2820
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
add esp, 4
pop ebx
pop esi
jmp sym.libcrypto_1_1.dll_ASN1_INTEGER_set
call sym.libcrypto_1_1.dll_ASN1_INTEGER_new
mov dword [ebx], eax
test eax, eax
jne 0x6b5a2807
add esp, 4
xor eax, eax
pop ebx
pop esi
ret

Function at 0x6b5a3970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x6b5a3990
mov dword [eax + 8], 1
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
jmp sym.libcrypto_1_1.dll_ASN1_INTEGER_set
xor eax, eax
ret
Function at 0x6b5bf400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x10]
cmp ebp, 0x10
je 0x6b5bf43e
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x6b5bf460
mov eax, dword [ebx + 0x14]
cmp eax, 0xffffffff
je 0x6b5bf510
cmp ebp, eax
je 0x6b5bf513
xor eax, eax
mov edx, dword [esp + 0x4c]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b5bf57e
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x74], 4
jle 0x6b5bf528
cmp ebp, 0xc
jg 0x6b5bf43e
mov eax, dword [esp + 0x74]
cmp byte [ecx + eax], 0
jne 0x6b5bf43e
lea eax, [esp + 0x48]
mov dword [esp + 4], str._d._d._d._d
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp], ecx
call sym._sscanf
cmp eax, 4
jne 0x6b5bf43e
mov eax, dword [esp + 0x3c]
cmp eax, 0xff
ja 0x6b5bf43e
mov ecx, dword [esp + 0x40]
cmp ecx, 0xff
ja 0x6b5bf43e
mov esi, dword [esp + 0x44]
cmp esi, 0xff
ja 0x6b5bf43e
mov edi, dword [esp + 0x48]
cmp edi, 0xff
ja 0x6b5bf43e
lea edx, [ebx + ebp]
mov byte [edx], al
mov eax, esi
mov byte [edx + 2], al
mov eax, edi
mov byte [edx + 3], al
mov eax, 1
mov byte [edx + 1], cl
add dword [ebx + 0x10], 4
jmp 0x6b5bf440
mov dword [ebx + 0x14], ebp
add dword [ebx + 0x18], 1
mov eax, 1
jmp 0x6b5bf440
mov edi, ecx
xor eax, eax
jmp 0x6b5bf543
mov ecx, dword [esp + 0x2c]
movsx eax, al
or eax, esi
mov esi, ecx
sub esi, edi
add esi, dword [esp + 0x74]
je 0x6b5bf568
shl eax, 4
add edi, 1
mov dword [esp + 0x2c], ecx
mov esi, eax
movzx eax, byte [edi - 1]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_hexchar2int
test eax, eax
jns 0x6b5bf530
jmp 0x6b5bf43e
rol ax, 8
mov word [ebx + ebp], ax
mov eax, 1
add dword [ebx + 0x10], 2
jmp 0x6b5bf440
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]

Function at 0x6b5c23e0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
cmp ecx, 0
je 0x6b5c240b
mov dl, byte [esi]
lea esi, [esi + 1]
xor dl, byte [edi]
lea edi, [edi + 1]
or al, dl
dec ecx
jne 0x6b5c23f7
neg eax
shr eax, 0x1f
pop edi
pop esi
ret

Function at 0x6b5c25d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov dword [esp + 4], 0x6b62cd40
mov dword [esp], 0x6b620e00
call sym._OPENSSL_showfatal
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 8
add esp, 0x1c
ret
Function at 0x6b5c2ae0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x6b5c2b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6b62d9d8]
test esi, esi
jle 0x6b5c2c40
mov eax, dword [0x6b62d9dc]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6b5c2b70
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6b5c2bef
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6b5c2b60
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x6b5c2c67
mov eax, dword [0x6b62d9dc]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x6b62d9dc]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6b5c2c47
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6b5c2be8
sub eax, 4
and eax, 0xfffffffb
jne 0x6b5c2bf6
add dword [0x6b62d9d8], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x6b62d9dc]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6b5c2be8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
xor esi, esi
jmp 0x6b5c2b7a
mov eax, dword [0x6b62d9dc]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x39617449
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4c6d39e3
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100257dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100257ec
pop dword [ebp - 0x44]
mov eax, 0x100257ec
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xebd741e0
add dword [ebp - 0x54], 0x627b036b
mov dword [ebp - 0x50], 0x6f9164c2
sub dword [ebp - 0x50], 0x3d5e187d
mov dword [ebp - 0x4c], 0x6e723f8c
add dword [ebp - 0x4c], 0xddda04a2
mov dword [ebp - 0x48], 0xab6b124e
sub dword [ebp - 0x48], 0xab6b124e
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xe9006d30
sub dword [ebp - 0x54], 0x748e03da
mov dword [ebp - 0x50], 0xaa73b238
add dword [ebp - 0x50], 0x96f8af3d
mov dword [ebp - 0x4c], 0x9c6ba9dc
add dword [ebp - 0x4c], 0xc703c290
mov dword [ebp - 0x48], 0x96e202a5
add dword [ebp - 0x48], 0x691dfd5b
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xe817431f
sub eax, 0xd8145233
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x48284
push 0
call eax
mov ecx, 0x5537
xor edi, edi
add edi, eax
mov edx, 0x10046400
add edx, dword [ebp - 0x44]
mov esi, 0x33bb09da
add esi, 0x450cabec
xor dword [ebp - 0x38], ebx
mov ebx, dword [edx]
mov dword [ebp - 0x38], 0xc9ed61c3
sub ebx, esi
add dword [ebp - 0x14], 0x5c2a6184
mov dword [edi], ebx
xor dword [ebp - 0x2c], eax
add edi, 0x30e4899d
add edi, 0xcf1b7667
add edx, 4
loop 0x100258fa
add eax, 0xdd00bbae
sub eax, 0xdcff73ff
mov ebx, eax
add eax, 5
mov ecx, 0x4a6453a5
sub ecx, 0x3a6453a5
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

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

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x40e27b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b548]
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.00409431
mov dword [ebp - 0x14], eax
cmp dword [0x456f5c], esi
jne 0x40e36e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e2fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e44e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e44e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e44e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x456f5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x456f60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x456f64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456f6c], eax
test eax, eax
je 0x40e36b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456f68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e393
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e386
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e3a8
push 4
pop eax
jmp 0x40e450
cmp dword [ebp - 0x14], esi
je 0x40e3a8
push dword [0x456f5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e38d
mov eax, dword [0x456f68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e406
cmp dword [0x456f6c], edi
je 0x40e406
push eax
call ebx
push dword [0x456f6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e406
test eax, eax
je 0x40e406
call ecx
test eax, eax
je 0x40e3fb
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 0x40e3fb
test byte [ebp - 8], 1
jne 0x40e406
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e436
mov eax, dword [0x456f60]
cmp eax, edi
je 0x40e433
push eax
call ebx
test eax, eax
je 0x40e433
call eax
mov esi, eax
test esi, esi
je 0x40e433
mov eax, dword [0x456f64]
cmp eax, edi
je 0x40e433
push eax
call ebx
test eax, eax
je 0x40e433
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x456f5c]
call ebx
test eax, eax
je 0x40e44e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e450
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404483
mov esp, ebp
pop ebp
ret
Function at 0x4035f9
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x21c
mov eax, 0x41ff63
call fcn.00408f76
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov byte [edi + 0x14], cl
lea ecx, [ebp - 0x224]
push eax
call fcn.0040301e
push ecx
push ecx
xor ebx, ebx
mov edx, esp
mov dword [ebp - 4], ebx
mov eax, dword [eax]
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x220]
mov dword [edx], eax
call fcn.0040616f
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.0040264e
mov cl, byte [edi + 0x14]
xor eax, eax
mov edx, dword [ebp - 0x220]
or dword [edi + 4], 0xffffffff
add edx, 0xc
or dword [edi + 8], 0xffffffff
test cl, cl
push ebx
push 0x80
setne al
mov dword [edi + 0xc], ebx
add eax, 2
test cl, cl
push eax
push ebx
push 3
pop eax
push 1
pop esi
cmovne eax, esi
mov esi, 0x80000000
push eax
mov eax, 0xc0000000
cmovne eax, esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x40379e
cmp byte [0x439c14], bl
jne 0x4036b4
call fcn.004039f0
mov esi, dword [0x439c0c]
test esi, esi
je 0x403712
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.0040a4b0
add esp, 0xc
cmp byte [0x439c14], 0
jne 0x4036e7
call fcn.004039f0
mov esi, dword [0x439c0c]
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 4]
call esi
push ecx
push ecx
lea edx, [ebp - 0x214]
mov ecx, esp
call fcn.004010fc
lea ecx, [edi + 0x18]
call fcn.00403101
jmp 0x40372a
lea ecx, [edi + 0x18]
lea eax, [ebp - 0x220]
cmp eax, ecx
je 0x40372a
push dword [ebp - 0x220]
call fcn.00403c07
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov cl, byte [edi + 0x14]
xor edx, edx
push ebx
mov dword [edi + 0x10], eax
test cl, cl
mov eax, 0x10000000
cmovne eax, edx
push eax
push ebx
push 4
pop eax
push 2
pop esi
cmovne eax, esi
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp dword [edi + 4], 0xffffffff
mov dword [edi + 8], eax
je 0x403773
test eax, eax
jne 0x403777
mov ecx, edi
call fcn.004037b3
jmp 0x40379e
test eax, eax
je 0x40378f
cmp byte [edi + 0x14], 0
push ebx
push ebx
push ebx
push 4
pop ecx
cmovne esi, ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0xc], eax
cmp dword [edi + 0xc], ebx
jne 0x40379b
mov ecx, edi
call fcn.004037b3
mov ebx, dword [edi + 0xc]
lea ecx, [ebp - 0x220]
call fcn.0040264e
mov eax, ebx
call fcn.00408f34
ret 8
Function at 0x4039f0
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x420012
call fcn.00408f76
cmp byte [0x439c14], 0
je 0x403a17
cmp dword [0x439c0c], 0
setne al
jmp 0x403b1b
push dword [0x439c04]
lea ecx, [ebp - 0x21c]
mov byte [0x439c14], 1
call fcn.0040301e
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00403582
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, eax
call fcn.00403c41
test eax, eax
je 0x403a58
mov eax, dword [eax]
mov dword [0x439c10], eax
jmp 0x403adb
xor eax, eax
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x403b0e
push 0x427a04
mov esi, 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00410607
push dword [0x439c04]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00410607
add esp, 0x18
lea eax, [ebp - 0x218]
push 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [0x439c10], esi
call fcn.00403582
push 1
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, eax
call fcn.00403c41
mov dword [eax], esi
mov eax, dword [0x439c10]
test eax, eax
je 0x403b04
push dword [0x439c08]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x439c0c], eax
test eax, eax
jne 0x403b0b
mov eax, ebx
mov dword [0x439c10], ebx
mov dword [0x439c0c], eax
jmp 0x403b09
mov eax, dword [0x439c0c]
test eax, eax
setne bl
lea ecx, [ebp - 0x21c]
call fcn.0040264e
mov al, bl
call fcn.00408f34
ret