joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012a70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f450b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1006e9e6
push 4
mov dword [ebp - 4], 0
call fcn.10071bdd
mov edi, eax
add esp, 4
test edi, edi
je 0x10012aec
call fcn.1006ed94
mov dword [edi], eax
call fcn.1006eb53
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1006ea88
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10012ae2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1006eab0
jmp 0x10012aee
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 4

Function at 0x10016870
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x100168b4
mov edi, ebx
sub esi, edx
mov eax, edx
sub edi, edx
mov dword [esp + 0xc], ecx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebp
jne 0x10016898
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x100168dd
add ebx, eax
add esi, eax
add edx, eax
test edi, edi
je 0x100168dd
mov ecx, esi
mov esi, ebx
sub ecx, edx
mov eax, edx
sub esi, edx
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
dec edi
mov byte [eax + esi - 1], dl
jne 0x100168d0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100168f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x1001692a
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x10016914
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x10016941
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x1001696f
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x10016964
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret
Function at 0x10017e00
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [eax + 0x8c]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x101318c0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131ac0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131cc0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x10131ec0]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x101319c0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131bc0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131dc0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x10131fc0]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x101318c0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131ac0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131cc0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x10131ec0]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x101319c0]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131bc0]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x10131dc0]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x10131fc0]
xor esi, ebx
dec edi
jne 0x10017e22
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x1001b5a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100fae56
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea esi, [edi + 0x10]
mov ecx, 0x100
mov dword [esp + 0x20], edi
mov dword [edi + 0xc], 0xffffffff
mov dword [edi], vtable.CryptoPP::MessageQueue.0
mov dword [edi + 4], vtable.CryptoPP::MessageQueue.1.0
call fcn.1001e430
mov dword [esp + 0x48], 2
xor ebx, ebx
lea esi, [edi + 0x38]
push 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esi], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x1001b6e0
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x14]
push ecx
push esi
mov byte [esp + 0x50], 3
call fcn.1001b9d0
mov byte [esp + 0x48], 4
lea esi, [edi + 0x50]
push 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esi], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x1001b6b7
mov dword [esi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x50], 5
call fcn.1001bd40
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100719c1
add esp, 0x40
ret
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.10071a69
push 0x10140c60
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call fcn.10077e5e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.10071a69
push 0x10140c60
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], vtable.std::bad_alloc.0
call fcn.10077e5e
int3
Function at 0x1001e910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fd370
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x10152250
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 8
Function at 0x10022bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f62d8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, ecx
call fcn.10049e90
xor ebx, ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x14], vtable.MessageLoopForUI.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
push 8
mov byte [esp + 0xc4], 1
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10022c6a
lea ecx, [esp + 0x84]
mov dword [eax], vtable.MessageLoopForUI::MessageFilterImpl.0
mov dword [eax + 4], ecx
mov ebx, eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x10022c7d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x18], ebx
mov ebx, 2
mov dword [esp + 0xc0], ebx
mov eax, dword [esi + 0x190]
imul eax, eax, 0x3e8
add eax, dword [esi + 0x194]
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0x4f41d501___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x98], esi
mov dword [esp + 0xa4], ecx
imul eax, eax, 0x3e8
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
mov byte [esp + 0xc0], 3
add esi, edx
mov edx, dword [0x1015a808]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea ecx, [esp + 0x98]
push ecx
mov ecx, eax
call fcn.1004a550
mov byte [esp + 0xc0], bl
mov ecx, dword [esp + 0xa4]
xor esi, esi
cmp ecx, esi
je 0x10022d2e
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x94]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [esp + 0xa4], esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
call eax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x10022d5c
push eax
call fcn.100719b6
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.10023800
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret
Function at 0x10023960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe088
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, str.dessert_debug
call fcn.10006710
lea edi, [ebp - 0x10]
lea esi, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.1002a9e0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100239d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100239fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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 0x10024da0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fe928
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.10025380
xor ebx, ebx
lea eax, [ebx + 1]
cmp dword [edi + 0x2c], ebx
jg 0x10024e34
test byte [0x1015a8a4], al
jne 0x10024e12
or dword [0x1015a8a4], eax
push 0x10103b50
mov dword [0x1015a8a8], ebx
mov dword [0x1015a8ac], ebx
mov dword [0x1015a8b0], ebx
call fcn.10072866
add esp, 4
mov eax, dword [edi + 0x2c]
push eax
push str.sdkapp:_quit
mov esi, 0x1015a8a8
call fcn.1003a3f0
add esp, 8
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x10024ed5
test byte [0x1015a8a4], al
jne 0x10024e61
or dword [0x1015a8a4], eax
push 0x10103b50
mov dword [0x1015a8a8], ebx
mov dword [0x1015a8ac], ebx
mov dword [0x1015a8b0], ebx
call fcn.10072866
add esp, 4
mov ecx, dword [edi + 0x2c]
push ecx
push str.sdkapp:_schedule_next_in__d_second_s_
mov esi, 0x1015a8a8
call fcn.1003a3f0
lea edx, [esp + 0x14]
add esp, 8
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda4___A0x4f41d501___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ebx
mov eax, dword [0x1015a808]
mov esi, dword [edi + 0x2c]
push eax
imul esi, esi, 0x3e8
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.1004a550
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x10024ed5
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret
Function at 0x10029620
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
mov ecx, dword [edi]
xor esi, esi
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.1000ac10
mov ebx, eax
cmp ebx, esi
je 0x10029699
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x10029684
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x218]
push esi
push esi
push esi
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push esi
push eax
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1002971c
lea ecx, [ecx]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.10029620
mov ebx, eax
cmp ebx, esi
jne 0x10029673
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x218]
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100296d0
mov eax, dword [ebp - 0x218]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x10029735
push eax
call ebx
mov dword [ebp - 0x218], esi
mov eax, dword [ebp - 0x220]
push edi
mov dword [ebp - 0x214], esi
call fcn.10029820
mov edi, eax
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x10029756
push eax
call ebx
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a3b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
cmp edi, esi
jne 0x1002a430
call fcn.100288a0
mov esi, eax
jmp 0x1002a549
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x1002a44f
call fcn.100288a0
jmp 0x1002a540
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
jne 0x1002a46b
call fcn.100288a0
jmp 0x1002a540
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x1002a48c
mov esi, 0x8007000e
jmp 0x1002a542
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x1002a4a1
cmp eax, 0xffffffff
jbe 0x1002a4ab
push 0x80070216
call fcn.10006600
cmp eax, 0x400
jbe 0x1002a4dd
lea ecx, [ebp - 0x418]
push ecx
call fcn.10029010
jmp 0x1002a4e9
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, esi
jne 0x1002a501
mov esi, 0x8007000e
jmp 0x1002a542
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jne 0x1002a51f
call fcn.100288a0
jmp 0x1002a540
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
push eax
lea esi, [ebp - 0x42c]
call fcn.1002a210
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x1002a562
lea eax, [ebp - 0x418]
call fcn.10028f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10030460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f4ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100304f5
cmp dword [eax + 0x70], 0
je 0x100304f5
mov byte [esp + 8], dl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0xe8b8f8f3___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], 0
call fcn.1004a490
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100304f5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xc]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4
Function at 0x10030c70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f4a90
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0xe8b8f8f3___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], 0
mov ecx, dword [esi + 0x1c]
mov edx, dword [0x1015a808]
mov edi, dword [ecx + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
imul edi, edi, 0x3e8
push edx
call ebx
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.1004a550
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10030d10
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0xe8b8f8f3___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], 1
mov esi, dword [esi + 0x1c]
mov eax, dword [esi + 0x10]
add eax, dword [esi + 4]
mov ecx, dword [0x1015a808]
imul eax, eax, 0x3e8
push ecx
mov esi, eax
call ebx
push esi
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.1004a550
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10030d73
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x2c]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret

Function at 0x10031770
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 1
test byte [0x1015a8a4], al
jne 0x100317a1
or dword [0x1015a8a4], eax
xor eax, eax
push 0x10103b50
mov dword [0x1015a8a8], eax
mov dword [0x1015a8ac], eax
mov dword [0x1015a8b0], eax
call fcn.10072866
add esp, 4
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 4]
push esi
push edx
push str.sdkapp::LinkRunTrident:ad_click_point__d__time_to_close
mov esi, 0x1015a8a8
call fcn.1003a4d0
mov ecx, dword [edi]
add esp, 8
pop esi
jmp fcn.10031980