joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ea144
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5ea1ca
mov eax, dword [ebx + 8]
call fcn.00548834
mov ecx, eax
mov dl, 1
mov eax, dword [0x55a4c0]
call fcn.00542318
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.00564504
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5e9a14
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00548834
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00548834
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5ea24c
mov eax, dword [ebx + 8]
call fcn.00548834
mov ecx, eax
mov dl, 1
mov eax, dword [0x55a4c0]
call fcn.00542318
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.00564504
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5e9a60
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00548834
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00548834
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5ea2ca
mov eax, dword [ebx + 8]
call fcn.00548834
mov ecx, eax
mov dl, 1
mov eax, dword [0x55afb4]
call fcn.00542318
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00548834
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00548834
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x636360
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.0040a40c
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x636391
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040a5a4
add esp, 0x24
pop ebx
ret

Function at 0x63caa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
mov edx, dword [0x63add0]
call fcn.00408948
test al, al
je 0x63cbb9
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebx + 0x54]
mov eax, dword [esi + 0x54]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esi + 8]
mov edx, dword [ebx + 8]
call fcn.0040a7fc
lea eax, [esi + 0x10]
mov edx, dword [ebx + 0x10]
call fcn.0040a7fc
lea eax, [esi + 0x14]
mov edx, dword [ebx + 0x14]
call fcn.0040a7fc
lea eax, [esi + 0x18]
mov edx, dword [ebx + 0x18]
call fcn.0040a7fc
lea eax, [esi + 0x1c]
mov edx, dword [ebx + 0x1c]
call fcn.0040a7fc
lea eax, [esi + 0x20]
mov edx, dword [ebx + 0x20]
call fcn.0040a7fc
lea eax, [esi + 0x4c]
mov edx, dword [ebx + 0x4c]
call fcn.0040a7fc
lea eax, [esi + 0x50]
mov edx, dword [ebx + 0x50]
call fcn.0040a7fc
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x48]
mov edx, dword [ebx + 0x48]
call fcn.0040a7fc
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x68]
mov edx, dword [ebx + 0x68]
call fcn.0040a7fc
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [esi + 0x74], eax
lea eax, [esi + 0x78]
mov edx, dword [ebx + 0x78]
call fcn.0040a7fc
movzx eax, byte [ebx + 0x7c]
mov byte [esi + 0x7c], al
lea eax, [esi + 0x80]
mov edx, dword [ebx + 0x80]
call fcn.0040a7fc
pop esi
pop ebx
ret
mov edx, esi
mov eax, ebx
call fcn.004acc3c
pop esi
pop ebx
ret
Function at 0x64c794
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x64c7a7
add esp, 0xfffffff0
call fcn.00408c50
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x64c822
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00408634
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x18], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0064cd04
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.0040a7fc
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov edx, 0x64c854
call fcn.0040b0d4
mov ecx, esi
mov dl, 1
mov eax, dword [0x64bc94]
call fcn.0064d370
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64c829
lea eax, [ebp - 4]
call fcn.0040a40c
pop eax
jmp eax

Function at 0x64ca90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor edx, edx
push ebp
push 0x64cb3d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0064d364
mov ebx, eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.0040a7fc
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00426494
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040a7fc
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 8]
call fcn.0040a7fc
test edi, edi
je 0x64cafd
mov edx, edi
mov eax, ebx
call fcn.0064df24
jmp 0x64cb0a
lea eax, [ebx + 0x14]
mov edx, 0x64cb5c
call fcn.0040a7fc
test esi, esi
je 0x64cb18
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.0040a7fc
lea eax, [ebx + 0x18]
mov edx, 0x64cb80
call fcn.0040a7fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64cb44
lea eax, [ebp - 0xc]
call fcn.0040a40c
pop eax
jmp eax
Function at 0x64d4c8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x64d4d0
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x64d687
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x64d6a0
call fcn.0040b0d4
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.0064b088
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x64d6b4
call fcn.005f4e8c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x64d54b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64d58c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0064b088
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64d71c
call fcn.005f4e8c
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040b07c
mov eax, esi
mov edx, 0x64d748
call fcn.0040b07c
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x64d5a4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64d612
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64d75c
call fcn.005f4e8c
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040b07c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x64d5db
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64d606
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64d78c
call fcn.005f4e8c
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040b07c
mov eax, esi
mov edx, 0x64d748
call fcn.0040b07c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x64d61e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64d649
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64d7b8
call fcn.005f4e8c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040b07c
mov eax, esi
mov edx, 0x64d748
call fcn.0040b07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64d68e
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040a46c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040a46c
lea eax, [ebp - 4]
call fcn.0040a40c
pop eax
jmp eax
Function at 0x66aa20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test dl, dl
je 0x66aa2e
add esp, 0xfffffff0
call fcn.00408c50
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.0066a044
push 0x40
lea eax, [esi + 4]
mov ecx, 1
mov edx, dword [0x5ef484]
call fcn.0040d354
add esp, 4
mov eax, esi
test bl, bl
je 0x66aa68
call fcn.00408ca8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x6840c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x68418b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, ecx
test eax, eax
je 0x6840e7
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jns 0x6840f2
call fcn.00408270
mov eax, ecx
mov ecx, edx
add ecx, ecx
add ecx, eax
cmp ecx, eax
jbe 0x684110
movzx ebx, word [eax]
xor edx, ebx
imul edx, edx, 0x1000193
add eax, 2
cmp ecx, eax
ja 0x6840fe
mov ebx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.00689578
test al, al
je 0x68415b
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.006888cc
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
call fcn.0040b20c
jne 0x684173
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0040a7fc
jmp 0x684173
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.00689184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x684192
lea eax, [ebp - 4]
call fcn.0040a40c
pop eax
jmp eax
Function at 0x402f50
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b9b67c], 3
jne 0x402f76
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x403180
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x2b9b67c]
mov ecx, dword [0x2b98588]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x403253
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b9b67c], 0x959
jne 0x403235
push 0
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00402fc0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4031c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x408cc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444c30]
jne 0x408cca
repz ret
jmp fcn.0040b7dc

Function at 0x40afa7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405157
and dword [ebp - 4], 0
cmp dword [0x445fc4], 0
mov ebx, eax
jne 0x40b058
push 0x402ac4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b109
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ab8
push edi
call esi
test eax, eax
je 0x40b109
push eax
call fcn.004050e5
mov dword [esp], 0x402aa8
push edi
mov dword [0x445fc4], eax
call esi
push eax
call fcn.004050e5
mov dword [esp], 0x402a94
push edi
mov dword [0x445fc8], eax
call esi
push eax
call fcn.004050e5
mov dword [esp], 0x402a78
push edi
mov dword [0x445fcc], eax
call esi
push eax
call fcn.004050e5
pop ecx
mov dword [0x445fd4], eax
test eax, eax
je 0x40b058
push 0x402a60
push edi
call esi
push eax
call fcn.004050e5
pop ecx
mov dword [0x445fd0], eax
mov eax, dword [0x445fd0]
cmp eax, ebx
je 0x40b0b0
cmp dword [0x445fd4], ebx
je 0x40b0b0
push eax
call fcn.00405160
push dword [0x445fd4]
mov esi, eax
call fcn.00405160
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b0b0
test edi, edi
je 0x40b0b0
call esi
test eax, eax
je 0x40b0a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b0a7
test byte [ebp - 0xc], 1
jne 0x40b0b0
or dword [ebp + 0x10], 0x200000
jmp 0x40b0e9
mov eax, dword [0x445fc8]
cmp eax, ebx
je 0x40b0e9
push eax
call fcn.00405160
pop ecx
test eax, eax
je 0x40b0e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b0e9
mov eax, dword [0x445fcc]
cmp eax, ebx
je 0x40b0e9
push eax
call fcn.00405160
pop ecx
test eax, eax
je 0x40b0e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445fc4]
call fcn.00405160
pop ecx
test eax, eax
je 0x40b109
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b10b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x23b2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x23b21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x23b207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x23b206a
add dl, dl
jne 0x23b2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x23b20dc
xor eax, eax
add dl, dl
jne 0x23b2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x23b217d
add dl, dl
jne 0x23b20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23b20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23b20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23b20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x23b20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x23b2075
mov eax, 1
add dl, dl
jne 0x23b20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23b20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x23b20e1
sub eax, ebx
mov ebx, 1
jne 0x23b2128
mov ecx, 1
add dl, dl
jne 0x23b210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x23b2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x23b2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x23b2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x23b213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x23b214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x23b2136
cmp eax, 0x7d00
jae 0x23b216d
cmp eax, 0x500
jb 0x23b2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x23b2075
cmp eax, 0x7f
ja 0x23b2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x23b2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x23b219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x23b2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x9f2370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x9f238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa1b074
push ecx
mov edi, eax
call fcn.00a06198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9f23cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a0602e
push esi
call fcn.00a05fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x9f5850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9f58ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa20720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9f58ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00a061e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9f58ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa20720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9f592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00a07082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x9f5957
mov word [eax], si
add eax, 2
push eax
call fcn.00a07030
add esp, 4
jmp 0x9f5959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9f58ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9f58b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x9f5ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x9f6080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9f60c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xa1b458
push ecx
call fcn.00a061e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00a061e1
add esp, 0x10
jmp 0x9f60d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00a0620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00a05dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.009f6050
mov eax, dword [0xa20728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x9f613b
push esi
call fcn.009f5fb0
add esp, 4
mov dword [0xa20728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x9f614c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.009f5ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x9f9440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9f94b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x9f948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9f9471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9f947e
add edx, ecx
cmp ebx, edx
jb 0x9f948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9f9467
xor ecx, ecx
jmp 0x9f94a2
test eax, eax
jne 0x9f9492
xor ecx, ecx
jmp 0x9f94a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.009f93c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9f98f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x9f9921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x9f9946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x9f996e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x9f9993
push ecx
push esi
call fcn.009f94c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret