joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439694
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.0042162f
cmp dword [eax + 0x14], 8
jb 0x4396c3
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push esi
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
lea ecx, [ebp - 0x30]
push esi
neg ebx
push 1
sbb bl, bl
call fcn.00428e92
add bl, 1
je 0x43972d
push 4
pop ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.SupplyId
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x439724
cmp dword [ebp - 0xc], ebx
jne 0x439724
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [edi], eax
inc esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret 4

Function at 0x439885
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x1c]
push esi
push ecx
push eax
mov esi, ecx
call fcn.00439e4b
add esi, 0x224
cmp dword [esi + 0x14], 8
jb 0x4398a6
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4398ae
mov eax, dword [eax]
push esi
push 0
push str.VMIndexBase
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 1
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00428e92
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4398d4
Capabilities:
Check if file exists

Disassembly:
push 0x270
mov eax, 0x66981b
call fcn.00621369
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00638f20
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
push eax
call edi
cmp word [ebp - 0x21c], 0
jne 0x43992c
xor eax, eax
jmp 0x439939
lea eax, [ebp - 0x21c]
push eax
call fcn.0063dcb8
pop ecx
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebx + 0x224]
push eax
mov ecx, esi
call fcn.004284c0
push 0x6cdc00
mov edx, esi
lea ecx, [ebp - 0x264]
call fcn.004382cb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
mov edx, eax
mov dword [esp], str.Config.ini
call fcn.004384b2
pop ecx
push eax
mov ecx, esi
call fcn.0042521f
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.00428e92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
push 0
push 1
call fcn.00428e92
cmp dword [esi + 0x14], 8
jb 0x4399ad
mov eax, dword [esi]
jmp 0x4399af
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439a48
lea eax, [ebp - 0x21c]
push eax
call edi
cmp word [ebp - 0x21c], 0
jne 0x4399d5
xor eax, eax
jmp 0x4399e2
lea eax, [ebp - 0x21c]
push eax
call fcn.0063dcb8
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004284c0
push 0x6cdc00
mov edx, esi
lea ecx, [ebp - 0x24c]
call fcn.004382cb
xor edi, edi
lea ecx, [ebp - 0x264]
inc edi
mov edx, eax
mov dword [ebp - 4], edi
mov dword [esp], str.Config.ini
call fcn.004384b2
pop ecx
push eax
mov ecx, esi
call fcn.0042521f
push 0
push edi
lea ecx, [ebp - 0x264]
call fcn.00428e92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
push 0
push edi
call fcn.00428e92
jmp 0x439a4b
xor edi, edi
inc edi
and dword [ebp - 0x224], 0
xor eax, eax
mov esi, 0x6cdc64
mov dword [ebp - 0x220], 7
push esi
mov word [ebp - 0x234], ax
call fcn.0063dcb8
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.004284c0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 2
push eax
push ecx
push ecx
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.00439742
push eax
lea ecx, [ebx + 0x20c]
call fcn.0042521f
push 0
push edi
lea ecx, [ebp - 0x27c]
call fcn.00428e92
push 0
push edi
lea ecx, [ebp - 0x234]
call fcn.00428e92
call fcn.00621313
ret 4
Function at 0x439c4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], eax
test edi, edi
jne 0x439c78
xor eax, eax
xor edx, edx
jmp 0x439d06
push 0x42
xor esi, esi
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push esi
push eax
movlpd qword [ebp - 0x6c], xmm0
call fcn.00638f20
add esp, 0xc
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push esi
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439d00
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x40
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x439cf7
cmp word [ebp - 0x54], si
je 0x439ce1
lea eax, [ebp - 0x54]
push eax
call fcn.0063dcb8
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.004284c0
lea eax, [ebp - 0x6c]
push eax
push ebx
call fcn.00439b56
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret 0xc
Function at 0x439d19
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x64], eax
movlpd qword [ebp - 0x60], xmm0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
jb 0x439d4f
mov eax, dword [esi]
jmp 0x439d51
mov eax, esi
push edi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x439e2e
push eax
call fcn.0063e2ce
mov ebx, eax
pop ecx
test ebx, ebx
je 0x439e2e
push dword [ebp - 0x54]
push edi
push ebx
call fcn.00638f20
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x439d8a
mov esi, dword [esi]
push ebx
push dword [ebp - 0x54]
push edi
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x439e1f
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x6cdc00
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x439e1f
mov esi, dword [ebp - 0x50]
xor eax, eax
push 0x40
push edi
or eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x54], eax
or ecx, edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
push eax
call fcn.00638f20
movzx eax, word [esi + 0xc]
push eax
movzx eax, word [esi + 0xe]
push eax
movzx eax, word [esi + 8]
push eax
movzx eax, word [esi + 0xa]
push eax
lea eax, [ebp - 0x48]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
cmp word [ebp - 0x48], di
je 0x439e0d
lea eax, [ebp - 0x48]
push eax
call fcn.0063dcb8
pop ecx
mov edi, eax
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004284c0
mov esi, dword [ebp - 0x54]
jmp 0x439e22
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
push ebx
call fcn.0063de88
pop ecx
jmp 0x439e34
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 4]
mov edx, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret 8
Function at 0x439e4b
Capabilities:
Read .ini file

Disassembly:
push 0x45c
mov eax, 0x66984e
call fcn.00621369
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x44c]
xor ebx, ebx
push str.Product
mov dword [ebp - 0x450], ebx
call fcn.00428560
push str.Engine
push str.Product
mov dword [ebp - 4], ebx
call fcn.0063dcd3
pop ecx
pop ecx
test eax, eax
je 0x439ea3
cmp dword [esi + 0x240], ebx
jne 0x439ea3
cmp dword [esi + 0x244], ebx
je 0x439f9d
push 0x20a
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.00638f20
add esp, 0xc
cmp dword [esi + 0x240], ebx
je 0x439ee3
push dword [esi + 0x10]
lea eax, [ebp - 0x224]
push str.Product
push str._s__d
push 0x104
push eax
call fcn.004376a8
add esp, 0x14
jmp 0x439f2e
cmp dword [esi + 0x244], ebx
je 0x439f2e
lea eax, [ebp - 0x468]
mov ecx, esi
push eax
call fcn.0043a01e
cmp dword [eax + 0x14], 8
jb 0x439f01
mov eax, dword [eax]
push eax
push str.Product
push str._s__s
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.004376a8
add esp, 0x14
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00428e92
push 0x20a
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.00638f20
add esi, 0x224
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x439f51
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x439f9d
cmp word [ebp - 0x224], 0
jne 0x439f7d
mov eax, ebx
jmp 0x439f8a
lea eax, [ebp - 0x224]
push eax
call fcn.0063dcb8
pop ecx
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004284c0
lea eax, [ebp - 0x44c]
mov ecx, edi
push eax
call fcn.0042701d
push ebx
push 1
lea ecx, [ebp - 0x44c]
call fcn.00428e92
mov eax, edi
call fcn.00621313
ret 8

Function at 0x43b4b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push 0
push eax
mov ebx, edx
mov edi, ecx
call fcn.00638f20
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00638f20
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push 0x104
push eax
push 0x59
push 0x400
call esi
push 0x104
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x414]
push eax
push 0x5a
push 0x400
call esi
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00430d7c
test esi, esi
je 0x43b574
mov eax, dword [ebp - 0x418]
push 0x5f
pop ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0064b6b2
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00430d7c
mov ecx, dword [edi]
xor eax, eax
pop edi
pop esi
pop ebx
cmp dword [ecx - 0xc], eax
mov ecx, dword [ebp - 4]
setg al
xor ecx, ebp
call fcn.00620181
mov esp, ebp
pop ebp
ret
Function at 0x43b7f0
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x669b8b
call fcn.00621335
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [edi], esi
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00430bfa
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], esi
xor ecx, ecx
mov eax, dword [ebx]
push 2
pop edx
mov dword [ebp - 0x14], 1
mov eax, dword [eax - 0xc]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00620204
mov edi, eax
pop ecx
test edi, edi
je 0x43b891
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push edi
call fcn.00638f20
mov eax, dword [ebx]
add esp, 0xc
cmp dword [eax - 0xc], esi
jle 0x43b87d
push esi
mov ecx, ebx
call fcn.00430a44
xor ax, 0x5a
mov word [edi + esi*2], ax
inc esi
mov eax, dword [ebx]
cmp esi, dword [eax - 0xc]
jl 0x43b865
mov esi, dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.00430d7c
push edi
call fcn.006201f6
pop ecx
jmp 0x43b894
mov esi, dword [ebp - 0x10]
mov eax, esi
call fcn.006212fe
ret

Function at 0x43b8e1
Capabilities:
Query environment variable

Disassembly:
push 0x22c
mov eax, 0x669bb1
call fcn.00621369
mov esi, ecx
mov dword [ebp - 0x234], esi
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 0x238], ebx
call fcn.00638f20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.appdata
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x43b95b
lea eax, [ebp - 0x218]
push eax
call fcn.0063dcb8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004284c0
mov edi, str.TencentMobileGamePCAppMarket3
mov dword [ebp - 4], ebx
push edi
call fcn.0063dcb8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00425448
lea edx, [ebp - 0x230]
mov ecx, esi
call fcn.0043b488
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00428e92
mov eax, esi
call fcn.00621313
ret
Function at 0x4444e5
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x66aa12
call fcn.00621369
mov esi, ecx
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x444511
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x444672
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x44453f
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44453f
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x444672
cmp dword [esi + 0x4c], 0
je 0x444670
mov ecx, esi
call fcn.004447d4
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x44456f
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00445708
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x444670
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
lea ecx, [ebp - 0x2c]
push 8
mov byte [ebp - 0x14], al
mov dword [ebp - 0x18], 0xf
call fcn.00421ae9
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
cmp edi, 0x10
lea edx, [ebp - 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x13]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call dword [edi + 0x1c]
test eax, eax
js 0x444664
cmp eax, 1
jg 0x444649
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp edi, 0x10
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x40], edx
je 0x44461a
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0064bae4
mov edx, dword [ebp - 0x40]
add esp, 0x10
cmp edx, eax
jne 0x444664
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x444644
test edx, edx
jne 0x44459a
cmp dword [ebp - 0x1c], 0x20
jae 0x444664
push edx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00421883
jmp 0x444597
mov ebx, dword [ebp + 8]
jmp 0x444664
cmp eax, 3
jne 0x444664
mov eax, dword [ebp - 0x38]
push dword [eax + 0x4c]
push dword [ebp - 0x14]
call fcn.00445708
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042961d
mov eax, ebx
call fcn.00621313
ret 4
Function at 0x444822
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x66aa3f
call fcn.00621369
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x444922
cmp byte [ebx + 0x3d], 0
je 0x444922
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x44485c
xor al, al
jmp 0x444924
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.00421ae9
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4448ba
sub eax, 1
je 0x4448be
dec eax
sub eax, 1
je 0x444910
xor bl, bl
jmp 0x444912
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x4448f6
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0064bae4
add esp, 0x10
cmp esi, eax
jne 0x4448b6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x444910
test esi, esi
jne 0x444880
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00421883
jmp 0x44487a
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042961d
mov al, bl
jmp 0x444924
mov al, 1
call fcn.00621313
ret

Function at 0x44582d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [esp + 0x10], edi
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.004247d0
mov esi, eax
test esi, esi
jne 0x4458ed
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4458c5
lea eax, [esp + 0x28]
push eax
call fcn.0044582d
mov esi, eax
test esi, esi
jne 0x4458ed
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x4458a0
call fcn.00424849
push dword [esp + 0xc]
mov ecx, ebx
call fcn.004457b4
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.00424849
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00620181
mov esp, ebp
pop ebp
ret 4
Function at 0x4459b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi + 0x80], ecx
je 0x445a2a
cmp dword [esi + 0x84], ecx
jbe 0x445a2a
cmp dword [eax + 0x14], 8
mov dword [ebp - 8], ecx
jb 0x4459ea
mov eax, dword [eax]
push 0x6cef08
push eax
lea eax, [ebp - 8]
push eax
call fcn.0064bcd5
add esp, 0xc
test eax, eax
jne 0x445a2a
cmp dword [ebp - 8], eax
je 0x445a2a
push dword [ebp - 8]
push 1
push dword [esi + 0x84]
push dword [esi + 0x80]
call fcn.0064bae4
push dword [ebp - 8]
call fcn.0064b82c
add esp, 0x14
mov al, 1
jmp 0x445a2c
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00620181
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667470
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
lea ecx, [esi + 0x18]
mov ebx, 0x6ccdaf
mov dword [esi], edi
push ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.00429293
push ebx
lea ecx, [esi + 0x30]
call fcn.00429293
push ebx
lea ecx, [esi + 0x98]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
call fcn.00429293
push ebx
lea ecx, [esi + 0xb0]
call fcn.00429293
push ebx
lea ecx, [esi + 0xc8]
call fcn.00429293
push ebx
lea ecx, [esi + 0xe0]
call fcn.00429293
push ebx
lea ecx, [esi + 0xf8]
call fcn.00429293
push ebx
lea ecx, [esi + 0x110]
call fcn.00429293
push ebx
lea ecx, [esi + 0x128]
call fcn.00429293
push ebx
lea ecx, [esi + 0x140]
call fcn.00429293
push ebx
lea ecx, [esi + 0x158]
call fcn.00429293
push ebx
lea ecx, [esi + 0x170]
call fcn.00429293
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
Function at 0x448cfe
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x14
mov eax, 0x66b126
call fcn.00621369
mov dword [ebp - 0x1c], edx
push ecx
xor edi, edi
lea ecx, [ebp - 0x14]
and dword [ebp - 0x14], edi
call fcn.0043773e
and dword [ebp - 4], edi
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
jbe 0x448d8f
push 0x6cdc00
lea ecx, [ebp - 0x20]
call fcn.0043773e
mov esi, eax
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00448df9
cmp dword [esi], edi
jne 0x448d54
push 0x80004005
call fcn.004297a7
push dword [esi]
push dword [eax]
call fcn.0063de48
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test eax, eax
setne bl
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004246cb
test bl, bl
je 0x448d8f
push 0x6cdc00
lea ecx, [ebp - 0x14]
call fcn.004374b6
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov esi, dword [esi]
jbe 0x448dde
cmp esi, dword [eax]
je 0x448dde
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
push dword [esi + 8]
lea ecx, [ebp - 0x18]
call fcn.00437366
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
cmp eax, 0xffffffff
je 0x448dd9
mov esi, dword [esi]
inc edi
call fcn.004246cb
mov eax, dword [ebp - 0x1c]
cmp edi, dword [ebp + 8]
jb 0x448d9c
jmp 0x448dde
call fcn.004246cb
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
cmp edi, dword [ebp + 8]
sete bl
add ecx, 0xfffffff0
call fcn.004246cb
mov eax, ebx
call fcn.00621313
ret