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

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
push 0x7f89
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xffffff
mov dword [0x5fe5d8], eax
mov dword [0x5fe5dc], 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x5fe5cc], eax
mov eax, dword [0x5fdb9c]
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 edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0x403
push 0x403
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0x908]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
push 0xf1
push 0x4b2
push edi
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebp
xor ecx, ecx
cmp dword [esi + 0x908], ecx
push 0
sete cl
push ecx
push 0xf1
push 0x4b3
push edi
call ebx
push eax
call ebp
mov edx, dword [esi + 0x90c]
push 0
push edx
push 0xf1
push 0x413
push edi
call ebx
push eax
call ebp
xor eax, eax
cmp dword [esi + 0x90c], eax
push 0
sete al
push eax
push 0xf1
push 0x414
push edi
call ebx
push eax
call ebp
mov ecx, dword [esi + 0x914]
push 0
push ecx
push 0xf1
push 0x4cb
push edi
call ebx
push eax
call ebp
mov edx, dword [esi + 0x910]
push 0
push edx
push 0xf1
push 0x4ca
push edi
call ebx
push eax
call ebp
mov eax, dword [esi + 0xc08]
push 0
push eax
push 0xf1
push 0x4cd
push edi
call ebx
push eax
call ebp
mov ecx, dword [esi + 0x910]
push ecx
push 0x4cb
push edi
call ebx
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
mov edx, dword [esi + 0x910]
push edx
push 0x4e2
push edi
call ebx
push eax
call ebp
mov eax, dword [esi + 0x910]
push eax
push 0x4c9
push edi
call ebx
push eax
call ebp
push 1
call fcn.004d5100
add esp, 4
test eax, eax
jne 0x424cdb
lea ecx, [esp + 0x10]
push 0x603388
push ecx
mov ebx, str.QQPYMergeDict.exe
call fcn.00412480
mov edx, dword [eax]
add esp, 8
push 0
push 0
push str._forceconvert
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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 0x424cdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00424540
add esp, 4
call fcn.004244c0
call fcn.0040cbf0
mov eax, dword [0x5fe584]
test eax, eax
jne 0x424d0b
mov ecx, eax
mov dword [0x5fdb7c], ecx
mov dword [0x5fdb80], eax
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [eax + 0x9a0]
mov eax, dword [eax + 0x9a4]
pop edi
pop ebp
mov dword [0x5fdb7c], ecx
mov dword [0x5fdb80], eax
pop ebx
add esp, 8
ret
Function at 0x427f00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5aa5c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
push 0x124
push 0x5bdca0
push 0x5be958
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x42803a
lea edi, [esp + 0xc]
call fcn.00474ab0
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x427f87
lea eax, [ecx - 1]
test eax, eax
jl 0x42804c
cmp eax, ecx
jg 0x42804c
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x427f87
push 0x5c
call fcn.00404400
push 0xa
push str.CandOrder_
lea ecx, [esp + 0x14]
push ecx
call fcn.00403fc0
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00403fc0
mov ebp, dword [esp + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
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.00427c50
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x38]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x38]
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 0x428016
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 0x42803a
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.00404550
int3
Function at 0x42a9b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ecx, 0x304
mov esi, ebp
mov edi, 0x5fff80
rep movsd dword es:[edi], dword [esi]
call fcn.0042bef0
call fcn.0042c5c0
call fcn.0042d480
mov eax, dword [ebp + 0x988]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
push 0xf1
push 0x4c9
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 [0x5fdb84], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x600834], 0
push 0
je 0x42aa54
push 1
push 0xf1
push 0x4c8
push ebx
call edi
push eax
call esi
mov ecx, dword [0x5f9480]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, dword [0x600838]
mov esi, dword [0x60083c]
push 0x506
push ebx
call edi
push 1
jmp 0x42aa8b
push 0
push 0xf1
push 0x4c8
push ebx
call edi
push eax
call esi
mov edx, dword [0x5f9480]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, dword [0x600838]
mov esi, dword [0x60083c]
push 0x506
push ebx
call edi
push 0
mov eax, ebp
and eax, 0xffff3fff
call fcn.004312e0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x42aab0
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 0x42aaea
mov ecx, dword [0x5f9480]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x600834], 1
ret
mov edx, dword [0x5fdb84]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5f9480]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x600834], 0
ret
Function at 0x42b350
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x59f9cb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x240]
mov esi, ecx
mov ecx, 0x5fcd20
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.004126f0
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 0x42b443
push 0x206
lea edx, [esp + 0x2a]
push ebx
push edx
mov word [esp + 0x30], bx
call fcn.00580260
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 0x42b438
lea edx, [esp + 0x24]
mov edi, ebp
lea ebx, [eax + 1]
call fcn.004040f0
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 0x42b46a
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.005787fd
add esp, 0x228
ret
Function at 0x42d810
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a4858
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5f13cc]
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.00403ce0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00431730
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x42d8b5
push str.imsc12.ime
push esi
call fcn.0057880c
add esp, 8
test eax, eax
je 0x42d8b5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42d8b5
lea ecx, [esp + 0x1c]
push ecx
push str.SoftwareMicrosoftCTFTIP157E7179_6C00_44A9_808F_1E9B5F83A226LanguageProfile0x00000804F3BA9077_6C7E_11D4_97FA_0080C882687E_
push closesocket
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 0x42d92c
cmp dword [esi - 0xc], 0
jl 0x42d932
push str.pintlgnt.ime
push esi
call fcn.0057880c
add esp, 8
test eax, eax
je 0x42d8d6
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x42d8f7
cmp dword [esi - 0xc], 0
jl 0x42d932
push str.imsc40a.ime
push esi
call fcn.0057880c
add esp, 8
test eax, eax
je 0x42d932
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42d932
lea edx, [esp + 0x1c]
push edx
push str.SoftwareMicrosoftCTFTIPF3BA9074_6C7E_11D4_97FA_0080C882687ELanguageProfile0x00000804F3BA9077_6C7E_11D4_97FA_0080C882687E_
push closesocket
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 0x42d956
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 0x430350
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [eax]
sub esp, 8
lea ecx, [esp]
push ecx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x43037b
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 0x5befa8
push eax
mov dword [esp + 0x20], 4
call ebx
test eax, eax
jne 0x4303c3
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 0x4303e1
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 0x4303f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x430450
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 closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x43047c
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 0x5befa8
push edx
call esi
test eax, eax
je 0x4304a9
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 0x4304d0
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 0x4304c0
mov eax, dword [esp + 4]
test eax, eax
je 0x4304fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x430de0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a5710
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5f13cc]
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.00404460
call fcn.00430510
mov esi, eax
or edi, 0xffffffff
add esp, 4
cmp esi, edi
je 0x430e62
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.00430800
add esp, 8
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], ecx
jne 0x430e76
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x430e62
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.00430400
add esp, 4
test eax, eax
jne 0x430ed8
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 0x430e62
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.00430450
add esp, 4
test eax, eax
jne 0x430f0e
lea ecx, [esp + 0xc]
call fcn.00404510
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 [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
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.004126f0
mov ecx, dword [esp + 0x20]
add esp, 8
push 0x10
push ecx
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov ecx, edi
call fcn.00404510
lea ecx, [esp + 0xc]
call fcn.00404510
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 0x430f90
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5a79b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
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.00404460
call fcn.00430510
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x431018
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.00430800
add esp, 8
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ecx
jne 0x43102d
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 0x431018
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.00430350
test eax, eax
je 0x431084
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx]
je 0x431070
lea ecx, [esp + 0x10]
call fcn.00404510
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 0x431084
test eax, eax
je 0x431084
mov edx, dword [esp + 0x34]
mov dword [ebx], eax
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
push eax
push closesocket
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.004312e0
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x5fcd20
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.004126f0
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 0x431119
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 0x431141
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 0x438010
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebp
push esi
xor ebp, ebp
push ebp
push ebx
mov word [eax], bp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
jne 0x438036
pop esi
pop ebp
add esp, 8
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push esi
call fcn.0057740a
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x438052
pop edi
pop esi
mov eax, 8
pop ebp
add esp, 8
ret
push edi
push esi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4380be
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x5bd0e8
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4380be
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
mov eax, dword [esp + 0x20]
push ecx
push edx
push str._d._d._d._d
push 0x7e
push eax
call fcn.005788af
add esp, 0x1c
push edi
call fcn.0057832c
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov ebp, eax
call fcn.0057832c
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x4380e0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x168
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
mov ebp, dword [esp + 0x174]
push esi
push edi
mov ebx, ecx
push ebp
call fcn.00438010
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x438135
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43822d
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 0x40
lea ecx, [esp + 0x13c]
push ecx
push esi
mov edi, 0xb
call ebx
test eax, eax
je 0x43822b
cmp dword [esp + 0x10], 0x40
jne 0x43822b
cmp word [esp + 0x130], 0x5a4d
jne 0x43822b
mov edx, dword [esp + 0x16c]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x44]
push ecx
push esi
call ebx
test eax, eax
je 0x43822b
cmp dword [esp + 0x10], 0xf8
jne 0x43822b
cmp dword [esp + 0x38], 0x4550
jne 0x43822b
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4381c0
sub eax, edx
lea edx, [esp + 0x40]
sar eax, 1
push edx
mov ebx, eax
call fcn.0057aba3
mov esi, eax
mov ecx, 9
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
add ecx, 1
push ecx
add edx, 0x76c
push edx
mov eax, 0x7e
push str.__04d__02d__02d__02d:_02d:_02d
sub eax, ebx
push eax
lea ecx, [ebp + ebx*2]
push ecx
call fcn.005788af
add esp, 0x28
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005787fd
add esp, 0x168
ret
Function at 0x438250
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x118
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00580260
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x4382c1
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x4382c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.005787fd
add esp, 0x120
ret
mov eax, dword [esp + 0x14]
sub eax, 0
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, str.Unknow_system
je 0x4383ee
sub eax, 1
je 0x438370
sub eax, 1
jne 0x4383f3
cmp esi, 4
ja 0x4382fc
mov ecx, str.Microsoft_Windows_NT
jmp 0x4383f3
cmp esi, 5
jne 0x438358
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x43834c
mov ecx, str.Microsoft_Windows_2000
lea eax, [esp + 0x18]
push ebx
movzx ebx, word [esp + 0x14]
push ebx
push edx
push esi
push eax
mov eax, dword [esp + 0x13c]
push ecx
push str._s__s__Build__d._d._d_
push eax
push edi
call fcn.005788af
mov ecx, dword [esp + 0x144]
add esp, 0x20
pop ebx
pop esi
xor ecx, esp
xor eax, eax
call fcn.005787fd
add esp, 0x120
ret
cmp edx, 1
jne 0x43830e
mov ecx, str.Microsoft_Windows_XP
jmp 0x43830e
cmp esi, 6
jne 0x4383f3
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x43830e
mov ecx, str.Microsoft_Windows_Vista
jmp 0x43830e
cmp esi, 4
jne 0x4383e7
test edx, edx
jne 0x4383a8
mov ax, word [esp + 0x1a]
cmp ax, 0x43
je 0x438399
cmp ax, 0x42
je 0x438399
mov ecx, str.Microsoft_Windows_95
mov eax, 0x5bcc3c
jmp 0x438312
mov ecx, str.Microsoft_Windows_95_OSR2
mov eax, 0x5bcc3c
jmp 0x438312
cmp edx, 0xa
jne 0x4383d3
cmp word [esp + 0x1a], 0x41
jne 0x4383c4
mov ecx, str.Microsoft_Windows_98_SE
mov eax, 0x5bcc3c
jmp 0x438312
mov ecx, str.Microsoft_Windows_98
mov eax, 0x5bcc3c
jmp 0x438312
cmp edx, 0x5a
jne 0x4383e7
mov ecx, str.Microsoft_Windows_Me
mov eax, 0x5bcc3c
jmp 0x438312
mov ecx, str.Microsoft_Windows_Me_later
jmp 0x4383f3
mov ecx, str.Microsoft_Win32s
cmp esi, 4
ja 0x43830e
mov eax, 0x5bcc3c
jmp 0x438312