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

Disassembly:
push 0xffffffffffffffff
push 0x472bc8
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.00469d91
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00439fb0
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.00469cbf
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.004664ae
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.004664ae
push 1
push 0
push 0
mov ecx, esi
call fcn.00466456
push 1
push 0
push 1
mov ecx, esi
call fcn.00466456
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00469e03
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43a790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472be8
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.00469d91
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00439fb0
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.00469cbf
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 0x43a854
cmp dword [esp + 0x40], 1
jne 0x43a852
cmp ecx, eax
jge 0x43a854
mov eax, ecx
cmp eax, 0xc8
jge 0x43a860
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043a610
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.00469e03
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43afd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472c53
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.004648c7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.0046a039
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046b591
test eax, eax
je 0x43b0ec
mov ecx, dword [esp + 0x3c]
call fcn.0046a066
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 0x43b0b0
push edi
mov ecx, esi
call fcn.00467630
mov ecx, esi
call fcn.0043b250
cmp dword [esp + 0x38], 1
jne 0x43b0e5
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.0046779a
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 0x43db00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43db33
push esi
call fcn.00440c10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43db2c
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 0x43dbb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43dba2
mov eax, dword [esi + 8]
test eax, eax
je 0x43db57
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 0x43db9e
cmp eax, 2
je 0x43dba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43db4a
cmp eax, 3
je 0x43db7d
cmp eax, 1
jne 0x43db4a
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 0x43db4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43db4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043dbe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43dbc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043dbe0
add esp, 4
pop esi
ret

Function at 0x4656bc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4656f4
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.00463773
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046374b
jmp 0x465700
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x466db6
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 0x466df8
call fcn.0046ca93
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x466df8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466def
xor eax, eax
jmp 0x466e00
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00466e06
pop edi
pop esi
pop ebx
ret 4

Function at 0x46cfc3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46cff1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d00f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046cf29
jmp 0x46d00f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d00f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046cf29
test edi, edi
mov eax, edi
jne 0x46cff9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401310
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0xcf0000
push str.HWLoadAppWindow
push str.HW_CY_LOADAPP_
push 0x88
mov dword [0x40897c], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x408744], eax
jne 0x40134e
ret 8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x408744]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
ret 8

Function at 0x401370
Capabilities:
Check os version

Disassembly:
sub esp, 0xb0
push esi
push edi
push 0
push str.HW_CY_LOADAPP_
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x401396
pop edi
xor eax, eax
pop esi
add esp, 0xb0
ret 0x10
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x34], 2
jne 0x4013ce
cmp dword [esp + 0x28], 5
jb 0x4013ce
mov dword [0x408748], 1
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [esp + 0xbc]
push esi
call fcn.00401280
test eax, eax
jne 0x4013f9
pop edi
pop esi
add esp, 0xb0
ret 0x10
mov ecx, dword [esp + 0xc8]
push ecx
push esi
call fcn.00401310
test eax, eax
jne 0x401416
pop edi
pop esi
add esp, 0xb0
ret 0x10
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x14]
push 0
push edx
call ebp
test eax, eax
je 0x4014b2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esp + 0x14]
cmp eax, 0x4b
jne 0x401456
call dword [0x408940]
jmp 0x401492
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x401492
cmp eax, 0x8400
jne 0x401492
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x408744]
push eax
push ecx
push 0x8400
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x408748]
test eax, eax
je 0x40148e
push 0
jmp 0x401490
push 0x32
call esi
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
call ebp
test eax, eax
jne 0x401445
pop ebx
mov eax, dword [0x408740]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop edi
mov eax, dword [esp + 0xc]
pop esi
add esp, 0xb0
ret 0x10
Function at 0x40234d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406360
cmp edx, dword [eax]
je 0x40236f
add eax, 8
inc ecx
cmp eax, 0x4063f0
jl 0x402360
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406360]
jne 0x40249d
mov eax, dword [0x408754]
cmp eax, 1
je 0x402477
test eax, eax
jne 0x4023a0
cmp dword [0x4062b4], 1
je 0x402477
cmp edx, 0xfc
je 0x40249d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4023d7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402ae0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40241a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402ae0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053f8
push edi
call fcn.00404180
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402940
lea eax, [ebp - 0xa0]
push 0x4053d8
push eax
call fcn.00402940
push dword [esi + 0x406364]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004040f4
add esp, 0x2c
pop edi
jmp 0x40249d
lea eax, [ebp + 8]
lea esi, [esi + 0x406364]
push 0
push eax
push dword [esi]
call fcn.00402ae0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x6a260c
Capabilities:
Encode data using xor

Disassembly:
lea eax, [ebx + 0x47c461e2]
pushal
not al
lea eax, [0x6a6ae8]
call fcn.006a2d86
push ebp
push ebx
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax - 0x41], ch
pop ecx
clc
adc ebp, eax
sbb eax, 0xe8000ff4
verw ax
mov bh, 0x3b
salc
sbb al, 0x33
dec byte [edi + 0x25]
fldcw word [esi + 0x209a971b]
fidiv word es:[eax - 0x7bd52b67]
sti
pop ds
pop edi
or eax, 0x4289f983
out 0x49, eax
xor byte [eax + 0x72d722c2], 0x6b
mov bh, byte [eax - 0x74]
mov ah, 0x8e
jne 0x6a15ca
out 0x2d, al
jnp 0x6a15ac
loopne 0x6a15b7
stc
xchg ebx, eax
cdq
les ebx, [ecx - 0x7c79bbaa]
lahf
push 0x8f8ad4d5
mov dword [esp], ebx
pushal
push 0xa089b874
lahf
not eax
mov byte [esp], al
pushal
lahf
mov byte [edi - 1], 0
not al
lea esp, [esp + 0x24]
jge 0x6a221d
push ebx
jmp 0x6a15a3
Function at 0x403580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468628
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.004026a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401500
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 0x403612
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 0x4108b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4698d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00460cf8
xor edi, edi
lea ebp, [esi + 0x10]
mov dword [esi], 0x4708e0
mov dword [esp + 0x2c], edi
mov dword [ebp + 4], edi
mov dword [ebp], 0x4751d0
mov ebx, dword [esp + 0x34]
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
cmp dword [ebx + 0xc], edi
sete al
mov byte [esp + 0x2c], 1
cmp eax, edi
mov dword [esi + 0x30], eax
je 0x4109f8
mov eax, dword [ebx + 4]
push eax
call fcn.0072fb63
add edx, dword [eax - 0x75]
into
call fcn.00461118
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00737e9c
push ds
test eax, eax
lea edi, [esi + 0x20]
je 0x410955
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x50]
jmp 0x410972
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
mov eax, dword [ebx + 4]
sub ecx, edx
push ecx
push eax
call fcn.00738171
dec esi
push eax
mov ecx, ebp
call fcn.004613ff
test ebp, ebp
je 0x41099c
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.00461488
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00460e48
mov eax, dword [esp + 0x48]
test eax, eax
je 0x410a0a
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov ebp, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, ebx
test ebp, ebp
je 0x4109e0
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
push ecx
push edx
mov edx, dword [esi + 4]
push ebx
push edx
call fcn.007381a8
shr ebx, cl
adc cl, byte [ebx + 0x46890c43]
or al, 0x8b
dec ebx
add al, 0x89
dec esi
add al, 0x8b
push ebx
or byte [ecx + 0x4c8b0856], cl
and al, 0x24
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x41b740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.0044eae0
mov eax, dword [0x4861d4]
mov ecx, dword [esp + 0x28]
mov esi, dword [0x4861d0]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x60], edi
call fcn.00441010
mov edx, dword [esp + 0x2c]
push esi
push edx
call fcn.00441010
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
add esp, 0x10
cmp ebp, edi
mov dword [esp + 0x30], 0x40
jbe 0x41b7bd
push 0x40
lea eax, [edi + ebx]
push eax
lea ecx, [esp + 0x24]
call fcn.0044ebc0
add edi, 0x40
cmp edi, ebp
jb 0x41b7a7
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0041b700
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x58], 1
jb 0x41b7e1
mov eax, dword [eax + 4]
jmp 0x41b7e4
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.0041c380
cmp dword [esp + 0x4c], esi
mov byte [esp + 0x58], 3
jb 0x41b806
mov edx, dword [esp + 0x38]
push edx
call fcn.0045dd75
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
lea edi, [ebx + 4]
call fcn.0041c090
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x41b84b
test cl, cl
je 0x41b847
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x41b84b
add eax, 2
add edi, 2
test cl, cl
jne 0x41b827
xor eax, eax
jmp 0x41b850
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41b88a
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0041c050
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.0044eb80
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
mov ebp, ebx
lea edi, [ebx + 0x20]
mov esi, 4
push 0x20
push edi
push ebp
call fcn.0042f2c0
add esp, 0xc
add edi, 0x40
add ebp, 0x20
dec esi
jne 0x41b894
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x80
lea ecx, [esi + 0xf4]
call fcn.00458389
mov edi, dword [esi + 0xf8]
mov ecx, 0x20
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0041c050
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.0044eb80
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
Function at 0x41e997
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4723ec
lea ebx, [esi + 0x30]
call fcn.0045de2e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
xor edi, edi
mov dword [esp + 0x18], edi
call fcn.0045de2e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x34], eax
push 0x46f649
mov ecx, ebx
mov byte [esp + 0x1c], 1
mov dword [esi + 0x2c], edi
mov dword [esi + 4], edi
mov dword [esi + 0x50], edi
call fcn.00409030
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
pop edi
mov dword [esi + 0x38], 6
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4258f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
push edi
jbe 0x425949
mov eax, dword [ebp + 0xc]
mov byte [ebp - 1], 0
lea edi, [eax + ebx*4]
xor esi, esi
push dword [esi + 0x4863d0]
push dword [edi]
call fcn.0074c4c5
xor dword [ebp - 0x74ef8a40], eax
xchg byte [eax - 0x74ffb79d], al
dec ebp
sbb dh, al
inc ebp
inc dword [ecx]
mov dword [ecx + ebx*4], eax
add esi, 4
cmp esi, 0x4c
jb 0x425913
cmp byte [ebp - 1], 0
je 0x425952
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x425907
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
mov eax, 0x80020006
jmp 0x42594b
Function at 0x4372d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x437305
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43730c
cmp ebx, dword [eax + 4]
jae 0x43730c
xor eax, eax
jmp 0x4374fc
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43731d
xor eax, eax
inc eax
jmp 0x4374fb
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x437333
cmp ecx, edx
jae 0x437478
cmp dword [eax + 4], 0
je 0x43733c
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x437324
cmp dword [ebp + 8], 0
je 0x43735e
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x437478
cmp eax, esi
jae 0x437478
mov eax, dword [0x48f1c8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x437383
cmp dword [esi*4 + 0x48f1d0], edi
je 0x43747c
inc esi
cmp esi, eax
jl 0x437371
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.00753ec1
adc al, 0x85
ror byte [edi], 0x84
pushal
add dword [eax], eax
add byte [ecx + 0xf87d], al
add byte [ecx], al
jne 0x4374f8
test byte [ebp - 0xc], 0xcc
je 0x437401
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4374f8
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4374f8
cmp word [eax + 0x18], 0x10b
jne 0x4374f8
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4374f8
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x437401
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x437401
test byte [ecx + 0x27], 0x80
jne 0x437478
push 1
push 0x48f210
call fcn.0072f7eb
push edx
test eax, eax
jne 0x437315
mov ecx, dword [0x48f1c8]
test ecx, ecx
mov edx, ecx
jle 0x437435
lea eax, [ecx*4 + 0x48f1cc]
cmp dword [eax], edi
je 0x437435
dec edx
sub eax, 4
test edx, edx
jg 0x437429
test edx, edx
jne 0x437466
push 0xf
pop ebx
cmp ecx, ebx
jg 0x437442
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43745a
lea eax, [edx*4 + 0x48f1d0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x437448
cmp ecx, 0x10
jge 0x437466
inc ecx
mov dword [0x48f1c8], ecx
push 0
push 0x48f210
call fcn.0072f7eb
loopne 0x43745d
popfd
invalid
xor eax, eax
jmp 0x4374fb
test esi, esi
jle 0x437315
call fcn.00757b4c
ret
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret