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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x70b034]
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 0x43a3de
xor eax, eax
xor edx, edx
jmp 0x43a46c
push 0x42
xor esi, esi
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push esi
push eax
movlpd qword [ebp - 0x6c], xmm0
call fcn.0063e4e0
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 0x43a466
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 0x43a45d
cmp word [ebp - 0x54], si
je 0x43a447
lea eax, [ebp - 0x54]
push eax
call fcn.00643278
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.004284f9
lea eax, [ebp - 0x6c]
push eax
push ebx
call fcn.0043a2bc
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.00625788
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a47f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x70b034]
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 0x43a4b5
mov eax, dword [esi]
jmp 0x43a4b7
mov eax, esi
push edi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x43a594
push eax
call fcn.0064388e
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43a594
push dword [ebp - 0x54]
push edi
push ebx
call fcn.0063e4e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43a4f0
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 0x43a585
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x6d4cb8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a585
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.0063e4e0
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 0x43a573
lea eax, [ebp - 0x48]
push eax
call fcn.00643278
pop ecx
mov edi, eax
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004284f9
mov esi, dword [ebp - 0x54]
jmp 0x43a588
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
push ebx
call fcn.00643448
pop ecx
jmp 0x43a59a
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.00625788
mov esp, ebp
pop ebp
ret 8
Function at 0x43a5b1
Capabilities:
Read .ini file

Disassembly:
push 0x45c
mov eax, 0x66ef2e
call fcn.00626979
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.00428599
push str.Engine
push str.Product
mov dword [ebp - 4], ebx
call fcn.00643293
pop ecx
pop ecx
test eax, eax
je 0x43a609
cmp dword [esi + 0x240], ebx
jne 0x43a609
cmp dword [esi + 0x244], ebx
je 0x43a703
push 0x20a
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0063e4e0
add esp, 0xc
cmp dword [esi + 0x240], ebx
je 0x43a649
push dword [esi + 0x10]
lea eax, [ebp - 0x224]
push str.Product
push str._s__d
push 0x104
push eax
call fcn.004377b7
add esp, 0x14
jmp 0x43a694
cmp dword [esi + 0x244], ebx
je 0x43a694
lea eax, [ebp - 0x468]
mov ecx, esi
push eax
call fcn.0043a784
cmp dword [eax + 0x14], 8
jb 0x43a667
mov eax, dword [eax]
push eax
push str.Product
push str._s__s
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.004377b7
add esp, 0x14
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00428ecb
push 0x20a
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.0063e4e0
add esi, 0x224
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43a6b7
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 0x43a703
cmp word [ebp - 0x224], 0
jne 0x43a6e3
mov eax, ebx
jmp 0x43a6f0
lea eax, [ebp - 0x224]
push eax
call fcn.00643278
pop ecx
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004284f9
lea eax, [ebp - 0x44c]
mov ecx, edi
push eax
call fcn.00427058
push ebx
push 1
lea ecx, [ebp - 0x44c]
call fcn.00428ecb
mov eax, edi
call fcn.00626923
ret 8

Function at 0x43bb81
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x70b034]
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.0063e4e0
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0063e4e0
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.00430dce
test esi, esi
je 0x43bc45
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.00650c82
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00430dce
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.00625788
mov esp, ebp
pop ebp
ret
Function at 0x43bec1
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x66f237
call fcn.00626945
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.00430c4c
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.0062580b
mov edi, eax
pop ecx
test edi, edi
je 0x43bf62
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push edi
call fcn.0063e4e0
mov eax, dword [ebx]
add esp, 0xc
cmp dword [eax - 0xc], esi
jle 0x43bf4e
push esi
mov ecx, ebx
call fcn.00430a96
xor ax, 0x5a
mov word [edi + esi*2], ax
inc esi
mov eax, dword [ebx]
cmp esi, dword [eax - 0xc]
jl 0x43bf36
mov esi, dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.00430dce
push edi
call fcn.006257fd
pop ecx
jmp 0x43bf65
mov esi, dword [ebp - 0x10]
mov eax, esi
call fcn.0062690e
ret

Function at 0x43bfb2
Capabilities:
Query environment variable

Disassembly:
push 0x22c
mov eax, 0x66f25d
call fcn.00626979
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.0063e4e0
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 0x43c02c
lea eax, [ebp - 0x218]
push eax
call fcn.00643278
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004284f9
mov edi, str.TencentMobileGamePCAppMarket3
mov dword [ebp - 4], ebx
push edi
call fcn.00643278
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00425488
lea edx, [ebp - 0x230]
mov ecx, esi
call fcn.0043bb59
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00428ecb
mov eax, esi
call fcn.00626923
ret
Function at 0x444d66
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x67014f
call fcn.00626979
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 0x444d92
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x444ef3
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x444dc0
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x444dc0
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 0x444ef3
cmp dword [esi + 0x4c], 0
je 0x444ef1
mov ecx, esi
call fcn.00445098
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x444df0
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.0044622d
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x444ef1
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.00421b29
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 0x444ee5
cmp eax, 1
jg 0x444eca
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 0x444e9b
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.006510b4
mov edx, dword [ebp - 0x40]
add esp, 0x10
cmp edx, eax
jne 0x444ee5
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x444ec5
test edx, edx
jne 0x444e1b
cmp dword [ebp - 0x1c], 0x20
jae 0x444ee5
push edx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004218c3
jmp 0x444e18
mov ebx, dword [ebp + 8]
jmp 0x444ee5
cmp eax, 3
jne 0x444ee5
mov eax, dword [ebp - 0x38]
push dword [eax + 0x4c]
push dword [ebp - 0x14]
call fcn.0044622d
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429656
mov eax, ebx
call fcn.00626923
ret 4
Function at 0x4450e6
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x67017c
call fcn.00626979
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4451e6
cmp byte [ebx + 0x3d], 0
je 0x4451e6
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x445120
xor al, al
jmp 0x4451e8
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.00421b29
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 0x44517e
sub eax, 1
je 0x445182
dec eax
sub eax, 1
je 0x4451d4
xor bl, bl
jmp 0x4451d6
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 0x4451ba
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.006510b4
add esp, 0x10
cmp esi, eax
jne 0x44517a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x4451d4
test esi, esi
jne 0x445144
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004218c3
jmp 0x44513e
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429656
mov al, bl
jmp 0x4451e8
mov al, 1
call fcn.00626923
ret

Function at 0x446352
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x70b034]
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.00424810
mov esi, eax
test esi, esi
jne 0x446412
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 0x4463ea
lea eax, [esp + 0x28]
push eax
call fcn.00446352
mov esi, eax
test esi, esi
jne 0x446412
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 0x4463c5
call fcn.00424889
push dword [esp + 0xc]
mov ecx, ebx
call fcn.004462d9
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.00424889
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00625788
mov esp, ebp
pop ebp
ret 4
Function at 0x446519
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x70b034]
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 0x44658b
cmp dword [esi + 0x84], ecx
jbe 0x44658b
cmp dword [eax + 0x14], 8
mov dword [ebp - 8], ecx
jb 0x44654b
mov eax, dword [eax]
push 0x6d6004
push eax
lea eax, [ebp - 8]
push eax
call fcn.006512a5
add esp, 0xc
test eax, eax
jne 0x44658b
cmp dword [ebp - 8], eax
je 0x44658b
push dword [ebp - 8]
push 1
push dword [esi + 0x84]
push dword [esi + 0x80]
call fcn.006510b4
push dword [ebp - 8]
call fcn.00650dfc
add esp, 0x14
mov al, 1
jmp 0x44658d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00625788
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ca70
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x70b034]
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, 0x6d3e1f
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.004292cc
push ebx
lea ecx, [esi + 0x30]
call fcn.004292cc
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.004292cc
push ebx
lea ecx, [esi + 0xb0]
call fcn.004292cc
push ebx
lea ecx, [esi + 0xc8]
call fcn.004292cc
push ebx
lea ecx, [esi + 0xe0]
call fcn.004292cc
push ebx
lea ecx, [esi + 0xf8]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x110]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x128]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x140]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x158]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x170]
call fcn.004292cc
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 0x4498a9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x14
mov eax, 0x670898
call fcn.00626979
mov dword [ebp - 0x1c], edx
push ecx
xor edi, edi
lea ecx, [ebp - 0x14]
and dword [ebp - 0x14], edi
call fcn.0043784d
and dword [ebp - 4], edi
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
jbe 0x44993a
push 0x6d4cb8
lea ecx, [ebp - 0x20]
call fcn.0043784d
mov esi, eax
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.004499a4
cmp dword [esi], edi
jne 0x4498ff
push 0x80004005
call fcn.004297f9
push dword [esi]
push dword [eax]
call fcn.00643408
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test eax, eax
setne bl
lea ecx, [ecx - 0x10]
call fcn.0042470b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0042470b
test bl, bl
je 0x44993a
push 0x6d4cb8
lea ecx, [ebp - 0x14]
call fcn.004375c5
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov esi, dword [esi]
jbe 0x449989
cmp esi, dword [eax]
je 0x449989
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
push dword [esi + 8]
lea ecx, [ebp - 0x18]
call fcn.00437475
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 0x449984
mov esi, dword [esi]
inc edi
call fcn.0042470b
mov eax, dword [ebp - 0x1c]
cmp edi, dword [ebp + 8]
jb 0x449947
jmp 0x449989
call fcn.0042470b
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
cmp edi, dword [ebp + 8]
sete bl
add ecx, 0xfffffff0
call fcn.0042470b
mov eax, ebx
call fcn.00626923
ret
Function at 0x44a80b
Capabilities:
Set registry value

Disassembly:
push 0x4c
mov eax, 0x670af6
call fcn.00626979
mov ebx, ecx
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0x2001f
push str.SoftwareTencentMobileGamePC
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
push closesocket
mov dword [ebp - 0x28], eax
call fcn.00424810
mov edi, str.GlobalConfig::MarkSupplyid
mov esi, str.SupplyId
test eax, eax
jne 0x44a8a5
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.00424412
test eax, eax
jne 0x44a8a5
push 0xc9
push edi
push str.GlobalConfig.cpp
push str.GConfig
push 1
lea ecx, [ebp - 0x58]
call fcn.00424985
mov esi, eax
push str.read_supplyid__
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004248a8
push dword [ebp - 0x28]
mov ecx, esi
call fcn.00446470
push str.__from_register
jmp 0x44a919
push 0
sub esp, 0x10
lea ecx, [ebp - 0x20]
push str.SoftwareTencentMobileGamePC
push closesocket
call fcn.0044955b
test eax, eax
jne 0x44a92c
mov eax, dword [ebx + 0x1c]
push 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 4
push 0
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44a92c
push 0xd9
push edi
push str.GlobalConfig.cpp
push str.GConfig
push 1
lea ecx, [ebp - 0x58]
call fcn.00424985
mov esi, eax
push str.write_supplyid
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004248a8
push dword [ebx + 0x1c]
mov ecx, esi
call fcn.00446470
push str._to_register
mov ecx, esi
call fcn.004248a8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0066b093
push 0xdd
push edi
push str.GlobalConfig.cpp
push str.GConfig
push 1
lea ecx, [ebp - 0x58]
call fcn.00424985
mov esi, eax
push str.runtime_supplyid__
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004248a8
push dword [ebx + 0x1c]
mov ecx, esi
call fcn.00446470
push 0x6d5b2c
mov ecx, esi
call fcn.004248a8
lea ecx, [ebp - 0x58]
call fcn.0066b093
lea ecx, [ebp - 0x20]
call fcn.00424889
call fcn.00626923
ret
Function at 0x44b2ac
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x23c
mov eax, 0x670ca3
call fcn.00626979
xor eax, eax
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
xor ebx, ebx
mov esi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.0063e4e0
add esp, 0xc
mov dword [ebp - 0x228], 0x104
lea ecx, [ebp - 0x224]
push 0x2001f
push str.SoftwareTencentMobileGamePC
push closesocket
call fcn.00424810
test eax, eax
jne 0x44b3dc
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44b3dc
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x44b371
mov eax, ebx
jmp 0x44b37e
lea eax, [ebp - 0x218]
push eax
call fcn.00643278
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004284f9
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.0044b3f8
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00428ecb
test bl, bl
jne 0x44b3c2
inc esi
xor ebx, ebx
jmp 0x44b320
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 3
push ecx
call fcn.00448338
pop ecx
mov ecx, eax
call fcn.004483a6
lea ecx, [ebp - 0x224]
call fcn.00424889
lea ecx, [ebp - 0x224]
call fcn.00424889
call fcn.00626923
ret
Function at 0x44b3f8
Capabilities:
Check if file exists

Disassembly:
push 0x270
mov eax, 0x670cec
call fcn.00626979
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x20a
xor ebx, ebx
push ebx
push eax
call fcn.0063e4e0
xor eax, eax
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 4], ebx
xor eax, eax
and dword [ebp - 0x254], ebx
mov edi, str.SoftwareTencentMobileGamePC
push edi
mov dword [ebp - 0x24c], 0x105
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
call fcn.00643278
add esp, 0x10
lea ecx, [ebp - 0x264]
push eax
push edi
call fcn.004284f9
push 0x6d4cb8
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00438c18
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004493f5
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x27c]
push esi
push 1
call fcn.00428ecb
push esi
push 1
lea ecx, [ebp - 0x264]
call fcn.00428ecb
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0x2001f
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
push closesocket
call fcn.00424810
test eax, eax
jne 0x44b51f
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x224]
push eax
push str.InstallPath
lea ecx, [ebp - 0x230]
call fcn.00424723
lea ecx, [ebp - 0x230]
call fcn.00424889
lea eax, [ebp - 0x224]
push eax
call fcn.00643278
pop ecx
test eax, eax
je 0x44b554
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b552
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x44b554
mov bl, 1
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.00428ecb
lea ecx, [ebp - 0x230]
call fcn.00424889
mov al, bl
call fcn.00626923
ret 4