joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4764b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4764e3
push esi
call fcn.00484850
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4764dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x476569
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x476552
mov eax, dword [esi + 8]
test eax, eax
je 0x476507
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47654e
cmp eax, 2
je 0x476552
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4764fa
cmp eax, 3
je 0x47652d
cmp eax, 1
jne 0x4764fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4764fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4764fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00476590
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x476578
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00476590
add esp, 4
pop esi
ret

Function at 0x476e00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x476e21
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x476e21
mov eax, dword [eax + 0x44]
test eax, eax
je 0x476e21
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4b28eb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b2923
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b09a2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b097a
jmp 0x4b292f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b3fd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b401b
call fcn.004b9a95
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b401b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b4012
xor eax, eax
jmp 0x4b4023
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b4029
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b9fc5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b9ff3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ba011
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b9f2b
jmp 0x4ba011
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ba011
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b9f2b
test edi, edi
mov eax, edi
jne 0x4b9ffb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x3e90787c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x1f9b5b9a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x4010e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0
push str.PP_Mutexflag
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401119
mov eax, dword [esp + 8]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 4

Function at 0x402780
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x506380]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, dword [esp + 0x80c]
push esi
lea eax, [esp + 0x814]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [0x51948c]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041a0cf
add esp, 0x808
ret
Function at 0x4027f0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
sub esp, 0x474
mov eax, dword [0x506380]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.0041de10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push 0x4fc078
lea edx, [esp + 0x64]
push edx
call esi
push 0x519aa8
lea eax, [esp + 0x64]
push eax
call esi
push 0x519aa8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jbe 0x4029e3
push 0x519aa8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [edi*2 + 0x519aa6], 0x5c
je 0x402875
push 0x4fba04
lea ecx, [esp + 0x64]
push ecx
call esi
push str.crashrpt.exe
lea edx, [esp + 0x64]
push edx
call esi
push 0x4fc07c
lea eax, [esp + 0x64]
push eax
call esi
push 0x5198a0
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x4fc07c
lea edx, [esp + 0x64]
push edx
call esi
push str.sogoupy
lea eax, [esp + 0x64]
push eax
call esi
push 0x4fc07c
lea ecx, [esp + 0x64]
push ecx
call esi
cmp byte [0x5150f2], 0
mov eax, 0x4fc084
jne 0x4028d0
mov eax, 0x4fc088
push eax
lea edx, [esp + 0x64]
push edx
call esi
push 0x4fc078
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x519698
call fcn.0041abdb
mov edi, eax
add esp, 8
test edi, edi
je 0x40291c
push 0x4fc08c
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x4fc078
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x519490
call fcn.0041abdb
mov edi, eax
add esp, 8
test edi, edi
je 0x402954
push 0x4fc08c
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x4fc078
lea eax, [esp + 0x64]
push eax
call esi
push 0x44
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.0041de10
add esp, 0xc
cmp byte [0x5150f2], 0
mov dword [esp + 0x18], 0x44
je 0x402988
mov edx, 5
mov dword [esp + 0x44], 1
mov word [esp + 0x48], dx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.004d4590
mov ecx, eax
call fcn.004d3d50
mov esi, eax
mov ecx, esi
call fcn.004d2c20
test al, al
je 0x4029b7
xor eax, eax
jmp 0x4029be
mov ecx, esi
call fcn.004d7870
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
xor ecx, esp
call fcn.0041a0cf
add esp, 0x474
ret
Function at 0x4044f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4044f9
xor ecx, ecx
jne 0x4044f9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x404540
mov eax, dword [ebp - 0xc]
jmp 0x40459d
cmp dword [ebp - 4], 1
je 0x404553
cmp dword [ebp - 4], 2
je 0x404553
mov eax, 0xd
jmp 0x40459d
cmp dword [ebp + 0xc], 0
je 0x404591
cmp dword [ebp - 8], 0
je 0x404589
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x404580
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x404587
mov eax, 0xd
jmp 0x40459d
jmp 0x404591
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x405430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dc2af
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0x51a9a8
mov dword [0x51a9a8], 0x4fc7c8
call fcn.00402c70
xor esi, esi
push eax
mov ecx, 0x51a9b8
mov dword [0x51a9ac], esi
mov dword [0x51a9b0], esi
mov dword [0x51a9b4], esi
call fcn.00402ca0
lea ecx, [esp + 0x1c]
call fcn.00402c70
push eax
push 0x20000
mov ecx, 0x51a9c4
call fcn.00402d00
push esi
mov ecx, 0x51a9d8
call fcn.004c63a0
mov dword [esp + 0x30], esi
push 0x51a9c4
mov esi, 0x51a9f8
mov dword [0x51a9a8], 0x4fc7d4
mov dword [0x51a9f4], 0x4fc7e0
call fcn.00405920
push 0x51a9c4
mov esi, 0x51aca0
call fcn.00406040
push 0x51a9c4
mov esi, 0x51ae08
call fcn.004063d0
lea eax, [esp + 8]
mov byte [esp + 0x30], 3
push eax
mov esi, 0x51a9ac
mov dword [esp + 0xc], 0x51a9f8
call fcn.0040eb00
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x51aca0
call fcn.0040eb00
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x51ae08
call fcn.0040eb00
mov ecx, 0x51a9a8
call fcn.004c80e0
mov eax, 0x51a9a8
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x407940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4dcef9
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x506380]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
push 0
mov ebx, ecx
call fcn.0041c5e8
add esp, 4
push edx
push eax
push str._d_tParseNewsMessage_start._n
push 0x1a
call fcn.004c8fc0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.004d37b0
lea eax, [esp + 0x10]
lea esi, [edi + 0x14]
push eax
add ebx, 0x4c
mov eax, esi
mov dword [esp + 0x27c], 0
call fcn.00408ae0
test al, al
jne 0x4079e8
lea ecx, [esp + 0x10]
call fcn.004d3880
push str.get_config
push 0xa
call fcn.004ce840
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004d37f0
xor al, al
jmp 0x407b9d
push 0
call fcn.0041c5e8
add esp, 4
push edx
push eax
push str._d_tParseNewsMessage_1._n
push 0x1a
call fcn.004c8fc0
push 0x208
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.0041de10
add esp, 0x1c
cmp dword [esi], 0
jle 0x407ac9
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jle 0x407ac9
cmp eax, 3
jge 0x407ac9
mov ecx, dword [esi]
mov edx, eax
push edx
shl eax, 4
movzx edx, word [eax + 0x4f24e0]
push ecx
push edx
push str._c_08d
push 0x104
lea eax, [esp + 0x78]
push 0x104
push eax
call fcn.004b6ffc
add esp, 0x1c
mov ecx, esi
call fcn.00414120
test al, al
je 0x4079d8
push 0x42
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.0041de10
add esp, 0xc
push 0
call fcn.0041c5e8
add esp, 4
push edx
push eax
push str._d_tParseNewsMessage_2._n
push 0x1a
call fcn.004c8fc0
lea edx, [esp + 0x2c]
push 0x21
push edx
call fcn.004da2f0
add esp, 0x18
test al, al
jne 0x407ae8
push str.machine_sig
push 0xa
call fcn.004ce840
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004d37f0
xor al, al
jmp 0x407b9d
push str.get_id_str
push 0xa
call fcn.004ce840
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004d37f0
xor al, al
jmp 0x407b9d
cmp byte [edi + 0x9d0], 0
jne 0x407b0b
cmp byte [0x51947d], 0
je 0x407b0b
call fcn.00408310
push 7
call fcn.004084d0
jmp 0x407b92
push 0xdd4
call fcn.0041a2a9
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x278], 1
test esi, esi
je 0x407b8d
mov eax, dword [edi + 0x9d4]
mov ecx, dword [edi + 0x9cc]
mov edx, dword [edi + 0x9c8]
push eax
mov eax, dword [edi + 0x9c4]
push ecx
mov ecx, dword [edi + 0x9c0]
push edx
mov edx, dword [edi + 0x9bc]
push eax
mov eax, dword [edi + 0x9b4]
push ecx
mov ecx, dword [edi + 0x9b0]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x88]
push eax
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x1c]
push ecx
mov ecx, dword [edi + 8]
lea edx, [edi + 0x81c]
push edx
mov edx, dword [edi + 0x9ac]
call fcn.00413fe0
jmp 0x407b8f
xor eax, eax
mov dword [edi + 0x10], eax
lea ecx, [esp + 0x10]
call fcn.004d37f0
mov al, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0041a0cf
add esp, 0x270
ret
Function at 0x4085c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4dc235
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
mov dword [edi], vtable.n_config::t_configFile.0
call fcn.00402c70
lea ebx, [edi + 4]
xor esi, esi
push eax
lea ecx, [ebx + 0xc]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
call fcn.00402ca0
lea ecx, [esp + 0x20]
lea ebp, [edi + 0x1c]
call fcn.00402c70
push eax
push 0x20000
mov ecx, ebp
call fcn.00402d00
mov eax, dword [esp + 0x40]
push eax
lea ecx, [edi + 0x30]
call fcn.004c63a0
mov dword [esp + 0x34], esi
lea esi, [edi + 0x4c]
push ebp
mov dword [edi], vtable.t_newsMsgParser.0
call fcn.00408710
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
push ecx
mov esi, ebx
call fcn.0040eb00
mov ecx, edi
call fcn.004c80e0
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x40c580
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4dd133
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x506380]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x4e0]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00406f80
mov eax, dword [esi + 0xe6c]
mov al, byte [eax + 0x5d]
test al, al
jne 0x40c7aa
call fcn.00407120
mov edi, eax
test edi, edi
jle 0x40c7aa
call fcn.00407320
test al, al
je 0x40c7aa
mov ecx, dword [esi + 0x4c]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esi + 0xe68], edi
call fcn.0040c8f0
mov dword [esp + 0x4e8], 0
mov eax, dword [esi + 0xe6c]
mov eax, dword [eax + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.0040cb80
test eax, eax
jne 0x40c62f
lea ecx, [esp + 0x24]
push ecx
jmp 0x40c79a
mov edx, dword [esi + 0x4c]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edx
call edi
mov eax, dword [esi + 0xe6c]
mov eax, dword [eax + 0x20]
push 0
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
call fcn.0040cd40
mov ebp, eax
call ebx
sub eax, dword [esp + 0x20]
mov edx, dword [esi + 0x4c]
mov ebx, 1
push ebx
push edx
mov dword [esi + 0xe58], eax
call edi
mov eax, dword [esi + 0xe6c]
mov eax, dword [eax + 0x20]
push ebx
push eax
call edi
cmp ebp, 2
jne 0x40c69e
mov eax, dword [esi + 0xe6c]
mov byte [eax + 0x5d], bl
mov dword [esi + 0xe5c], ebp
jmp 0x40c6ba
cmp ebp, 3
jne 0x40c6b0
call fcn.00407630
mov dword [esi + 0xe5c], ebx
jmp 0x40c6ba
mov dword [esi + 0xe5c], 3
lea ecx, [esp + 0x18]
call fcn.004d37b0
push SysReAllocString
lea ecx, [esp + 0x3b0]
call fcn.004d95c0
push ebx
push ebx
push str.SoftwareSogouInput
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3bc]
mov byte [esp + 0x4f8], 2
call fcn.004d9370
test al, al
jne 0x40c717
lea ecx, [esp + 0x3ac]
call fcn.004d8d80
lea ecx, [esp + 0x18]
call fcn.004d37f0
lea edx, [esp + 0x24]
push edx
jmp 0x40c79a
push str.NewsHintShowCnt
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x3b8]
mov dword [esp + 0x20], 0
call fcn.004d9590
mov eax, dword [esp + 0x14]
mov dword [esi + 0xe60], eax
add eax, ebx
push str.NewsHintShowCnt
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3b8]
mov dword [esp + 0x20], eax
call fcn.004d9560
lea edi, [esi + 0xa30]
add esi, 0xe54
call fcn.00414e10
mov esi, eax
call fcn.00408310
push 7
call fcn.004083e0
lea ecx, [esp + 0x3ac]
call fcn.004d8d80
lea ecx, [esp + 0x18]
call fcn.004d37f0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4ec], 0xffffffff
call fcn.0040cac0
mov ecx, dword [esp + 0x4e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.0041a0cf
add esp, 0x4d8
ret
Function at 0x40c8f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc195
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esi + 0x60]
mov dword [esi], eax
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
call fcn.004c1360
lea ecx, [esi + 0x94]
mov dword [esp + 0x18], ebx
call fcn.004c1360
push fcn.004c12b0
push fcn.004c1360
push 3
push 0x34
lea edi, [esi + 0xc8]
push edi
mov byte [esp + 0x2c], 1
call fcn.004b75aa
lea ecx, [edi + 0x9c]
call fcn.004c1360
mov dword [edi + 0xe0], ebx
mov byte [edi + 0xe4], bl
mov byte [edi + 0xe5], bl
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], ebx
push fcn.004c12b0
push fcn.004c1360
push 3
push 0x34
lea edi, [esi + 0x1b0]
push edi
mov byte [esp + 0x2c], 2
call fcn.004b75aa
lea ecx, [edi + 0x9c]
call fcn.004c1360
mov dword [edi + 0xe0], ebx
mov byte [edi + 0xe4], bl
mov byte [edi + 0xe5], bl
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], ebx
push fcn.004c12b0
push fcn.004c1360
push 3
push 0x34
lea edi, [esi + 0x298]
push edi
mov byte [esp + 0x2c], 3
call fcn.004b75aa
lea ecx, [edi + 0x9c]
call fcn.004c1360
mov dword [edi + 0xe0], ebx
mov byte [edi + 0xe4], bl
mov byte [edi + 0xe5], bl
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov eax, esi
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 0x40cd40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
cmp byte [0x51a964], 0
push ebx
push ebp
push esi
push edi
jne 0x40ce29
mov bl, 1
push str.kernel32.dll
mov byte [0x51a964], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40cd7c
mov ebx, dword [esp + 0x34]
push ebx
mov byte [0x51a965], al
call fcn.0040d6f0
jmp 0x40cda7
push str.GetLocaleInfoEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40cd9d
mov ebx, dword [esp + 0x34]
push ebx
mov byte [0x51a965], al
call fcn.0040d6f0
jmp 0x40cda7
mov byte [0x51a965], bl
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x380]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
push eax
push eax
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x40ce1c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
cmp eax, 0xffffffff
je 0x40ce1c
lea edx, [esp + 0x14]
push edx
call edi
lea eax, [esp + 0x14]
push eax
call ebp
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call esi
test eax, eax
jne 0x40cdf8
mov eax, dword [ebx + 0x58]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
cmp byte [0x51a965], 0
jne 0x40cda3
mov ebx, dword [esp + 0x34]
push ebx
call fcn.0040d6f0
jmp 0x40cda7

Function at 0x40d6f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov ebx, dword [ebp]
push esi
push edi
test ebx, ebx
je 0x40d7a2
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x10]
push ecx
push edx
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp + 0x5c], eax
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call ebp
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push 0x40cc0020
push 0
push 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push esi
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x24]
push edx
push edi
call ebp
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4