joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c89fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c8a13
add esp, 0xfffffff0
call fcn.00408c00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c0b50
mov eax, dword [0x5e5c94]
cmp byte [eax], 0
jne 0x5c8a40
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x5e5ff8]
cmp word [eax + 2], 0
jne 0x5c8a5a
mov eax, dword [0x5e5ff8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005caec0
mov eax, dword [0x5e6134]
cmp word [eax + 2], 0
jne 0x5c8a74
mov eax, dword [0x5e6134]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005cb2d8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x507e40]
call fcn.0050e9bc
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5cb884
mov dl, 1
mov eax, dword [0x480154]
call fcn.004085e4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x480154]
call fcn.004085e4
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x50cfb0]
call fcn.00518fd0
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5c8c64
mov eax, dword [0x5e5e9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005194ec
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5cbb70
mov dl, 1
mov eax, dword [0x480154]
call fcn.004085e4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5e5e9c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00425f24
test eax, eax
je 0x5c8b87
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00425d7c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00425f08
test eax, eax
je 0x5c8b9f
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040aebc
push ebx
push 0x5ca894
call fcn.005bce90
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5e5c94]
cmp byte [eax], 0
jne 0x5c8bf0
mov eax, ebx
call fcn.005c8e2c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005cbf18
mov eax, ebx
call fcn.005cca54
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c8c5b
call fcn.00408c58
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c915c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5c91fe
cmp dword [ebx + 0xac], 0
jne 0x5c91f8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c909c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c91f8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c91be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c91f8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aac00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c91cd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c9540
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5edc10]
cmp dword [eax + 0x190], 0
je 0x5c96a9
test bl, bl
jne 0x5c95fc
cmp dword [esi + 0xb4], 0
jne 0x5c95f1
mov eax, esi
call fcn.005cc8a4
push eax
push 0x5c9440
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c95c2
mov eax, dword [0x5edc10]
cmp byte [eax + 0xeb], 0
je 0x5c95c2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c95a3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c95c2
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c95ab
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c95f1
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aac00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c95d1
inc dword [esi + 0xb4]
jmp 0x5c96a9
cmp dword [esi + 0xb4], 0
jle 0x5c96a9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c96a9
cmp dword [esi + 0x58], 0
je 0x5c965e
mov eax, dword [0x5edc10]
cmp byte [eax + 0xeb], 0
je 0x5c965e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c963f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c965e
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c9647
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c968d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aac00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c966d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b9988]
call fcn.0040d1b8
pop edi
pop esi
pop ebx
ret
Function at 0x5ca4a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5ca4fd
cmp byte [ebx + 0xeb], 0
jne 0x5ca4fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a554
mov eax, dword [esi]
test eax, eax
je 0x5ca4ea
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ca50a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a7ac
jmp 0x5ca50a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a7ac
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cc12c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5cc19d
mov eax, esi
call fcn.0053e240
test al, al
je 0x5cc19d
mov eax, dword [ebx + 0x98]
call fcn.0053ddd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cc19d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5cc18e
push 0
mov eax, dword [ebx + 0x98]
call fcn.0053ddd8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00534010
jmp 0x5cc19d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cbf38
pop esi
pop ebx
ret
Function at 0x5d1cb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5d1d3e
mov eax, dword [ebx + 8]
call fcn.0053ddd8
mov ecx, eax
mov dl, 1
mov eax, dword [0x54af8c]
call fcn.005378bc
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.005505e4
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d1588
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0053ddd8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0053ddd8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5d1dc0
mov eax, dword [ebx + 8]
call fcn.0053ddd8
mov ecx, eax
mov dl, 1
mov eax, dword [0x54af8c]
call fcn.005378bc
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.005505e4
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d15d4
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0053ddd8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0053ddd8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5d1e3e
mov eax, dword [ebx + 8]
call fcn.0053ddd8
mov ecx, eax
mov dl, 1
mov eax, dword [0x54ba80]
call fcn.005378bc
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0053ddd8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0053ddd8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5d6920
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x32
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040af94
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040ae20
push eax
call sub.advapi32.dll_GetUserNameW
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040ae20
call fcn.0040a8b4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.0040af94
mov esp, ebp
pop ebp
ret

Function at 0x5d6abc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x5d6ae9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x5d6af4
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6af0
pop eax
jmp eax

Function at 0x5d6b44
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x5d6bf2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5d6bc6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x5d6c0c
lea eax, [ebp - 0x10]
call fcn.005d6920
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00424984
push dword [ebp - 0xc]
push 0x5d6cac
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040b0f4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040ac5c
mov eax, dword [ebp - 4]
call fcn.0040abd4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6bcd
pop eax
jmp eax

Function at 0x5d6cd4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a4b0
mov eax, dword [ebp - 8]
call fcn.0040a4b0
xor eax, eax
push ebp
push 0x5d6d93
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x502110]
call fcn.0050325c
mov dword [ebp - 0x10], eax
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00503344
lea eax, [ebp - 0x14]
mov edx, 0x5d6dac
call fcn.0040a7f4
cmp byte [ebp - 9], 0
je 0x5d6d43
lea eax, [ebp - 0x14]
mov edx, 0x5d6e14
call fcn.0040b014
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.005034a0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00503e00
mov eax, dword [ebp - 0x10]
call fcn.00503314
mov eax, dword [ebp - 0x10]
call fcn.00408614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6d9a
lea eax, [ebp - 0x14]
call fcn.0040a3bc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a41c
pop eax
jmp eax
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

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 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43cf4c
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43ccda
add eax, 0xd0b13db3
call fcn.0043cf6c
xor dword [esi], edi
inc esi
cmp esi, edx
jne fcn.0043cf4c
or ecx, ecx
add ecx, 0xae384e14
ret
Function at 0x405e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
cmp dword [ecx], edi
je 0x405e86
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
mov dword [ebp - 0x1c], eax
inc ecx
cmp ecx, 2
jae 0x405e90
lea eax, [edi + 1]
cmp eax, 2
jb 0x405e7d
mov dword [esi], edi
call fcn.00405c70
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x14], eax
call sym.plugin_container.exe_GetHandleVerifier
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00405c70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
call sym.plugin_container.exe_GetHandleVerifier
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x10]
call edi
mov edi, dword [esi]
call sym.plugin_container.exe_GetHandleVerifier
mov ebx, eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [section..00cfg]
mov ecx, ebx
push edi
mov edi, dword [ebp + 8]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x405e43
Function at 0x40a850
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.0042f540
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x436028]
cmp eax, 0xffffffff
je 0x40a882
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
jne 0x40a897
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee00
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, 0xfffffffc
lea edi, [ebp - 0x810]
push 0x800
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [0x436028]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1418], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
je 0x40a8d6
push ebx
call sub.mozglue.dll_void___cdecl_operator_delete___void__
add esp, 4
call fcn.0040abc0
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea eax, [ebp - 0x1410]
push 0xc00
push 0x436510
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edx, 0x100
mov al, 1
test al, al
je 0x40a959
mov ebx, 0xfffff400
xor eax, eax
mov esi, dword [edi]
test esi, esi
jne 0x40a926
add edi, 8
add ebx, 0xc
jne 0x40a916
jmp 0x40a949
cmp dword [ebp + ebx - 0x810], 0
je 0x40a91c
mov ecx, dword [edi + 4]
cmp ecx, dword [ebp + ebx - 0x808]
jne 0x40a91c
mov ecx, dword [ebp + ebx - 0x80c]
test ecx, ecx
je 0x40a91c
jmp 0x40a96c
cmp edx, 2
lea edi, [ebp - 0x810]
jb 0x40a959
dec edx
and al, 1
jmp 0x40a90b
push 2
push dword [ebp - 0x1418]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x40a882
mov dword [edi], 0
mov dword [ebp - 0x1414], edx
call dword [section..00cfg]
push esi
call ecx
mov edx, dword [ebp - 0x1414]
add esp, 4
mov al, 1
jmp 0x40a91c
Function at 0x40aca0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x43600c]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xc0], eax
mov dword [ecx], 0xffffffff
mov dword [ecx + 4], 0
mov eax, dword [0x436028]
cmp eax, 0xffffffff
je 0x40ace1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x40ace6
call fcn.0040a990
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437114]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x40ad3f
push 0x437114
call fcn.0042e6b7
add esp, 4
cmp dword [0x437114], 0xffffffff
jne 0x40ad3f
push 4
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.00408c90
mov dword [0x437110], edi
push 0x437114
call fcn.0042e709
add esp, 4
mov edi, dword [0x437110]
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x43650c]
mov ecx, 0x100
inc eax
movzx edx, al
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x436510], 0
jne 0x40ade0
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x436510]
mov dword [0x43650c], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x436514], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x436518]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
mov dword [esp + 8], 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x40adea
mov eax, dword [esi]
mov dword [esp + 8], 0x100
cmp eax, 0xff
mov dword [esp + 4], eax
jg 0x40ae24
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.0042ee00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
inc eax
dec ecx
jne 0x40ad57
jmp 0x40ad97
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kInvalidSlotValue
push eax
push ecx
call fcn.00402470
add esp, 0xc
test eax, eax
je 0x40adb1
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x196
push str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
call fcn.00402280
mov ecx, edi
call fcn.004022e0
jmp 0x40adb1
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kThreadLocalStorageSize
push eax
push ecx
call fcn.00402470
add esp, 0xc
test eax, eax
je 0x40adc6
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x197
push str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
call fcn.00402280
mov ecx, edi
call fcn.004022e0
jmp 0x40adc6
Function at 0x40c310
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [esp + 0x2c], eax
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437160]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40c355
mov ecx, dword [esp + 0x2c]
xor ecx, ebp
call fcn.0042ee00
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x437160
call fcn.0042e6b7
add esp, 4
cmp dword [0x437160], 0xffffffff
jne 0x40c343
mov esi, esp
xorps xmm0, xmm0
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, 9
mov edi, 0x43713c
rep movsd dword es:[edi], dword [esi]
push 0x437160
call fcn.0042e709
add esp, 4
jmp 0x40c343