joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425760
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x4257a1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4257a1.2
jmp dword [eax*4 + 0x42582c]
mov word [esp + 0x48], di
jmp 0x4257da
mov word [esp + 0x48], 2
jmp 0x4257da
mov word [esp + 0x48], 3
jmp 0x4257da
mov word [esp + 0x48], 4
jmp 0x4257da
mov word [esp + 0x48], 7
jmp 0x4257da
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x425824
cmp dword [esp + 0x70], edi
je 0x425810
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x425900
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x42591e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x425913
pop esi
ret

Function at 0x425930
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x425999
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004212a0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x100e2e20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x103159e8], 0
je 0x100e2e39
mov eax, dword [0x103159e8]
jmp 0x100e2fd6
mov dword [0x103159e8], 0x103159b8
push 0x28
push 0
push 0x103159b8
call fcn.100d351b
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x103159b8], eax
push 0x102cc490
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x103159bc], eax
cmp dword [0x103159bc], 0
jne 0x100e2e7f
xor eax, eax
jmp 0x100e2fd6
push str.ImagehlpApiVersionEx
mov eax, dword [0x103159bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159c0], eax
push str.SymInitialize
mov ecx, dword [0x103159bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159c4], eax
push str.SymSetOptions
mov edx, dword [0x103159bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159c8], eax
push str.SymGetOptions
mov eax, dword [0x103159bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159cc], eax
push str.SymLoadModule
mov ecx, dword [0x103159bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159d0], eax
push str.SymGetModuleInfo
mov edx, dword [0x103159bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159d4], eax
push str.SymGetSymFromName
mov eax, dword [0x103159bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159d8], eax
push str.BindImage
mov ecx, dword [0x103159bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103159dc], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.100d351b
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x103159c0], 0
je 0x100e2f5d
lea eax, [ebp - 8]
push eax
call dword [0x103159c0]
cmp dword [0x103159c0], 0
je 0x100e2f6f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x100e2f8a
mov edx, dword [0x103159bc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x103159bc], 0
xor eax, eax
jmp 0x100e2fd6
cmp dword [0x103159c4], 0
je 0x100e2fa3
push 0
push 0
mov eax, dword [0x103159b8]
push eax
call dword [0x103159c4]
cmp dword [0x103159cc], 0
je 0x100e2fd1
cmp dword [0x103159c8], 0
je 0x100e2fd1
call dword [0x103159cc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x103159c8]
mov eax, dword [0x103159e8]
mov esp, ebp
pop ebp
ret
Function at 0x100e3970
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029b768
push 0x100d4b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x100e39ad
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x100e39e3
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x100e3b41
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x100e3a1b
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x100e3b41
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x100e3a47
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x100e3b41
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x100e3a6a
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x100e3b1b
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.100d05dc
add esp, 8
test eax, eax
jne 0x100e3b16
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x100e3ab7
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x100e3ab9
jmp 0x100e3b1b
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0x30
jb 0x100e3ae6
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 0x727444
je 0x100e3ae8
jmp 0x100e3b1b
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 0
jne 0x100e3afc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x100e3b41
jmp 0x100e3a61
mov dword [ebp - 4], 0xffffffff
jmp 0x100e3b34
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x52e070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
jmp 0x52e08a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52e091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e080
mov eax, 1
add ebx, ebx
jne 0x52e0a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52e0b4
jne 0x52e0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0d3
dec eax
add ebx, ebx
jne 0x52e0c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52e098
add ebx, ebx
jne 0x52e0cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52e125
xor ecx, ecx
sub eax, 3
jb 0x52e0eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52e15a
sar eax, 1
mov ebp, eax
jmp 0x52e0f6
add ebx, ebx
jne 0x52e0f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0c4
inc ecx
add ebx, ebx
jne 0x52e104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0c4
add ebx, ebx
jne 0x52e111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52e106
jne 0x52e122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52e106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52e144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52e136
jmp 0x52e086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52e144
add edi, ecx
jmp 0x52e086
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52e162
cmp byte [edi], 0x11
jne 0x52e162
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52e167
lea edi, [esi + 0x127000]
mov eax, dword [edi]
or eax, eax
je 0x52e1df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x182f94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x183110]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52e194
mov ecx, edi
jns 0x52e1c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x183114]
or eax, eax
je 0x52e1d9
mov dword [ebx], eax
add ebx, 4
jmp 0x52e1b1
call dword [esi + 0x183124]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52e210
cmp al, 0xef
ja 0x52e203
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52e1e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52e1f2
mov ebp, dword [esi + 0x183118]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52e244
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x11d62e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.11d630ec
mov dword [ebp - 0x14], eax
mov eax, dword [0x11d68fdc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x11d68fe0]
mov dword [ebp - 0xc], eax
push 0x40
push 0x3000
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.11d63ee0
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0x14]
call fcn.11d630bf
pop ecx
and dword [ebp - 4], 0
jmp 0x11d62ef0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x11d68fe4]
je 0x11d62f63
imul eax, dword [ebp - 4], 0xc
mov eax, dword [eax + 0x11d68fe8]
add eax, 0x11d68f80
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
imul eax, dword [ebp - 4], 0xc
push dword [eax + 0x11d68fec]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
imul eax, dword [ebp - 4], 0xc
push dword [eax + 0x11d68fec]
imul eax, dword [ebp - 4], 0xc
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x11d68ff0]
push ecx
push dword [ebp - 0x10]
call fcn.11d633d7
add esp, 0xc
push 0
push dword [ebp - 0x1c]
imul eax, dword [ebp - 4], 0xc
push dword [eax + 0x11d68fec]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x11d62ee9
push dword [0x11d68fa4]
mov eax, dword [0x11d68fa0]
add eax, 0x11d68f80
push eax
mov eax, dword [0x11d68f90]
add eax, 0x11d68f80
push eax
call fcn.11d62fca
add esp, 0xc
mov eax, 0x11d68f80
sub eax, dword [0x11d68f88]
push eax
push dword [0x11d68f9c]
mov eax, dword [ebp - 8]
add eax, dword [0x11d68f98]
push eax
mov eax, dword [0x11d68f90]
add eax, 0x11d68f80
push eax
call fcn.11d6319a
add esp, 0x10
push 0x8000
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
leave
ret

Function at 0x11d630ec
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x208
lea eax, [ebp - 0x410]
push eax
call fcn.11d63168
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x11d68f64], eax
push 0
push 0
push 0
push 2
push 0
push dword [0x11d68f64]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x11d68f68], eax
push 0
push 0
push 0
push 4
push dword [0x11d68f68]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add eax, dword [0x11d68fd8]
leave
ret
Function at 0x11d6319a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x11d631ad
xor eax, eax
jmp 0x11d63331
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x11d631eb
mov eax, dword [ebp - 8]
add eax, 0xf8
mov dword [ebp - 0xc], eax
jmp 0x11d63204
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x8664
jne 0x11d63204
mov eax, dword [ebp - 8]
add eax, 0x108
mov dword [ebp - 0xc], eax
and dword [ebp - 0x10], 0
jmp 0x11d63211
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
je 0x11d6324a
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x24]
push eax
push 0x40
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x11d6320a
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x11d632ea
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
jmp 0x11d6327a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
je 0x11d632d9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x11d63292
jmp 0x11d63273
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, eax
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
sar eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
je 0x11d632ca
jmp 0x11d632d7
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x11d63273
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x11d6324a
and dword [ebp - 0x14], 0
jmp 0x11d632f7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
je 0x11d6332f
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x38], edx
push 0
push dword [ebp - 0x24]
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x11d632f0
xor eax, eax
leave
ret
Function at 0x11d64f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
lea ebx, [eax + ebp]
cmp eax, 8
jbe 0x11d650c7
mov edi, dword [esp + 0x120]
lea esi, [ebp + 8]
push 0x800
lea eax, [edi + 0x5410]
push eax
mov eax, ebx
sub eax, esi
push eax
lea eax, [edi + 0x140c]
push esi
push eax
call fcn.11d68440
add esp, 0x14
cmp eax, 0xffffff88
ja 0x11d650c7
add esi, eax
mov dword [esp + 0x14], 0x1c
mov eax, ebx
sub eax, esi
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.11d65110
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x11d650c7
mov eax, dword [esp + 0x1c]
cmp eax, 8
ja 0x11d650c7
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x804]
push eax
call fcn.11d65530
add esp, 0x10
cmp eax, 0xffffff88
ja 0x11d650c7
add esi, dword [esp + 0x10]
mov eax, ebx
sub eax, esi
mov dword [esp + 0x18], 0x34
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.11d65110
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x11d650c7
mov eax, dword [esp + 0x20]
cmp eax, 9
ja 0x11d650c7
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xb8]
push eax
lea eax, [edi + 0xc08]
push eax
call fcn.11d65530
add esp, 0x10
cmp eax, 0xffffff88
ja 0x11d650c7
add esi, dword [esp + 0x10]
mov eax, ebx
sub eax, esi
mov dword [esp + 0x10], 0x23
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.11d65110
add esp, 0x14
mov dword [esp + 0x28], eax
cmp eax, 0xffffff88
ja 0x11d650c7
mov eax, dword [esp + 0x24]
cmp eax, 9
ja 0x11d650c7
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
push edi
call fcn.11d65530
add esp, 0x10
cmp eax, 0xffffff88
ja 0x11d650c7
add esi, dword [esp + 0x28]
lea eax, [esi + 0xc]
cmp eax, ebx
ja 0x11d650c7
sub ebx, esi
xor edx, edx
sub ebx, 0xc
add edi, 0x5c10
nop
mov ecx, dword [esi]
add esi, 4
test ecx, ecx
je 0x11d650c7
cmp ecx, ebx
jae 0x11d650c7
mov dword [edi], ecx
inc edx
add edi, 4
cmp edx, 3
jl 0x11d650a0
sub esi, ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x10c
ret
Function at 0x11d68070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
shr eax, 8
test al, al
je 0x11d68086
mov dword [esp + 0x14], ecx
jmp fcn.11d67290
mov dword [esp + 0x14], ecx
jmp fcn.11d66700
Function at 0x402570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402589
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4025c6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4025c2
nop word [eax + eax]
cmp esi, edx
jae 0x4025c6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4025b0
cmp esi, edx
jb 0x4025cd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x403563
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403563
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x403555
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetWebViewFactory
push eax
call edi
test eax, eax
je 0x40353d
call eax
mov dword [esi + 4], eax
push str.IWebViewToIWebViewEx
push dword [esi]
call edi
push str.IsSupportedWebViewEngine
push dword [esi]
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
xor eax, eax
cmp dword [esi + 4], eax
pop edi
setne al
pop esi
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x404380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 0x1e8]
push esi
sub ecx, 0x10
call fcn.00407330
cmp dword [eax + 4], 0
lea esi, [eax + 0x10]
je 0x4043ad
push 1
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4043c5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4047b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d10f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6639c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x4047f3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
mov dword [esi + 0x1b8], 0
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x40480e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1a8], 0
mov edx, 0x632ba4
mov dword [esi + 0x1ac], 0
lea ecx, [ebp - 0x10]
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
call fcn.0047d4b0
push 0x632bb4
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406260
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0046cee0
test eax, eax
je 0x404890
push dword [ebp - 0x14]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404890
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.0046d4e0
mov ecx, esi
call fcn.00404fa0
mov ecx, esi
test eax, eax
js 0x4048a9
push 1
jmp 0x4048ab
push 3
call fcn.004043d0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4048d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4048f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4