joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016110
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1006f184]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x40a]
push ecx
mov word [ebp - 0x40c], ax
call sub.MSVCR100.dll_memset
push str.EDDDE843_812B_47D8_84CE_0F15336C3809
push str.CLSID_sLocalServer32
lea edx, [ebp - 0x40c]
push pe_nt_image_headers32
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x410], 1
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
add esp, 0x28
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 0
lea edx, [ebp - 0x40c]
push edx
push SysReAllocString
mov dword [ebp - 0x414], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100161d3
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100161c2
sub eax, edx
sar eax, 1
jne 0x1001620b
mov ecx, dword [0x100743d8]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.SBroker.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push 0
push str.Embedding
lea ecx, [ebp - 0x20c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jl 0x1001626d
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x1e
push 0
push str.BROKER_F3FEE06E_908C_4B8F_AEBA_8EEE35C916F2
call ebx
test eax, eax
jne 0x10016257
push 0x64
dec esi
call edi
test esi, esi
jg 0x10016241
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c4fe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1004c4fe
mov esp, ebp
pop ebp
ret

Function at 0x100162b0
Capabilities:
Create thread

Disassembly:
push 0
push str.BROKER_F3FEE06E_908C_4B8F_AEBA_8EEE35C916F2
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x100162d2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100162d2
mov eax, 1
ret
push esi
push 0
push 0
push 0
push 0x10016280
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test esi, esi
setne al
pop esi
ret
Function at 0x1001a7e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20d0
call fcn.1004cae0
mov eax, dword [0x1006f184]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x1046
push eax
lea ecx, [ebp - 0x2092]
push ecx
mov word [ebp - 0x2094], ax
call sub.MSVCR100.dll_memset
push 0x38
lea edx, [ebp - 0x20cc]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x20d0]
push ecx
push SysReAllocString
push 0
lea eax, [ebp - 0x2094]
push esi
mov dword [ebp - 0x20d0], 0x3c
mov dword [ebp - 0x20bc], 0x820
mov dword [ebp - 0x20c0], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1001a86e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c4fe
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x1046
push edx
lea eax, [ebp - 0x104a]
push eax
mov word [ebp - 0x104c], dx
call sub.MSVCR100.dll_memset
push 0x820
lea ecx, [ebp - 0x104c]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea eax, [ebp - 0x104c]
add esp, 0x18
lea edx, [eax + 2]
jmp 0x1001a8b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001a8b0
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x104e]
mov edx, 0x2f
cmp dx, word [eax]
jne 0x1001a8d5
xor ecx, ecx
mov word [eax], cx
push 0x10063144
lea edx, [ebp - 0x104c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001a85e
lea ecx, [ebp - 0x2094]
push ecx
add eax, 6
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.1004c4fe
mov esp, ebp
pop ebp
ret

Function at 0x1001b580
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov ecx, dword [eax + 0x274]
test ecx, ecx
jne 0x1001b621
cmp dword [eax + 0x2f8], ecx
jne 0x1001b599
xor eax, eax
ret
xor eax, eax
push edi
cmp ax, word [0x10074908]
jne 0x1001b5ae
call fcn.1001f030
mov edi, eax
jmp 0x1001b5b3
mov edi, 0x10074908
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b613
push esi
push 0x800
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
push 0x800
mov esi, eax
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push edi
push 0x400
push esi
push str.recentVisitList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001b5f3
sub eax, edx
sar eax, 1
push esi
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop esi
test edi, edi
jne 0x1001b61a
mov eax, 0x8e
pop edi
ret
mov eax, 0xc8
pop edi
ret
mov edx, 1
cmp ecx, edx
jne 0x1001b642
cmp dword [eax + 0x248], edx
jge 0x1001b638
mov dword [eax + 0x248], edx
mov eax, dword [eax + 0x248]
imul eax, eax, 0x1b
ret
mov eax, 0xc8
ret
Function at 0x1002d3c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
jne 0x1002d41c
mov eax, dword [ebp + 0xc]
mov ebx, 1
cmp eax, ebx
jne 0x1002d403
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov dword [esp + 0x10], ebx
call fcn.1002d7a0
cmp dword [esp + 0xc], 0
mov dword [edi], eax
je 0x1002d41c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x1002d427
cmp dword [0x10074450], 0
je 0x1002d416
call fcn.10012b80
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x21
jne 0x1002d43d
mov dword [edi], 3
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 8
jne 0x1002d45f
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x18
jne 0x1002d498
cmp dword [ebp + 0x10], 0
mov dword [esp + 0xc], ebx
je 0x1002d480
lea edx, [esp + 0xc]
push edx
mov ebx, ecx
call fcn.1002d830
mov ecx, dword [esp + 0xc]
jmp 0x1002d484
xor ecx, ecx
xor eax, eax
mov dword [edi], eax
test ecx, ecx
je 0x1002d41c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x1002d4af
call fcn.1002d9a0
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x14
je 0x1002d416
cmp eax, 0x202
jne 0x1002d4d5
mov eax, dword [ebp + 0x14]
push eax
call fcn.1002dd60
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x1002d41c
mov eax, dword [ebp + 0x14]
mov esi, ecx
call fcn.1002de40
mov dword [edi], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1002d500
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053b13
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CAddrLoginWnd.0
mov dword [esi + 0x24], ebx
fldz
fstp qword [esi + 0x28]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x3c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0x90], ebx
mov ecx, dword [0x1006f9d0]
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov byte [ebp - 4], 8
mov dword [esi + 0xa4], ebx
call fcn.1003ee40
fstp qword [esi + 0x28]
push 0x32
push 0x32
push 0xa
push 0xa
push edi
mov edi, dword [sym.imp.USER32.dll_SetRect]
call edi
push 0x1e
push 0xcc
push 0xa
push 0x3c
lea edx, [esi + 0x4c]
push edx
call edi
push 0x34
push 0xcc
push 0x20
push 0x3c
lea eax, [esi + 0x5c]
push eax
call edi
push 0x5f
push 0xd0
push 0x52
push 0xa9
lea ecx, [esi + 0x6c]
push ecx
call edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
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 0x1002d830
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1006f184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
push 0x7e
lea edx, [ebp - 0x82]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
mov word [ebp - 0x84], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
call fcn.10014a40
test eax, eax
je 0x1002d976
cmp dword [0x100746ac], edi
je 0x1002d976
push esi
push str.887EB89E_B24E_470A_A12B_6E65B0C206D6
push edi
mov ecx, 0x100746b0
call fcn.1003f300
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x1002d975
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002d8e6
mov ecx, dword [0x100746ac]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x84]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1002d975
mov esi, dword [ebp - 0x88]
push esi
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x94]
push str._s__d_
push ecx
mov dword [ebx + 0x90], esi
call fcn.1000b260
lea edx, [ebp - 0x88]
push edx
xor eax, eax
push str.faceID
push eax
push esi
mov dword [ebx + 0x80], eax
mov dword [ebp - 0x88], eax
call fcn.10045a30
mov ecx, dword [ebp - 0x88]
lea eax, [ecx - 1]
add esp, 0x20
cmp eax, 0xb3
ja 0x1002d975
cmp ecx, dword [ebx + 0xa4]
je 0x1002d975
call fcn.10037f80
test eax, eax
je 0x1002d975
lea esi, [ebx + 0x34]
mov edi, eax
call fcn.1000b760
mov ecx, dword [ebp - 0x88]
mov dword [ebx + 0xa4], ecx
pop esi
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x8c]
xor ecx, ebp
mov dword [edx], 0
xor eax, eax
pop edi
call fcn.1004c4fe
mov esp, ebp
pop ebp
ret 4
Function at 0x1002dd60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054c98
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push edi
push esi
lea eax, [ebx + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002de01
mov ecx, dword [0x1006f9d0]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x90]
push edx
lea eax, [ebp + 8]
push str.http:__my.soso.com__channeltbhuin_d
push eax
call fcn.1000b260
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, esi
call fcn.1002df40
lea ecx, [esi - 0xc]
mov dword [ebp - 4], 0xffffffff
cmp ecx, dword [0x1006f9cc]
je 0x1002de24
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1002de24
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1002de24
push edi
push esi
lea edx, [ebx + 0x6c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002de24
mov ecx, ebx
call fcn.1002e060
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
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 4

Function at 0x1002e6e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0
call dword [sym.imp.MSVCR100.dll__time64]
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x10064154
push str.TopWords
mov edi, edx
call fcn.100458e0
add esp, 0x10
sub esi, dword [ebp - 8]
sbb edi, dword [ebp - 4]
mov dword [ebp - 0xc], edi
js 0x1002e762
jg 0x1002e727
cmp esi, 0x1c20
jbe 0x1002e762
cmp dword [ebx], 0
jne 0x1002e762
push 0
push 4
push ebx
push 0x1002e170
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
push 0xffffffffffffffff
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100323b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100561fe
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x10074b34], 1
mov edi, 1
jne 0x1003240e
or dword [0x10074b34], edi
push 0x10074b18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100591a0
mov dword [0x10074b14], 0
call fcn.1004c5fa
add esp, 4
test byte [0x10074c3c], 1
jne 0x10032436
or dword [0x10074c3c], edi
mov dword [ebp - 4], 0
call fcn.1002fed0
push 0x100590b0
call fcn.1004c5fa
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10074bdc
mov dword [ebp - 0x14], 0x10074bdc
call esi
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
push ebx
mov ecx, 0x10074bc0
mov dword [ebp - 4], edi
call fcn.10024fd0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x10074bdc
call edi
push ebx
mov ecx, 0x10074b14
call fcn.1003d480
test eax, eax
je 0x1003250a
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x10031630
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x1003250a
push 0x10074b18
call esi
inc dword [0x10074b14]
push 0x10074b18
call edi
mov ecx, dword [ebp - 0x10]
push 0x10074bdc
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0x10074bdc
call esi
lea edx, [ebp - 0x14]
mov ecx, 0x10074bf4
mov dword [ebp - 4], 2
call fcn.100305a0
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.10024fd0
push 0x10074bdc
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x10035630
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054642
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.CAddrNavItemBase.0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov word [esi + 0x20], bx
mov eax, dword [0x1006f9d0]
mov dword [esi + 0x24], eax
mov dword [ebp - 4], ebx
mov dword [esi], vtable.KeywordsRelatedButton.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov ecx, dword [0x1006f9d0]
mov dword [esi + 0x30], ecx
mov edx, dword [0x1006f9d0]
mov dword [esi + 0x34], edx
mov eax, dword [0x1006f9d0]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov ecx, dword [0x1006f9d0]
mov dword [esi + 0x54], ecx
mov edx, dword [0x1006f9d0]
mov dword [esi + 0x58], edx
mov eax, dword [0x1006f9d0]
mov dword [esi + 0x5c], eax
mov ecx, dword [0x1006f9d0]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov byte [ebp - 4], 9
push 0x18
mov dword [esi + 0x7c], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x10035751
mov dword [esi + 0x78], eax
mov dword [eax], eax
mov eax, dword [esi + 0x78]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x78]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x78]
mov byte [edx + 0x14], 1
mov eax, dword [esi + 0x78]
mov byte [eax + 0x15], 1
mov byte [ebp - 4], 0xa
mov eax, esi
mov dword [esi + 4], 2
mov byte [esi + 0x20], bl
call fcn.10035a40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x100671cc
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x10035d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054552
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1006f184]
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 esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov eax, dword [ebp + 8]
push eax
call ebx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
lea ecx, [eax + 0x24]
lea eax, [edx + eax - 0x7b]
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [ebp + 8]
add edx, ecx
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
call ebx
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x8824
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax - 8]
lea edx, [ebp - 0x24]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call edi
mov eax, dword [esi + 0x30]
mov ecx, dword [eax - 8]
push 0x8c24
lea edx, [ebp - 0x24]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call edi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
lea ecx, [ecx + edx - 3]
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x10]
add edx, eax
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 0x2c], ecx
push 0x10063560
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x28], edx
call fcn.10036d20
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push 0x9a9a9a
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax - 8]
push 0x8824
lea edx, [ebp - 0x34]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call edi
add esi, 0x5c
push esi
lea ecx, [ebp - 0x38]
call fcn.1000b570
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax - 8]
push 0x8826
lea edx, [ebp - 0x34]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call edi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x1006f9cc]
je 0x10035ea8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10035ea8
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff4
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
push eax
push ecx
call ebx
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.1004c4fe
mov esp, ebp
pop ebp
ret 4
Function at 0x10037cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100544b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x10037d34
push str.embedded_data.html
lea ecx, [ebp - 0x10]
call fcn.1000b6f0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10001ee0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push 0x17
push str.embedded_data.html
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10037d47
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10001e10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 1
jb 0x10037d25
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10037d25
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp edi, 0x400
jb 0x10037d78
mov edi, 0x400
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10001e10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret