joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7028a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8afc70
push 0x5fd778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
mov edi, dword [ebp + 0x14]
push edi
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00702100
add esp, 0x10
mov esi, eax
cmp esi, ebx
je 0x702953
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x20]
push eax
call edi
add esp, 8
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x30]
push ecx
push 0x40
push 4
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x70294c
mov dword [esi], edi
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 4
push esi
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x703200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x88ef20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi + 0xc], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
call fcn.00832082
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.00832082
mov ecx, edi
call fcn.00826346
mov ecx, edi
call fcn.00826255
mov edx, dword [ebp + 8]
push ebx
push edx
call fcn.007444d5
add esp, 8
test eax, eax
je 0x703294
mov dword [esi + 0x2c], ebx
mov dword [esi + 8], ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
push ebx
push ebx
push eax
mov dword [esi + 0x2c], 1
mov dword [ebp - 4], ebx
call fcn.00738dc0
mov ecx, dword [esi + 4]
call fcn.00739010
mov ecx, dword [esi + 4]
push ebx
mov dword [esi + 8], eax
call fcn.00739740
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x703320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x88ef30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
xor eax, eax
push 0x9b5220
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi + 0xc], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], edi
call fcn.00832082
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 0x28]
push eax
mov ecx, ebx
call fcn.00832082
mov ecx, ebx
call fcn.00826346
mov ecx, ebx
call fcn.00826255
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
test eax, eax
jne 0x7033b2
mov dword [esi + 0x2c], eax
mov dword [esi + 8], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
push 0
push edi
mov dword [esi + 0x2c], 1
mov dword [ebp - 4], 0
call fcn.00738e20
mov ecx, dword [esi + 4]
call fcn.00739010
mov ecx, dword [esi + 4]
push 0
mov dword [esi + 8], eax
call fcn.00739740
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x712f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x890347
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
xor ebx, ebx
push 0x9b5220
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.00617650
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x34], 1
xor esi, esi
call fcn.00617650
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push 0x92f588
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
mov dword [esp + 0x24], ebx
call fcn.0061c7f0
mov eax, dword [esp + 0x10]
push 0x9b5220
push eax
mov byte [esp + 0x38], 3
call fcn.005fd3f1
add esp, 8
cmp eax, ebx
je 0x7130e9
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x4c], ebx
call fcn.00712df0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x34], 4
call fcn.00831f5f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 6
call fcn.00617ec0
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], ebx
je 0x713072
mov ecx, dword [esp + 0x40]
cmp ecx, ebp
je 0x7130d1
cmp ecx, ebx
jne 0x71304a
cmp esi, 3
jae 0x71305e
mov esi, 3
jmp 0x713068
cmp ecx, 0x4e4
jne 0x71305e
cmp esi, 2
jae 0x71305e
mov esi, 2
jmp 0x713068
cmp esi, 1
jae 0x713072
mov esi, 1
push eax
lea ecx, [esp + 0x10]
call fcn.006181a0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push 0x92f588
push edx
lea ecx, [esp + 0x20]
call fcn.0061c7f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 7
call fcn.00618070
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 6
call fcn.00617ec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 3
call fcn.00831eeb
mov eax, dword [esp + 0x10]
push 0x9b5220
push eax
call fcn.005fd3f1
add esp, 8
cmp eax, ebx
jne 0x712feb
jmp 0x7130e9
push eax
lea ecx, [esp + 0x10]
call fcn.006181a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 3
call fcn.00831eeb
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00617440
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.00617ec0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00617ec0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.00617ec0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x71f050
Capabilities:
Modify service

Disassembly:
push 0xffffffffffffffff
push 0x8911ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa24
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
xor ebp, ebp
xor esi, esi
call fcn.0082aad0
mov eax, dword [esp + 0xa60]
mov dword [esp + 0xa38], ebp
cmp eax, ebp
je 0x71f097
push eax
lea ecx, [esp + 0x18]
call fcn.0082acac
mov eax, dword [esp + 0xa64]
cmp eax, ebp
je 0x71f0ac
push eax
lea ecx, [esp + 0x18]
call fcn.0082acac
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x232]
mov word [esp + 0x230], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0x400
cmp eax, ebp
jle 0x71f117
lea eax, [esp + 0xc]
lea ecx, [esp + 0x230]
push eax
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.0064e8f0
add esp, 0x10
test eax, eax
jne 0x71f110
lea ecx, [esp + 0x14]
mov dword [esp + 0xa38], 0xffffffff
call fcn.0082ab03
xor eax, eax
jmp 0x71f1e5
lea esi, [esp + 0x230]
mov eax, dword [esp + 0xa50]
mov ecx, dword [esp + 0xa6c]
mov edx, dword [esp + 0xa68]
push ebx
push eax
mov eax, dword [esp + 0xa64]
push ecx
mov ecx, dword [esp + 0xa64]
push edx
mov edx, dword [esp + 0xa5c]
push esi
mov esi, dword [esp + 0xa54]
push ebp
push eax
mov eax, dword [esp + 0xa64]
push ecx
mov ecx, dword [esp + 0xa64]
push edx
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov ebx, eax
cmp ebx, ebp
je 0x71f1ce
mov ebp, dword [esp + 0xa58]
test ebp, ebp
je 0x71f1ce
test esi, esi
je 0x71f1ce
call fcn.0079b090
mov eax, dword [0x9e11fc]
test eax, eax
je 0x71f1ce
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
push 0
lea edx, [esp + 0x30]
push 0x104
push edx
push 0xffffffffffffffff
push ebp
stosw word es:[edi], ax
call fcn.0064d4f0
add esp, 0x14
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push ecx
push 1
push esi
mov dword [esp + 0x20], eax
call dword [0x9e11fc]
lea ecx, [esp + 0x18]
mov dword [esp + 0xa3c], 0xffffffff
call fcn.0082ab03
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0xa30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa30
ret
Function at 0x71f980
Capabilities:
Set registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0xffffffff
je 0x71f99d
cmp edi, 4
jbe 0x71f99d
mov dword [0x9dfbac], 0x57
xor eax, eax
pop edi
ret
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
mov ebx, dword [esi]
je 0x71f9bc
push eax
mov eax, dword [str.Type]
push eax
mov ecx, esi
call fcn.00627b80
cmp edi, 0xffffffff
je 0x71f9d0
mov ecx, dword [str.Start]
push edi
push ecx
mov ecx, esi
call fcn.00627b80
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x71f9e8
mov edx, dword [str.ErrorControl]
push eax
push edx
mov ecx, esi
call fcn.00627b80
mov eax, dword [esp + 0x20]
test eax, eax
je 0x71f9fe
push eax
mov eax, dword [str.DisplayName]
push eax
mov ecx, esi
call fcn.00627d30
mov eax, dword [esp + 0x24]
test eax, eax
je 0x71fa15
mov ecx, dword [str.Description]
push eax
push ecx
mov ecx, esi
call fcn.00627d30
mov edi, dword [esp + 0x28]
test edi, edi
je 0x71fa3d
push edi
call fcn.005fc40b
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [str.ImagePath]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x71fa54
mov ecx, dword [str.Group]
push eax
push ecx
mov ecx, esi
call fcn.00627d30
mov eax, dword [esp + 0x30]
test eax, eax
je 0x71fa6b
mov edx, dword [str.DependOnGroup]
push eax
push edx
mov ecx, esi
call fcn.00628180
mov eax, dword [esp + 0x34]
test eax, eax
je 0x71fa81
push eax
mov eax, dword [str.DependOnService]
push eax
mov ecx, esi
call fcn.00628180
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x7207e0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x8913c0
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x720813
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
cmp word [esi], 0
jne 0x72082b
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
call fcn.00626920
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00626a40
test eax, eax
je 0x7208d7
push 1
push esi
lea ecx, [esp + 0xc]
call fcn.00628ef0
test eax, eax
jne 0x72088c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.006269c0
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x7208bf
lea ecx, [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x10]
call fcn.00627070
push eax
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00832032
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.00831eeb
mov eax, dword [esp + 0x24]
pop edi
test eax, eax
je 0x72099e
mov dword [eax], 0x10
jmp 0x72099e
mov edx, dword [0x98b454]
mov dword [esp + 0x1c], edx
mov eax, dword [str.SystemCurrentControlSetServicesVxD]
push esi
push eax
lea ecx, [esp + 0x24]
push 0x92ecec
push ecx
mov byte [esp + 0x24], 2
call fcn.00826097
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 4]
push 0x20019
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00626a40
test eax, eax
jne 0x72094b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], al
call fcn.00831eeb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.006269c0
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov esi, dword [esp + 0x24]
test esi, esi
je 0x720982
mov eax, dword [str.StaticVxD]
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.00627070
push eax
mov ecx, esi
mov byte [esp + 0x18], 3
call fcn.00832032
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call fcn.00831eeb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x720990
mov dword [eax], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.00831eeb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.006269c0
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x7209d0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x8913e8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp edi, ebx
je 0x720ae1
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x720ae1
cmp word [edi], bx
je 0x720ae1
cmp word [esi], bx
je 0x720ae1
lea ecx, [esp + 0xc]
call fcn.00626920
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cmp eax, 2
je 0x720a7f
cmp eax, 1
je 0x720a7f
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
call fcn.00626a40
test eax, eax
jne 0x720a6d
mov ecx, dword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
push 0x2001f
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
call fcn.00626ab0
test eax, eax
je 0x720ad0
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00627d30
mov esi, eax
jmp 0x720b66
mov edx, dword [0x98b454]
mov dword [esp + 0x24], edx
mov eax, dword [str.SystemCurrentControlSetServicesVxD]
push edi
push eax
lea ecx, [esp + 0x2c]
push 0x92ecec
push ecx
mov byte [esp + 0x2c], 1
call fcn.00826097
mov edx, dword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0xc]
push 0x2001f
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00626a40
test eax, eax
jne 0x720af5
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.00831eeb
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.006269c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [0x98b454]
mov dword [esp + 0x2c], eax
push 0x5c
push esi
mov byte [esp + 0x24], 2
call fcn.005fc428
add esp, 8
cmp eax, ebx
je 0x720b1f
add eax, 2
lea ecx, [esp + 0x2c]
push eax
call fcn.00832082
mov eax, dword [esp + 0x2c]
cmp dword [eax - 8], ebx
jne 0x720b38
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 1
call fcn.00831eeb
jmp 0x720ac3
mov ecx, dword [str.StaticVxD]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00627d30
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x1c], 1
call fcn.00831eeb
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.00831eeb
lea ecx, [esp + 0xc]
call fcn.00626a90
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.006269c0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x725430
Capabilities:
Get disk information

Disassembly:
mov eax, 0x5ebc
call fcn.005fc5a0
mov eax, dword [ecx + 0x14]
push ebx
cmp eax, 2
mov dword [esp + 0xc], ecx
jne 0x725464
cmp dword [ecx + 8], 4
jne 0x725464
mov eax, dword [esp + 0x5ec4]
push eax
call fcn.00725520
pop ebx
add esp, 0x5ebc
ret 4
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
jne 0x72547a
pop ebx
add esp, 0x5ebc
ret 4
mov ecx, dword [0x9363ac]
mov edx, dword [0x9363b0]
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebp, 1
xor edi, edi
mov esi, ebp
shl ebp, 1
test ebx, esi
je 0x7254c6
lea ecx, [esp + 0x10]
lea eax, [edi + 0x41]
push ecx
mov word [esp + 0x14], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x7254c6
cmp eax, 3
je 0x7254c6
cmp eax, 5
je 0x7254c6
not esi
and ebx, esi
inc edi
cmp edi, 0x1a
jl 0x725498
xor esi, esi
mov ecx, 0x17ab
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], esi
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x5ed0]
push edx
push edi
push ebx
call fcn.00722560
add esp, 0xc
test eax, eax
je 0x72550a
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00725be0
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5ebc
ret 4
Function at 0x72db00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.005fc5a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x72dbcb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x72dbcb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x72db7e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x72db89
or bh, 8
and edi, 0x8000000
je 0x72dba4
mov eax, dword [0x9e427c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x72dbcb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x72dfa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x72dfcb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x72dfef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x72e00a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x72e350
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
mov dword [esp + 0x14], ecx
xor edx, edx
xor eax, eax
mov al, byte [edx + str.80_]
mov ecx, eax
and eax, 7
sar ecx, 3
mov bl, byte [eax*2 + 0x8afe08]
mov cl, byte [ecx + esi]
test bl, cl
setne al
mov byte [esp + edx + 0x50], al
inc edx
cmp edx, 0x38
jl 0x72e367
mov eax, 0x1e
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x110], 1
je 0x72e3a8
lea eax, [ebx + ebx]
lea edi, [esp + eax*4 + 0x8c]
lea ebp, [esp + eax*4 + 0x88]
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 0x8afeb0]
mov dword [edi], 0
mov esi, ecx
mov dword [ebp], 0
mov edx, esi
cmp edx, 0x1c
jge 0x72e3dc
mov cl, byte [esp + edx + 0x50]
jmp 0x72e3e0
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x1c
jl 0x72e3d1
mov eax, 0x1c
lea edx, [esi + 0x1c]
cmp edx, 0x38
jge 0x72e3fe
mov cl, byte [esp + edx + 0x50]
jmp 0x72e402
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x38
jl 0x72e3f3
xor edx, edx
mov eax, 0x8afe18
xor ecx, ecx
mov cl, byte [edx + 0x8afec0]
cmp byte [esp + ecx + 0x18], 0
je 0x72e42d
mov ecx, dword [eax]
mov esi, dword [ebp]
or esi, ecx
mov dword [ebp], esi
xor ecx, ecx
mov cl, byte [edx + 0x8afed8]
cmp byte [esp + ecx + 0x18], 0
je 0x72e444
mov ecx, dword [eax]
mov esi, dword [edi]
or esi, ecx
mov dword [edi], esi
add eax, 4
inc edx
cmp eax, str.80_
jl 0x72e414
mov eax, dword [esp + 0x10]
inc ebx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x72e39b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
call fcn.0072e490
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 8
Function at 0x7358a0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x891a70
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0061eca0
mov edi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0061eca0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov eax, dword [0x9e08fc]
test eax, eax
je 0x735958
cmp ebp, eax
jne 0x735958
mov eax, dword [0x9e0900]
test eax, eax
je 0x735958
cmp ebx, eax
jb 0x735958
add eax, 0x493e0
cmp eax, ebx
jb 0x735958
mov ebp, dword [0x9e0904]
push 1
inc ebp
push 0x9e0818
lea ecx, [esp + 0x18]
mov dword [0x9e0904], ebp
call fcn.0079a900
push 0x9e0848
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.0061eef0
push 0x9e0838
mov ecx, edi
call fcn.0061eef0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x7359ce
push edi
push esi
mov dword [0x9e0904], 0
call fcn.00735cd0
add esp, 8
lea ecx, [esp + 0x1c]
push 1
push 0x9e0818
call fcn.0079a900
push 0xffffffffffffffff
push 0
mov ecx, 0x9e0848
mov dword [esp + 0x38], 1
mov dword [0x9e08fc], ebp
mov dword [0x9e0900], ebx
call fcn.0061eca0
push esi
mov ecx, 0x9e0848
call fcn.0061eef0
push 0xffffffffffffffff
push 0
mov ecx, 0x9e0838
call fcn.0061eca0
push edi
mov ecx, 0x9e0838
call fcn.0061eef0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0079a960
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret