joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ab60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a153e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x10], 0
movzx eax, word [ebp + 0xc]
mov esi, dword [0x4dc390]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43abd5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43abd5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43abd5
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
jmp 0x43abd7
xor esi, esi
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x43ac5d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.00404130
push eax
push esi
push ebx
lea ecx, [ebp + 0xc]
call fcn.0041ba80
mov dword [ebp - 4], 3
mov edx, edi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xfde9
call fcn.0040c540
add esp, 4
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ac47
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004022e0
int3
Function at 0x43dd60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a206e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 4
lea ecx, [esi + 0x30]
push dword [ebp + 0xc]
mov dword [esi + 0x20], 0x4bc1a8
mov dword [esi + 0x24], 0x4bf38c
mov dword [esi], 0x4bfbb8
mov dword [esi + 0x20], 0x4bfb8c
mov dword [esi + 0x24], 0x4bfb88
mov dword [esi + 0x2c], 0
call fcn.004023e0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x38], 0
mov dword [esi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [esi + 0x44], 2
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43f8b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2725
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x43f9f3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, pe_nt_image_headers32
push 0x200
call fcn.0047774e
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x43f98e
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.00477749
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047774e
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x43f937
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f993
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00403320
mov byte [ebp - 4], 1
push edi
call fcn.00477749
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43f9df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004022e0
int3
Function at 0x4461e0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x446389
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x446266
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x446222
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x446244
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00446fe0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x4462e1
cmp ebx, 2
jne 0x446297
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x4462e1
cmp ebx, 0x4e
jne 0x4462e7
cmp dword [edi + 8], 0xffffff38
jne 0x4462be
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.004463a0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x44637d
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x446356
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x446328
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x446319
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44632d
test ebp, ebp
jne 0x446328
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44632d
cmp ebp, 1
je 0x446373
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00447350
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x446389
cmp dword [ecx + 0x14], 0xffffffff
je 0x446373
cmp dword [ecx + 0x18], 0xffffffff
je 0x446373
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x448b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3ec5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
movzx eax, word [ebp + 0xc]
mov esi, dword [0x4dc390]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x448cad
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x448cad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x448cad
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
mov dword [ebp + 0xc], eax
call esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push eax
call edi
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x448c1c
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x448c1c
cmp eax, 0x38a0
jge 0x448bd7
mov esi, 0x20
jmp 0x448c21
push 0
call esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
push 0x5a
push eax
call edi
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x60
je 0x448c1c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4c28a8]
divsd xmm0, qword [0x4c28b0]
addsd xmm0, qword [0x4c2890]
cvttsd2si esi, xmm0
jmp 0x448c21
mov esi, 0x18
push 0
push esi
push esi
push 1
push ebx
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x448cad
push 0
push esi
push esi
push 0x30000
push 1
push dword [ebp + 0xc]
add eax, ebx
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov edi, eax
test edi, edi
je 0x448cad
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 1
mov esi, eax
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.00409070
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448cad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448cd0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x448e79
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x448d56
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x448d12
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x448d34
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00449040
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x448dd1
cmp ebx, 2
jne 0x448d87
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x448dd1
cmp ebx, 0x4e
jne 0x448dd7
cmp dword [edi + 8], 0xffffff38
jne 0x448dae
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.00448e90
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x448e6d
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x448e46
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x448e18
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x448e09
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x448e1d
test ebp, ebp
jne 0x448e18
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x448e1d
cmp ebp, 1
je 0x448e63
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00447350
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x448e79
cmp dword [ecx + 0x14], 0xffffffff
je 0x448e63
cmp dword [ecx + 0x18], 0xffffffff
je 0x448e63
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x44aac0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x44ac69
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x44ab46
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x44ab02
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x44ab24
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.0044ae10
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x44abc1
cmp ebx, 2
jne 0x44ab77
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x44abc1
cmp ebx, 0x4e
jne 0x44abc7
cmp dword [edi + 8], 0xffffff38
jne 0x44ab9e
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.0044ac80
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x44ac5d
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x44ac36
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x44ac08
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x44abf9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44ac0d
test ebp, ebp
jne 0x44ac08
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44ac0d
cmp ebp, 1
je 0x44ac53
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00447350
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x44ac69
cmp dword [ecx + 0x14], 0xffffffff
je 0x44ac53
cmp dword [ecx + 0x18], 0xffffffff
je 0x44ac53
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x44ecc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4ee6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0xc]
mov byte [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x14], edi
call fcn.00404130
test eax, eax
je 0x44ed94
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
lea edi, [esi + 0x18]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x14], edi
call fcn.00404130
test eax, eax
je 0x44ed94
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022e0
int3

Function at 0x44eef0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x44f4d0
push 0
push 0
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
je 0x44ef4e
nop
mov esi, dword [esi + 4]
test esi, esi
je 0x44ef56
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x44f4d0
push 0
push 0
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x20], 0
jne 0x44ef20
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
ret
Function at 0x451bb0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x10]
xor bl, bl
push eax
call fcn.00452590
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x451c0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x451c2a
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x451c56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451c4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 0
jne 0x451cb7
jmp 0x451c7a
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451c7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x20]
push ecx
add eax, 4
push eax
lea eax, [esi + 8]
push eax
call fcn.00452880
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x451ca0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x451cb5
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0x20], 0
mov bl, 1
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00452630
mov dword [ebp - 4], 4
push dword [ebp - 0x1c]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x18], 0x4ba518
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x451cf1
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0x4ba518
test esi, esi
je 0x451d0e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x451d2d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455380
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a682d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
push SysReAllocString
call fcn.00407920
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x455406
cmp dword [ebp + 8], eax
jne 0x455402
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
jmp 0x455408
mov bl, 1
jmp 0x455408
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45541d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45544c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x457420
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6ff5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x160]
push esi
lea ecx, [ebp - 0x10]
call fcn.004023e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.004021c0
lea ecx, [ebp - 0x10]
call fcn.0040d760
test al, al
je 0x457537
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4ba518
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x4574c5
mov byte [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 0x4ba518
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x4574e6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], 0x4ba518
test esi, esi
je 0x4574ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jb 0x4574fc
mov ecx, edi
call fcn.0045ad50
mov esi, 1
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x457523
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0040d760
test al, al
je 0x4574fc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4ba518
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x457587
mov byte [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 0x4ba518
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x4575a8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], 0x4ba518
test esi, esi
je 0x4575af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jne 0x4574f5
mov esi, 2
jmp 0x457501