joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406660
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x406671
xor eax, eax
pop esi
ret
call fcn.00409650
test eax, eax
jne 0x40666f
push ebx
push edi
lea eax, [esi + 0x4c]
push eax
lea ecx, [esi + 0x48]
lea edi, [esi + 0x54]
lea ebx, [esi + 0x50]
push ecx
mov ecx, edi
mov edx, ebx
call fcn.0056c600
add esp, 8
test eax, eax
mov dword [esi + 0x58], eax
jne 0x4066a7
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x4097d0
cmp eax, 2
jne 0x4066c0
mov edx, dword [edi]
mov ebx, dword [ebx]
push edx
call fcn.00409750
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x4097d0
pop edi
pop ebx
mov ecx, esi
pop esi
jmp method.CAsyncTcpClient.virtual_32
push ecx
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp], eax
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x4097f7
xor eax, eax
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.005787fd
pop ecx
ret
call fcn.00409650
test eax, eax
jne 0x409872
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
jne 0x40982e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x409872
or eax, 0xffffffff
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.005787fd
pop ecx
ret
mov ecx, dword [esi + 0x34]
push 0
push 0x81da
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x409814
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x409851
test eax, eax
jne 0x409869
mov eax, dword [esi + 0x38]
push eax
mov eax, esi
call fcn.00409900
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.005787fd
pop ecx
ret
lea edx, [esi + 0x20]
push edx
call fcn.00409880
mov ecx, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.005787fd
pop ecx
ret
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x409ef7
pop edi
xor eax, eax
pop esi
pop ecx
ret
call fcn.00409650
cmp eax, edi
jne 0x409f7a
lea eax, [esi + 0x4c]
push eax
lea ecx, [esi + 0x48]
push ecx
lea ecx, [esi + 0x54]
lea edx, [esi + 0x50]
call fcn.0056c600
add esp, 8
cmp eax, edi
mov dword [esi + 0x58], eax
jne 0x409f29
pop edi
mov ecx, esi
pop esi
add esp, 4
jmp 0x4097d0
call fcn.00409c80
lea edx, [esp + 8]
push edx
push edi
push esi
push 0x409f80
push edi
push edi
mov dword [esi + 0x60], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x409f72
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x40]
cmp eax, 0xbb8
ja 0x409f5b
mov eax, 0xbb8
push edi
push eax
mov eax, dword [esi + 0x34]
push 0x1399
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
pop edi
pop esi
pop ecx
ret
Function at 0x409650
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [esi + 0x44], 0
jne 0x4096a6
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4096a2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x4096a8
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.005787fd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x44], 1
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.005787fd
mov esp, ebp
pop ebp
ret
Function at 0x4097d0
Capabilities:
Create tcp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x406671
xor eax, eax
pop esi
ret
call fcn.00409650
test eax, eax
jne 0x40666f
push ebx
push edi
lea eax, [esi + 0x4c]
push eax
lea ecx, [esi + 0x48]
lea edi, [esi + 0x54]
lea ebx, [esi + 0x50]
push ecx
mov ecx, edi
mov edx, ebx
call fcn.0056c600
add esp, 8
test eax, eax
mov dword [esi + 0x58], eax
jne 0x4066a7
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x4097d0
cmp eax, 2
jne 0x4066c0
mov edx, dword [edi]
mov ebx, dword [ebx]
push edx
call fcn.00409750
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x4097d0
pop edi
pop ebx
mov ecx, esi
pop esi
jmp method.CAsyncTcpClient.virtual_32
push ecx
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp], eax
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x4097f7
xor eax, eax
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.005787fd
pop ecx
ret
call fcn.00409650
test eax, eax
jne 0x409872
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
jne 0x40982e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x409872
or eax, 0xffffffff
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.005787fd
pop ecx
ret
mov ecx, dword [esi + 0x34]
push 0
push 0x81da
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x409814
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x409851
test eax, eax
jne 0x409869
mov eax, dword [esi + 0x38]
push eax
mov eax, esi
call fcn.00409900
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.005787fd
pop ecx
ret
lea edx, [esi + 0x20]
push edx
call fcn.00409880
mov ecx, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.005787fd
pop ecx
ret
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x409ef7
pop edi
xor eax, eax
pop esi
pop ecx
ret
call fcn.00409650
cmp eax, edi
jne 0x409f7a
lea eax, [esi + 0x4c]
push eax
lea ecx, [esi + 0x48]
push ecx
lea ecx, [esi + 0x54]
lea edx, [esi + 0x50]
call fcn.0056c600
add esp, 8
cmp eax, edi
mov dword [esi + 0x58], eax
jne 0x409f29
pop edi
mov ecx, esi
pop esi
add esp, 4
jmp 0x4097d0
call fcn.00409c80
lea edx, [esp + 8]
push edx
push edi
push esi
push 0x409f80
push edi
push edi
mov dword [esi + 0x60], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x409f72
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x40]
cmp eax, 0xbb8
ja 0x409f5b
mov eax, 0xbb8
push edi
push eax
mov eax, dword [esi + 0x34]
push 0x1399
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
pop edi
pop esi
pop ecx
ret
Function at 0x409880
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x3c]
push 0x10
push 0x81da
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x4098aa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x4098ef
or eax, 0xffffffff
ret 4
mov edx, dword [esp + 4]
mov eax, dword [esi + 0x3c]
push edi
push 0x10
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
test edi, edi
jne 0x4098dd
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x34]
push 0x10
push ecx
push 0x81da
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
pop edi
ret 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4098ec
xor edi, edi
mov eax, edi
pop edi
ret 4

Function at 0x4099b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4099d5
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
call edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.WS2_32.dll_send]
jmp 0x4099e0
mov ecx, dword [ebp + 0xc]
push 0
push eax
mov eax, dword [ebp + 0x3c]
push ecx
push eax
call ebx
mov edi, eax
test edi, edi
jle 0x409a23
mov eax, dword [ebp + 0x14]
cmp eax, edi
jbe 0x409a0d
mov ecx, dword [ebp + 0xc]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call fcn.0057a0e0
add esp, 0xc
mov eax, dword [ebp + 0x14]
cmp eax, edi
jb 0x409a36
sub eax, edi
push 0
push eax
lea esi, [ebp + 8]
call fcn.004083b0
jmp 0x409a36
jge 0x409a36
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x409a60
mov byte [ebp + 0x46], 1
test edi, edi
jle 0x409a41
mov eax, dword [ebp + 0x14]
test eax, eax
ja 0x4099e0
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x3c]
push 0x23
push 0x81da
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x409a58
pop edi
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c5c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push ebp
mov ebp, dword [esp + 8]
je 0x40c6f1
test ebp, ebp
jle 0x40c6f1
cmp ebp, 8
not eax
push esi
mov esi, eax
jl 0x40c6c5
push edi
mov edi, ebp
shr edi, 3
mov eax, edi
neg eax
lea ebp, [ebp + eax*8]
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5bc6d0]
add ecx, 1
sub edi, 1
mov esi, eax
jne 0x40c5f1
pop edi
test ebp, ebp
je 0x40c6ec
lea esp, [esp]
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x5bc6d0]
add ecx, 1
sub ebp, 1
jne 0x40c6d0
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x40fa50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5a7978
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.0040b6f0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40faa4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0040f950
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.0040b6f0
cmp dword [esp + 0x24], 8
jb 0x40faea
mov eax, dword [esp + 0x10]
push eax
call fcn.00578327
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x410750
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a7bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ebx, [esp + 0x14]
call fcn.004747c0
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x4107b8
lea eax, [ecx - 1]
test eax, eax
jl 0x41089c
cmp eax, ecx
jg 0x41089c
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4107b8
push 0x5c
mov edi, ebx
call fcn.00404400
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 7
push str._CMD___d___getall
lea edi, [esp + 0x20]
mov byte [esp + 0x30], 1
call fcn.004126f0
push 0x5bdba4
call fcn.004100a0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.QQPYConfig.exe
call fcn.00412480
mov esi, dword [esp + 0x20]
mov eax, dword [eax]
add esp, 8
push 0
push 0
push esi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x410861
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
push 0x80070057
call fcn.00404550
int3
Function at 0x418140
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
movzx ebp, word [eax]
cmp bp, 0x76c
push edi
jae 0x418166
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 6]
movzx eax, word [eax + 2]
push eax
movzx eax, bp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418070
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, esi
pop ebx
add esp, 0x10
ret

Function at 0x418210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59fd8d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov byte [esp + 0x18], 1
mov dword [ebx], vtable.CDlgCellDictInfoView.0
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
lea edi, [ebx + 0x20]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 2
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [ebx + 0x24], eax
mov byte [esp + 0x18], 3
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [ebx + 0x28], eax
mov byte [esp + 0x18], 4
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [ebx + 0x2c], eax
mov byte [esp + 0x18], 5
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [ebx + 0x30], eax
mov byte [esp + 0x18], 6
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [ebx + 0x34], eax
lea esi, [ebx + 0x3c]
call fcn.00418f80
mov dword [esi], vtable.WTL::CHyperLink.0
lea eax, [esp + 0x24]
mov byte [esp + 0x18], 8
call fcn.004035d0
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x38], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41833f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x41a4d0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esi + 0x54]
sub esp, 0xc
mov ecx, eax
push ebx
and ecx, 0xc
cmp cl, 0xc
push edi
mov bl, 1
jne 0x41a529
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 8]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x41a562
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x41a595
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x41adb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ae1e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x41adef
cmp eax, 2
jne 0x41ae0a
test esi, esi
mov eax, dword [esp]
je 0x41ae18
test eax, eax
je 0x41ae13
test al, 1
jne 0x41ae0a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41ae18
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x41ae70
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov edx, dword [ecx]
lea eax, [esp + 4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x41ae95
call fcn.004129d0
test eax, eax
jl 0x41aea0
mov eax, dword [esp]
mov dword [esi], eax
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
xor eax, eax
add esp, 0xc
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x59fc89
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDlgCityDict.0
mov dword [esi + 0x20], edi
call fcn.0041ddc0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
lea ebp, [esi + 0x3c]
call edx
add eax, 0x10
mov dword [ebp], eax
mov ebx, 2
mov byte [esp + 0x1c], bl
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x1c], 3
push 0xffffff
mov dword [esi + 0x44], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x20], eax
push 0x5be0d8
mov eax, ebp
call fcn.00404050
push 0x5be0d8
lea eax, [esi + 0x40]
call fcn.00404050
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x41df00
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x41df2c
mov ecx, esi
mov eax, edi
call fcn.00403d50
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x41df5f
mov ecx, dword [edi]
test ecx, ecx
je 0x41df63
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41df50
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x41df77
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x41df77
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
pop esi
ret
push 0x80070057
call fcn.00404550
int3
Function at 0x423680
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 0x4236a2
call fcn.004129d0
ret 4
xor eax, eax
ret 4

Function at 0x4237b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.00580260
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42381a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x423803
cmp eax, 4
jne 0x42381a
cmp dword [esp + 8], 0x5a
jb 0x42381a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.005787fd
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.005787fd
add esp, 0x118
ret
Function at 0x4243f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x59ed88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ebx, [esp + 0xc]
call fcn.004747c0
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x42444d
lea eax, [ecx - 1]
test eax, eax
jl 0x4244b0
cmp eax, ecx
jg 0x4244b0
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x42444d
push 0x5c
mov edi, ebx
call fcn.00404400
push 0x11
push str.QQPYMergeDict.exe
lea eax, [esp + 0x14]
push eax
call fcn.00403fc0
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push ecx
push str.open
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 0x42449e
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.00404550
int3