joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fd30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f9cd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ebx, [esp + 0xc]
call fcn.0047a980
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x41fd8d
lea eax, [ecx - 1]
test eax, eax
jl 0x41fdf0
cmp eax, ecx
jg 0x41fdf0
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x41fd8d
push 0x5c
mov edi, ebx
call fcn.0040af90
push 0x11
push 0x626838
lea eax, [esp + 0x14]
push eax
call fcn.0040aee0
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push ecx
push 0x625c98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fdde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x4202b0
Capabilities:
Create process on windows

Disassembly:
push ecx
push ebx
push ebp
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xffffff
mov dword [0x678f18], eax
mov dword [0x678f1c], 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x678f10], eax
mov eax, dword [0x6784cc]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push 1
push 0
push 0
push ecx
push edx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0x403
push 0x403
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [edi + 0x924]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
push 0xf1
push 0x4cb
push esi
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebp
mov ecx, dword [edi + 0x920]
push 0
push ecx
push 0xf1
push 0x4ca
push esi
call ebx
push eax
call ebp
mov edx, dword [edi + 0xc3c]
push 0
push edx
push 0xf1
push 0x4cd
push esi
call ebx
push eax
call ebp
mov eax, dword [edi + 0xd9c]
push 0
push eax
push 0xf1
push 0x4c3
push esi
call ebx
push eax
call ebp
mov ecx, dword [edi + 0x920]
push ecx
push 0x4cb
push esi
call ebx
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
mov edx, dword [edi + 0x920]
push edx
push 0x4e2
push esi
call ebx
push eax
call ebp
mov eax, dword [edi + 0x920]
push eax
push 0x4c9
push esi
call ebx
push eax
call ebp
mov ecx, dword [edi + 0x920]
push ecx
push 0x4cd
push esi
call ebx
push eax
call ebp
push 1
call fcn.00512fa0
add esp, 4
test eax, eax
jne 0x420433
lea edx, [esp + 8]
push 0x67f5e8
push edx
mov ebx, 0x626838
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push 0
push 0
push str._forceconvert
push eax
push 0x625c98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420433
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.0041ff20
add esp, 4
push esi
call fcn.0041fe00
add esp, 4
test byte [0x6809d0], 1
jne 0x42047e
or dword [0x6809d0], 1
cmp dword [0x678ec4], 0
jne 0x420471
cmp dword [0x678ec8], 0
jne 0x420471
mov dword [0x678ec4], 0x6790b8
push 0x6131e0
call fcn.005d268a
add esp, 4
mov eax, dword [0x678ec4]
test eax, eax
jne 0x420498
mov ecx, eax
mov dword [0x6784a8], ecx
mov dword [0x6784ac], eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [eax + 0x9c8]
mov eax, dword [eax + 0x9cc]
pop ebp
mov dword [0x6784a8], ecx
mov dword [0x6784ac], eax
pop ebx
pop ecx
ret
Function at 0x426f10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x608c40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
push 0x124
push 0x625b68
push 0x626c00
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x42704a
lea edi, [esp + 0xc]
call fcn.0047ac70
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x426f97
lea eax, [ecx - 1]
test eax, eax
jl 0x42705c
cmp eax, ecx
jg 0x42705c
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x426f97
push 0x5c
call fcn.0040af90
push 0xa
push str.CandOrder_
lea ecx, [esp + 0x14]
push ecx
call fcn.0040aee0
mov eax, dword [esi + 0x58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0040aee0
mov ebp, dword [esp + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.00426c60
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x50]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42704a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x14
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x429cf0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ecx, 0x368
mov esi, ebp
mov edi, 0x67ba60
rep movsd dword es:[edi], dword [esi]
call fcn.0042b480
call fcn.0042bb60
push ebx
call fcn.0042ca30
movzx eax, byte [ebp + 0xcfc]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 0
push eax
push 0xf1
push 0x4ca
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
push 0x507
push ebx
call edi
push 0
push eax
mov dword [0x6784b0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x67c324], 0
push 0
je 0x429d99
push 1
push 0xf1
push 0x4c8
push ebx
call edi
push eax
call esi
mov ecx, dword [0x671400]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, dword [0x67c328]
mov esi, dword [0x67c32c]
push 0x506
push ebx
call edi
push 1
jmp 0x429dd0
push 0
push 0xf1
push 0x4c8
push ebx
call edi
push eax
call esi
mov edx, dword [0x671400]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, dword [0x67c328]
mov esi, dword [0x67c32c]
push 0x506
push ebx
call edi
push 0
mov eax, ebp
and eax, 0xffff3fff
call fcn.00431330
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x429df0
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
push 0xf0
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x429e2a
mov ecx, dword [0x671400]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x67c324], 1
ret
mov edx, dword [0x6784b0]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x671400]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x67c324], 0
ret
Function at 0x42a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fad7b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x240]
mov esi, ecx
mov ecx, 0x677600
xor ebx, ebx
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x238], ebx
mov eax, dword [esi]
push eax
push str.SYSTEMCurrentControlSetControlKeyboard_Layouts_08x_
lea edi, [esp + 0x1c]
call fcn.0040ac80
mov esi, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a9d3
push 0x206
lea edx, [esp + 0x2a]
push ebx
push edx
mov word [esp + 0x30], bx
call fcn.005da970
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.Layout_Text
push eax
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a9c8
lea edx, [esp + 0x24]
mov edi, ebp
lea ebx, [eax + 1]
call fcn.00403760
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x238], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a9fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005d28b3
add esp, 0x228
ret
Function at 0x42ce60
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5f9a78
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040a210
add eax, 0x10
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00431780
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x42cf05
push str.imsc12.ime
push esi
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x42cf05
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42cf05
lea ecx, [esp + 0x1c]
push ecx
push str.SoftwareMicrosoftCTFTIP157E7179_6C00_44A9_808F_1E9B5F83A226LanguageProfile0x00000804F3BA9077_6C7E_11D4_97FA_0080C882687E_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x24]
push edx
push 4
push 0
push str.Enable
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x42cf7c
cmp dword [esi - 0xc], 0
jl 0x42cf82
push str.pintlgnt.ime
push esi
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x42cf26
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x42cf47
cmp dword [esi - 0xc], 0
jl 0x42cf82
push str.imsc40a.ime
push esi
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x42cf82
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42cf82
lea edx, [esp + 0x1c]
push edx
push str.SoftwareMicrosoftCTFTIPF3BA9074_6C7E_11D4_97FA_0080C882687ELanguageProfile0x00000804F3BA9077_6C7E_11D4_97FA_0080C882687E_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x24]
push eax
push 4
push 0
push str.Enable
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cfa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4303a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [eax]
sub esp, 8
lea ecx, [esp]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4303cb
mov dword [edi], 0
mov dword [esi], 0
xor eax, eax
add esp, 8
ret
mov eax, dword [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 8]
push edx
push esi
push 0
push 0
push 0x6275d8
push eax
mov dword [esp + 0x20], 4
call ebx
test eax, eax
jne 0x430413
lea edx, [esp + 8]
push edx
push edi
push eax
push eax
mov eax, dword [esp + 0x14]
push str.Virtual_Key
push eax
mov dword [esp + 0x20], 4
call ebx
test eax, eax
je 0x430431
mov ecx, dword [esp + 4]
mov dword [edi], 0
push ecx
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x430440
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x4304a0
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [eax]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4304cc
mov dword [edi], 0
mov dword [esi], 0
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 4]
push 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 3
push 0
push 0x6275d8
push edx
call esi
test eax, eax
je 0x4304f9
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push 4
push edi
push 3
push 0
push str.Virtual_Key
push ecx
call esi
test eax, eax
je 0x430520
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0x10]
push eax
push 3
push 0
push str.Target_IME
push ecx
call esi
test eax, eax
jne 0x430510
mov eax, dword [esp + 4]
test eax, eax
je 0x43054a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x430e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6055e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.QQPinyin.ime
call fcn.00409dd0
call fcn.00430560
mov esi, eax
or edi, 0xffffffff
add esp, 4
cmp esi, edi
je 0x430eb2
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.00430850
add esp, 8
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], ecx
jne 0x430ec6
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x430eb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
push 0x506
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
call fcn.00430450
add esp, 4
test eax, eax
jne 0x430f28
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x430eb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
push esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.004304a0
add esp, 4
test eax, eax
jne 0x430f5e
lea ecx, [esp + 0xc]
call fcn.00403870
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
push str._08x
lea edi, [esp + 0x20]
mov byte [esp + 0x2c], 1
call fcn.0040ac80
mov ecx, dword [esp + 0x20]
add esp, 8
push 0x10
push ecx
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov ecx, edi
call fcn.00403870
lea ecx, [esp + 0xc]
call fcn.00403870
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x430fe0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x6055b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.QQPinyin.ime
call fcn.00409dd0
call fcn.00430560
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x431068
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.00430850
add esp, 8
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ecx
jne 0x43107d
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431068
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
lea eax, [esp + 0x10]
lea esi, [esp + 0x14]
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call fcn.004303a0
test eax, eax
je 0x4310d4
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx]
je 0x4310c0
lea ecx, [esp + 0x10]
call fcn.00403870
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4310d4
test eax, eax
je 0x4310d4
mov edx, dword [esp + 0x34]
mov dword [ebx], eax
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [ebx]
mov esi, dword [ecx]
push 0x506
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
and edi, 0xffff3fff
push 0
mov eax, edi
call fcn.00431330
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
push ebp
push str._08X
lea edi, [esp + 0x24]
mov byte [esp + 0x30], 1
call fcn.0040ac80
mov esi, dword [esp + 0x24]
add esp, 8
push 0x10
push esi
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x433ec0
Capabilities:
Write file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x433ee2
call fcn.0040f010
ret 4
xor eax, eax
ret 4
Function at 0x434ee0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6024f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
lea eax, [esp + 0x14]
push eax
call fcn.005000d0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
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 0x434f43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp esi, edi
jne 0x435089
mov ecx, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x44
push 0x62795c
push 0x627970
push ecx
call esi
cmp eax, 6
jne 0x435089
call fcn.004ffa40
test eax, eax
jne 0x435089
lea ebx, [esp + 0x64]
call fcn.0047a980
mov dword [esp + 0x5c], edi
mov edx, dword [esp + 0x64]
mov ecx, dword [edx - 0xc]
cmp ecx, edi
jle 0x434fbb
lea eax, [ecx - 1]
cmp eax, edi
jl 0x435045
cmp eax, ecx
jg 0x435045
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x434fbb
push 0x5c
mov edi, ebx
call fcn.0040af90
xor edi, edi
lea edx, [esp + 0x64]
push edx
mov edx, str.QQImeUtil.exe
call fcn.0040aea0
push 0x38
lea eax, [esp + 0x20]
push edi
push eax
call fcn.005da970
mov ecx, dword [esp + 0x70]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 0x440
mov dword [esp + 0x38], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x435024
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x435024
cmp eax, edi
je 0x43502a
cmp eax, 1
je 0x43502a
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.004ffa40
test eax, eax
je 0x43504f
mov ecx, dword [ebp + 4]
push 0x40
push 0x62795c
push 0x627a14
push ecx
jmp 0x43505f
push 0x80070057
call fcn.00403650
mov edx, dword [ebp + 4]
push 0x10
push 0x62795c
push 0x627a38
push edx
call esi
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435089
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004ffa40
test eax, eax
je 0x43509d
mov ecx, dword [ebp + 0x3c]
push edi
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4