joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cb5d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.d3d9.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Direct3DCreate9
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x10182e24
lea eax, [esp + 0x14]
and ecx, 3
push 1
push eax
rep movsb byte es:[edi], byte [esi]
push 0x10182e2c
call fcn.100cb680
add esp, 0x14
test al, al
pop edi
pop esi
pop ebx
jne 0x100cb652
push 0x10162748
call fcn.100cb660
add esp, 4
xor eax, eax
add esp, 0x104
ret
mov eax, 1
add esp, 0x104
ret

Function at 0x100ce6a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10185f80]
xor edx, edx
cmp eax, edx
jne 0x100ce6c6
xor eax, eax
mov byte [eax + 0x10185e80], al
inc eax
cmp eax, 0x100
jl 0x100ce6ae
mov dword [0x10185f80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10185e80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100ce757
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 0x100ce72a
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 0x100ce6f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100ce760
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 0x100ce7b3
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 0x100ce79a
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 0x100d5160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10114d8e
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.100d5a80
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1013b504
call fcn.101066c4
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x100d51f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.101066c4
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x100d51ec
push 0
mov ecx, eax
call fcn.100cc2d0
mov dword [esi + 0xc], eax
jmp 0x100d51f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x100d51f5
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 0x100e5810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x100e5931
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x100e5915
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x100e5867
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x100e5845
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x100e6379
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100e63d0
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x100e63d0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x100e63d0
xor eax, eax
inc eax
jmp 0x100e63d2
xor eax, eax
leave
ret 0x10

Function at 0x100e63fb
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x100e6469
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1013f3a4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100e6460
cmp dword [ebp - 0xc], 4
jne 0x100e6460
cmp dword [ebp - 0x10], edi
je 0x100e6460
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x10169ad0], edi
xor eax, eax
jmp 0x100e64a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10169ad0], edi
jge 0x100e64a3
lea eax, [ebp - 0x34]
push eax
mov dword [0x10169ad0], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x100e64a3
cmp word [ebp - 0x14], 5
jb 0x100e64a3
call fcn.100e63d6
test eax, eax
je 0x100e64a3
emms
mov dword [0x10169ad0], 1
mov eax, dword [0x10169ad0]
pop edi
leave
ret

Function at 0x10108d54
Capabilities:
Get graphical window text

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

Function at 0x1010a442
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 0x1010a484
call fcn.1010ff1a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1010a484
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1010a47b
xor eax, eax
jmp 0x1010a48c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1010a492
pop edi
pop esi
pop ebx
ret 4
Function at 0x8f1b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x234000]
push edi
jmp 0x8f1b9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8f1ba1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8f1b90
mov eax, 1
add ebx, ebx
jne 0x8f1bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8f1bc4
jne 0x8f1be3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8f1be3
dec eax
add ebx, ebx
jne 0x8f1bd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8f1ba8
add ebx, ebx
jne 0x8f1bdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8f1c35
xor ecx, ecx
sub eax, 3
jb 0x8f1bfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8f1c6a
sar eax, 1
mov ebp, eax
jmp 0x8f1c06
add ebx, ebx
jne 0x8f1c06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8f1bd4
inc ecx
add ebx, ebx
jne 0x8f1c14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8f1bd4
add ebx, ebx
jne 0x8f1c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8f1c16
jne 0x8f1c32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8f1c16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8f1c54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8f1c46
jmp 0x8f1b96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8f1c54
add edi, ecx
jmp 0x8f1b96
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8f1c72
cmp byte [edi], 0x2c
jne 0x8f1c72
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 0x8f1c77
lea edi, [esi + 0x4ed000]
mov eax, dword [edi]
or eax, eax
je 0x8f1cef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4f62b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4f6418]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8f1ca4
mov ecx, edi
jns 0x8f1cd3
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 + 0x4f641c]
or eax, eax
je 0x8f1ce9
mov dword [ebx], eax
add ebx, 4
jmp 0x8f1cc1
call dword [esi + 0x4f642c]
mov ebp, dword [esi + 0x4f6420]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x8f1d23
sub esp, 0xffffff80
jmp 0x52b668
Function at 0x44dcb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460bb4]
cmp dword [eax + 0x30], 0
je 0x44dd62
cmp dword [ebx + 0x94], 0
jne 0x44dd5c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dc48
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dd5c
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 0x44dd22
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dd5c
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.00417044
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dd31
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e8c4
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 0x44e8f9
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.00404054
jmp 0x44e906
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f958
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f999
mov eax, esi
call fcn.00436324
test al, al
je 0x44f999
mov eax, dword [ebx + 0x84]
call fcn.004360c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f999
push 0
mov eax, dword [ebx + 0x84]
call fcn.004360c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x435d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41d015
lea edi, [esi - 0x1c015]
push edi
or ebp, 0xffffffff
jmp 0x435d22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435d29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435d18
mov eax, 1
add ebx, ebx
jne 0x435d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435d30
jne 0x435d4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435d30
xor ecx, ecx
sub eax, 3
jb 0x435d60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x435dd2
mov ebp, eax
add ebx, ebx
jne 0x435d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435d78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x435d9c
inc ecx
add ebx, ebx
jne 0x435d88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x435d7d
jne 0x435d99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435d7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x435dbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x435dad
jmp 0x435d1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x435dbc
add edi, ecx
jmp 0x435d1e
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x435dda
cmp byte [edi], 7
jne 0x435dda
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 0x435ddf
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x435e57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x373ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3744c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x435e0c
mov ecx, edi
jns 0x435e3b
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 + 0x37450]
or eax, eax
je 0x435e51
mov dword [ebx], eax
add ebx, 4
jmp 0x435e29
call dword [esi + 0x37460]
mov ebp, dword [esi + 0x37454]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x435e8b
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x413250
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
movzx ebp, word [eax]
cmp bp, 0x76c
push edi
jae 0x413276
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 6]
movzx eax, word [eax + 2]
push eax
movzx eax, bp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004132b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, esi
pop ebx
add esp, 0x10
ret
Function at 0x41dc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
lea ecx, [esp + 0x10]
call fcn.004254b2
mov eax, dword [esp + 0x44]
xor ebx, ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call fcn.004254be
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x42ccec
push 0x42c9f8
push 0x20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0xc
mov byte [esp + 0x70], 1
call dword [0x42b048]
push eax
lea ecx, [esp + 0xc]
call fcn.00425494
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.004256b6
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 8], eax
call fcn.004256bc
push 1
lea ecx, [esp + 0x14]
call fcn.004252ae
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xc4]
push 0x24
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xfa
mov dword [esp + 0x34], 0x82
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x20]
call edx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
push ecx
call dword [0x42b040]
lea ecx, [esp + 0x10]
call fcn.004257b2
mov byte [esp + 0x38], bl
lea ecx, [esp + 8]
mov dword [esp + 8], 0x42bd94
call fcn.0042548e
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004254b8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 8

Function at 0x421610
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4285f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x43653c
lea ecx, [esi + 0x8c]
mov dword [esp + 0x10], 0xb
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0xa
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x7c]
mov byte [esp + 0x10], 9
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x74]
mov byte [esp + 0x10], 8
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 7
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 6
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 4
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 3
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 2
mov dword [ecx], 0x42bd94
call fcn.0042548e
lea ecx, [esi + 0x14]
call dword [0x42b63c]
lea ecx, [esi + 0x10]
call dword [0x42b63c]
mov dword [esp + 0x10], 0xffffffff
cmp dword [esi + 4], 0
mov dword [esi], 0x436594
je 0x42173b
call fcn.00425180
push eax
mov eax, esi
call fcn.004251f0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10d05
Capabilities:
Create device object
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x10c84]
test eax, eax
mov ecx, 0xbb40
je 0x10d1c
cmp eax, ecx
jne 0x10d3f
mov edx, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov eax, 0x10c84
shr eax, 8
xor eax, dword [edx]
and eax, 0xffff
mov dword [0x10c84], eax
jne 0x10d3f
mov eax, ecx
mov dword [0x10c84], eax
not eax
mov dword [section..data], eax
pop ebp
jmp 0x109b0

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

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x4105f3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4105cd
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x4105c8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x410624
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x410606
pop edi
not eax
pop esi
ret 0xc
Function at 0x402340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402357
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402388
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x402384
cmp esi, eax
jae 0x402388
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x402374
cmp esi, eax
jb 0x40238e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x402c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
push eax
call fcn.004037a0
lea eax, [esp + 0xc]
push eax
call fcn.0041ff40
push 0
push 0x4b2b08
push str._s_d
lea edi, [esp + 0x18]
mov dword [esp + 0x58], 0
call fcn.004206c0
add esp, 0xc
cmp byte [esp + 0x36], 0
lea eax, [esp + 0x10]
jne 0x402cb3
mov eax, dword [esp + 0x30]
add eax, 4
push eax
call fcn.00409240
mov ebx, eax
call fcn.00409300
cmp byte [esp + 0x36], 0
jne 0x402cdf
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x402cdf
push eax
call fcn.0048a268
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00488f53
add esp, 0x44
ret 4