joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462460
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbe8]
cmp dword [eax + 0x30], 0
je 0x46250a
cmp dword [ebx + 0x94], 0
jne 0x462504
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4623f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462504
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_GetWindowLongA
test al, 8
je 0x4624ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462504
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417c50
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4624d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46306c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4630a1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045b0
jmp 0x4630ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404514
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464110
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464151
mov eax, esi
call fcn.0044a36c
test al, al
je 0x464151
mov eax, dword [ebx + 0x84]
call fcn.0044a068
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464151
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a068
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46aa78
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
cmp dword [0x46fe7c], 0
je 0x46ab3b
push 4
push 0x1000
push 0x400
push 0
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov ebx, eax
push 4
push 0x1000
push 0x40
push 0
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x400
mov eax, dword [ebp + 8]
push eax
push ebx
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 0
push esi
push ebx
push 0
push 0
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov edi, eax
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle_1
push 0x8000
push 0
push ebx
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_VirtualFreeEx
push 0x8000
push 0
push esi
mov eax, dword [0x46fe7c]
push eax
call sub.kernel32.dll_VirtualFreeEx
pop edi
pop esi
pop ebx
pop ecx
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 0x534f2
Capabilities:
Packed with generic packer

Disassembly:
cwde
pop ecx
scasd eax, dword es:[edi]
mov esp, 0x55424e47
inc edi
dec esi
inc edx
push ebp
int 0x4e
iretd
jo 0x533be
sbb eax, 0x4c0c3d35
arpl word [0xeffbc8ab], ax
pop ss
jg 0x533c2
invalid
xchg esi, eax
fcompi st(4)
pop ss
dec esp
jno 0x5348a
inc esi
dec ebx
or edi, ebp
mov bl, ah
push esp
add al, 0xe6
sub dword [ebx + 0x198f5f5d], edi
or byte [edi - 0x5c], ah
js 0x533e1
cld
outsd dx, dword [si]
clc
cmp bl, byte [esi - 0x6ef048c]
sbb ah, byte [edx + 0x50b99a14]
daa
daa
or byte [eax - 0x7e0d3834], 0xa2
jb 0x53411
lcall 0x8880, 0x272750b9
int3
invalid
and dword [edx - 0x316a358e], 0x8e67a375
test eax, 0xf2418d6d
cmp al, 0x3f
xchg ebp, eax
into
jne 0x533ee
mov gs, word [bx + di - 0x7293]
inc ecx
cmp al, 0x3f
ja 0x53442
sbb byte [edx + 0x76], ah
mov eax, dword [0x33daef4b]
int1
movsd dword es:[edi], dword [esi]
int 0xc4
add cl, cl
aad 0x25
loope 0x53427
and dword [eax - 0x61], esi
mov edi, 0x4e4071
fld dword [ebx - 0x6092084f]
imul dword [ebp - 0x61]
xchg ecx, eax
dec ecx
add bh, byte [ebx + 0x619f4bd3]
lahf
popal
inc ecx
sbb ch, byte [esi - 0x47bd93e9]
xor eax, 0x602a20bb
and eax, 0x5c3f3312
xor edi, dword [edi]
pop esp
imul edx, dword [edi - 0x10385c59], 0xffffffb0
int3
xchg edi, eax
jp 0x53439
or al, 0xde
popal
wait
rol dword [edx], cl
jl 0x5347c
adc dh, dl
or dword [eax], esp
pushal
lds eax, [ebp + 0x66]
mov esp, 0x1f6da163
sub bl, byte [edi - 0x31]
and eax, 0x21958350
mov cl, 0x51
je 0x53441
push eax
adc dword [ebp + 0x7451b121], 0xffffff82
loop 0x53473
dec edi
cmp eax, 0x709df59a
mov bh, 0xf
fmul dword [eax]
push edx
and esi, dword [edi + 0x56]
sti
mov eax, 0x7e127438
cmp dword [ecx], esp
mov dword [edx], esi
popal
aaa
mov dh, 0x17
cdq
dec esi
xchg esp, eax
js 0x53462
test al, 0x32
jo 0x5348c
push ds
inc ebp
jp 0x534b7
retf 0xc399
push 0xffffffffffffffdf
das
push ebp
push cs
xor al, 0x78
jns 0x5349b
xchg ebp, eax
add ecx, dword [0x657c86e4]
pop eax
test dword [ebp + 0x2418e48], 0xc49ddf84
sbb eax, 0x4cd04db7
std
add al, 0x2b
sub byte [esi - 0x41bd11ba], bl
and eax, 0xb3b1bb8c
invalid
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push str.InstallDir
push ecx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40106e
mov eax, dword [esp + 8]
cmp eax, 1
je 0x40103f
cmp eax, 2
jne 0x40105a
mov eax, dword [esp]
test esi, esi
je 0x401068
test eax, eax
je 0x401063
test al, 1
jne 0x40105a
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x401068
mov eax, 0xd
pop ecx
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4
Function at 0x401410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41f818
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x428c20]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
push str.regsvr32__s
lea ecx, [esp + 8]
call fcn.004026f0
mov eax, 0x423be0
mov dword [esp + 0x10], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401450
sub eax, edx
sar eax, 1
push eax
push 0x423be0
lea ecx, [esp + 0xc]
call fcn.00401e00
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00401e00
mov ecx, dword [esp + 4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401c70
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4014bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4014ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x402250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402269
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4022a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4022a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4022a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402290
cmp esi, eax
jb 0x4022aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40c7b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428c20]
jne 0x40c7be
repz ret
jmp fcn.00410a92

Function at 0x412a63
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x412a94
call fcn.0040d697
mov dword [eax], esi
call fcn.0040d684
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041113c
add esp, 0x14
push 0x16
pop eax
jmp 0x412ae9
test dword [ebp + 0xc], 0xfffffff9
jne 0x412a70
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x412ac1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040d6aa
pop ecx
call fcn.0040d684
mov eax, dword [eax]
jmp 0x412ae9
test al, 0x10
jne 0x412ae7
test al, 1
je 0x412ae7
test byte [ebp + 0xc], 2
je 0x412ae7
call fcn.0040d697
mov dword [eax], 5
call fcn.0040d684
mov dword [eax], 0xd
jmp 0x412ab8
xor eax, eax
pop esi
pop ebp
ret
Function at 0x417610
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104a1
and dword [ebp - 4], 0
cmp dword [0x42c9a0], 0
mov ebx, eax
jne 0x4176c1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417772
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x417772
push eax
call fcn.0041042f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42c9a0], eax
call esi
push eax
call fcn.0041042f
mov dword [esp], 0x422534
push edi
mov dword [0x42c9a4], eax
call esi
push eax
call fcn.0041042f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c9a8], eax
call esi
push eax
call fcn.0041042f
pop ecx
mov dword [0x42c9b0], eax
test eax, eax
je 0x4176c1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041042f
pop ecx
mov dword [0x42c9ac], eax
mov eax, dword [0x42c9ac]
cmp eax, ebx
je 0x417719
cmp dword [0x42c9b0], ebx
je 0x417719
push eax
call fcn.004104aa
push dword [0x42c9b0]
mov esi, eax
call fcn.004104aa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417719
test edi, edi
je 0x417719
call esi
test eax, eax
je 0x417710
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x417710
test byte [ebp - 0xc], 1
jne 0x417719
or dword [ebp + 0x10], 0x200000
jmp 0x417752
mov eax, dword [0x42c9a4]
cmp eax, ebx
je 0x417752
push eax
call fcn.004104aa
pop ecx
test eax, eax
je 0x417752
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x417752
mov eax, dword [0x42c9a8]
cmp eax, ebx
je 0x417752
push eax
call fcn.004104aa
pop ecx
test eax, eax
je 0x417752
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c9a0]
call fcn.004104aa
pop ecx
test eax, eax
je 0x417772
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417774
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010b0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4016a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [esp + 0x158]
lea ecx, [esp]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp]
mov dword [esp + 0x150], 0
mov eax, dword [ecx - 8]
cmp eax, 1
jge 0x40111e
lea ecx, [esp]
mov dword [esp + 0x150], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
add esp, 0x154
ret 4
mov al, byte [ecx + eax - 1]
push edi
push esi
cmp al, 0x5c
push ebp
je 0x401138
cmp al, 0x2f
je 0x401138
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401376
push str..tmp
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4011bb
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040136a
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x14]
test al, 4
jne 0x4011af
test ah, 1
jne 0x4011af
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x40117f
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x154]
pop ebp
pop esi
pop edi
mov dword fs:[0], ecx
add esp, 0x154
ret 4
Function at 0x401400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402210
push 0x401610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x40311c], 0xffffffff
mov dword [0x403120], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x403110]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40310c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x403118], ecx
call fcn.00401600
mov eax, dword [0x403030]
test eax, eax
jne 0x401491
push 0x4015f0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.004015d0
push 0x403014
push 0x403010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x403108]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x403104]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x40300c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x40159f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x401505
cmp al, 0x22
jne 0x4014f7
cmp byte [esi], 0x22
jne 0x40150e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40151e
cmp al, 0x20
ja 0x40151e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40150e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40153f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x401544
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x401584
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40150e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40159f
Function at 0x8f0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8f01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8f007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f006a
add dl, dl
jne 0x8f0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f00dc
xor eax, eax
add dl, dl
jne 0x8f0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f017d
add dl, dl
jne 0x8f00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8f00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8f0075
mov eax, 1
add dl, dl
jne 0x8f00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f00e1
sub eax, ebx
mov ebx, 1
jne 0x8f0128
mov ecx, 1
add dl, dl
jne 0x8f010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8f013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f0136
cmp eax, 0x7d00
jae 0x8f016d
cmp eax, 0x500
jb 0x8f0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f0075
cmp eax, 0x7f
ja 0x8f0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8f019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8f0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10003420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003479
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003479
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000346a
cmp esi, edx
jae 0x10003479
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10003458
cmp esi, edx
jae 0x10003479
cmp word [esi], 0
je 0x10003479
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10005580
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8730
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x54
call fcn.1006a76e
mov ecx, dword [ebp + 8]
mov esi, eax
lea edx, [esi + 4]
mov dword [ebp - 0x14], esi
add esp, 4
mov dword [ebp - 4], 0
lea edi, [edx + 4]
mov dword [ebp - 0x18], edx
mov dword [esi], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CAsyncExecuteURLExe__AEXV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_00_ZPAV3_AAV42_AAV42_AAV42__std__X__V_std__.0
lea ebx, [ecx + 4]
mov eax, dword [ecx]
mov ecx, edi
push ebx
mov dword [edx], eax
mov dword [ebp + 8], edi
call fcn.10005660
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
push eax
mov dword [ebp - 0x18], ecx
call fcn.10005660
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.10005660
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x48], eax
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

Function at 0x10005cf0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8840
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ecx + 4]
lea eax, [ecx + 8]
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
lea esi, [eax + 0x18]
lea edi, [eax + 0x30]
push eax
call fcn.10005660
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.10005660
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push edi
call fcn.10005660
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ecx + 0x48]
call 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
Function at 0x10006650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a88b7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x100afcec
mov dword [ebp - 0x14], edi
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [edi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000b420
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.1006a76e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10006717
push 1
mov byte [ebp - 4], 3
call fcn.10058811
add esp, 4
mov dword [ebx + 4], eax
jmp 0x10006719
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret