joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404170
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0x82
lea esi, [ebp + 0x38]
mov dword [ebp + 0x1378c], eax
call fcn.0040a250
mov eax, dword [ebp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 0x3ed
push eax
lea edi, [ebp + 0x64]
call ebx
test eax, eax
mov dword [esp + 0x14], eax
je 0x4041dd
push 0x8f
lea esi, [edi + 0x10]
mov dword [edi + 0xc], 0
call fcn.0040f5a0
test al, al
je 0x4041dd
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebp + 0x24]
push 0x3ee
push eax
call ebx
mov edi, eax
test edi, edi
je 0x40421e
push 0x8c
lea esi, [ebp + 0xb0]
mov dword [ebp + 0xac], 2
call fcn.0040f5a0
test al, al
je 0x40421e
mov eax, dword [ebp + 0xa0]
mov edx, dword [eax + 8]
lea ecx, [ebp + 0xa0]
push edi
call edx
mov eax, dword [ebp + 0x24]
push 0x3e9
push eax
call ebx
mov edi, eax
test edi, edi
je 0x40425f
push 0x8d
lea esi, [ebp + 0x128]
mov dword [ebp + 0x124], 4
call fcn.0040f5a0
test al, al
je 0x40425f
mov eax, dword [ebp + 0x118]
mov edx, dword [eax + 8]
lea ecx, [ebp + 0x118]
push edi
call edx
lea edi, [ebp + 0x154]
mov esi, 0x4d7fa4
lea ebx, [ebx]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
mov eax, dword [ebp + 0x24]
push ecx
call fcn.0040fdd0
add esi, 0x14
add edi, 0x1030
cmp esi, 0x4d80f8
jl 0x404270
mov edx, dword [ebp + 0x11484]
mov eax, dword [ebp + 0x24]
mov edx, dword [edx + 0x20]
push 0xffffffffffffffff
push 0x60ff
push str.http:__pinyin.sogou.com_user_
lea ecx, [ebp + 0x11484]
push 0x3fa
push eax
call edx
mov eax, dword [ebp + 0x124b4]
mov edx, dword [ebp + 0x24]
mov eax, dword [eax + 0x20]
push 0xffffffffffffffff
push 0x60ff
push str.http:__s.sogou.com_t_s_CB_D1_B9_B7_C6_B4_D2_F4_CA_E4_C8_EB_B7_A8
lea ecx, [ebp + 0x124b4]
push 0x3fd
push edx
mov dword [ebp + 0x11490], 1
call eax
mov eax, dword [ebp + 0x24]
push 0x3f7
push eax
call ebx
mov edx, dword [ebp + 0x134e4]
lea ecx, [ebp + 0x134e4]
push eax
mov eax, dword [edx + 8]
call eax
push 0x93
lea esi, [ebp + 0x13758]
mov dword [ebp + 0x134f0], 3
mov byte [ebp + 0x13784], 0
call fcn.0040a250
mov eax, dword [ebp + 0x24]
add esp, 4
push 0
push 0x2710
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov dword [ebp + 0x13754], eax
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404790
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a72b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0049c860
mov dword [esp + 0x28], 0
call fcn.004061c0
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.00420f50
test al, al
jne 0x4047f5
lea ecx, [esp + 0x14]
call fcn.0049da00
lea ecx, [esp + 0x14]
call fcn.0049cbe0
call fcn.00407b20
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x4ea
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi + 0x24]
push 0
push 0x4eb
push eax
call edi
push eax
call ebx
mov eax, esi
call fcn.004053d0
mov eax, dword [esi + 0x24]
push 0
push 0x3e9
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.00405860
mov eax, dword [esi + 0x24]
push 0x3ff
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x24]
push 5
push 0x3f8
push eax
call edi
push eax
call ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push 1
mov ecx, esi
call eax
test eax, eax
je 0x404895
add dword [esi + 0x13788], 1
push 0
push 0
push esi
push 0x405be0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x14]
call fcn.0049c800
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4048c0
Capabilities:
Get thread local storage value
Hide graphical window

Disassembly:
push esi
push edi
mov edi, eax
test edi, edi
mov esi, edx
je 0x404970
push ebx
push 0x20a
call fcn.00402130
mov ebx, eax
mov word [ebx], 0
mov eax, dword [edi + 8]
push eax
push 0x4d8b8c
push 0x104
push ebx
call fcn.0046f887
mov ecx, dword [esi + 0x1378c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esi + 0x13788]
cmp eax, edx
jne 0x40496f
mov eax, dword [esi + 0x24]
push ebp
push 0x3f1
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, eax
push 0
push edi
call ebp
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push edi
call ebp
mov eax, dword [esi + 0x1378c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi + 0x13788]
cmp eax, ecx
pop ebp
jne 0x40496f
mov esi, dword [esi + 0x24]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push 0x3f0
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
pop edi
pop esi
ret

Function at 0x404b30
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [eax + 0x1354c]
push esi
push edi
mov edi, dword [eax + 0x24]
push 0x10
call fcn.0046ef1b
push str.http:__pinyin.sogou.com_user_
mov esi, eax
call fcn.0046fca5
push esi
push 0
push 0x40ad40
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov byte [esi + 0xc], 0
call fcn.0047010d
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x404b70
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [eax + 0x1354c]
push esi
push edi
mov edi, dword [eax + 0x24]
push 0x10
call fcn.0046ef1b
push str.http:__blog.sohu.com_camp_from1044
mov esi, eax
call fcn.0046fca5
push esi
push 0
push 0x40ad40
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov byte [esi + 0xc], 0
call fcn.0047010d
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x4051a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6270
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x30]
cmp eax, 1
jne 0x4052b6
mov eax, dword [edi + 0x24]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x4ea
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [edi + 0x24]
push 0
push 0x4eb
push eax
call esi
push eax
call ebx
xor esi, esi
mov dword [esp + 0x1c], fcn.0046ef1b
mov dword [esp + 0x20], fcn.0046ec38
mov dword [esp + 0x24], fcn.0046f0cc
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.0049c860
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x1354c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push str.UserManager
mov byte [esp + 0x4c], 1
call fcn.00403b00
add esp, 4
mov ecx, eax
call fcn.00469690
test al, al
jne 0x40527d
lea ecx, [esp + 0x14]
call fcn.0049da00
lea ecx, [esp + 0x14]
call fcn.0049cbe0
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0049c800
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x405298
call fcn.00404980
mov edi, dword [edi + 0x24]
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004010d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4052d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6238
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [edi + 0x1354c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], fcn.0046ef1b
mov dword [esp + 0x30], fcn.0046ec38
mov dword [esp + 0x34], fcn.0046f0cc
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x40], bl
mov dword [esp + 0x14], vtable.t_wndDlgConfirm.0
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ebx
mov esi, dword [edi + 0x24]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], ebx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea ecx, [esp + 0x14]
push ecx
push 0x41b6d0
push esi
push 0x92
push ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x405393
mov edx, dword [edi + 0x24]
push ebx
push 0x3f7
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor bl, bl
jmp 0x405395
mov bl, 1
mov esi, dword [edi + 0x1354c]
call fcn.0040ad90
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.t_wndDlgConfirm.0
call fcn.0041b620
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x406580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a5bd0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], fcn.0046ef1b
mov dword [esi + 0x1c], fcn.0046ec38
mov dword [esi + 0x20], fcn.0046f0cc
or edi, 0xffffffff
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.t_wndDlgLogon.0
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x90], vtable.t_wndImageButtonHandle.0
mov dword [esi + 0x9c], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov cl, 1
mov edx, 0xff0000
mov dword [esi + 0xd8], edi
mov dword [esi + 0xcc], vtable.t_wndStaticLink.0
mov word [esi + 0xdc], bx
mov dword [esi + 0x10e0], edx
mov byte [esi + 0x10e4], bl
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0], ebx
mov dword [esi + 0x10e8], ebx
mov dword [esi + 0x10f0], ebx
mov byte [esi + 0x10e5], cl
mov byte [esi + 0x10e6], cl
mov dword [esi + 0x10dc], edi
mov dword [esi + 0x1100], edi
mov dword [esi + 0x10f4], 0x4d9614
mov word [esi + 0x1104], bx
mov dword [esi + 0x2108], edx
mov byte [esi + 0x210c], bl
mov dword [esi + 0x10fc], eax
mov dword [esi + 0x10f8], ebx
mov dword [esi + 0x2110], ebx
mov dword [esi + 0x2118], ebx
mov byte [esi + 0x210d], cl
mov byte [esi + 0x210e], cl
mov dword [esi + 0x2104], edi
mov dword [esi + 0x2128], edi
mov dword [esi + 0x211c], 0x4d9614
mov word [esi + 0x212c], bx
mov dword [esi + 0x3130], edx
mov byte [esi + 0x3134], bl
mov dword [esi + 0x2124], eax
mov dword [esi + 0x2120], ebx
mov dword [esi + 0x3138], ebx
mov dword [esi + 0x3140], ebx
mov byte [esi + 0x3135], cl
mov byte [esi + 0x3136], cl
mov dword [esi + 0x312c], edi
lea eax, [esi + 0x3144]
push eax
mov byte [esp + 0x1c], 4
call fcn.00409b60
mov dword [esi + 0x31a4], ebx
mov dword [esi + 0x31a8], ebx
mov dword [esi + 0x31ac], edi
mov dword [esi + 0x31a0], 0x4d90d0
mov byte [esi + 0x31b0], bl
mov dword [esi + 0x31b8], ebx
mov dword [esi + 0x31bc], ebx
mov dword [esi + 0x31c0], edi
mov dword [esi + 0x31b4], 0x4d90ec
mov byte [esi + 0x31c4], bl
mov dword [esi + 0x31c8], edi
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 4
Function at 0x406b00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a72b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0xbd2
je 0x406b89
cmp eax, 0x14
je 0x406b66
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.0041b720
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x14]
mov edx, dword [edx + 0x4c]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
push 0
push 0x3f8
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x14], 0
je 0x406bf8
mov edi, dword [esi + 0x30]
mov ebx, 1
call fcn.00403510
cmp dword [ebp + 0x14], 2
jne 0x406bf8
lea ecx, [esp + 0x14]
call fcn.0049c860
lea eax, [esp + 0x14]
push 0x4d8f60
push eax
mov dword [esp + 0x30], 0
call fcn.0049d170
mov ecx, dword [esi + 0x24]
add esp, 8
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.0049cf90
lea ecx, [esp + 0x14]
call fcn.0049c800
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x407ba0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0x24]
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x30]
push edx
push 0x3ec
push eax
call edi
push eax
call ebx
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x40]
push ecx
push 0x3eb
push eax
call edi
push eax
call ebx
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x20]
push edx
push 0x3f8
push eax
call edi
push eax
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x28]
push edx
call ebx
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x24]
push 1
push edx
sub eax, ecx
sub eax, dword [esp + 0x18]
push ecx
push 0xa
sub eax, 0xa
push eax
push 0x3ec
push ebx
call edi
mov ebp, dword [sym.imp.USER32.dll_MoveWindow]
push eax
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
sub ebx, dword [esp + 0x24]
sub eax, edx
sub eax, dword [esp + 0x10]
push 1
add eax, dword [esp + 0x24]
mov ecx, edx
sub ecx, dword [esp + 0x24]
push ebx
cdq
push ecx
mov ecx, dword [esp + 0x58]
sub eax, edx
mov edx, dword [esi + 0x24]
push ecx
sar eax, 1
push eax
push 0x3f8
push edx
call edi
push eax
call ebp
mov esi, dword [esi + 0x24]
push 0
push 0x3f8
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x407de0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push 0
push 0
mov esi, eax
mov eax, dword [esi + 0x31b8]
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov eax, dword [esi + 0x24]
jne 0x407e3f
push 5
push 0x4eb
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi + 0x24]
push 5
push 0x4ea
push eax
call edi
push eax
call ebx
mov esi, dword [esi + 0x24]
push 0
push 0x3f2
push esi
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret
push 0
push 0x4eb
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi + 0x24]
push 0
push 0x4ea
push eax
call edi
push eax
call ebx
mov eax, dword [esi + 0x24]
push 5
push 0x3f2
push eax
call edi
push eax
call ebx
cmp byte [esi + 0x31b0], 0
jne 0x407ea3
mov ecx, dword [esi + 0x31a4]
push 0x4c996c
push ecx
mov byte [esi + 0x31b0], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x31a4]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
ret

Function at 0x408360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x4ed3dc]
xor eax, esp
mov dword [esp + 0x214], eax
mov ecx, dword [ebx + 4]
push esi
push edi
push 0x104
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebx + 4]
push 0
push 0
push 0x14b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 0x14]
cmp esi, dword [ebx + 0x18]
lea edi, [ebx + 0x10]
jbe 0x4083b3
call fcn.0046f79c
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0xc], eax
jbe 0x4083c4
call fcn.0046f79c
cmp edi, edi
je 0x4083cd
call fcn.0046f79c
cmp esi, dword [esp + 0xc]
je 0x40840c
cmp esi, dword [edi + 8]
jb 0x4083dd
call fcn.0046f79c
cmp dword [esi + 0x18], 8
jb 0x4083e8
mov eax, dword [esi + 4]
jmp 0x4083eb
lea eax, [esi + 4]
push eax
mov eax, dword [ebx + 4]
push 0xffffffffffffffff
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [edi + 8]
jb 0x408407
call fcn.0046f79c
add esi, 0x1c
jmp 0x4083b3
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0046ec29
mov esp, ebp
pop ebp
ret

Function at 0x408680
Capabilities:
Get graphical window text

Disassembly:
mov ecx, dword [edi + 4]
sub esp, 8
push esi
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 4]
lea edx, [esp + 8]
push edx
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x140
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp eax, ecx
jne 0x4086cf
movzx edx, cx
movzx eax, ax
shl edx, 0x10
or edx, eax
mov eax, esi
mov dword [ebx], edx
pop esi
add esp, 8
ret
movzx eax, si
mov ecx, eax
shl ecx, 0x10
or ecx, eax
mov eax, esi
mov dword [ebx], ecx
pop esi
add esp, 8
ret
Function at 0x40ad90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a61e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call fcn.0049c860
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0041eae0
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x44], 1
call fcn.0046eb40
mov ecx, eax
call fcn.0046e640
test al, al
jne 0x40adfa
push 0
lea ecx, [esp + 8]
call fcn.0049db10
jmp 0x40ae1e
push ebx
lea edx, [esp + 0x10]
push edx
call fcn.0041fe20
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.0046eb40
mov ecx, eax
call fcn.0046e860
lea ecx, [esp + 0xc]
mov byte [0x4f20d4], bl
mov byte [esp + 0x38], 0
call fcn.0041eb90
lea ecx, [esp + 4]
call fcn.0049c800
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret
Function at 0x40af50
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5246
mov eax, dword fs:[0]
push eax
sub esp, 0x600
mov eax, dword [0x4ed3dc]
xor eax, esp
mov dword [esp + 0x5f8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x610]
mov dword fs:[0], eax
xor ebx, ebx
push 0x18c
lea eax, [esp + 0x44]
push ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.00470e10
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 0x64
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x40b0f4
lea ecx, [esp + 0x14]
call fcn.0049c860
cmp esi, ebx
mov dword [esp + 0x618], ebx
jle 0x40b0eb
lea esp, [esp]
mov eax, dword [esp + ebx*4 + 0x3c]
push 0x10
push 0x11
lea edx, [esp + 0x1d8]
push edx
push eax
call fcn.004705c3
add esp, 0x10
test eax, eax
jne 0x40b0de
mov ecx, 0x19
mov esi, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
lea edi, [esp + 0x1f4]
rep movsd dword es:[edi], dword [esi]
push 0x1a2
push eax
lea eax, [esp + 0x262]
push eax
movsw word es:[edi], word [esi]
call fcn.00470e10
lea ecx, [esp + 0x1dc]
push ecx
lea edx, [esp + 0x204]
push 0x104
push edx
call fcn.0046f023
add esp, 0x18
push 0x80000002
lea ecx, [esp + 0x24]
call fcn.004a2930
push 1
push 0
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x628], 1
call fcn.004a2740
test al, al
jne 0x40b085
lea ecx, [esp + 0x14]
call fcn.0049cbe0
jmp 0x40b0cd
push str.Ime_File
push 0x104
lea edx, [esp + 0x404]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.004a2900
test al, al
jne 0x40b0b4
lea ecx, [esp + 0x14]
call fcn.0049cbe0
jmp 0x40b0cd
lea ecx, [esp + 0x3fc]
push str.SogouPy.ime
push ecx
call fcn.00470391
add esp, 8
test eax, eax
je 0x40b11a
lea ecx, [esp + 0x20]
mov byte [esp + 0x618], 0
call fcn.004a2580
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jl 0x40afe0
lea ecx, [esp + 0x14]
call fcn.0049c800
xor eax, eax
mov ecx, dword [esp + 0x610]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5f8]
xor ecx, esp
call fcn.0046ec29
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + ebx*4 + 0x3c]
lea ecx, [esp + 0x20]
call fcn.004a2580
lea ecx, [esp + 0x14]
call fcn.0049c800
mov eax, ebx
jmp 0x40b0f6

Function at 0x40baf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
push 0
mov ecx, esi
mov byte [esi + 0xd2], 0
mov byte [esi + 0x34], 0
mov byte [esi + 0xd0], 0
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push 1
mov ecx, esi
call edx
mov ecx, esi
call fcn.004120a0
mov eax, dword [esi + 0xb0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret