joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push edi
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 4
push eax
mov eax, dword [esi + 4]
push 0
push ebx
mov dword [ebp - 0xd0], 4
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x460dc9
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0xc8
push eax
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [esi + 4]
push ebx
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x460db4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 8
push 0xa
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00486cb0
add esp, 0xc
mov dword [edi], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 8

Function at 0x460f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
mov esi, ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [esi + 4]
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x460f53
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov eax, dword [esi + 4]
push dword [ebp + 8]
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x460f53
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x460fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebp - 4], 3
push dword [ebp + 0xc]
push eax
mov eax, dword [ecx + 4]
push 0
push dword [ebp + 8]
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465110
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x465144
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d522
mov esi, eax
add esp, 4
xor eax, eax
mov word [esi], ax
push edi
push esi
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jns 0x465158
or edi, 0xffffffff
jmp 0x465171
mov edx, dword [ebp + 8]
test esi, esi
mov ecx, 0x4c2758
cmovne ecx, esi
push ecx
push edi
call fcn.0045cf20
add esp, 8
mov edi, eax
test esi, esi
je 0x46517e
push esi
call fcn.0047d4ed
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4651e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor esi, esi
lea edi, [eax + 1]
test edi, edi
je 0x46521a
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d522
mov esi, eax
add esp, 4
xor eax, eax
mov word [esi], ax
push edi
push esi
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x46522d
xor edi, edi
jmp 0x465246
test esi, esi
mov ecx, 0x4c2758
cmovne ecx, esi
xor edx, edx
push ecx
push 0
call fcn.0045cf20
add esp, 8
mov edi, eax
test esi, esi
je 0x465253
push esi
call fcn.0047d4ed
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x466520
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e498
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
push 0
add eax, 0x1000
push eax
call fcn.004593a0
push 0
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
push 0
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x46662a
cmp esi, 0xffffffff
je 0x46661a
push 0
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x46661a
cmp edi, 0xffffffff
je 0x46660f
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00466480
add esp, 4
test eax, eax
je 0x46660f
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46662a
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, 1
jmp 0x46662c
test edi, edi
je 0x46661a
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test esi, esi
je 0x46662a
cmp esi, 0xffffffff
je 0x46662a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.004593f0
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 0x4667f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push ecx
push 0x4667d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [ebp - 4]
test esi, esi
je 0x466845
cmp esi, 0xffffffff
je 0x466845
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x467880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x4678a0
cmp word [esi], 0
jne 0x4678b8
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [ebp - 0x20c]
mov eax, dword [0x4d42f4]
test eax, eax
je 0x4678ca
push eax
call fcn.0047d4ed
add esp, 4
or edx, 0xffffffff
mov ecx, esi
call fcn.00412220
mov dword [0x4d42f4], eax
mov eax, dword [0x4d42dc]
pop esi
test eax, eax
je 0x4678ec
push eax
call fcn.0047d4ed
add esp, 4
cmp word [str.fastcopy_exception.log], 0
mov eax, str.exception.log
mov ecx, str.fastcopy_exception.log
cmove ecx, eax
or edx, 0xffffffff
call fcn.00412220
mov edx, dword [0x4d42f4]
lea ecx, [ebp - 0x414]
push 0x7fffffff
push eax
mov dword [0x4d42dc], eax
call fcn.0045c480
mov eax, dword [0x4d434c]
add esp, 8
test eax, eax
je 0x46793a
push eax
call fcn.0047d4ed
add esp, 4
or edx, 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.00412220
mov dword [0x4d434c], eax
mov eax, dword [0x4d4358]
test eax, eax
je 0x46795f
push eax
call fcn.0047d4ed
add esp, 4
mov eax, dword [0x4d4338]
mov dword [0x4d4358], 0
test eax, eax
je 0x46797b
push eax
call fcn.0047d4ed
add esp, 4
cmp dword [0x4d4350], 0
mov dword [0x4d4338], 0
je 0x4679dd
cmp word [0x4b8664], 0
mov eax, str.exception.dmp
mov ecx, 0x4b8664
cmove ecx, eax
or edx, 0xffffffff
call fcn.00412220
mov edx, dword [0x4d42f4]
lea ecx, [ebp - 0x61c]
push 0x7fffffff
push eax
mov dword [0x4d4358], eax
call fcn.0045c480
add esp, 8
lea ecx, [ebp - 0x61c]
or edx, 0xffffffff
call fcn.00412220
mov dword [0x4d4338], eax
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
Function at 0x468bc0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.00465660
test eax, eax
jne 0x468bf6
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x468cae
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x110]
push 5
push esi
mov dword [edi + 0x68], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x468cae
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x468c72
mov eax, ebx
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x468c69
test dx, dx
je 0x468c65
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x468c69
add ecx, 4
add eax, 4
test dx, dx
jne 0x468c43
xor eax, eax
jmp 0x468c6e
sbb eax, eax
or eax, 1
test eax, eax
je 0x468c83
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x468c24
jmp 0x468cae
push 0
push dword [edi + 0x68]
mov dword [edi + 0x6c], esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 1
push 0xf4
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 8
Function at 0x4696f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e7b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00469590
mov eax, dword [0x4d3c68]
test eax, eax
je 0x46972d
mov eax, dword [eax + 0x20]
jmp 0x46972f
xor eax, eax
push 0x4be62c
push 0x384
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x46975a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4d3c68]
test eax, eax
je 0x469768
mov eax, dword [eax + 0x20]
jmp 0x46976a
xor eax, eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x4d3c68]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x469784
mov ecx, dword [ecx + 0x20]
jmp 0x469786
xor ecx, ecx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
sub esp, 8
lea ecx, [ebx + 0x34]
mov esi, eax
push dword [ebp - 0x14]
call fcn.00469520
push dword [ebp - 0x14]
push esi
push dword [ebx + 0x38]
call fcn.0047f730
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebx + 0x34]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x4697d9
xor esi, esi
jmp 0x469830
mov edi, dword [ebp - 0x10]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x469806
lea eax, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push eax
push edi
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x469808
xor esi, esi
lea eax, [ebp - 0x14]
cmp ebx, eax
je 0x46981b
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x469827
mov eax, dword [ecx]
jmp 0x469823
test esi, esi
je 0x469827
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, ebx
call fcn.00469860
mov esi, eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x469844
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46a880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0xc], eax
lea ebx, [ecx + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [esp + 0x14], eax
mov eax, esi
mov dword [esp + 0x18], edx
sub eax, ecx
mov dword [esp + 0x1c], ebx
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], 4
nop word [eax + eax]
movq xmm0, qword [eax + ebx]
mov eax, dword [ebx + 4]
mov edi, dword [ebx - 8]
mov ecx, dword [ebx]
movq qword [esp + 0x30], xmm0
xor eax, dword [esp + 0x34]
xor ecx, dword [esp + 0x30]
movq xmm0, qword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [ebx - 4]
movq qword [esp + 0x28], xmm0
xor eax, dword [esp + 0x2c]
xor edi, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, edi
mul ecx
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0xc]
mul ecx
mov ecx, eax
mov dword [esp + 0x28], edx
mov eax, edi
mul dword [esp + 0x10]
add eax, esi
mov edi, edx
mov esi, dword [esp + 0x1c]
adc edi, 0
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
adc edi, 0
mul dword [esp + 0x10]
xor ecx, ecx
or ecx, ebx
mov ebx, dword [esp + 0x20]
add eax, edi
mov edi, dword [esp + 0x14]
adc edx, 0
add eax, dword [esp + 0x28]
adc edx, 0
xor ecx, eax
mov eax, dword [esp + 0x30]
xor eax, edx
mov edx, dword [esp + 0x18]
add edi, ecx
mov dword [esp + 0x14], edi
adc edx, eax
mov eax, dword [esp + 0x3c]
add esi, 0x10
mov dword [esp + 0x18], edx
add ebx, 0x10
mov dword [esp + 0x1c], esi
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], ebx
jne 0x46a8c0
push 0x16566791
mov ecx, edx
xor eax, eax
push 0x9e3779f9
shr ecx, 5
xor eax, edx
xor ecx, edi
push eax
push ecx
call fcn.0047dfd0
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479680
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00479400

Function at 0x479690
Capabilities:
Hash data with crc32

Disassembly:
mov edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c1850]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c1850]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4c1850]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4c1850]
mov eax, edx
ret

Function at 0x4799f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004796d0

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4b1e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x72000]
push edi
or ebp, 0xffffffff
jmp 0x4b1e82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b1e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1e78
mov eax, 1
add ebx, ebx
jne 0x4b1e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b1e90
jne 0x4b1eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b1e90
xor ecx, ecx
sub eax, 3
jb 0x4b1ec0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b1f32
mov ebp, eax
add ebx, ebx
jne 0x4b1ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4b1ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4b1efc
inc ecx
add ebx, ebx
jne 0x4b1ee8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b1edd
jne 0x4b1ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b1edd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b1f1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b1f0d
jmp 0x4b1e7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b1f1c
add edi, ecx
jmp 0x4b1e7e
pop esi
mov edi, esi
mov ecx, 0x2cbd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b1f3a
cmp byte [edi], 0x2a
jne 0x4b1f3a
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 0x4b1f3f
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b1fae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb2378]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb250c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b1f6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb2514]
or eax, eax
je 0x4b1fa8
mov dword [ebx], eax
add ebx, 4
jmp 0x4b1f89
call dword [esi + 0xb2510]
mov ebp, dword [esi + 0xb2518]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x4b1fe2
sub esp, 0xffffff80
jmp 0x45e1ec
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x100056a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101da943
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
push 0x404
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.101b5530
add esp, 0xc
mov dword [ebp - 0x428], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x434], esi
test esi, esi
jne 0x10005760
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x434], eax
test esi, esi
jne 0x10005760
call fcn.10004ba0
mov edi, eax
jmp 0x10005892
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10005783
call fcn.10004ba0
jmp 0x10005885
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x430], ebx
test ebx, ebx
jne 0x100057a1
call fcn.10004ba0
jmp 0x10005885
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x42c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x100057c2
mov edi, 0x8007000e
jmp 0x10005887
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], edx
test edx, edx
ja 0x100058d6
jb 0x100057ec
cmp eax, 0xffffffff
ja 0x100058d6
cmp eax, 0x400
jbe 0x10005808
push eax
lea ecx, [ebp - 0x428]
call fcn.10007f40
mov dword [ebp - 4], 1
jmp 0x1000583c
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 1
jmp 0x1000583c
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x1000584d
mov edi, 0x8007000e
jmp 0x10005887
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10005868
call fcn.10004ba0
jmp 0x10005885
xor edx, edx
mov eax, dword [ebp - 0x428]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x428]
lea ecx, [ebp - 0x20]
call fcn.100065c0
mov edi, eax
test esi, esi
je 0x10005892
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x424]
cmp dword [ebp - 0x428], eax
je 0x100058af
lea ecx, [ebp - 0x428]
call fcn.10007f30
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10004a90
int3
Function at 0x1000c920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db621
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 4]
mov dword [esi + 0x38], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [ebp - 4], 2
xor eax, eax
movups xmm0, xmmword [0x101faa80]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x101faa80]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0xfefefefe
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x101faaa0]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x101faac0]
mov dword [esi + 0x30], 0x10001
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x40]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.101d4180
mov byte [ebp - 4], 5
mov byte [esi + 0x1188], 0
mov dword [ebp - 4], 6
mov ecx, dword [0x10267418]
mov dword [esi], vtable.ATL::CComObject_class_CSafeBho_.1.0
mov dword [esi + 8], vtable.ATL::CComObject_class_CSafeBho_.2.0
mov dword [esi + 0xc], vtable.ATL::CComObject_class_CSafeBho_.0
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4