joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420590
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [ebp + 8]
mov dword [esp + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4205b2
mov eax, dword [eax]
mov esi, dword [ebp + 0x44]
test esi, esi
je 0x4205ce
push SysReAllocString
mov edi, 3
push eax
lea ebx, [edi - 2]
call fcn.0041e1f0
jmp 0x4205e7
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4205ff
call fcn.0041e1d0
test eax, eax
jns 0x420602
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x40], eax
mov ecx, dword [ebp + 0x40]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x420627
call fcn.0041e1d0
test eax, eax
js 0x4205f5
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], edx
call fcn.004c83da
mov esi, eax
mov eax, dword [ebp + 0x60]
add esp, 4
cmp eax, esi
je 0x42064f
push eax
call fcn.004c9b0b
add esp, 4
mov dword [ebp + 0x60], esi
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x60]
push ecx
push 0
push eax
mov dword [ebp + 0x54], eax
call fcn.004cf830
add esp, 0xc
mov esi, ebp
call fcn.00420330
test al, al
je 0x4205f5
push ebp
call fcn.00420390
test al, al
je 0x4205f5
call fcn.004204d0
test al, al
je 0x4205f5
call fcn.00420520
test al, al
je 0x4205f5
cmp dword [ebp + 0x38], 8
jb 0x4206a2
mov ecx, dword [ebp + 0x24]
jmp 0x4206a5
lea ecx, [ebp + 0x24]
push 2
lea esi, [ebp + 0x48]
push esi
mov edx, 2
mov eax, 0x40000000
call fcn.0041a650
test eax, eax
js 0x4205f5
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x58]
push esi
call fcn.0041f000
call fcn.0041a6a0
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4206e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [ebp + 8]
mov dword [esp + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x420702
mov eax, dword [eax]
mov esi, dword [ebp + 0x44]
test esi, esi
je 0x42071e
push SysReAllocString
mov edi, 3
push eax
lea ebx, [edi - 2]
call fcn.0041e1f0
jmp 0x420737
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x42074f
call fcn.0041e1d0
test eax, eax
jns 0x420752
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x40], eax
mov ecx, dword [ebp + 0x40]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x420777
call fcn.0041e1d0
test eax, eax
js 0x420745
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], edx
call fcn.004c83da
mov esi, eax
mov eax, dword [ebp + 0x60]
add esp, 4
cmp eax, esi
je 0x42079f
push eax
call fcn.004c9b0b
add esp, 4
mov dword [ebp + 0x60], esi
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x60]
push ecx
push 0
push eax
mov dword [ebp + 0x54], eax
call fcn.004cf830
add esp, 0xc
mov esi, ebp
call fcn.00420330
test al, al
je 0x420745
push ebp
call fcn.00420430
test al, al
je 0x420745
call fcn.004204d0
test al, al
je 0x420745
call fcn.00420520
test al, al
je 0x420745
cmp dword [ebp + 0x38], 8
jb 0x4207f2
mov ecx, dword [ebp + 0x24]
jmp 0x4207f5
lea ecx, [ebp + 0x24]
push 2
lea esi, [ebp + 0x48]
push esi
mov edx, 2
mov eax, 0x40000000
call fcn.0041a650
test eax, eax
js 0x420745
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x58]
push esi
call fcn.0041f000
call fcn.0041a6a0
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421d10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ef250
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421d71
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x5c]
call fcn.00404e70
mov eax, dword [esp + 0x58]
mov esi, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x6c], esi
jae 0x421da7
lea eax, [esp + 0x58]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x6c], esi
jb 0x421ddb
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004c9387
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x421efe
mov eax, 7
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x80], 0x18
mov dword [esp + 0x50], eax
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, edi
mov dword [esp + 0x4c], ebx
lea edx, [eax + 2]
jmp 0x421e20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421e20
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x40]
call fcn.00404e70
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov edx, ebp
mov byte [esp + 0x84], 0x19
call fcn.004173d0
test eax, eax
mov ebp, 8
setne byte [esp + 0x13]
mov byte [esp + 0x80], 0x18
cmp dword [esp + 0x50], ebp
jb 0x421e78
mov edx, dword [esp + 0x3c]
push edx
call fcn.004c9387
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
cmp byte [esp + 0x13], bl
je 0x421ea9
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x34], ebp
jb 0x421efe
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x421ef6
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x421eb7
lea esi, [esp + 0x20]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x421ee0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push esi
push 1
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x34], ebp
jb 0x421efe
mov edx, dword [esp + 0x20]
push edx
call fcn.004c9387
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004c9392
add esp, 0x74
ret
Function at 0x421f20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ef210
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor eax, eax
mov word [esp + 0x20], ax
push 0xa
mov eax, str.Experience
lea esi, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
call fcn.00404e70
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jae 0x421f93
mov eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
mov eax, dword [edi]
push eax
call esi
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x34], 8
jb 0x421fc6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c9387
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x42201e
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.Experience
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 4
call esi
cmp eax, ebx
jne 0x42201e
cmp dword [esp + 0x18], 4
jne 0x42201e
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.Experience
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c9392
add esp, 0x3c
ret
Function at 0x422210
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f1560
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x28], ax
xor ebp, ebp
push 0x1d
mov eax, str.SoftwareGoogleGoogle_Pinyin
lea esi, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebp
call fcn.00404e70
mov ecx, 0x2021f
mov edi, esi
mov dword [esp + 0x88], ebp
call fcn.004176f0
mov ebx, eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x88], 2
cmp dword [esp + 0x3c], 8
jb 0x42229f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c9387
add esp, 4
xor edx, edx
mov eax, 7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], dx
cmp ebx, ebp
je 0x422433
mov dword [esp + 0x58], eax
xor eax, eax
mov word [esp + 0x44], ax
push 0x1f
mov eax, str.SoftwareGoogleGoogle_Pinyin_2
lea esi, [esp + 0x48]
mov dword [esp + 0x58], ebp
call fcn.00404e70
mov ecx, 0x2011f
mov edi, esi
mov byte [esp + 0x88], 3
call fcn.004176f0
mov byte [esp + 0x88], 2
cmp dword [esp + 0x58], 8
mov ebp, eax
jb 0x42230c
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004c9387
add esp, 4
xor esi, esi
xor edx, edx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
mov word [esp + 0x44], dx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x88], 4
cmp ebp, esi
je 0x422422
push ebp
push ebx
mov edi, str.BrandCode
call fcn.00421d10
push ebp
push ebx
mov edi, str.GUID
call fcn.00421d10
push ebp
push ebx
mov edi, 0x506458
call fcn.00421d10
push ebx
mov edi, ebp
call fcn.00421f20
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x70], esi
mov word [esp + 0x60], ax
push 0xb
mov eax, str.InstallTime
lea esi, [esp + 0x64]
mov dword [esp + 0x78], 7
call fcn.00404e70
mov eax, dword [esp + 0x60]
xor edi, edi
mov esi, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x74], esi
jae 0x4223a4
lea eax, [esp + 0x60]
lea ecx, [esp + 0x1c]
push ecx
push edi
lea edx, [esp + 0x20]
push edx
push edi
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
setne byte [esp + 0x17]
cmp dword [esp + 0x74], esi
jb 0x4223d5
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004c9387
add esp, 4
cmp byte [esp + 0x17], 0
je 0x422406
mov ecx, ebx
call fcn.00422040
mov ecx, eax
or ecx, edx
je 0x422406
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push edi
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
push str.InstallTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebx]
push str.Experience
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebp
mov byte [esp + 0x8c], 2
call fcn.00416bf0
push ebx
mov dword [esp + 0x8c], 0xffffffff
call fcn.00416bf0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004c9392
add esp, 0x78
ret
Function at 0x422680
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x4226a8
push esi
push edi
lea esp, [esp]
movzx esi, byte [edx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x5315e0]
inc edx
dec ecx
jne 0x422690
pop edi
pop esi
not eax
xor ecx, ecx
cmp eax, dword [esp + 4]
sete cl
mov eax, ecx
ret
Function at 0x425af0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ef1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x14], ax
push 0x1f
mov eax, str.SoftwareGoogleGoogle_Pinyin_2
lea esi, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.00404e70
mov ecx, 0x2011f
mov edi, esi
mov dword [esp + 0x3c], 0
call fcn.004176f0
or edi, 0xffffffff
mov dword [esp + 0x3c], edi
cmp dword [esp + 0x28], 8
mov esi, eax
jb 0x425b78
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c9387
add esp, 4
test esi, esi
je 0x425baf
mov eax, dword [esi]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.SystemSkinVersion
push eax
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x425baf
push esi
mov dword [esp + 0x40], edi
call fcn.00416bf0
mov al, 1
jmp 0x425bbf
mov dword [esp + 0x3c], edi
test esi, esi
je 0x425bbd
push esi
call fcn.00416bf0
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c9392
add esp, 0x34
ret
Function at 0x428e80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f5124
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.ime_goopy::StorageManagerImpl.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esp + 0x20], 0x13
mov byte [esi + 0x50], bl
call fcn.004291e0
push 0xc4
mov word [esp + 0x14], 0x101
mov byte [esp + 0x16], 1
call fcn.004c958c
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x20], 0x14
cmp eax, ebx
je 0x428f33
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.0042fb20
jmp 0x428f35
xor eax, eax
mov byte [esp + 0x20], 0x13
cmp byte [eax + 4], bl
jne 0x428f4d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
xor edi, edi
jmp 0x428f4f
mov edi, eax
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x428f65
cmp ecx, ebx
je 0x428f62
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 4], edi
cmp dword [esi + 4], ebx
je 0x428fb2
push esi
call fcn.00427b70
test al, al
je 0x428fb2
push esi
call fcn.004281f0
test al, al
je 0x428fb2
push 4
call fcn.004c958c
add esp, 4
cmp eax, ebx
je 0x428f96
mov dword [eax], vtable.ime_goopy::ExtensionScriptManager.0
mov edi, eax
jmp 0x428f98
xor edi, edi
mov ecx, dword [esi + 0x3c]
cmp ecx, edi
je 0x428fae
cmp ecx, ebx
je 0x428fab
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x3c], edi
mov byte [esi + 0x50], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x4291e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa34
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0xa2c], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x62a]
push ecx
mov word [esp + 0x62c], ax
call fcn.004cf830
add esp, 0xc
push 0
push 0x1c
lea edx, [esp + 0x628]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x429361
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21a]
push ecx
mov word [esp + 0x21c], ax
call fcn.004cf830
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.VirtualStore
lea edx, [esp + 0x624]
push edx
lea eax, [esp + 0x218]
push eax
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x422]
push edx
mov word [esp + 0x424], cx
call fcn.004cf830
lea eax, [esp + 0x424]
add esp, 0xc
push eax
call fcn.004264a0
add esp, 4
test al, al
je 0x4292e5
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.004cf830
add esp, 0xc
lea eax, [esp + 0x41e]
push eax
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x10]
push edx
call esi
test eax, eax
je 0x4292e5
lea eax, [esp + 8]
push eax
call fcn.00416020
add esp, 4
call fcn.00426150
test al, al
je 0x429361
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.004cf830
lea eax, [esp + 0x14]
add esp, 0xc
push eax
call fcn.004264a0
add esp, 4
test al, al
je 0x429326
lea ecx, [esp + 8]
push ecx
call fcn.00416020
add esp, 4
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x832]
push eax
mov word [esp + 0x834], dx
call fcn.004cf830
add esp, 0xc
lea edi, [esp + 0x828]
call fcn.004263c0
test al, al
je 0x429361
mov ecx, edi
push ecx
call fcn.00416020
add esp, 4
mov ecx, dword [esp + 0xa34]
pop edi
pop esi
xor ecx, esp
call fcn.004c9392
add esp, 0xa34
ret
Function at 0x4295e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5723
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov edi, ecx
push eax
mov ecx, str.GoogleGoogle_Pinyin_2
call fcn.00405cc0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, 0x1a
mov dword [esp + 0x50], 0
call fcn.00413230
add esp, 8
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42966b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42969b
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x429785
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
lea esi, [ecx + 2]
jmp 0x4296c0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4296c0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x20]
call fcn.00404e70
push 0x54
mov byte [esp + 0x4c], 3
call fcn.004c958c
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x48], 4
test eax, eax
je 0x429702
mov edx, esi
push edx
push eax
call fcn.00428e80
mov esi, eax
jmp 0x429704
xor esi, esi
mov byte [esp + 0x48], 3
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call fcn.004362c0
mov eax, dword [edi + 0x38]
mov ecx, dword [esi + 0x38]
push eax
call fcn.0043d8d0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x10]
push eax
call fcn.00412db0
add esp, 4
mov byte [esp + 0x48], 2
cmp dword [esp + 0x30], 8
jb 0x429752
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004c9387
add esp, 4
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x10]
xor edx, edx
add eax, 0xfffffff0
mov word [esp + 0x1c], dx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429791
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret
Function at 0x42dda0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3150
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], 0
cmp dword [ebp + 4], 0
jne 0x42ddf3
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea esi, [ebp + 0x44]
push 0
push eax
call edi
cmp eax, 0xffffffff
je 0x42de15
cmp eax, dword [esi + 0x4c]
jbe 0x42de15
mov eax, 1
jmp 0x42de17
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
test eax, eax
je 0x42de44
mov ecx, dword [esi + 8]
push 0
push ecx
call edi
cmp eax, 0xffffffff
je 0x42de39
mov ebx, eax
call fcn.004564d0
jmp 0x42de3b
xor eax, eax
mov edx, dword [esi]
mov dword [ebp + 4], edx
test eax, eax
je 0x42dddd
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431d50
Capabilities:
Encode data using xor

Disassembly:
cmp dword [eax + 0x14], 8
push esi
jb 0x431d5b
mov ecx, dword [eax]
jmp 0x431d5d
mov ecx, eax
mov edx, dword [eax + 0x10]
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x431d82
lea esp, [esp]
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x431d70
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.004cd152
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x431dac
add eax, 0x7fffffff
pop esi
ret

Function at 0x432880
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebp
push edi
mov edi, eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x14]
lea ebp, [edi + 4]
cmp eax, dword [ecx]
jne 0x4328b1
cmp edx, ecx
jne 0x4328b1
call fcn.00432b50
mov eax, dword [ebp]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], ecx
pop ebp
pop ecx
ret 0xc
cmp eax, edx
je 0x43297e
push ebx
push esi
jmp 0x4328c0
mov edx, dword [eax]
mov esi, eax
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x1c], 0x10
jb 0x4328d3
mov ecx, dword [esi + 8]
jmp 0x4328d6
lea ecx, [esi + 8]
mov edx, dword [esi + 0x18]
add edx, ecx
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x4328f4
movzx ebx, byte [ecx]
imul eax, eax, 0x1000193
inc ecx
xor eax, ebx
cmp ecx, edx
jne 0x4328e4
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.004cd152
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0x43291d
add edx, 0x7fffffff
mov ecx, dword [edi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [edi + 0x24], eax
ja 0x432932
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [edi + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x43295b
cmp dword [ecx], esi
jne 0x432953
mov edx, dword [ebp]
mov dword [ecx], edx
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp]
mov dword [ecx + eax*8 + 4], edx
jmp 0x432963
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x432963
cmp dword [ecx], esi
jne 0x432963
mov edx, dword [esi]
mov dword [ecx], edx
push esi
push ebp
lea ebx, [esp + 0x18]
call fcn.00432c10
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jne 0x4328c0
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], eax
mov eax, ecx
pop ebp
pop ecx
ret 0xc

Function at 0x432bb0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [eax + 0x14], 0x10
push esi
jb 0x432bbb
mov ecx, dword [eax]
jmp 0x432bbd
mov ecx, eax
mov edx, dword [eax + 0x10]
add edx, ecx
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x432be0
jmp 0x432bd0
movzx esi, byte [ecx]
imul eax, eax, 0x1000193
inc ecx
xor eax, esi
cmp ecx, edx
jne 0x432bd0
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.004cd152
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x432c0a
add eax, 0x7fffffff
pop esi
ret