joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4221c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0caf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov dword [esp + 0x24], 0
push 0x638420
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 1
call fcn.005988cd
mov eax, dword [esp + 0x40]
mov bl, 2
sub eax, 0
mov byte [esp + 0x30], bl
je 0x422348
dec eax
je 0x4222d5
dec eax
jne 0x4223ba
lea eax, [esp + 0x40]
push 7
push eax
lea ecx, [esp + 0x44]
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 7
call fcn.00598998
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], bl
call fcn.0059885f
mov ecx, dword [esp + 8]
push str.http:__
push ecx
call fcn.0057cfee
add esp, 8
test eax, eax
je 0x4223ba
lea edx, [esp + 0xc]
push 8
push edx
lea ecx, [esp + 0x44]
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 8
call fcn.00598998
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0059885f
mov eax, dword [esp + 8]
push str.https:__
push eax
call fcn.0057cfee
add esp, 8
test eax, eax
je 0x4223ba
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x10]
push ecx
push str.https:__
push edx
call fcn.00598b68
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 9
call fcn.00598998
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x10]
jmp 0x4223b5
lea eax, [esp + 0x14]
push 7
push eax
lea ecx, [esp + 0x44]
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 5
call fcn.00598998
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.0059885f
mov ecx, dword [esp + 8]
push str.http:__
push ecx
call fcn.0057cfee
add esp, 8
test eax, eax
je 0x4223ba
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
push edx
push str.http:__
push eax
call fcn.00598b68
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 6
call fcn.00598998
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
jmp 0x4223b5
lea ecx, [esp + 0x1c]
push 6
push ecx
lea ecx, [esp + 0x44]
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call fcn.00598998
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0059885f
mov edx, dword [esp + 8]
push str.ftp:__
push edx
call fcn.0057cfee
add esp, 8
test eax, eax
je 0x4223ba
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
push eax
push str.ftp:__
push ecx
call fcn.00598b68
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.00598998
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x20]
call fcn.0059885f
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.005985d4
mov dword [esp + 0x24], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.0059885f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.0059885f
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x42ef40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b1b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x633828]
lea ebx, [esi + 8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], eax
mov ecx, dword [0x633828]
lea ebp, [esi + 0x1c]
mov dword [ebp], ecx
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.005976ca
push str.Object1
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi], vtable.CAutoPlayBaseObject.0
mov dword [esi + 4], edi
call fcn.005989e8
lea ebx, [esi + 0xc]
xor eax, eax
xor ecx, ecx
mov edx, 0xc8
mov dword [ebx], eax
mov eax, 0x96
push 0x638420
mov dword [ebx + 4], ecx
mov ecx, ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call fcn.005989e8
mov eax, 1
or ecx, 0xffffffff
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], eax
mov eax, 0xbf800000
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42ef58
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b1b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x633828]
lea ebx, [esi + 8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], eax
mov ecx, dword [0x633828]
lea ebp, [esi + 0x1c]
mov dword [ebp], ecx
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.005976ca
push str.Object1
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi], vtable.CAutoPlayBaseObject.0
mov dword [esi + 4], edi
call fcn.005989e8
lea ebx, [esi + 0xc]
xor eax, eax
xor ecx, ecx
mov edx, 0xc8
mov dword [ebx], eax
mov eax, 0x96
push 0x638420
mov dword [ebx + 4], ecx
mov ecx, ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call fcn.005989e8
mov eax, 1
or ecx, 0xffffffff
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], eax
mov eax, 0xbf800000
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x438270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x4c0]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x1c], ecx
je 0x43832e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43832e
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [ecx + 0x74]
mov ebp, dword [ecx + 0x78]
mov esi, 1
sub eax, edx
mov edi, esi
cmp ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edi
jge 0x4382c2
cdq
idiv ebx
mov esi, eax
inc esi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub eax, edx
cmp ebp, eax
jge 0x4382da
cdq
idiv ebp
inc eax
mov dword [esp + 0x10], eax
mov edi, eax
test esi, esi
jle 0x43832e
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x14], esi
test edi, edi
jle 0x438321
mov esi, dword [esp + 0x38]
lea ebx, [ecx + 0x64]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x24]
push 0
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
call fcn.004251a0
mov ecx, dword [esp + 0x18]
add esi, ecx
dec edi
jne 0x4382f1
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebp, ebx
dec eax
mov dword [esp + 0x14], eax
jne 0x4382e6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14

Function at 0x43f8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b360f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [0x633828]
mov dword [esp + 0x10], 0
mov dword [esi + 0xc], eax
mov ecx, dword [0x633828]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x633828]
mov dword [esi + 0x30], edx
mov eax, dword [0x633828]
mov dword [esi + 0x38], eax
mov ecx, dword [0x633828]
mov dword [esi + 0x3c], ecx
mov edx, dword [0x633828]
mov dword [esi + 0x40], edx
mov eax, dword [0x633828]
mov dword [esi + 0x48], eax
push 0xa
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 7
call fcn.005976ca
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 8
call fcn.0049eb10
lea ecx, [esi + 0xb4]
mov byte [esp + 0x10], 9
call int.004968b0
lea ecx, [esi + 0x11c]
mov byte [esp + 0x10], 0xa
call fcn.004a89a0
push 0xa
lea ecx, [esi + 0x124]
mov byte [esp + 0x14], 0xb
call fcn.005972a5
mov ecx, dword [0x633828]
mov dword [esi + 0x140], ecx
mov edx, dword [0x633828]
mov dword [esi + 0x144], edx
mov eax, dword [0x633828]
mov dword [esi + 0x148], eax
mov ecx, dword [0x633828]
mov dword [esi + 0x14c], ecx
mov edx, dword [0x633828]
mov dword [esi + 0x150], edx
mov eax, dword [0x633828]
mov dword [esi + 0x154], eax
mov ecx, dword [0x633828]
mov dword [esi + 0x158], ecx
mov edx, dword [0x633828]
mov dword [esi + 0x15c], edx
lea ecx, [esi + 0x160]
mov byte [esp + 0x10], 0x14
call fcn.00447f60
mov eax, dword [0x633828]
mov dword [esi + 0x1a8], eax
mov ecx, dword [0x633828]
mov dword [esi + 0x1ac], ecx
mov ecx, esi
mov byte [esp + 0x10], 0x17
mov dword [esi], vtable.CAutoPlayProjectInfo.0
call fcn.0043fbf0
mov ecx, dword [esp + 8]
mov dword [esi + 0x1b0], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x442d00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b3ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x63865c]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x1c]
push edi
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0059fa10
lea ebp, [esi + 0xc]
push 1
mov ecx, ebp
push 0
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x24]
mov ecx, dword [ecx + 0xc]
push edx
push eax
push ecx
mov dword [esp + 0x3c], ecx
lea eax, [esi + 0xc0]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005985d4
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0xbf]
mov dl, byte [esi + 0xbe]
push ecx
xor eax, eax
mov al, byte [esi + 0xbd]
xor ecx, ecx
mov cl, byte [esi + 0xbc]
push edx
mov edx, dword [esi + 0xb8]
push eax
mov eax, dword [esi + 0xb4]
push ecx
push edx
push eax
push ecx
lea edx, [esi + 0x9c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [esp + 0x78], 0
call fcn.005985d4
mov dword [esp + 0x74], 0xffffffff
call fcn.0041c0e0
mov eax, ebp
add esp, 0x30
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0xe8]
cmp eax, 0xb4
jg 0x442e31
je 0x442e13
test eax, eax
je 0x442e13
cmp eax, 0x5a
jne 0x442e56
mov esi, dword [esi + 0x18]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub esi, edi
add esi, edx
mov dword [esp + 0x30], esi
jmp 0x442e47
mov ebx, dword [esi + 0x10]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub ebx, esi
add ebx, edx
sub edi, ecx
jmp 0x442e54
cmp eax, 0x10e
jne 0x442e56
mov ebx, dword [esi + 0x10]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
sub ebx, esi
add ebx, edx
mov edi, dword [ebp]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub edi, ecx
add edi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x63865c]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
mov dword [ecx + 0xc], ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4
Function at 0x44b020
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5b46e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00598f37
mov dword [esi], vtable.CEdit.0
lea edi, [esi + 0x3c]
push 0xa
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.005976ca
mov dword [edi], vtable.CTypedPtrList_class_CObList__class_CMaskData__.0
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor ecx, ecx
lea ebx, [esi + 0x5d]
push ecx
lea ebp, [esi + 0x5e]
push ebx
mov eax, 1
push 0xe
push 0x400
mov byte [esp + 0x2c], al
mov dword [esi + 0x58], eax
mov byte [esi + 0x5c], 0x20
mov byte [ebx], 0x2e
mov byte [ebp], 0x2c
mov byte [esi + 0x5f], 0x3a
mov byte [esi + 0x60], 0x2f
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov dword [esi], vtable.COXMaskedEdit.0
call edi
test eax, eax
je 0x44b0bb
push eax
push ebx
push 0xe
push 0x400
call edi
push 0
push ebp
push 0xf
push 0x400
call edi
test eax, eax
je 0x44b0d6
push eax
push ebp
push 0xf
push 0x400
call edi
lea ebx, [esi + 0x5f]
push 0
push ebx
push 0x1e
push 0x400
call edi
test eax, eax
je 0x44b0f4
push eax
push ebx
push 0x1e
push 0x400
call edi
lea ebx, [esi + 0x60]
push 0
push ebx
push 0x1d
push 0x400
call edi
test eax, eax
je 0x44b112
push eax
push ebx
push 0x1d
push 0x400
call edi
mov eax, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.0044b230
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x44d4f0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b4988
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push esi
mov esi, ecx
push edi
push eax
mov dword [esi + 0x28], 0
call fcn.0044d170
mov ecx, dword [eax]
xor edx, edx
mov edi, dword [ecx - 8]
lea ecx, [esp + 8]
test edi, edi
sete dl
mov edi, edx
call fcn.0059885f
test edi, edi
je 0x44d615
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0044d140
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x44d592
mov ecx, esi
call fcn.0044eb60
test eax, eax
jne 0x44d592
mov eax, dword [esi + 0x28]
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059885f
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x44d5d0
mov eax, ecx
lea edx, [esp + 0xc]
add eax, 0xfffffffe
lea ecx, [esp + 8]
push eax
push 1
push edx
call fcn.0059531c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00598998
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.0059885f
mov ecx, esi
call fcn.0044ec80
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x44d5f8
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x44d5fa
xor edi, edi
mov ecx, esi
call fcn.0044d6d0
mov dword [esi + 0x28], edi
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 8]
jmp 0x44d6ac
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0044d170
mov eax, dword [0x5c31f0]
mov dword [esp + 0x18], 2
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0057cfee
add esp, 8
test eax, eax
jne 0x44d649
lea ecx, [esp + 0xc]
call fcn.005987ea
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x44d67c
push 0
push 0
push 0
push 0
push 0xf003f
push 0
mov ecx, esi
call fcn.0044d340
test eax, eax
jne 0x44d67c
push eax
push eax
push eax
push eax
push 2
push eax
mov ecx, esi
call fcn.0044d340
test eax, eax
je 0x44d6a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x24]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x44d69b
and eax, 0xffff
or eax, 0x80070000
jmp 0x44d69d
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0059885f
mov ecx, dword [esi + 0x28]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x10]
pop edi
setge al
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44dbc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b4a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x2c]
mov dword [esi + 0x28], ebx
call fcn.005988cd
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cmp dword [ecx - 8], ebx
jne 0x44dc24
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0044d170
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call fcn.00598998
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.0059885f
mov eax, dword [0x5c31f0]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.0057cfee
add esp, 8
test eax, eax
jne 0x44dc44
lea ecx, [esp + 0x28]
call fcn.005987ea
mov eax, dword [esi + 0x24]
push ebp
push edi
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jne 0x44dc82
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
mov ecx, esi
call fcn.0044d340
test eax, eax
jne 0x44dc82
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
mov ecx, esi
call fcn.0044d340
test eax, eax
je 0x44dd46
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push ebx
push edx
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.00598c8f
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
mov eax, dword [esi + 0x24]
push eax
call ebp
cmp eax, ebx
je 0x44dcb5
and eax, 0xffff
or eax, 0x80070000
jmp 0x44dcb7
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
call fcn.00598cde
cmp dword [esi + 0x28], ebx
jl 0x44dd46
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x44dcdf
cmp eax, dword [esp + 0x10]
je 0x44dcdf
mov dword [esi + 0x28], 0x8007000d
cmp dword [esi + 0x28], ebx
jl 0x44dd46
cmp dword [esp + 0x2c], ebx
je 0x44dd50
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005985a0
add esp, 4
lea edx, [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x10]
push edx
push edi
push eax
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.00598c8f
mov ecx, dword [esi + 0x24]
push eax
push ecx
call ebp
cmp eax, ebx
je 0x44dd26
and eax, 0xffff
or eax, 0x80070000
jmp 0x44dd28
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
call fcn.00598cde
cmp dword [esi + 0x28], ebx
jge 0x44dd46
push edi
call fcn.005985c9
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x44dd50
mov dword [eax], edi
mov eax, dword [esp + 0x38]
pop edi
cmp eax, ebx
pop ebp
je 0x44dd60
mov edx, dword [esp + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x44dd6e
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x28]
xor edx, edx
cmp eax, ebx
lea ecx, [esp + 0x28]
setge dl
mov esi, edx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x44dda0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b4a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esi + 0x28], 0
call fcn.005988cd
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44de0a
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.0044d170
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.00598998
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call fcn.0059885f
mov eax, dword [0x5c31f0]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0057cfee
add esp, 8
test eax, eax
jne 0x44de2a
lea ecx, [esp + 0x18]
call fcn.005987ea
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x44de5e
push 0
push 0
push 0
push 0
push 0xf003f
push 1
mov ecx, esi
call fcn.0044d340
test eax, eax
jne 0x44de5e
push eax
push eax
push eax
push eax
push 2
push 1
mov ecx, esi
call fcn.0044d340
test eax, eax
je 0x44de93
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 0x24]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x44de8e
and eax, 0xffff
or eax, 0x80070000
jmp 0x44de90
xor eax, eax
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x28]
xor eax, eax
test ecx, ecx
setge al
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x44ded0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x5b4a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push esi
xor esi, esi
push edi
push esi
push esi
push ebx
mov dword [esp + 0x1c], esi
call ebp
mov edi, eax
cmp edi, esi
jbe 0x44df58
mov eax, dword [0x633828]
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x20], esi
call fcn.005985a0
add esp, 4
mov esi, eax
push edi
push esi
push ebx
call ebp
push esi
lea ecx, [esp + 0x2c]
call fcn.005989e8
push esi
call fcn.005985c9
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.005985d4
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0059885f
jmp 0x44df68
mov esi, dword [esp + 0x24]
push 0x638420
mov ecx, esi
call fcn.005988cd
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44e130
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5b4a9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [0x633828]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], 1
cmp eax, ebx
jne 0x44e196
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
call fcn.0044d340
test eax, eax
jne 0x44e196
push ebx
push ebx
push ebx
push ebx
push 8
push ebx
mov ecx, esi
call fcn.0044d340
test eax, eax
je 0x44e247
push ebp
push edi
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
push 0x12c
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x12c
call fcn.00598c8f
mov edi, dword [esp + 0x44]
mov edx, dword [esi + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x44e1d9
and eax, 0xffff
or eax, 0x80070000
jmp 0x44e1db
xor eax, eax
mov dword [esi + 0x28], eax
and eax, 0xffff
cmp eax, 0xea
jne 0x44e230
push ebx
lea ecx, [esp + 0x14]
call fcn.00598cde
mov ecx, esi
call fcn.0044e070
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
inc eax
push ebx
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
call fcn.00598c8f
mov edx, dword [esi + 0x24]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x44e22b
and eax, 0xffff
or eax, 0x80070000
jmp 0x44e22d
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
pop edi
cmp eax, ebx
pop ebp
jl 0x44e23d
push 0xffffffffffffffff
jmp 0x44e23e
push ebx
lea ecx, [esp + 0xc]
call fcn.00598cde
cmp dword [esi + 0x28], ebx
jl 0x44e266
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.005985d4
mov dword [esp + 0x10], 1
jmp 0x44e27e
mov esi, dword [esp + 0x24]
push 0x638420
mov ecx, esi
call fcn.005988cd
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.0059885f
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8