joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10046660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a1708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.1009b2e3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10045fc0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1009b211
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.10097af4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.10097af4
push 1
push 0
push 0
mov ecx, esi
call fcn.10097a9c
push 1
push 0
push 1
mov ecx, esi
call fcn.10097a9c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1009b355
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x100467e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a1708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1009b2e3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10045fc0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1009b211
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x100468a4
cmp dword [esp + 0x40], 1
jne 0x100468a2
cmp ecx, eax
jge 0x100468a4
mov eax, ecx
cmp eax, 0xc8
jge 0x100468b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10046660
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1009b355
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10047070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a15a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10095f2f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1009b58b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1009ca9e
test eax, eax
je 0x1004718c
mov ecx, dword [esp + 0x3c]
call fcn.1009b5b8
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10047150
push edi
mov ecx, esi
call fcn.10098c0e
mov ecx, esi
call fcn.10047330
cmp dword [esp + 0x38], 1
jne 0x10047185
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10098d49
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x100492a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100492d3
push esi
call fcn.100575d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100492cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10049359
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10049342
mov eax, dword [esi + 8]
test eax, eax
je 0x100492f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004933e
cmp eax, 2
je 0x10049342
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100492ea
cmp eax, 3
je 0x1004931d
cmp eax, 1
jne 0x100492ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x100492ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100492ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10049380
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10049368
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10049380
add esp, 4
pop esi
ret

Function at 0x10049bf0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10049c11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10049c11
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10049c11
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1004a060
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1004a06b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1004a16e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100a8748]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100a8748]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100a8748]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100a8748]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100a8748]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100a8748]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100a8748]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100a8748]
xor eax, edx
inc ecx
dec edi
jne 0x1004a086
pop edi
test esi, esi
je 0x1004a190
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100a8748]
xor eax, edx
inc ecx
dec esi
jne 0x1004a172
pop esi
pop ebx
not eax
ret
Function at 0x10065cb0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x10065cf7
mov edi, dword [esp + 0x10]
push edi
call fcn.100946c2
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx]
push eax
push edi
push 1
push ecx
call fcn.1007db91
sub eax, edi
add esp, 0x14
neg eax
sbb eax, eax
pop edi
and eax, 0x21
pop esi
ret 0xc
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10065d2b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10065d2b
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x10065d15
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x10065d2b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.10065df0
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x18]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0x5a
jle 0x10065d5e
cmp edi, 0x5a
jle 0x10065d5e
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x10065d5e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
imul eax, dword [esi + 0x3c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x1fff
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
sar edi, 0xd
cmp edi, eax
jbe 0x10065d8d
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x10065dd3
cmp ebx, 1
jge 0x10065dd3
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x10065dd3
mov al, byte [esi + 0x1d]
test al, al
jne 0x10065dd3
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x10065dd3
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x10065dd3
mov al, byte [esi + 0x1d]
test al, al
je 0x10065db3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.10065df0
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x10066fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x24]
test al, al
jne 0x10066fe7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.1007db91
add esp, 0x10
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.1007e063
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push 1
push ebx
call fcn.1007db91
mov esi, eax
add esp, 0x14
test esi, esi
jbe 0x1006701b
push esi
push ebx
push edi
mov ecx, ebp
call fcn.10067170
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10067030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100e59fc]
xor edx, edx
cmp eax, edx
jne 0x10067056
xor eax, eax
mov byte [eax + 0x100e58fc], al
inc eax
cmp eax, 0x100
jl 0x1006703e
mov dword [0x100e59fc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100e58fc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100670e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x100670ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10067088
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100670f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10067143
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1006712a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1006db10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a192e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.1006e430
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x100aa634
call fcn.100946c2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x1006dba3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100946c2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x1006db9c
push 0
mov ecx, eax
call fcn.10064c70
mov dword [esi + 0xc], eax
jmp 0x1006dba5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x1006dba5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x1008f8e0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100d246c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10082490
mov dword [ebp - 0x14], eax
cmp dword [0x100f8564], edi
jne 0x1008f9d1
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1008f95e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008fab1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1008fab1
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008fab1
push eax
call ebx
push 0x100b559c
push esi
mov dword [0x100f8564], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100b55ac
push esi
mov dword [0x100f8568], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100f856c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100f8574], eax
test eax, eax
je 0x1008f9ce
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100f8570], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008f9f6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008f9e9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1008fa0b
push 4
pop eax
jmp 0x1008fab3
cmp dword [ebp - 0x14], edi
je 0x1008fa0b
push dword [0x100f8564]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1008f9f0
mov eax, dword [0x100f8570]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1008fa69
cmp dword [0x100f8574], esi
je 0x1008fa69
push eax
call ebx
push dword [0x100f8574]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1008fa69
test eax, eax
je 0x1008fa69
call ecx
test eax, eax
je 0x1008fa5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1008fa5e
test byte [ebp - 8], 1
jne 0x1008fa69
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1008fa99
mov eax, dword [0x100f8568]
cmp eax, esi
je 0x1008fa96
push eax
call ebx
test eax, eax
je 0x1008fa96
call eax
mov edi, eax
test edi, edi
je 0x1008fa96
mov eax, dword [0x100f856c]
cmp eax, esi
je 0x1008fa96
push eax
call ebx
test eax, eax
je 0x1008fa96
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100f8564]
call ebx
test eax, eax
je 0x1008fab1
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1008fab3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100861bc
leave
ret
Function at 0x10096d0a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10096d42
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10094ddc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10094db4
jmp 0x10096d4e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100983fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1009843e
call fcn.1009dd5f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1009843e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10098435
xor eax, eax
jmp 0x10098446
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1009844c
pop edi
pop esi
pop ebx
ret 4
Function at 0x402de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov al, 0xae
mov byte [esp + 0x27], 1
mov dword [esp + 0x20], 0x27b1
mov byte [esp + 0x1f], 0xfd
mov cl, byte [esp + 0x1f]
mov dl, cl
add dl, 0x2e
mov byte [esp + 0x17], dl
mov dl, byte [esp + 0x17]
sub al, byte [esp + 0x1f]
cmp al, dl
mov byte [esp + 7], cl
jae 0x402ee8
jmp 0x402e64
mov eax, dword [esp + 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x7836
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
add ecx, 0x185a
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ecx
jbe 0x402e23
jmp 0x402e64
mov dword [esp + 0x10], 0
jmp 0x402e23
lea eax, [fcn.00402de0]
mov dword [esp + 8], eax
jmp 0x402ecb
mov eax, dword [esp + 0x38]
add eax, 0x25d3
mov dword [esp + 0x38], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
jmp 0x402e23
mov al, byte [esp + 0x1f]
mov cl, 9
sub cl, al
xor al, 0x98
mov byte [esp + 0x1e], al
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x51a
cmp al, cl
jbe 0x402e7b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
or eax, eax
or ecx, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 8]
mov ecx, dword [edx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x402e2f
jmp 0x402ee1
mov eax, 0x81fe
mov ecx, dword [esp + 8]
sub eax, dword [esp + 0x20]
movzx ecx, word [ecx]
cmp ecx, eax
je 0x402e7b
jmp 0x402f01
mov byte [esp + 0x37], 0xe5
jmp 0x402f01
mov al, 0xa3
mov cl, byte [esp + 0x1f]
xor cl, 0xf4
mov byte [esp + 0xf], cl
cmp al, byte [esp + 0xf]
jne 0x402e58
jmp 0x402ee1
mov eax, 0x17b1
mov ecx, 0x37b1
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffff851b
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 8]
or esi, dword [esp + 0x38]
mov dword [esp + 0x38], esi
mov bl, byte [esp + 7]
xor bl, 0xff
mov esi, dword [esp + 0x20]
sub ecx, edx
sub edi, ecx
sub eax, esi
and edi, eax
mov byte [esp + 0x37], bl
mov dword [esp + 8], edi
mov byte [esp + 0x37], 0x65
mov al, byte [esp + 0x27]
test al, 1
jne 0x402ecb
jmp 0x402e4e
Function at 0x403d90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov bl, 7
mov byte [esp + 0x31], 0x3d
mov bh, 0x3d
mov dword [esp + 0x14], eax
mov al, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x42ed
mov byte [esp + 0x27], al
mov si, word [esp + 0x32]
mov di, si
add di, 0x2974
mov word [esp + 0x32], di
cmp bl, byte [esp + 0x27]
mov byte [esp + 0x13], bh
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov word [esp + 6], si
ja 0x403e21
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
add edx, esi
add edx, edi
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x7f47
mov eax, esp
mov dword [eax], 0
mov eax, dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
call eax
mov dx, word [esp + 6]
mov cx, dx
not ecx
mov si, cx
mov word [esp + 0x32], si
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc