joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b40
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x214
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push edi
push 0
push 0
call esi
mov edi, eax
lea eax, [edi*4]
push eax
push 0x40
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401c61
push ebx
push edi
call esi
xor esi, esi
push 0x206
lea ecx, [esp + 0x1a]
push esi
push ecx
mov word [esp + 0x20], si
call fcn.005da970
add esp, 0xc
xor edi, edi
cmp dword [esp + 0x10], esi
jle 0x401c18
lea esp, [esp]
mov esi, dword [ebx + edi*4]
push 0x208
lea edx, [esp + 0x18]
push 0
push edx
call fcn.005da970
add esp, 0xc
push 0x104
lea eax, [esp + 0x18]
push eax
push esi
call sub.IMM32.dll_ImmGetIMEFileNameW
mov ecx, str.QQPINYIN.IME
lea eax, [esp + 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401c06
test dx, dx
je 0x401c02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401c06
add eax, 4
add ecx, 4
test dx, dx
jne 0x401be0
xor eax, eax
jmp 0x401c0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401c18
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x401bb0
push 2
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x59
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp esi, dword [esp + 0xc]
push ebx
jne 0x401c5b
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005d28b3
add esp, 0x214
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005d28b3
add esp, 0x214
ret
Function at 0x405890
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push ebp
mov ebp, dword [esp + 8]
je 0x4059c1
test ebp, ebp
jle 0x4059c1
cmp ebp, 8
not eax
push esi
mov esi, eax
jl 0x405995
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 + 0x623f18]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x623f18]
add ecx, 1
sub edi, 1
mov esi, eax
jne 0x4058c1
pop edi
test ebp, ebp
je 0x4059bc
lea esp, [esp]
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x623f18]
add ecx, 1
sub ebp, 1
jne 0x4059a0
mov eax, esi
not eax
pop esi
pop ebp
ret

Function at 0x406110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406127
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406158
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x406154
cmp esi, eax
jae 0x406158
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x406144
cmp esi, eax
jb 0x40615e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x40a280
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5feb38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x6687b8]
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.00404ae0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40a2d4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0040a070
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00404ae0
cmp dword [esp + 0x24], 8
jb 0x40a31a
mov eax, dword [esp + 0x10]
push eax
call fcn.005d2367
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 0x40a910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x602c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x47c], eax
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x6a]
push 0
push eax
mov word [esp + 0x70], 0
call fcn.005da970
add esp, 0xc
push 0x208
lea ecx, [esp + 0x27a]
push 0
push ecx
mov word [esp + 0x280], 0
call fcn.005da970
add esp, 0xc
push 0x58
lea edx, [esp + 0x10]
push 0
push edx
call fcn.005da970
lea eax, [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, 0x104
lea edx, [esp + 0xc]
lea ecx, [esp + 0x274]
push edx
mov dword [esp + 0x10], 0x58
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0x802
mov dword [esp + 0x4c], 0x625778
mov dword [esp + 0x1c], 0x625780
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x40aa7d
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea edi, [eax + 0x10]
mov dword [esp + 8], edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x490], 0
call fcn.00450710
test eax, eax
jle 0x40aa3a
push eax
push 0x6257cc
lea edi, [esp + 0x10]
call fcn.0040ac80
mov edi, dword [esp + 0x10]
add esp, 8
push 0x40
push 0x6257ec
push edi
jmp 0x40aa4f
push 0x30
push 0x6257ec
jne 0x40aa4a
push 0x6257f4
jmp 0x40aa4f
push 0x625808
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [edi - 0x10]
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.005d28b3
add esp, 0x48c
ret
Function at 0x40bd80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x602c40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ebx, [esp + 0x14]
call fcn.0047a980
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x40bde8
lea eax, [ecx - 1]
test eax, eax
jl 0x40becc
cmp eax, ecx
jg 0x40becc
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x40bde8
push 0x5c
mov edi, ebx
call fcn.0040af90
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
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.0040ac80
push 0x625a5c
call fcn.0040b2a0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.QQPYConfig.exe
call fcn.0040aab0
mov esi, dword [esp + 0x20]
mov eax, dword [eax]
add esp, 8
push 0
push 0
push esi
push eax
push 0x625c98
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 0x40be70
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 0x40be91
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 0x40beb9
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.00403650
int3
Function at 0x414090
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
movzx ebp, word [eax]
cmp bp, 0x76c
push edi
jae 0x4140b6
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.00413fc0
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 0x414160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fea1d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
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 [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
lea edi, [ebx + 0x20]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 2
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [ebx + 0x24], eax
mov byte [esp + 0x18], 3
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [ebx + 0x28], eax
mov byte [esp + 0x18], 4
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [ebx + 0x2c], eax
mov byte [esp + 0x18], 5
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [ebx + 0x30], eax
mov byte [esp + 0x18], 6
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [ebx + 0x34], eax
lea esi, [ebx + 0x3c]
call fcn.00414f80
mov dword [esi], vtable.WTL::CHyperLink.0
lea eax, [esp + 0x24]
mov byte [esp + 0x18], 8
call fcn.0040ab90
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 0x41428f
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 0x4169a0
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 0x4169f9
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 0x416a32
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 0x625c98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x416a65
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 0x4172c0
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 0x41732e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4172ff
cmp eax, 2
jne 0x41731a
test esi, esi
mov eax, dword [esp]
je 0x417328
test eax, eax
je 0x417323
test al, 1
jne 0x41731a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x417328
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 0x4174a0
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 0x4174c5
call fcn.0040f010
test eax, eax
jl 0x4174d0
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 0x4177c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5faee9
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
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.0041a430
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 [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
lea ebp, [esi + 0x3c]
call edx
add eax, 0x10
mov dword [ebp], eax
mov ebx, 2
mov byte [esp + 0x1c], bl
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
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 0x626168
mov eax, ebp
call fcn.004037a0
push 0x626168
lea eax, [esi + 0x40]
call fcn.004037a0
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 0x417950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x607838
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, str.SOFTWARETencentQQPinyinCityInfoFetch
call fcn.0047a7d0
test eax, eax
jne 0x417a45
lea ebx, [esp + 0x18]
call fcn.0047a980
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x4179cd
lea eax, [ecx - 1]
test eax, eax
jl 0x417b5e
cmp eax, ecx
jg 0x417b5e
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4179cd
push 0x5c
mov edi, ebx
call fcn.0040af90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.QQPYWizard.exe
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push 0
push 0
push str.QQPY_CITYINFO_FETCH
push eax
push 0x625c98
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 0x417a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x6198a0
push 0
push 4
push 0x20
push 4
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
push 1
call fcn.00512fa0
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 0x41a
push ecx
call ebp
mov edx, dword [esi + 4]
push 0x429
push edx
mov dword [esi + 0x30], eax
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1037
lea edi, [esi + 0x34]
push eax
mov dword [edi], eax
call ebx
or eax, 0x20
push eax
mov eax, dword [edi]
push 0
push 0x1036
push eax
call ebx
mov edx, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push 0x62620c
push 0
sub ecx, 0x17
push edi
xor edx, edx
call fcn.0041a3c0
mov eax, dword [esi + 4]
push 0x42b
push eax
call ebp
push 0
push 0
push 0x1037
add esi, 0x38
push eax
mov dword [esi], eax
call ebx
mov ecx, dword [esi]
or eax, 0x20
push eax
push 0
push 0x1036
push ecx
call ebx
mov eax, dword [esi]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push 0x62620c
push 0
sub ecx, 0x17
push esi
xor edx, edx
call fcn.0041a3c0
mov ecx, dword [esp + 0x44]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
push 0x80070057
call fcn.00403650
int3
Function at 0x41a590
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 0x41a5bc
mov ecx, esi
mov eax, edi
call fcn.00403540
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 0x41a5ef
mov ecx, dword [edi]
test ecx, ecx
je 0x41a5f3
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41a5e0
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x41a607
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x41a607
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
pop esi
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x41ede0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.005da970
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41ee4a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x41ee33
cmp eax, 4
jne 0x41ee4a
cmp dword [esp + 8], 0x5a
jb 0x41ee4a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.005d28b3
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.005d28b3
add esp, 0x118
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5fe663
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 esi, dword [esp + 0x1c]
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 + 0x14], edi
mov dword [esi], vtable.CDictDlgProgress.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x38]
push ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x18], 1
mov dword [esi + 0x34], eax
call fcn.00409dd0
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x41f070
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x550
push ecx
mov dword [eax], 0
call edi
mov edx, dword [esi + 4]
push 0x4fa
push edx
mov dword [esi + 0x20], eax
call edi
push 0x64
push 0
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x20]
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x34], 0
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
je 0x41f0d7
mov ecx, dword [esi + 4]
push 0x6267c4
push ecx
call ebx
mov edx, dword [esi + 4]
push 0x571
push edx
call edi
push 0x6267d4
jmp 0x41f0f2
mov eax, dword [esi + 4]
push 0x6267f4
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x571
push ecx
call edi
push 0x626804
push eax
call ebx
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x41f160
push 0
push 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x40], 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x41f147
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x41f138
call edi
jmp 0x41f144
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push 0
push 0x6e
push 0x6e
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x41f1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f9e18
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x28]
push eax
push str._u__
lea edi, [esp + 0x28]
call fcn.0040ac80
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
add esp, 8
push 0
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x20]
mov edx, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edx
call edi
mov eax, dword [esi + 0x30]
test eax, eax
je 0x41f237
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41f289
mov eax, dword [esi + 4]
push 0x6e
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x3c], 0
jl 0x41f254
mov ecx, dword [esi + 0x24]
push 0x6265c8
push ecx
jmp 0x41f25d
mov edx, dword [esi + 0x24]
push 0x626660
push edx
call edi
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x626780
push eax
call edi
mov ecx, dword [esi + 4]
xor eax, eax
cmp dword [esi + 0x40], eax
setl al
add eax, 1
push eax
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f2ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov dword [ebp], 0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4