joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4444c2
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x66aef2
call fcn.00621869
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 0x4444ee
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x44464f
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x44451c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44451c
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 0x44464f
cmp dword [esi + 0x4c], 0
je 0x44464d
mov ecx, esi
call fcn.004447b1
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x44454c
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.004456e5
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x44464d
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 0x444641
cmp eax, 1
jg 0x444626
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 0x4445f7
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0064bf54
mov edx, dword [ebp - 0x40]
add esp, 0x10
cmp edx, eax
jne 0x444641
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x444621
test edx, edx
jne 0x444577
cmp dword [ebp - 0x1c], 0x20
jae 0x444641
push edx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00421883
jmp 0x444574
mov ebx, dword [ebp + 8]
jmp 0x444641
cmp eax, 3
jne 0x444641
mov eax, dword [ebp - 0x38]
push dword [eax + 0x4c]
push dword [ebp - 0x14]
call fcn.004456e5
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.00621813
ret 4
Function at 0x4447ff
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x66af1f
call fcn.00621869
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4448ff
cmp byte [ebx + 0x3d], 0
je 0x4448ff
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x444839
xor al, al
jmp 0x444901
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 0x444897
sub eax, 1
je 0x44489b
dec eax
sub eax, 1
je 0x4448ed
xor bl, bl
jmp 0x4448ef
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 0x4448d3
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0064bf54
add esp, 0x10
cmp esi, eax
jne 0x444893
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x4448ed
test esi, esi
jne 0x44485d
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00421883
jmp 0x444857
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042961d
mov al, bl
jmp 0x444901
mov al, 1
call fcn.00621813
ret

Function at 0x44580a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x704034]
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 0x4458ca
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 0x4458a2
lea eax, [esp + 0x28]
push eax
call fcn.0044580a
mov esi, eax
test esi, esi
jne 0x4458ca
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 0x44587d
call fcn.00424849
push dword [esp + 0xc]
mov ecx, ebx
call fcn.00445791
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.00620676
mov esp, ebp
pop ebp
ret 4
Function at 0x445995
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x704034]
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 0x445a07
cmp dword [esi + 0x84], ecx
jbe 0x445a07
cmp dword [eax + 0x14], 8
mov dword [ebp - 8], ecx
jb 0x4459c7
mov eax, dword [eax]
push 0x6cff18
push eax
lea eax, [ebp - 8]
push eax
call fcn.0064c145
add esp, 0xc
test eax, eax
jne 0x445a07
cmp dword [ebp - 8], eax
je 0x445a07
push dword [ebp - 8]
push 1
push dword [esi + 0x84]
push dword [esi + 0x80]
call fcn.0064bf54
push dword [ebp - 8]
call fcn.0064bc9c
add esp, 0x14
mov al, 1
jmp 0x445a09
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00620676
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667950
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x704034]
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, 0x6cddaf
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 0x448cde
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x14
mov eax, 0x66b606
call fcn.00621869
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 0x448d6f
push 0x6cec00
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.00448dd9
cmp dword [esi], edi
jne 0x448d34
push 0x80004005
call fcn.004297a7
push dword [esi]
push dword [eax]
call fcn.0063e338
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 0x448d6f
push 0x6cec00
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 0x448dbe
cmp esi, dword [eax]
je 0x448dbe
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 0x448db9
mov esi, dword [esi]
inc edi
call fcn.004246cb
mov eax, dword [ebp - 0x1c]
cmp edi, dword [ebp + 8]
jb 0x448d7c
jmp 0x448dbe
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.00621813
ret
Function at 0x449bd4
Capabilities:
Set registry value

Disassembly:
push 0x4c
mov eax, 0x66b856
call fcn.00621869
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.004247d0
mov edi, str.GlobalConfig::MarkSupplyid
mov esi, str.SupplyId
test eax, eax
jne 0x449c6e
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.004243d2
test eax, eax
jne 0x449c6e
push 0xc7
push edi
push str.GlobalConfig.cpp
push str.GConfig
push 1
lea ecx, [ebp - 0x58]
call fcn.00424945
mov esi, eax
push str.read_supplyid__
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00424868
push dword [ebp - 0x28]
mov ecx, esi
call fcn.004458ec
push str.__from_register
jmp 0x449ce2
push 0
sub esp, 0x10
lea ecx, [ebp - 0x20]
push str.SoftwareTencentMobileGamePC
push closesocket
call fcn.00448bf2
test eax, eax
jne 0x449cf5
mov eax, dword [ebx + 0xc]
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 0x449cf5
push 0xd7
push edi
push str.GlobalConfig.cpp
push str.GConfig
push 1
lea ecx, [ebp - 0x58]
call fcn.00424945
mov esi, eax
push str.write_supplyid
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00424868
push dword [ebx + 0xc]
mov ecx, esi
call fcn.004458ec
push str._to_register
mov ecx, esi
call fcn.00424868
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00665f73
push 0xdb
push edi
push str.GlobalConfig.cpp
push str.GConfig
push 1
lea ecx, [ebp - 0x58]
call fcn.00424945
mov esi, eax
push str.runtime_supplyid__
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00424868
push dword [ebx + 0xc]
mov ecx, esi
call fcn.004458ec
push 0x6cfa74
mov ecx, esi
call fcn.00424868
lea ecx, [ebp - 0x58]
call fcn.00665f73
lea ecx, [ebp - 0x20]
call fcn.00424849
call fcn.00621813
ret
Function at 0x44a675
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x23c
mov eax, 0x66ba03
call fcn.00621869
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.00639410
add esp, 0xc
mov dword [ebp - 0x228], 0x104
lea ecx, [ebp - 0x224]
push 0x2001f
push str.SoftwareTencentMobileGamePC
push closesocket
call fcn.004247d0
test eax, eax
jne 0x44a7a5
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 0x44a7a5
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x44a73a
mov eax, ebx
jmp 0x44a747
lea eax, [ebp - 0x218]
push eax
call fcn.0063e1a8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004284c0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.0044a7c1
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00428e92
test bl, bl
jne 0x44a78b
inc esi
xor ebx, ebx
jmp 0x44a6e9
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.00447a18
pop ecx
mov ecx, eax
call fcn.00447a86
lea ecx, [ebp - 0x224]
call fcn.00424849
lea ecx, [ebp - 0x224]
call fcn.00424849
call fcn.00621813
ret
Function at 0x44a7c1
Capabilities:
Check if file exists

Disassembly:
push 0x270
mov eax, 0x66ba4c
call fcn.00621869
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x20a
xor ebx, ebx
push ebx
push eax
call fcn.00639410
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.0063e1a8
add esp, 0x10
lea ecx, [ebp - 0x264]
push eax
push edi
call fcn.004284c0
push 0x6cec00
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.004384b2
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00448a8c
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x27c]
push esi
push 1
call fcn.00428e92
push esi
push 1
lea ecx, [ebp - 0x264]
call fcn.00428e92
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.004247d0
test eax, eax
jne 0x44a8e8
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x224]
push eax
push str.InstallPath
lea ecx, [ebp - 0x230]
call fcn.004246e3
lea ecx, [ebp - 0x230]
call fcn.00424849
lea eax, [ebp - 0x224]
push eax
call fcn.0063e1a8
pop ecx
test eax, eax
je 0x44a91d
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44a91b
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x44a91d
mov bl, 1
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.00428e92
lea ecx, [ebp - 0x230]
call fcn.00424849
mov al, bl
call fcn.00621813
ret 4
Function at 0x44d1dd
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66bfe6
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x704034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebx], vtable.CMainWnd.5.0
mov dword [ebx + 0x10], vtable.CMainWnd.4.0
mov dword [ebx + 0x20], vtable.CMainWnd.3.0
mov dword [ebx + 0x24], vtable.CMainWnd.2.0
mov dword [ebx + 0x28], vtable.CMainWnd.1.0
mov dword [ebx + 0x2c], vtable.CMainWnd.0
cmp dword [ebx + 0x988], edi
je 0x44d253
push edi
lea esi, [ebx + 0x984]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.00452eb6
mov eax, dword [ebx + 0x994]
test eax, eax
je 0x44d26b
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x44d26b
push edi
push eax
call fcn.0051287f
mov eax, dword [ebx + 0x878]
cmp eax, 0xa
je 0x44d32f
mov esi, dword [ebx + 0x87c]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
jmp 0x44d298
cmp byte [eax + 0x50], 0
je 0x44d2a1
lea ecx, [ebp - 0x14]
call fcn.00424227
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x44d287
jmp 0x44d32f
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
push 0x2001f
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, str.SoftwareTencent
mov dword [ebp - 0x20], eax
push edi
push closesocket
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.004247d0
mov esi, 0x6cec64
lea ecx, [ebp - 0x20]
push esi
call fcn.0044580a
push 0x2001f
push edi
push closesocket
lea ecx, [ebp - 0x20]
call fcn.004247d0
push esi
lea ecx, [ebp - 0x20]
call fcn.0044580a
push 0x57
push str.CMainWnd::CMainWnd
push str.MainWnd.cpp
push str.MainWnd
push 1
lea ecx, [ebp - 0x50]
call fcn.00424945
push str.install_failed._clear_all_runtime_register_key.
mov ecx, eax
call fcn.00424868
lea ecx, [ebp - 0x50]
call fcn.00665f73
lea ecx, [ebp - 0x20]
call fcn.00424849
xor edi, edi
mov eax, dword [ebx + 0x878]
push edi
push edi
push edi
push edi
push edi
push edi
cdq
push edx
push eax
push 0x3eb
push ecx
call fcn.00447a18
pop ecx
mov ecx, eax
call fcn.00447a86
lea ecx, [ebx + 0x9ac]
call fcn.004511ce
lea ecx, [ebx + 0x9a0]
call fcn.0041e1b8
lea esi, [ebx + 0x98c]
mov ecx, esi
call fcn.00443f39
push 0xe8
push 1
push dword [esi]
call fcn.004295bb
add esp, 0xc
cmp dword [ebx + 0x988], edi
je 0x44d392
call fcn.0064bbea
lea ecx, [ebx + 0x970]
call fcn.0044fec5
lea eax, [ebx + 0x940]
push eax
call fcn.0060eb4c
pop ecx
lea ecx, [ebx + 0x898]
call fcn.00419da6
lea esi, [ebx + 0x888]
lea ecx, [esi + 8]
call fcn.004433eb
mov ecx, esi
call fcn.004433eb
lea ecx, [ebx + 0x87c]
call fcn.0044fbce
mov ecx, ebx
call fcn.00452f1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00620676
mov esp, ebp
pop ebp
ret
Function at 0x44da6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x64
mov eax, 0x66c10f
call fcn.00621869
lea ecx, [ebp - 0x28]
call fcn.00665cab
and dword [ebp - 4], 0
mov eax, dword [0x716b44]
test eax, eax
push 0x6d0e30
cmove eax, dword [0x716b38]
push 0x85
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44db92
mov ecx, dword [0x716b44]
test ecx, ecx
push esi
cmove ecx, dword [0x716b38]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push esi
test edi, edi
jne 0x44dad5
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44db92
mov eax, dword [0x716b44]
test eax, eax
cmove eax, dword [0x716b38]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x44db92
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebx
mov ecx, eax
call fcn.0050f6be
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0050f67c
lea eax, [ebp - 0x70]
push eax
call fcn.0042925a
mov ecx, eax
call fcn.00452e76
push eax
mov edx, str.locale_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00451dfb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
mov edx, eax
mov dword [esp], str..xml
call fcn.004384b2
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x44db61
mov eax, dword [eax]
push eax
call fcn.004530fd
mov ecx, eax
call fcn.0050d4ca
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00428e92
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00428e92
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00428e92
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00428e92
call fcn.00621813
ret
Function at 0x44ec8e
Capabilities:
Set registry value

Disassembly:
push 0x44
mov eax, 0x66c48d
call fcn.00621869
mov esi, ecx
mov eax, dword [esi + 0x9a4]
sub eax, dword [esi + 0x9a0]
cmp eax, 4
jb 0x44edbe
mov eax, dword [esi + 0x9a4]
xor ebx, ebx
mov ecx, dword [esi + 0x9a0]
mov edx, eax
and dword [ebp - 0x14], ebx
sub edx, ecx
add edx, 3
xor edi, edi
shr edx, 2
cmp ecx, eax
cmova edx, dword [ebp - 0x14]
test edx, edx
je 0x44ece2
add ebx, dword [ecx]
inc edi
lea ecx, [ecx + 4]
cmp edi, edx
jne 0x44ecd8
mov ecx, eax
lea edi, [ebp - 0x20]
sub ecx, dword [esi + 0x9a0]
mov eax, ebx
sar ecx, 2
xor edx, edx
div ecx
xor esi, esi
mov ebx, eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push esi
sub esp, 0x10
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x20]
push str.SoftwareTencentMobileGamePCGameDownload
push closesocket
call fcn.00448bf2
test eax, eax
je 0x44ed50
push 0x206
push str.CMainWnd::RecordDownloadAverageSpeed
push str.MainWnd.cpp
push str.Download
push 3
lea ecx, [ebp - 0x50]
call fcn.00424945
mov byte [ebp - 4], 1
mov ecx, eax
push str.record_average_speed_failed:_cant_open_user_reg_path
jmp 0x44eda9
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 4
push esi
push str.DownloadSpeed
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x20b
push str.CMainWnd::RecordDownloadAverageSpeed
push str.MainWnd.cpp
push str.Download
push 1
lea ecx, [ebp - 0x50]
call fcn.00424945
mov esi, eax
push str.record_download_average_speed__
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00424868
push ebx
mov ecx, esi
call fcn.004458ec
push str._kb_s__success
mov ecx, esi
call fcn.00424868
lea ecx, [ebp - 0x50]
call fcn.00665f73
lea ecx, [ebp - 0x20]
call fcn.00424849
call fcn.00621813
ret
Function at 0x453557
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x704034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
mov dword [ebp - 0x41c], edx
push esi
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov ebx, ecx
call fcn.00639410
push esi
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00639410
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
cmp word [ebp - 0x20c], di
jne 0x4535e0
mov eax, edi
jmp 0x4535ed
lea eax, [ebp - 0x20c]
push eax
call fcn.0063e1a8
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004284c0
test esi, esi
je 0x453657
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.0064bb22
add esp, 0xc
cmp word [ebp - 0x20c], di
je 0x453644
lea eax, [ebp - 0x20c]
push eax
call fcn.0063e1a8
pop ecx
mov edi, eax
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004284c0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp eax, dword [ebx + 0x10]
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.00620676
mov esp, ebp
pop ebp
ret