joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007900
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1007a5b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call fcn.10069d06
add esp, 4
or esi, 0xffffffff
push str.LoginTime
lea ecx, [esp + 0x14]
mov edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call fcn.10005e50
push str.Download
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.10005e50
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x3c], 1
call fcn.1004a4a0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007995
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100079b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.LoginTime
lea ecx, [esp + 0x10]
call fcn.10005e50
mov ebx, 2
push str.Download
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.10005e50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push SysReAllocStringLen
mov byte [esp + 0x3c], 3
call fcn.1004a4a0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007a3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp eax, 1
jl 0x10007adb
cmp eax, esi
je 0x10007a59
cmp eax, dword [esp + 0x18]
jl 0x10007adb
push str.LoginTime
lea ecx, [esp + 0x24]
call fcn.10005e50
mov ebx, 4
push str.Download
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
call fcn.10005e50
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x3c], 5
call fcn.1004acf0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x2c], bl
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10007abc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x10007adb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100090e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007a668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.10008e30
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.10002a40
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10009172
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1000c8f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1000c907
mov eax, dword [ecx + 0x38]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 0x38]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x1000c960
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1000c97b
push 1
call fcn.10027990
mov ecx, dword [esi + 0x38]
push 0
push ecx
mov dword [esi + 0x64], 1
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x1000c9a0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
push 1
push eax
mov eax, dword [esi + 4]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 4]
push 0x10097810
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 0x10097810
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c9d2
sub eax, edx
mov dword [esp + 4], eax
je 0x1000c9ed
mov edx, dword [esi + 0x38]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x1000cbb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007a9e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
mov byte [0x10097810], 0
call fcn.1003aeb0
add esp, 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.1003aaa0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000cc17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.History
lea ecx, [esp + 0x10]
call fcn.1003a810
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push eax
call edi
mov dword [esi + 0x28], 1
mov esi, dword [esi + 0x40]
mov ecx, dword [esi + 0x30]
push 0
push 0
add esi, 0x30
push 0xbd3
push ecx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1003a650
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x1000cee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1007a9f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 8], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
mov dword [esi], 0x10082268
mov dword [esi + 0x24], 0x1008224c
mov dword [esi + 0x30], 1
call fcn.100604e0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1000d550
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007aa46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
mov eax, dword [0x10098a04]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [esi + 4]
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
push 0x400
lea ecx, [esp + 0x1c]
stosw word es:[edi], ax
push ecx
push edx
mov dword [esp + 0x430], 0
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000d5c5
sub eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.100048d0
lea ecx, [esp + 0x10]
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
cmp eax, 0xffa
jle 0x1000d64a
push 0xffa
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], 1
call fcn.10004aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x424], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000d646
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
mov edx, 0x10097810
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000d653
mov eax, dword [esi + 0x28]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
je 0x1000d675
mov ecx, dword [edi - 0xc]
test ecx, ecx
jg 0x1000d67c
test eax, eax
jne 0x1000d690
mov eax, dword [edi - 0xc]
test eax, eax
jne 0x1000d690
mov eax, dword [esi + 0x40]
push 0
push 0
add eax, 0x30
mov eax, dword [eax]
push 0xbd3
push eax
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x30]
push 0
push 0
add eax, 0x30
push 0xbe0
push ecx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
xor edx, edx
test ecx, ecx
sete dl
add eax, 0xfffffff0
mov dword [esp + 0x424], 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esi + 0x28], edx
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d6dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x41c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000d700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007aa5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov edx, dword [ebp + 4]
mov byte [esp + 0x10], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
push 0x400
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
lea esi, [ebp + 4]
push ecx
push edx
mov dword [esp + 0x428], 0
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000d778
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.100048d0
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.1000d030
lea ecx, [esp + 0xc]
call fcn.1000cd40
lea ecx, [esp + 0xc]
call fcn.1000d0f0
mov esi, dword [esp + 0xc]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000d7c5
mov edx, dword [ebp + 0x38]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi - 0x10]
mov dword [esp + 0x41c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d7ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x414]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000d810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007aa46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
mov eax, dword [0x10098a04]
push esi
mov esi, ecx
push edi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov edx, dword [esi + 4]
mov byte [esp + 0x10], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
push 0x400
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
push ecx
push edx
mov dword [esp + 0x428], 0
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000d884
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.100048d0
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x10]
mov byte [eax + 0x10097810], cl
inc eax
test cl, cl
jne 0x1000d8a0
lea ecx, [esp + 8]
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
mov edx, dword [esp + 8]
mov eax, dword [edx - 0xc]
cmp eax, 0xffa
jle 0x1000d91c
push 0xffa
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.10008ae0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x420], 1
call fcn.10004aa0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x41c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000d918
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [esp + 8]
mov edi, 0x10097810
mov eax, edx
sub edi, edx
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x1000d925
mov eax, dword [esi + 0x30]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x1000d947
mov ecx, dword [edx - 0xc]
test ecx, ecx
jg 0x1000d94e
test eax, eax
jne 0x1000d966
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x1000d966
mov eax, dword [esi + 0x2c]
push 0
push 0
add eax, 0x30
mov eax, dword [eax]
push 0xbd3
push eax
call edi
mov edx, dword [esp + 8]
mov eax, dword [edx - 0xc]
xor ecx, ecx
test eax, eax
mov eax, dword [esi + 0x2c]
sete cl
push 0
push 0
add eax, 0x30
push 0xbe0
mov dword [esi + 0x30], ecx
mov edx, dword [eax]
push edx
call edi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x41c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d9b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x414]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000e5b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov dword [eax], 0
mov eax, 0x10097810
push esi
mov esi, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000e5c8
sub eax, edx
mov ecx, 0
sete cl
lea edx, [esi + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esi + 0x30], ecx
call dword [sym.imp.ole32.dll_RegisterDragDrop]
push 0
push ecx
mov eax, esp
push 0
push 0x50000001
mov dword [eax], 0
push 0x10081bf2
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], 0x11
mov dword [eax], ecx
mov edx, dword [esi + 4]
push edx
lea ecx, [esi + 0x34]
call fcn.1000dd20
mov ecx, esi
call fcn.1000e580
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1000e65d
mov eax, dword [esi + 0x38]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov ecx, dword [esi + 0x38]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
Function at 0x1000e820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007ab18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
lea eax, [esp + 8]
push edi
push eax
mov dword [esp + 0x18], ecx
call fcn.1003aeb0
add esp, 4
mov eax, dword [eax]
xor ebx, ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
call fcn.1003aaa0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x3c], 3
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x20]
push ecx
push str.History
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call fcn.1003b410
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebx
jle 0x1000e9b3
push esi
mov ecx, dword [esp + 0x30]
add ecx, ebp
mov eax, ecx
shr eax, 2
lea esi, [eax*4]
lea edx, [esp + 0x24]
sub ecx, esi
mov esi, dword [edx + 8]
cmp esi, eax
ja 0x1000e8f2
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + ecx*4]
push ebx
push eax
push str.History
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
call fcn.1003b020
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x40], 5
je 0x1000e96d
mov edx, dword [esi + 0xc]
cmp edx, ebx
lea edi, [esi + 0xc]
jl 0x1000e95b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1000e95b
push eax
call fcn.10002a40
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1000e950
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [esp + 0x10], edi
xor ebx, ebx
jmp 0x1000e96d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.100048d0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x40], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push edi
push ebx
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x1000e8d1
pop esi
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop ebp
pop ebx
jg 0x1000e9d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
call fcn.1000de20
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.1003a650
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x1000f090
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000f0ca
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x1000f0c1
cmp eax, 4
jne 0x1000f0ca
cmp dword [esp + 8], 0x5a
jb 0x1000f0ca
xor eax, eax
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret

Function at 0x1000f0e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x10098994]
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x10098994]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
cmp word [eax + 0xe], 0x20
sete cl
mov al, cl
ret
Function at 0x1000f800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xcc
push ebp
push esi
mov esi, dword [esp + 0xd8]
test esi, esi
mov ebp, ecx
je 0x1000f82b
push esi
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
jne 0x1000f82b
pop esi
pop ebp
add esp, 0xcc
ret 4
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x1000f83f
test byte [ebp + 0x58], 2
jne 0x1000f83f
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
test byte [ebp + 0x84], 2
mov dword [ebp + 0x44], esi
jne 0x1000f9e4
mov eax, dword [ebp + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push eax
call ebx
mov ecx, dword [ebp + 4]
push 0
push 0
push 0x418
push ecx
call ebx
test eax, eax
jle 0x1000f889
mov esi, eax
mov edx, dword [ebp + 4]
push 0
push 0
push 0x416
push edx
call ebx
dec esi
jne 0x1000f877
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x1000f9bf
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor esi, esi
test eax, eax
mov dword [esp + 0xc], eax
jle 0x1000f9bf
push edi
lea ebx, [ebx]
mov edx, dword [ebp + 0x44]
xor eax, eax
mov ecx, 0xc
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
push ecx
push 1
push esi
lea eax, [esp + 0x84]
xor edi, edi
push edx
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x5c], 0x15
mov dword [esp + 0x60], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x64
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x63
jle 0x1000f92a
mov edx, dword [ebp + 0x44]
lea ecx, [esp + 0x48]
push ecx
push 1
push esi
push edx
mov dword [esp + 0x60], 4
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
mov byte [esp + 0x78], 0
mov al, byte [esp + 0x54]
mov edx, dword [ebp + 4]
test al, 3
setne al
dec al
lea ecx, [esp + 0x34]
push ecx
push 0xffffffffffffffff
push 0x415
push edx
mov dword [esp + 0x44], edi
and eax, 4
mov dword [esp + 0x48], esi
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], 0x18
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call ebx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x30], eax
push esi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 4]
push 0x442
lea ecx, [esp + 0x84]
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 2
mov dword [esp + 0x3c], ecx
call ebx
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x1000f8b0
pop edi
mov ecx, dword [ebp + 4]
push 0
push 1
push 0xb
push ecx
call ebx
mov edx, dword [ebp + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0xcc
ret 4
Function at 0x10011760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [0x10098994]
push edi
push 0xf1
push ebx
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100118d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100118d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100118d2
movzx ecx, word [esi + 4]
movzx edx, word [esi + 2]
movzx ebp, word [esi + 6]
push ecx
lea eax, [esi + 8]
push edx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.10011700
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x100117fc
push ebx
call fcn.1000f0e0
mov cl, byte [edi + 0x85]
shl al, 5
xor al, cl
and al, 0x20
xor cl, al
mov byte [edi + 0x85], cl
movzx eax, word [esi + 6]
add esp, 4
push eax
mov ecx, edi
call fcn.10010fd0
test al, al
je 0x100118d2
mov al, byte [esp + 0x1c]
test al, al
mov dword [esp + 0x18], 0
je 0x1001182b
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
movzx eax, word [esp + 0x20]
push ecx
push edx
movsx ecx, bx
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.10011240
jmp 0x10011867
test byte [edi + 0x85], 0x20
je 0x10011855
mov edx, dword [0x10098994]
push 0x2040
push 0
push 0
push 0
push ebx
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x1001186b
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], esp
mov dword [eax], ebx
call fcn.1000f070
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x10011885
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0x48]
push eax
push ebx
push ecx
call fcn.10010ec0
cmp eax, 0xffffffff
jne 0x10011898
lea ecx, [esp + 0x18]
call fcn.1000c920
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
test ebp, ebp
jle 0x100118bb
mov esi, dword [esp + 0x10]
mov ebx, ebp
cmp word [esi], 0
je 0x100118b1
push esi
lea ecx, [edi + 0x4c]
call fcn.1000cb00
add esi, 2
dec ebx
jne 0x100118a2
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 0x48]
mov esi, dword [edi + 0x50]
push edx
call fcn.10010ca0
cmp eax, esi
push ebx
je 0x100118dc
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x14