joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435c36
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4540fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x435c81
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00435dd1
test al, al
jne 0x435c7b
sub edx, 2
cmp edx, edi
jne 0x435c61
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x435ca3
lea eax, [edi + 2]
cmp edx, eax
je 0x435ca3
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00435b82
add esp, 0x10
jmp 0x435d9d
push esi
lea ecx, [ebp - 0x255]
call fcn.00435dd1
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x435ce6
push dword [ebp - 0x25c]
jmp 0x435c93
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x435d23
cmp word [ebp - 0x226], 0
je 0x435d44
cmp word [ebp - 0x226], ax
jne 0x435d23
cmp word [ebp - 0x224], 0
je 0x435d44
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00435b82
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x435d90
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x435cfd
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x435d78
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x435d9d
push 0x4359b2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042b3a0
add esp, 0x10
jmp 0x435d6d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042150a
leave
ret

Function at 0x4366b3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4366c4
pop esi
ret
push ebx
push edi
push esi
call fcn.0043667c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043122e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4366ec
push ebx
push esi
push edi
call fcn.00422fd0
add esp, 0xc
push 0
call fcn.004311f4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x436abc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00436701
Function at 0x438f17
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00430c00
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x438f86
cmp esi, dword [ebp - 4]
je 0x438f81
cmp dword [ebp + 0xc], 0
je 0x438f81
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x438f5e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00438a69
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x438f88
xor eax, eax
inc eax
jmp 0x438f88
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x438fed
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4540fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00430c00
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00430c00
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x439064
cmp word [ecx], dx
je 0x439064
mov eax, dword [0x44693c]
push edi
dec eax
push eax
push 0x446828
call fcn.00438f8c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4390d7
cmp word [eax], dx
je 0x4390d7
mov eax, dword [edi]
test eax, eax
je 0x439088
cmp word [eax], dx
je 0x439088
lea eax, [ebp - 0x10]
push eax
call fcn.0043896f
jmp 0x439091
lea eax, [ebp - 0x10]
push eax
call fcn.00438a0a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x439101
mov eax, dword [0x446824]
push dword [ebp - 0x14]
dec eax
push eax
push 0x446518
call fcn.00438f8c
add esp, 0xc
test al, al
je 0x439101
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4390cc
cmp word [eax], di
je 0x4390cc
lea eax, [ebp - 0x10]
push eax
call fcn.0043896f
pop ecx
jmp 0x439103
lea eax, [ebp - 0x10]
push eax
call fcn.00438a0a
jmp 0x4390c9
mov eax, dword [edi]
test eax, eax
je 0x4390ee
cmp word [eax], dx
je 0x4390ee
lea eax, [ebp - 0x10]
push eax
call fcn.00438924
pop ecx
jmp 0x439101
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4391cc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00438e11
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4391cc
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4391cc
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4391cc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x439159
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00432a11
test ebx, ebx
je 0x4391c7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00432a11
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4391cc
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4391cc
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043cbfd
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4391ce
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042150a
leave
ret
Function at 0x43e520
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43e54d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43e54d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10002e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080bc4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov ebx, dword [0x1008c244]
mov dword [edi], 0x10092330
mov dword [edi + 0xec], 0x10095c78
mov dword [edi + 0x1bc], 0x10092328
lea eax, [edi + 0xa4]
mov dword [edi + 0x98], 0x100ae3a4
push eax
mov dword [edi + 0xa0], 0x100ae37c
call ebx
lea eax, [edi + 0xc0]
mov dword [edi + 0x9c], 1
mov dword [edi + 0x98], 0x100adaac
push eax
mov dword [edi + 0xbc], 0x100ae37c
call ebx
mov esi, dword [ebp + 8]
mov dword [edi + 0xdc], esi
mov dword [edi + 0xe0], 0
mov dword [edi + 0xd8], 0
push 0
mov dword [ebp - 4], 0
push esi
lea ecx, [edi + 0xe8]
mov dword [ebp - 0x10], 1
call fcn.100491c0
mov eax, dword [edi + 0x1bc]
mov dword [edi + 0x1b8], 0x100a4adc
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x1bc], 0x100a4a94
mov dword [edi + 0x1c0], esi
mov eax, dword [edi]
mov dword [ebp - 0x10], 7
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x100922e4
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [edi + eax], 0x100922c4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [edi + eax], 0x100922b8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x98]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0xe8]
mov dword [ecx + edi - 4], eax
mov dword [edi + 4], 0x100ae39c
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0xa
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 3
mov dword [edi + 0x18], 0x100922a0
mov dword [edi + 0x1c], 0x100ae384
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov eax, edi
lea esi, [eax + 0x38]
mov dword [esi], 0x100922a0
mov dword [esi + 4], 0x100ae384
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [eax + 0x58], 0x100ae37c
add eax, 0x5c
push eax
call ebx
mov ebx, edi
mov dword [ebx + 0x74], 0x100ad8f8
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x18]
push 0x1f
lea ecx, [edi + 0x18]
call dword [eax]
mov eax, dword [esi]
push 0x191
mov ecx, esi
call dword [eax]
push 0x10091cc4
push 0x100921c8
push 0xd
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
call fcn.10040980
add esp, 0xc
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 8
Function at 0x10003ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080d98
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov esi, dword [0x1008c244]
mov dword [edi + 4], 0x10092da4
lea eax, [edi + 0x50]
mov dword [edi + 0x44], 0x100ae3a4
push eax
mov dword [edi + 0x4c], 0x100ae37c
call esi
lea eax, [edi + 0x6c]
mov dword [edi + 0x48], 1
mov dword [edi + 0x44], 0x100adaac
push eax
mov dword [edi + 0x68], 0x100ae37c
call esi
mov ecx, dword [ebp + 8]
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], 0
mov dword [edi + 0x84], 0
mov eax, dword [edi + 4]
mov dword [edi], 0x100a4adc
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [eax + edi + 4], 0x100a4a94
mov dword [edi + 8], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
mov dword [edi], 0x10092d9c
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], 0x10092d54
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x40]
mov dword [ecx + edi], eax
lea eax, [edi + 0x10]
push eax
mov dword [edi + 0xc], 0x100ae37c
call esi
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.10007b70
mov dword [edi + 0x30], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.10007ba0
mov dword [edi + 0x38], eax
push 0x10091cc4
push 0x10092340
push 0xd
mov byte [ebp - 4], 4
call fcn.10040980
add esp, 0xc
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 8
Function at 0x1000b100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100483b0
test eax, eax
jne 0x1000b13f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
call fcn.100445b0
cmp eax, 8
jl 0x1000b180
mov dword [ebp - 0x1c], 0x100ae6bc
mov byte [ebp - 4], 1
call dword [0x1008c1cc]
test eax, eax
jne 0x1000b194
push str.GetCurrentProcessId___Failed
push str.HookIE8IfNeeded
push 0x3e
call fcn.10040980
add esp, 0xc
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov edx, str.ToolbarInjectionDoneAlreadyMutexName
lea ecx, [ebp - 0x2c]
call fcn.10016980
add esp, 4
mov byte [ebp - 4], 2
call fcn.1002e3f0
mov esi, eax
test esi, esi
je 0x1000b242
sub esp, 8
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
call fcn.100476e0
add esp, 8
cmp dword [ebp - 0x10], 0
jne 0x1000b23d
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
call fcn.100445b0
cmp eax, 8
jl 0x1000b1f2
mov ecx, esi
call fcn.1002c940
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1002c140
mov ecx, esi
call fcn.1002b7c0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x1000ae60
push 0
push 0
mov dword [ebp - 0x14], 0
call fcn.10069fc8
push dword [ebp - 0x14]
push str.Thread_created___Thread_ID___d
push 0xdb
push str.HookIE8IfNeeded
push 0x18
call fcn.10040a30
add esp, 0x2c
mov esi, 1
lea ecx, [ebp - 0x2c]
call fcn.10021af0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c20a0]
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
call fcn.100482c0
test eax, eax
je 0x1000b405
mov dword [ebp - 4], 0
push 0x14
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x100ad8f8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.1003dc00
mov ebx, dword [ebp - 0x34]
push 0x14
push str.PatchAboutTabsMutex_
push dword [ebp - 0x38]
push ebx
call fcn.1006b7f4
add esp, 0x10
mov dword [ebp - 0x3c], 0x14
mov dword [ebp - 0x38], 0x15
mov dword [ebp - 4], 1
call dword [0x1008c1cc]
mov byte [ebp - 4], 2
push ecx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x100ad8f8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1003e620
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1000b350
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1000b330
sub edi, ecx
sar edi, 1
lea ecx, [ebp - 0x40]
test ebx, ebx
jne 0x1000b396
push edi
push esi
call fcn.1003d5d0
mov ebx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000b361
push esi
call fcn.1006a76f
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.10047490
push ebx
push 1
push eax
call dword [0x1008c27c]
mov esi, eax
test esi, esi
je 0x1000b3c6
call dword [0x1008c1a8]
cmp eax, 0xb7
jne 0x1000b3c6
push esi
call dword [0x1008c19c]
push esi
call dword [0x1008c1c8]
jmp 0x1000b3f8
lea eax, [edi + 0x14]
push eax
call fcn.1003dc00
test eax, eax
je 0x1000b34d
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x3c]
sub eax, esi
push eax
lea eax, [ebx + esi*2]
push eax
call fcn.1006ba47
add esp, 0xc
add esi, edi
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x14]
jmp 0x1000b350
push 4
call fcn.1006977d
mov esi, eax
add esp, 4
test esi, esi
je 0x1000b3de
mov dword [esi], 0
jmp 0x1000b3e0
xor esi, esi
push 0
push 0
push esi
push 0x1000b430
push 0
push 0
call fcn.10069fc8
add esp, 0x18
mov dword [esi], eax
test ebx, ebx
je 0x1000b405
push ebx
call fcn.1006a76f
add esp, 4
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.1006976e
mov esp, ebp
pop ebp
ret
Function at 0x10016b00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008320e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x1c]
mov dword [edi], 0x10097024
mov dword [ebx], 0x100ad8f8
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [edi + 0x2c], 0x100ad8f8
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [ebp - 0x18], 0x10093154
mov dword [ebp - 0x1c], 0x100934b4
mov byte [ebp - 4], 4
call fcn.1000a540
test eax, eax
je 0x10016d0b
mov edx, dword [eax]
push 0
push 0x100c396c
push 0x100c36fc
push 0
push 0
push 9
mov ecx, eax
call dword [edx + 0x10]
push eax
call fcn.100807e5
add esp, 0x14
test eax, eax
je 0x10016d0b
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.1001f910
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [eax + 0xc]
je 0x10016c33
test ecx, ecx
je 0x10016c11
push ecx
call fcn.1006a76f
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
push dword [eax + 4]
mov ecx, ebx
push dword [eax + 0xc]
call fcn.1003d5d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0x100ad8f8
test eax, eax
je 0x10016c4e
push eax
call fcn.1006a76f
add esp, 4
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.10009b40
mov ebx, eax
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0x38]
cmp ecx, dword [ebx + 0xc]
je 0x10016c96
test ecx, ecx
je 0x10016c73
push ecx
call fcn.1006a76f
add esp, 4
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
push dword [ebx + 4]
lea ecx, [edi + 0x2c]
push dword [ebx + 0xc]
call fcn.1003d5d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0x100ad8f8
test eax, eax
je 0x10016cb1
push eax
call fcn.1006a76f
add esp, 4
cmp dword [edi + 0x38], 0
lea ecx, [edi + 0x2c]
jne 0x10016cda
push 8
push str._Toolbar
call fcn.1003d5d0
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
mov eax, dword [edi + 0x30]
add eax, 8
push eax
call fcn.1003dc00
test eax, eax
je 0x10016d0b
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x34]
sub eax, ecx
push str._Toolbar
push eax
mov eax, dword [edi + 0x38]
lea eax, [eax + ecx*2]
push eax
call fcn.1006ba47
add esp, 0xc
add dword [edi + 0x30], 8
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 0x1001afb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100836d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi], 0x100a4984
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x100a493c
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [eax + esi + 4], 0x100a4928
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 4], 0x100a491c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x128]
mov dword [ecx + esi], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x178]
mov dword [ecx + esi], eax
mov dword [esi + 0x10], 0x100ad8f8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 3
mov dword [esi + 0x20], 0x100ad8f8
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0x100ad8f8
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x40], 0x100ad8f8
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x50], 0x100ad8f8
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0x100ad8f8
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x70], 0x100ad8f8
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x88], 0x100ad8f8
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x8c], 0
lea eax, [esi + 0x98]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0x100b02e0
mov dword [ecx], 0x100ad8f8
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
push 0x10091cc4
mov byte [ebp - 4], 0xb
call fcn.1003d7a0
mov dword [esi + 0xbc], 0x100ad8f8
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
push dword [ebp + 8]
lea ecx, [esi + 0xcc]
call fcn.1001abd0
mov byte [ebp - 4], 0xe
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
call fcn.100253b0
mov dword [esi + 0x104], eax
mov dword [esi + 0x118], 0x100ad8f8
mov dword [esi + 0x124], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x84], 0x14
mov dword [esi + 0x80], 4
mov dword [esi + 8], 0
mov dword [esi + 0xac], 0xffffffff
mov dword [esi + 0xb4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0xb8], 1
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x110], 0xffffffff
mov dword [esi + 0x114], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8