joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe8fa
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x666278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x38]
push edi
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edx, dword [esi + 0xe0]
mov ecx, eax
mov eax, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
je 0x4fe940
mov eax, ebp
sub eax, edi
jmp 0x4fe942
sub eax, ebx
sub eax, edx
mov edx, dword [esi + 0x214]
dec eax
test ecx, ecx
je 0x4fe957
push 0
push eax
push 0
push edx
jmp 0x4fe95d
push eax
push 0
push edx
push 0
lea ecx, [esp + 0x28]
call fcn.00634aee
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4fe983
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], 1
mov eax, dword [ecx + 0x148]
test eax, eax
jne 0x4fe98b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fe9b0
mov eax, dword [esp + 0x4c]
push 0xf
sub eax, ebx
mov ecx, esi
mov ebp, eax
call fcn.004fbd40
mov edx, dword [esp + 0x20]
push eax
add edx, 2
push ebp
push edx
jmp 0x4fe9c5
push 0xf
mov ecx, esi
sub ebp, edi
call fcn.004fbd40
push eax
mov eax, dword [esp + 0x28]
add eax, 2
push eax
push ebp
push ebx
push edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.006348b3
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4fe9df
lea ebx, [ecx + 0x3c]
jmp 0x4fe9e1
xor ebx, ebx
lea edx, [esp + 0x3c]
push edx
call fcn.004f66c0
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x3c], 0
sub esp, 0x10
mov eax, esp
push ebx
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x90]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call fcn.00622566
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x18
Function at 0x513160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x667240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, 0xaa
mov ecx, 0x55
xor esi, esi
mov word [esp + 0x20], cx
mov word [esp + 0x22], ax
mov word [esp + 0x24], cx
mov word [esp + 0x26], ax
mov word [esp + 0x28], cx
mov word [esp + 0x2a], ax
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.CBitmap.0
lea eax, [esp + 0x20]
mov dword [esp + 0x38], esi
push eax
push 1
push 1
push 8
push 8
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.00629d7a
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], vtable.CBrush.0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov byte [esp + 0x38], 1
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.00629d7a
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00628ca5
mov ebp, dword [esi]
push 0xf
mov ecx, edi
mov ebx, eax
call fcn.00460090
push eax
mov ecx, esi
call dword [ebp + 0x2c]
mov edx, dword [esi]
push 0x14
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x44], edx
call fcn.00460090
mov edx, dword [esp + 0x40]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
push 0xf00021
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 8]
sub ecx, edx
sub eax, edi
push ecx
push eax
mov eax, dword [esi + 4]
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push ebx
mov ecx, esi
call fcn.00628ca5
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
call fcn.00629dd1
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.00629dd1
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 3
call fcn.00629dd1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x52c4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x668068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov edx, dword [esp + 0x80]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x84]
push 5
mov eax, dword [esi + 0x78]
push 3
mov ebx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x18]
lea eax, [esp + 0x34]
add ebp, edx
push eax
sub edi, ebx
mov dword [esp + 0x1c], ebp
call fcn.00487c20
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x5c]
mov ebx, dword [eax + 4]
push esi
call fcn.00629ad2
lea edx, [esi + 0x7c]
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], 0
call fcn.00486470
push str.XXXXXXXXXX
lea ecx, [esp + 0x88]
mov byte [esp + 0x7c], 1
call fcn.006225d4
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x84]
call fcn.00622566
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx]
mov ebx, dword [esi + 0x6c]
dec ebx
mov dword [esp + 0x28], eax
test ebx, ebx
jl 0x52c64c
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [0x77bb1c]
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x84]
mov ecx, ebp
push edx
mov byte [esp + 0x7c], 2
call fcn.0061f06b
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jg 0x52c5e2
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
sub edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
test ebp, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
je 0x52c60f
mov ebp, dword [ebp + 0x1c]
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x3c]
push edx
push ebp
push eax
call fcn.006203ff
mov ecx, dword [esi + 0x78]
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x78], 1
mov edx, dword [ecx + 0x14]
lea ecx, [esp + 0x84]
add edx, ebp
sub edi, edx
call fcn.00622566
dec ebx
jns 0x52c591
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x78], 0
mov dword [esi + 0xc0], ecx
lea ecx, [esp + 0x4c]
mov dword [esi + 0xc4], eax
call fcn.00486510
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0xffffffff
call fcn.00629b44
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0xc
Function at 0x533a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x668820
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
mov dword [edi], 0
call fcn.0063f37c
mov ebp, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov dword [ebp], eax
mov al, byte [esi + 0x60]
test al, 1
je 0x533a82
mov eax, dword [esi + 0x68]
test eax, eax
je 0x533a82
push eax
lea ecx, [esp + 0x10]
call fcn.0062547b
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.006255ae
mov dword [edi], eax
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0xc]
jmp 0x533b1f
call fcn.0063f37c
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp], eax
jne 0x533aa5
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov ecx, dword [esi + 0x68]
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x533aca
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov edx, dword [ebp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [edi], eax
jne 0x533aef
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [esp + 0x1c]
call fcn.0062547b
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.006255ae
mov dword [edi], eax
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0062554b
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x534e90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6688ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x784d3c
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.006225d4
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.00535e50
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x70], 0x6a739c
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi], 0x6a7388
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x534f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6688e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x6a7388
mov dword [esp + 0x14], 2
call fcn.00535050
lea eax, [esi + 0x70]
mov dword [esp + 8], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [esp + 0x14], 3
test eax, eax
je 0x534f94
push eax
call fcn.0061d6ce
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.00535ed0
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00622566
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x538f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x668bd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], al
mov byte [esi + 0x11], al
mov byte [esi + 0x12], al
mov byte [esi + 0x13], al
mov byte [esi + 0x14], al
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], al
mov edx, dword [0x77bb1c]
mov dword [esp + 4], esi
mov dword [esi + 0x18], edx
mov edx, dword [0x77bb1c]
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], edx
mov edx, dword [0x77bb1c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 0x6a75c0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xa
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 3
call fcn.0043fd80
mov ecx, esi
mov byte [esp + 0x10], 4
mov dword [esi], 0x6a7560
call fcn.00539120
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x53ad70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0x668d50
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp edx, 0xfffffffe
push esi
push edi
jne 0x53aee2
mov ecx, 0x55
mov eax, 0xaa
mov word [esp + 0x18], cx
mov word [esp + 0x1c], cx
mov word [esp + 0x20], cx
mov word [esp + 0x24], cx
push ebx
lea ecx, [esp + 0xc]
mov word [esp + 0x1e], ax
mov word [esp + 0x22], ax
mov word [esp + 0x26], ax
mov word [esp + 0x2a], ax
call fcn.0041f170
mov dword [esp + 0xc], vtable.CBitmap.0
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0
push eax
push 1
push 1
push 8
push 8
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x10]
call fcn.00629d7a
lea ecx, [esp + 0x14]
call fcn.0041f170
mov dword [esp + 0x14], vtable.CBrush.0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
mov byte [esp + 0x34], 1
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x18]
call fcn.00629d7a
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00628ca5
push 0xf
mov edi, eax
call fcn.00458d10
mov ecx, eax
call fcn.004595a0
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
push 0x14
call fcn.00458d10
mov ecx, eax
call fcn.004595a0
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
sub eax, edx
sub ecx, ebx
push 0xf00021
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
mov ecx, esi
call fcn.00628ca5
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00629dd1
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 3
call fcn.00629dd1
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x20
mov eax, dword [esp + 0x54]
cmp eax, 2
je 0x53aef3
test eax, eax
je 0x53aef3
xor esi, esi
jmp 0x53aef8
mov esi, 1
test eax, eax
je 0x53af09
cmp eax, 1
je 0x53af09
mov eax, edx
mov edx, dword [esp + 0x50]
jmp 0x53af0d
mov eax, dword [esp + 0x50]
mov ecx, dword [ecx + 0x204]
mov edi, dword [ecx + 0x7c]
test edi, edi
je 0x53af20
mov ecx, edx
mov edx, eax
mov eax, ecx
xor ecx, ecx
test esi, esi
sete cl
push ecx
push eax
mov eax, dword [esp + 0x40]
push edx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.00487100
mov ecx, eax
call fcn.004873d0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x20
Function at 0x540280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x668e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00629b86
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
add eax, 0x10c
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00486470
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
push ecx
push 1
push 0x762e94
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 8]
add eax, 3
cmp eax, 0x12
jge 0x53d74d
mov eax, 0x12
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], eax
call fcn.00486510
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00629bf8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
jmp 0x53d6e0
Function at 0x54a8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6698b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
push 1
lea ecx, [esp + 8]
call fcn.005471d0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 4]
push 0
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x4c], 0
mov dword [edx], eax
mov eax, dword [esp + 0x5c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.0054aa70
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00546a50
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14

Function at 0x54c6b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x669c58
push eax
mov eax, dword [0x785c48]
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov esi, ecx
push eax
call fcn.00546d10
xor edi, edi
cmp eax, edi
je 0x54c71a
cmp dword [eax + 0x14], 2
jne 0x54c71a
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x50]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [ecx], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x3c
ret 0x10
cmp dword [esi + 0x64], edi
je 0x54c763
mov eax, dword [esi + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.0054a440
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
sub eax, ecx
mov ecx, dword [esp + 0x50]
push eax
sub ecx, edx
mov dword [esp + 0x44], edi
push ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0054c820
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.0054a6c0
cmp dword [esi + 0x70], edi
jne 0x54c780
cmp dword [esi + 0x74], edi
jne 0x54c780
lea edx, [esi + 0x50]
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x54c7be
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x90]
mov ecx, esi
mov dword [esi + 0x78], edi
call fcn.0054c150
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [esi + 0x50]
mov dword [esi + 0x70], edi
pop edi
pop esi
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x54cef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x669cb8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [ebp + 8], 0
call fcn.00629dd1
mov esi, dword [esp + 0x48]
test esi, esi
je 0x54cf97
push edi
mov edi, dword [esp + 0x48]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
pop edi
je 0x54cf97
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x54cf97
cmp ebx, 0xa
jb 0x54cf97
push 0
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0062e865
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
mov dword [esp + 0x40], 0
call fcn.0054cfb0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0062e8de
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x565030
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
test edi, edi
jne 0x565049
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [0x785c80]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5650b2
mov edx, dword [esi]
push 0x2001f
push edi
mov ecx, esi
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x565070
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push 4
push eax
push 4
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x56509f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x24]
lea eax, [esp + 8]
push edx
push 0x763b58
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x785c80]
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 8]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x5651d0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
mov esi, ecx
jne 0x5651e7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov eax, dword [0x785c80]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5652d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x565238
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
mov edi, eax
test edi, edi
jne 0x565215
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x5652be
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi]
test ebx, ebx
push 0x2001f
push ebp
mov ecx, esi
jne 0x56527d
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x56525a
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x5652be
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x56528d
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x5652be
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc