joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fb6e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f483
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101bb518]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100fb72c
mov eax, 0xc0000022
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, ebx
push 1
push 1
call dword [eax + 0x48]
test eax, eax
js 0x100fb81d
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.1002fc50
mov esi, eax
test esi, esi
jns 0x100fb7a5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1002fc50
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
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002fc50
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002fc50
mov esi, dword [ebp - 0x10]
cmp esi, dword [eax]
setne al
test al, al
je 0x100fb80c
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [0x101cabb4]
add eax, 0xc
mov ecx, dword [ebx + 4]
push eax
push ecx
test edx, edx
je 0x100fb7e8
call edx
jmp 0x100fb7ee
call dword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov edi, eax
test edi, edi
js 0x100fb82f
mov esi, dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002fc50
cmp esi, dword [eax]
setne al
test al, al
jne 0x100fb7d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1002fc50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1002fc50
mov eax, edi
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 0x100fbb30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101bb518]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x101caba8]
test eax, eax
je 0x100fbbaa
lea ecx, [ebp - 0x30]
push ecx
push 1
lea ecx, [ebp + 8]
push ecx
call eax
jmp 0x100fbbba
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
mov esi, eax
test esi, esi
js 0x100fbc88
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov eax, dword [0x101cabac]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x2c]
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100fbbf9
lea esi, [ebp - 0x10]
push esi
push ecx
push edx
push 0
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 8]
call eax
jmp 0x100fbc0e
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
cmp esi, 0xc0000034
je 0x100fbc86
test esi, esi
jns 0x100fbcae
cmp esi, 0x80000005
je 0x100fbc30
cmp esi, 0xc0000023
jne 0x100fbc88
push dword [ebp - 0x10]
lea ecx, [edi + 0x24]
call fcn.1002fc50
mov esi, eax
test esi, esi
js 0x100fbc88
mov eax, dword [0x101cabac]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x2c]
test eax, eax
je 0x100fbc63
lea esi, [ebp - 0x10]
push esi
push ecx
push edx
push 0
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 8]
call eax
jmp 0x100fbc78
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test esi, esi
jns 0x100fbcae
cmp esi, 0xc0000034
jne 0x100fbc88
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x100fbcce
cmp byte [0x101ca990], 0
jne 0x100fbcce
mov ecx, dword [0x101cab8c]
push eax
test ecx, ecx
je 0x100fbcc1
call ecx
jmp 0x100fbcc7
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x10000
je 0x100fbc86
mov esi, 0xc0000034
jmp 0x100fbc88
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [ebp + 8], 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 4
Function at 0x101116cd
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x10151d44
call fcn.10119a04
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x101117c5
cmp byte [esi + 0x46], bl
je 0x101117c5
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x10111709
xor al, al
jmp 0x101117c7
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.1002fc50
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x10111736
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1011175d
dec eax
je 0x10111761
dec eax
dec eax
je 0x101117b3
xor bl, bl
jmp 0x101117b5
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x10111771
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x10111799
cmp eax, 0x10
jae 0x10111780
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.1011d718
add esp, 0x10
cmp ebx, eax
jne 0x10111759
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x101117b3
test ebx, ebx
jne 0x1011172a
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.1002fc50
jmp 0x10111724
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1002fc50
mov al, bl
jmp 0x101117c7
mov al, 1
call fcn.101199c2
ret
Function at 0x10111be0
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x10151d96
call fcn.10119a04
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, 0xffff
cmp si, bx
jne 0x10111c02
xor eax, eax
jmp 0x10111d8a
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x10111c2e
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x10111c2e
dec dword [edx]
mov ax, bx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x10111d8a
cmp dword [edi + 0x50], 0
je 0x10111d87
mov ecx, edi
call fcn.1011186e
xor ecx, ecx
cmp dword [edi + 0x40], ecx
jne 0x10111c61
push dword [edi + 0x50]
push ebx
call fcn.1002fc50
pop ecx
pop ecx
test al, al
je 0x10111d87
movzx esi, bx
jmp 0x10111d87
push ecx
movzx eax, bx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0xf
call fcn.1002fc50
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
cmp ecx, 0x10
jae 0x10111c94
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp ecx, 0x10
jae 0x10111ca2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x32]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x48]
push eax
call dword [edx + 0x1c]
mov ebx, dword [ebp + 8]
test eax, eax
js 0x10111d7b
cmp eax, 1
jg 0x10111d5f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
cmp ecx, 0x10
jb 0x10111cef
mov dword [ebp - 0x2c], eax
jmp 0x10111cf5
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
je 0x10111d27
cmp ecx, 0x10
jae 0x10111d08
lea eax, [ebp - 0x28]
push dword [edi + 0x50]
push edx
push 1
push eax
call fcn.1011d718
mov edx, dword [ebp - 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x10111d57
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea ebx, [ebp - 0x34]
mov byte [edi + 0x46], 1
cmp dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
jne 0x10111d54
test edx, edx
jne 0x10111c8c
cmp dword [ebp - 0x18], 0x20
jae 0x10111d5a
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.1002fc50
jmp 0x10111c83
movzx esi, bx
movzx esi, si
movzx esi, si
jmp 0x10111d78
cmp eax, 3
jne 0x10111d7b
push dword [edi + 0x50]
push dword [ebp - 0x34]
call fcn.1002fc50
pop ecx
pop ecx
test al, al
je 0x10111d78
movzx esi, bx
movzx esi, si
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1002fc50
mov ax, si
call fcn.101199c2
ret 4
Function at 0x401920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov dword [ebp - 0xc], 0
jmp 0x40193b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x100
jge 0x401953
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0xc]
mov byte [ebp + ecx - 0x114], dl
jmp 0x401932
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
jmp 0x401969
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4019d8
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x114]
add ecx, eax
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x4019a3
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
mov eax, dword [ebp - 8]
mov cl, byte [ebp + eax - 0x114]
mov byte [ebp - 3], cl
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 8]
mov cl, byte [ebp + edx - 0x114]
mov byte [ebp + eax - 0x114], cl
movzx edx, byte [ebp - 1]
mov al, byte [ebp - 3]
mov byte [ebp + edx - 0x114], al
jmp 0x401960
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 0
jmp 0x4019f2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0x10]
jge 0x401abb
movzx eax, byte [ebp - 2]
add eax, 1
and eax, 0x800000ff
jns 0x401a13
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp + edx - 0x114]
add ecx, eax
and ecx, 0x800000ff
jns 0x401a38
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx ecx, byte [ebp - 2]
mov dl, byte [ebp + ecx - 0x114]
mov byte [ebp - 4], dl
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 2]
mov dl, byte [ebp + eax - 0x114]
mov byte [ebp + ecx - 0x114], dl
movzx eax, byte [ebp - 1]
mov cl, byte [ebp - 4]
mov byte [ebp + eax - 0x114], cl
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp + edx - 0x114]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp + ecx - 0x114]
add eax, edx
and eax, 0x800000ff
jns 0x401a95
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + eax - 0x114]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], al
jmp 0x4019e9
mov esp, ebp
pop ebp
ret

Function at 0x403650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.WRONG___
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.ucrtbased.dll_exit]
mov esp, ebp
pop ebp
ret

Function at 0x403670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.CORRECT___
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.ucrtbased.dll_exit]
mov esp, ebp
pop ebp
ret
Function at 0x4057f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov byte [ebp - 0x34], 0x8c
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x3c
mov byte [ebp - 0x31], 0xf8
mov byte [ebp - 0x30], 0x98
mov byte [ebp - 0x2f], 0x33
mov byte [ebp - 0x2e], 0xc7
mov byte [ebp - 0x2d], 0x92
mov byte [ebp - 0x2c], 0x6a
mov byte [ebp - 0x2b], 0x4b
mov byte [ebp - 0x2a], 0xcc
mov byte [ebp - 0x29], 0xd9
mov byte [ebp - 0x28], 0x13
mov byte [ebp - 0x27], 0x4b
mov byte [ebp - 0x26], 0x68
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0x19
mov byte [ebp - 0x23], 0x62
mov byte [ebp - 0x22], 0xdb
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], 0xc9
mov byte [ebp - 0x1f], 0xb5
mov byte [ebp - 0x1e], 0xdf
mov byte [ebp - 0x1d], 0xf0
mov byte [ebp - 0x1c], 0x56
mov byte [ebp - 0x1b], 0x8d
mov byte [ebp - 0x1a], 0xb1
mov byte [ebp - 0x19], 0x21
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0xf0
mov byte [ebp - 0x16], 0xed
mov byte [ebp - 0x15], 0x69
mov byte [ebp - 0x14], 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.00405320
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 2]
test eax, eax
je 0x4058cf
mov dword [ebp - 8], 0x48
mov dword [ebp - 4], 0
jmp 0x4058af
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x21
jae 0x4058cf
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x34]
mov byte [edx], cl
mov edx, dword [ebp - 8]
add edx, 7
mov dword [ebp - 8], edx
jmp 0x4058a6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405f90
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x88], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x88], 0xbb67ae85
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x88], 0x3c6ef372
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x88], 0xa54ff53a
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x88], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x88], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x88], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x88], 0x5be0cd19
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x4023b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push esi
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x543fdc], 1
mov esi, eax
jne 0x40241e
mov ecx, dword [esi + 4]
lea edx, [esp + 8]
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
push str.MessageLoop::TYPE_UI__loop__type__
mov dword [esp + 0x10], 1
call fcn.00405ce0
add esp, 4
test eax, eax
je 0x40241c
push eax
push 3
push 0x1e0
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.h
lea ecx, [esp + 0x20]
call fcn.0040ec90
lea ecx, [esp + 0x10]
call fcn.0040f1c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8a1c
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push ebx
push esi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.004023b0
cmp dword [0x543fdc], 1
mov esi, eax
jne 0x40258c
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push str.this__current__
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.00414e00
add esp, 4
test eax, eax
je 0x40258c
push eax
push 3
push 0x11f
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0xc8]
call fcn.0040ec90
lea ecx, [ebp - 0xc8]
call fcn.0040f1c0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x4025ab
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x543fdc], 1
jne 0x4025f3
push 3
push 0x126
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0x178]
call fcn.0040eda0
mov dword [ebp - 4], 0
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x10], ebx
call fcn.00405a30
mov edx, str.Must_be_inside_Run_to_call_Quit
mov ecx, eax
call fcn.00405a30
test bl, 1
je 0x402603
lea ecx, [ebp - 0x178]
call fcn.0040f1c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8fa7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov dword [ebx], 0x513674
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00402100
push 8
call fcn.004d1720
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.004cfede
add esp, 4
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
mov ecx, edi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
push 0x20
mov dword [edi + 0x3c], 0
call fcn.00407ee0
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x4063a5
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.00402100
mov dword [ebp - 4], 3
lea edi, [ebx + 4]
mov eax, dword [ebx]
push 8
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004d1720
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 4
call fcn.004cfede
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 4
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x407d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f91b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004d1720
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004cfede
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov al, byte [ebp + 0x10]
mov byte [esi + 8], al
lea eax, [ebp + 0x10]
push eax
push 0
push esi
push 0x408950
push 0
push 0
mov dword [ebp + 0x10], 0
call fcn.004daa4c
add esp, 0x18
mov dword [esi + 0xc], eax
cmp dword [esi + 4], 0
jne 0x4089b8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x40a9a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x53f084]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0040a8f0
mov esi, eax
test esi, esi
jne 0x40aa97
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x40aa69
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.0040a9a0
mov esi, eax
test esi, esi
jne 0x40aa97
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x40aa30
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40aa80
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.0040a810
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40aaa6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004d170a
mov esp, ebp
pop ebp
ret 4