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

Disassembly:
in al, dx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.0042d9b0
push 0x40
push 1
push dword [esi]
call fcn.00441860
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push 0x244
mov eax, 0x5e354c
call fcn.0046dcda
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x24c], 0
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00480640
add esp, 0xc
call fcn.0045230c
test al, al
je 0x4655ce
pushfd
xor bl, ch
mov ebx, 0x464d7099
sub byte [ecx + edx*4 - 0x6cdd4223], dh
jmp 0x465555
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
jmp 0x4656d6
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4656c8
call fcn.004523db
test al, al
je 0x465618
mov ebx, 0x6c3604ea
pushal
daa
je 0x4655d3
and ch, byte [eax + 0x6634909a]
ja 0x46559c
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x465648
movsd dword es:[edi], dword [esi]
loopne 0x465619
invalid
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402ad0
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00457be8
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0041edb0
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call fcn.0045fb1e
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.0040c9b0
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4655e2
call fcn.0046dc84
ret
Function at 0x4665c6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00452603
test al, al
je 0x466600
lcall 0x6cc1, 0x4345291c
cld
in al, dx
lodsb al, byte [esi]
mov al, 0x89
xor eax, 0x3ccf58b9
mov ebp, 0x660a0200
mov dl, 0x46
mov ch, 0xf0
dec esp
xor ebx, ebx
lea eax, [ebp - 0xc]
mov esi, 0xf013f
push eax
push esi
push ebx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466736
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46672d
call fcn.00452465
test al, al
je 0x46665c
adc eax, 0x83eeaf38
pop esi
cmp bl, byte [ebp + 0x4f]
cmp dword fs:[ebx], ecx
inc esp
cld
mov dword [0xe8046c83], eax
enter 0xfffffffffffffeba, 0xffffffffffffffff
call fcn.00452129
test al, al
je 0x466680
loope 0x4666cc
and dword [ecx + 3], 0x2c
fcom qword [edx - 0x69]
adc eax, 0x495a6958
push ebx
fcompi st(4)
xlatb
into
lodsb al, byte [esi]
xchg esi, eax
mov esp, 0xf59833a8
sbb eax, ebp
movsb byte es:[edi], byte [esi]
mov edx, 0xc084fffe
call fcn.00452129
test al, al
je 0x4666a4
cli
arpl word [edx + 0x2d794793], dx
mov byte [0x457bf339], al
dec edx
lcall 0xbeba, 0x94fc8cde
insb byte es:[edi], dx
xchg esp, eax
pushfd
sbb esi, ecx
dec ecx
daa
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0xf013f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4666d6
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
add bh, bh
salc
push dword [ebp - 4]
call esi
jmp 0x466736
push dword [ebp + 0x14]
call fcn.0048ece7
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0045205a
test al, al
je 0x466724
jb 0x4666b3
add al, 0xeb
lahf
cdq
adc edx, ebx
jle 0x4666fc
or al, 0x5e
and byte [edi - 0x50424c88], bh
retf
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46673d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.00452603
test al, al
je 0x466773
lahf
out 0x38, al
mov eax, 0x9bf69a11
cmp eax, 0xc40cd2cd
jne 0x4667d1
inc ebx
sti
push 0xf59ebd6e
sar dword [edi + 0x33928ea1], 1
fisttp dword [ebp + 0x3fbefc45]
add dword [edi], ecx
add byte [eax + 0x56], dl
lea eax, [ebp - 4]
mov esi, 0xf013f
push eax
push esi
push ebx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466877
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4667be
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x466877
call fcn.00452465
test al, al
je 0x4667d9
dec edi
push ss
xchg esi, eax
les esi, [ebx]
mov ebp, 0xaaec9bd8
xchg esp, ebp
adc ecx, dword [edi + 0x2dbbe7ae]
call fcn.00452129
test al, al
je 0x4667fd
sub eax, edi
and byte [0x7f3c3606], 0x21
test dword [ecx - 9], 0xa17ff5c2
sbb eax, 0x7ef13b19
insd dword es:[edi], dx
ror dword [ecx - 0x17b2b517], cl
daa
mov ecx, 0xc084fffe
call fcn.00452129
test al, al
je 0x466821
lahf
push esi
invalid
push dword [ebp + 0x10]
call fcn.0048ece7
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.0045205a
test al, al
je 0x466867
pushal
mov edx, 0x3504119f
imul eax, dword [edi - 0x19], 0x975e82d7
fdiv qword [esp - 0x9c4f528]
mov al, byte [0xff1529a1]
jne 0x466862
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46687e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
call fcn.00452603
test al, al
je 0x4668af
or dword [edi - 0x726af828], esp
cmpsb byte [esi], byte es:[edi]
retf
call fcn.00452579
test al, al
je 0x4668d3
inc ecx
invalid
call fcn.00452534
test al, al
je 0x4668f5
invalid
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push 0xf013f
push ebx
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466a4a
call fcn.00452534
test al, al
je 0x466940
invalid
into
iretd
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x46696c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x466a4a
call fcn.00452603
test al, al
je 0x466992
pushal
loope 0x46691c
cmp ah, byte [edx + 0x3efcc225]
scasb al, byte es:[edi]
push edx
push edi
cmp edi, dword [edx - 0x69b86ad0]
fistp dword [eax + 3]
jmp 0x72e752d2
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4669c3
add byte [ebp - 0xec8b40], al
jne 0x4669ab
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x466a48
call fcn.0045205a
test al, al
je 0x4669ec
aad 0xa6
push 0xffffffffffffffbf
std
adc byte [ebx + ebx*8], 0xc
and eax, 0x74fc0881
dec esi
vminsd xmm7, xmm4, qword [0x3952308e]
ret 0x86
call fcn.004524ef
test al, al
je 0x466a11
stosd dword es:[edi], eax
pop eax
cmp al, ch
enter 0xffffffffffffd5ed, 0x7c
jecxz 0x4669ab
push cs
mov ecx, 0x63f15a35
adc edi, 0xc86111c4
mov dword [0xad88b322], eax
ja 0x466a11
push dword [ebp + 0x14]
jne 0x466a28
call fcn.0048ece7
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
add bh, bh
jne 0x466a3c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
pop esi
add bh, bh
salc
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467053
Capabilities:
Read file via mapping

Disassembly:
push 0x28
mov eax, 0x5e3708
call fcn.0046dcda
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], eax
je 0x4670a9
mov ebx, str.Global_
push ebx
call fcn.0048ece7
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402ad0
xor ebx, ebx
cmp word [esi], bx
jne 0x4670b2
mov eax, ebx
jmp 0x4670b9
push esi
call fcn.0048ece7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405da0
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4670d5
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.004029b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x46716b
xor eax, eax
push eax
push eax
push eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x46710f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x46716b
push 0
push dword [ebp - 0x2c]
lea eax, [esi + 4]
push eax
call fcn.00456adb
add esp, 0xc
test al, al
je 0x46715d
push dword [esi]
call fcn.0046d82e
mov dword [ebp - 0x2c], eax
pop ecx
test eax, eax
je 0x46715d
push dword [esi]
push 0
push eax
call fcn.00480640
push dword [esi]
mov ebx, dword [ebp - 0x2c]
lea eax, [esi + 0x28]
push eax
push ebx
call fcn.0047f350
mov eax, dword [ebp - 0x30]
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov dword [eax], ebx
mov bl, 1
mov eax, dword [esi]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041edb0
mov al, bl
call fcn.0046dc84
ret

Function at 0x46717f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 0xc]
push edi
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004041e0
call fcn.0045a26e
and dword [ebp - 0x24], 0
lea edi, [ebp - 0x20]
add esp, 0x18
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x614
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x467349
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x42c
mov eax, 0x5e3738
call fcn.0046dcda
mov edi, ecx
mov esi, 0x208
lea eax, [ebp - 0x420]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00480640
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00480640
add esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, edi
push eax
call fcn.00467ae2
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push str.Dict
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
push 0x5eb840
push eax
call fcn.00407f60
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048ed33
lea eax, [ebp - 0x218]
push str.BackMB
push eax
call fcn.0048ed02
lea eax, [ebp - 0x218]
push 0x5e6ba4
push eax
call fcn.0048ed02
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
add esp, 0x28
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4672b5
push 0
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046717f
call fcn.00451dc6
mov ecx, eax
call fcn.00468707
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048ed33
lea eax, [ebp - 0x218]
push str.BackMB
push eax
call fcn.0048ed02
lea eax, [ebp - 0x218]
push 0x5e6ba4
push eax
call fcn.0048ed02
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x46731f
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046717f
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.0041edb0
call fcn.0046dc84
ret
jmp 0x4671d8

Function at 0x46734e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor edi, edi
push edi
push eax
call fcn.00480640
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00480640
add esp, 0x18
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0048ed33
lea eax, [ebp - 0x414]
push str.WnWizard.exe
push eax
call fcn.0048ed02
mov esi, 0x5e8450
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048ed33
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ed02
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048ed02
lea eax, [ebp - 0x20c]
push str._RunAutoLoadDict
push eax
call fcn.0048ed02
add esp, 0x30
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46741d
push edi
push edi
push edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0045c2e7
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x4674fa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor edi, edi
push edi
push eax
call fcn.00480640
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00480640
add esp, 0x18
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0048ed33
lea eax, [ebp - 0x414]
push str.WnDictManager.exe
push eax
call fcn.0048ed02
mov esi, 0x5e8450
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048ed33
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ed02
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048ed02
lea eax, [ebp - 0x20c]
push str._CheckSysMb
push eax
call fcn.0048ed02
add esp, 0x30
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4675c9
push edi
push edi
push edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0045c2e7
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x4675d9
Capabilities:
Check if file exists

Disassembly:
push 0x658
mov eax, 0x5e37d7
call fcn.0046dcda
push str.DoRunRegImeInterFace
call fcn.004517f4
pop ecx
lea ecx, [ebp - 0x664]
call fcn.00464345
xor ebx, ebx
lea ecx, [ebp - 0x664]
mov dword [ebp - 4], ebx
call fcn.0046440b
mov dword [ebp - 0x630], ebx
push 7
pop esi
mov dword [ebp - 0x62c], esi
test eax, eax
je 0x467649
xor eax, eax
mov edi, str.WnRegIme64.exe
push edi
mov word [ebp - 0x640], ax
call fcn.0048ece7
pop ecx
push eax
push edi
lea ecx, [ebp - 0x640]
call fcn.00402ad0
mov byte [ebp - 4], 1
jmp 0x46766f
xor eax, eax
mov edi, str.WnRegIme32.exe
push edi
mov word [ebp - 0x640], ax
call fcn.0048ece7
pop ecx
push eax
push edi
lea ecx, [ebp - 0x640]
call fcn.00402ad0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x218]
push 0x5e9d50
push eax
call fcn.00407f60
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x640]
push ebx
push 1
call fcn.0041edb0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4677a2
mov dword [ebp - 0x62c], esi
xor eax, eax
mov esi, str._InstallIME
mov dword [ebp - 0x630], ebx
push esi
mov word [ebp - 0x640], ax
call fcn.0048ece7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x640]
call fcn.00402ad0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00407f60
pop ecx
pop ecx
call fcn.0045b0cf
test eax, eax
lea eax, [ebp - 0x420]
je 0x467755
push 0xffffffffffffffff
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0045c261
lea eax, [ebp - 0x420]
push eax
push str.DoRunRegImeInterFace_Parameter__s
call fcn.004517f4
add esp, 0x18
jmp 0x467792
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push str.__s___s
push eax
call fcn.00407f60
lea eax, [ebp - 0x628]
push eax
push str.DoRunRegImeInterFace_Cmd__s
call fcn.004517f4
push ebx
push ebx
push ebx
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0045c2e7
add esp, 0x2c
push ebx
push 1
lea ecx, [ebp - 0x640]
call fcn.0041edb0
jmp 0x4677b5
lea eax, [ebp - 0x218]
push eax
push str.PathFileExists_false_file___s
call fcn.004517f4
pop ecx
pop ecx
lea ecx, [ebp - 0x664]
call fcn.00464358
call fcn.0046dc84
ret
Function at 0x4678d8
Capabilities:
Check if file exists
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00467349
mov ecx, esi
call fcn.004674fa
mov ecx, esi
call fcn.004674f5
mov ecx, esi
call fcn.004675d9
mov ecx, esi
pop esi
jmp 0x4679af
push 0x23c
mov eax, 0x5e387b
call fcn.0046dcda
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea ecx, [ebp - 0x230]
call fcn.004041e0
mov esi, str.WanNengWBInfo.ini
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.0048ece7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00405da0
mov esi, 0x5e6ba4
push esi
call fcn.0048ece7
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x230]
call fcn.00455c18
cmp eax, 0xffffffff
je 0x467ace
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00419930
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.00480640
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x1c
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push str.VirtualStore_
push eax
call fcn.0048ed02
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048ed02
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467ac0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.0045350b
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.0041edb0
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.0041edb0
call fcn.0046dc84
ret

Function at 0x46827d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00468062
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4682c3
mov dword [esi], eax
mov bl, 1
jmp 0x4682c5
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041edb0
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret 4

Function at 0x468365
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00468062
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
lea ecx, [ebp - 0x1c]
push 0
push 1
setg bl
call fcn.0041edb0
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x46b757
Capabilities:
Check if file exists

Disassembly:
push 0x83c
mov eax, 0x5e3ece
call fcn.0046dcda
mov esi, ecx
lea eax, [ebp - 0x848]
push eax
call fcn.0046b680
and dword [ebp - 4], 0
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
cmovae eax, dword [ebp - 0x848]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b878
push 0x104
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.0046b6f0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
push str.WnImeBroker.exe
cmovae eax, dword [ebp - 0x848]
mov esi, 0x5e9d50
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00407f60
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push str.__s___Unregister
push eax
call fcn.00407f60
lea eax, [ebp - 0x628]
push eax
call fcn.0045c9b3
lea eax, [ebp - 0x628]
push eax
push str.ImeBroker_cmd1___s
call fcn.0045859b
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
push str.WnImeBrokerPS.dll
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00407f60
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push str.__s_regsvr32___u__s___s_
push eax
call fcn.00407f60
add esp, 0x48
lea eax, [ebp - 0x628]
push eax
call fcn.0045c9b3
lea eax, [ebp - 0x628]
push eax
push str.ImeBroker_cmd2___s
call fcn.004517f4
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x848]
call fcn.0041edb0
call fcn.0046dc84
ret

Function at 0x46b88d
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5e3efe
call fcn.0046dcda
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x46b931
test esi, esi
je 0x46b931
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b931
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b931
sub esp, 0x18
mov ecx, esp
push edi
call fcn.004041e0
lea eax, [ebp - 0x40]
push eax
call fcn.0045411f
add esp, 4
xor edi, edi
mov ecx, esp
mov dword [ebp - 4], edi
push esi
call fcn.004041e0
lea eax, [ebp - 0x28]
push eax
call fcn.0045411f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0048ce51
add esp, 0x24
lea ecx, [ebp - 0x28]
neg eax
sbb esi, esi
push edi
push 1
call fcn.0041edb0
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0041edb0
lea eax, [esi + 1]
jmp 0x46b933
xor eax, eax
call fcn.0046dc84
ret 8