joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406230
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x523aab
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x304]
xor edi, edi
push 0x206
lea eax, [esp + 0xea]
push edi
push eax
mov word [esp + 0xf0], di
call fcn.005002f0
mov ecx, dword [ebp + 0x970]
mov eax, dword [ecx + 4]
add esp, 0xc
push 0x104
lea edx, [esp + 0xe8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp + 0x96c]
mov eax, dword [eax + 4]
push edi
push edi
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x96c]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x2fc], edi
cmp byte [ebp + 0x944], 0
lea eax, [ebp + 0x834]
jne 0x406303
mov eax, dword [ebp + 0x830]
lea edx, [eax + 4]
lea eax, [esp + 0x14]
lea esi, [ebp + 0x808]
push eax
mov ecx, esi
call fcn.0046c8b0
test al, al
je 0x406382
push str.counts
mov ecx, str.config
mov eax, esi
call fcn.0046c6f0
cmp eax, edi
jne 0x40638d
push str.config
mov ecx, esi
call fcn.0046d370
mov ecx, eax
call fcn.0046c460
push 0x54b9a0
push str.counts
mov ebx, str.config
call fcn.0046c7a0
cmp byte [ebp + 0x944], 0
je 0x406369
add ebp, 0x834
jmp 0x40636f
mov ebp, dword [ebp + 0x830]
add ebp, 4
push ebp
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.0046cdf0
test al, al
jne 0x4063f9
lea ecx, [esp + 0x14]
call fcn.00470c90
jmp 0x4063f9
push eax
call fcn.004fe07a
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x4063f9
push 0xc6
lea ecx, [esp + 0x22]
push 0
push ecx
mov word [esp + 0x28], 0
call fcn.005002f0
add esp, 0xc
push edi
push str.idx_d
lea edx, [esp + 0x24]
call fcn.004080e0
add esp, 8
lea edx, [esp + 0x1c]
push edx
mov ecx, str.config
mov eax, esi
call fcn.0046c6f0
push eax
mov eax, dword [ebp + 0x96c]
mov ecx, dword [eax + 4]
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 1
cmp edi, ebx
jl 0x40639c
lea ecx, [esp + 0x14]
call fcn.004707c0
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004fe05a
add esp, 0x2ec
ret 4
Function at 0x406e00
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0x214
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov ebx, ecx
call fcn.004070f0
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.005002f0
mov ecx, dword [ebx + 0x970]
mov eax, dword [ecx + 4]
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x406eb3
mov esi, dword [ebx + 0x96c]
mov eax, dword [esi + 0x34]
push 0x54b914
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406e8f
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x974]
push 1
mov dword [eax + 0x64], 1
mov eax, dword [eax + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call fcn.00406090
jmp 0x406eda
lea ecx, [esp + 8]
push ecx
mov ecx, ebx
call fcn.00405a90
mov ebx, dword [ebx + 0x974]
mov edx, dword [ebx + 4]
push 1
push 0
push edx
mov dword [ebx + 0x64], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004fe05a
add esp, 0x214
ret
Function at 0x406f00
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x524a8b
mov eax, dword fs:[0]
push eax
mov eax, 0xec94
call fcn.00503810
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0xec90], eax
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0xeca0]
mov dword fs:[0], eax
push 0xea90
lea eax, [esp + 0x20c]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x210], 0
call fcn.005002f0
add esp, 0xc
call fcn.00401e70
mov eax, dword [eax]
test eax, eax
je 0x40706d
push 0xea94
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x40706d
push 0xea94
push esi
lea ecx, [esp + 0x20c]
push 0xea94
push ecx
call fcn.004fe295
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [edi + 0x6c]
push 0
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402440
mov dword [esp + 0xeca8], 0
mov ecx, dword [esp + 0x4c]
mov edi, dword [edi + 0x34]
mov esi, dword [0x5b9ef0]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x14]
push eax
push 0x407e20
push edi
push 0x1f7
push esi
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [esp + 0x48]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x204]
push edx
lea edi, [esp + 0x18]
call fcn.0049dee0
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, edi
mov dword [esp + 0xeca8], 0xffffffff
call fcn.00402500
mov eax, 1
mov ecx, dword [esp + 0xeca0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xec90]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeca0
ret
xor eax, eax
jmp 0x407047
Function at 0x409ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push esi
push 0x3c
lea eax, [esp + 0x40]
push 0
push eax
mov ebx, ecx
mov dword [esp + 0x44], 0
call fcn.005002f0
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x18]
mov esi, eax
xor eax, eax
push edx
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x48]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebx
push 0xc6
lea ecx, [esp + 0x7e]
push 0
push ecx
mov dword [esp + 0x3c], eax
mov word [esp + 0x84], 0
call fcn.005002f0
add esp, 0xc
push 0x64
lea edx, [esp + 0x7c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
push 0x420
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xf6c99e
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
mov dword [esp + 0x30], eax
call ebx
push 5
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call ebx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
push 5
push 5
push edx
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
sub eax, 2
cdq
sub eax, edx
mov ecx, dword [esp + 0x28]
sar eax, 1
add eax, dword [esp + 0x2c]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_RoundRect]
push 0xfefaf5
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x409c02
push 0
jmp 0x409c07
push 0x808080
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x25
mov eax, 0xa
add dword [esp + 0xc], eax
add dword [esp + 0x14], eax
lea edx, [esp + 0xc]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x84]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x30]
push ecx
push esi
call ebx
mov edx, dword [esp + 0x34]
push edx
push esi
call ebx
mov eax, dword [esp + 0x2c]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [esp + 0x38]
push edx
push edi
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x144]
pop esi
pop ebx
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret
Function at 0x409d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51f683
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], fcn.004fdc99
mov dword [esi + 0x20], fcn.004fca61
mov dword [esi + 0x24], fcn.004fdda1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 4], eax
mov byte [esi + 8], al
mov byte [esi + 0x30], al
mov dword [esi], vtable.CSubPage.0
mov dword [esi + 0x34], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
push 0xfefaf5
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x40bd80
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x51d79b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov edi, dword [esp + 0x150]
cmp edi, 9
mov ebx, ecx
jne 0x40bdd0
xor eax, eax
jmp 0x40be95
cmp edi, 0x11
je 0x40be90
mov eax, dword [ebx + 0x10]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040c2d0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebp, ebp
push 0x10
mov dword [ebx + 0x10], ebp
call esi
test ax, ax
js 0x40be90
push 0x12
call esi
test ax, ax
js 0x40be90
push 0x11
call esi
test ax, ax
jns 0x40be1e
or dword [ebx + 0x10], 0x80000000
or dword [ebx + 0x10], edi
lea ecx, [esp + 0x18]
call fcn.0046a650
mov dword [esp + 0x148], ebp
mov esi, dword [ebx + 0x10]
push 1
lea edi, [esp + 0x1c]
call fcn.0040bec0
test al, al
jne 0x40be66
mov eax, dword [ebx + 0x14]
cmp eax, ebp
mov dword [ebx + 0x10], ebp
je 0x40be50
mov dword [eax + 0x40], ebp
lea eax, [esp + 0x18]
call fcn.0046add0
mov ecx, dword [ebx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x40be87
lea eax, [esp + 0x18]
call fcn.0046add0
mov edx, dword [ebx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x14]
cmp eax, ebp
je 0x40be87
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x40], ecx
lea ecx, [esp + 0x18]
call fcn.0046dfd0
mov eax, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004fe05a
add esp, 0x138
ret 8
Function at 0x40c340
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x7d4
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x7d0], eax
mov eax, dword [esi]
push ebx
push ebp
mov ebp, dword [esp + 0x7e0]
push edi
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi]
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi]
push 0x3e8
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0xc]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c3a0
sub eax, edx
push ebp
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [esi]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x7dc]
pop edi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004fe05a
add esp, 0x7d4
ret 4
Function at 0x417410
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51f508
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
or ebx, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
xor esi, esi
mov dword [eax + 0x18], ecx
xor edi, edi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
mov dword [eax + 4], ecx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax], vtable.ImmConfigScdListView.0
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], fcn.004fdc99
mov dword [eax + 0x60], fcn.004fca61
mov dword [eax + 0x64], fcn.004fdda1
mov dword [eax + 0x48], vtable.ImmConfigScdListView::ScdItemList.0
mov dword [eax + 0x68], edx
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 0x420730
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x42082a
push edi
push 0x206
lea eax, [esp + 0x12]
push 0
push eax
mov word [esp + 0x18], 0
call fcn.005002f0
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 0
push 0
push 0x147
push ecx
call edi
cmp eax, 0xffffffff
je 0x4207bc
test eax, eax
jl 0x4207a6
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esi + 8]
push 0x148
push eax
call edi
jmp 0x42081b
mov edx, dword [esi + 8]
push 0x104
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42081b
mov edx, dword [esi]
push 0x104
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x158
push edx
call edi
cmp eax, 0xffffffff
jne 0x42081b
cmp byte [esi + 0x40], 0x86
jne 0x420804
push 0x54b8f0
push 0x104
lea eax, [esp + 0x14]
push eax
jmp 0x420813
push 0x54e9ec
push 0x104
lea ecx, [esp + 0x14]
push ecx
call fcn.004fe07f
add esp, 0xc
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
mov edx, ebx
call fcn.0047c9d0
pop edi
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.004fe05a
add esp, 0x20c
ret 8
Function at 0x420a00
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
cmp ax, 5
push ebx
push esi
mov esi, ecx
jne 0x420bb3
mov ecx, dword [esi + 8]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push 0xff
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x420a30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420a30
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
sub eax, edx
sar eax, 1
mov ecx, 0
je 0x420a68
lea esp, [esp]
movzx edx, word [esp + ecx*2 + 0x10]
cmp dx, 0x30
jb 0x420a80
cmp dx, 0x39
ja 0x420a80
add ecx, 1
cmp ecx, eax
jb 0x420a50
lea edx, [esp + 0x10]
push edx
call fcn.004fe07a
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x420a80
cmp ebx, 0x63
jle 0x420aea
mov eax, dword [esi + 8]
push 0x40
push 0x54b90c
push 0x551d34
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esi + 8]
push 0
push 0
push 0x14e
push ecx
call edi
mov edx, dword [esi + 8]
push 0
push 0
push 0x147
push edx
call edi
test eax, eax
jl 0x420acb
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x148
push edx
call edi
jmp 0x420adb
mov ecx, dword [esi + 8]
push 0x104
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call fcn.004fe07a
add esp, 4
mov ebx, eax
mov eax, dword [esi + 8]
push 0
push 0
push 0x147
push eax
call edi
test eax, eax
jl 0x420b13
mov edx, dword [esi + 8]
lea ecx, [esp + 0x210]
push ecx
push eax
push 0x148
push edx
call edi
jmp 0x420b26
mov ecx, dword [esi + 8]
push 0x104
lea eax, [esp + 0x214]
push eax
push ecx
call ebp
cmp eax, 0xffffffff
je 0x420b8b
lea edx, [esp + 0x210]
push edx
call fcn.004fe07a
add esp, 4
cmp ebx, eax
je 0x420b8b
mov eax, dword [esi + 8]
push 0
push 0xffffffffffffffff
push 0x14e
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420b64
sub eax, edx
mov edx, dword [esi + 8]
sar eax, 1
movzx eax, ax
mov ecx, eax
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x142
push edx
call edi
mov eax, dword [esi + 8]
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
add esi, 0x40
push esi
call fcn.00427d80
pop edi
mov al, 1
pop ebp
jmp 0x420bee
mov edx, dword [esp + 0x41c]
mov ecx, dword [esp + 0x418]
push edx
mov edx, dword [esp + 0x414]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00427cd0
mov ecx, dword [esi + 8]
mov bl, al
push 0xff
lea eax, [esp + 0x20c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov al, bl
mov ecx, dword [esp + 0x408]
pop esi
pop ebx
xor ecx, esp
call fcn.004fe05a
add esp, 0x404
ret 0x10
Function at 0x420d80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xd4
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0xd0], eax
mov ax, word [esp + 0xd8]
cmp ax, 0xf
push esi
mov esi, dword [esp + 0xe0]
push edi
mov edi, ecx
jne 0x420db4
xor eax, eax
jmp 0x420ee5
cmp ax, 0xc
push ebx
jne 0x420e9e
push ebp
push 7
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebx, eax
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
mov ebp, eax
call ebx
mov edx, dword [esi + 0x18]
push ebp
push edx
mov dword [esp + 0x18], eax
call ebx
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x28]
sub eax, 1
push eax
mov eax, dword [esi + 0x1c]
sub ecx, 1
push ecx
mov ecx, dword [esi + 0x18]
add edx, 1
push edx
add eax, 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
movzx edx, byte [edi + 0x4a]
mov cl, byte [edi + 0x49]
add dl, 0x80
xor eax, eax
mov ah, dl
movzx edx, byte [edi + 0x48]
add cl, 0x80
add dl, 0x80
mov al, cl
movzx ecx, dl
mov edx, dword [esi + 0x18]
shl eax, 8
or eax, ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x18]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [edi + 8]
push 0x64
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x18]
push 0x25
lea eax, [esi + 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x18]
push ecx
push edx
call ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
pop ebp
jmp 0x420ee4
mov eax, dword [edi + 8]
mov esi, dword [edi + 0x48]
lea ebx, [edi + 0x48]
push eax
call fcn.00420f40
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x83
push 0
push 0
push 0
push 0
mov dword [ebx], eax
mov ecx, dword [edi + 8]
push 0
push ecx
call esi
mov edx, dword [edi + 8]
push 0x43
push 0
push 0
push 0
push 0
push 0
push edx
call esi
push ebx
call fcn.004298b0
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
xor ecx, esp
call fcn.004fe05a
add esp, 0xd4
ret 0xc
Function at 0x421d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
mov ecx, 0x422090
mov dword [eax], ecx
xor edx, edx
xor esi, esi
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [eax + 0xc], edi
push esi
mov edi, esi
call fcn.00429a00
mov ebx, eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffeffff
or eax, 0xb
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x50]
mov edx, dword [0x5ab81c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], str.TempSkin.dat
jle 0x421e7d
mov edi, dword [0x5ab818]
lea ebx, [ebx]
cmp dword [edi + eax*4], ecx
je 0x421e2e
add eax, 1
cmp eax, edx
jl 0x421e20
jmp 0x421e7d
cmp eax, 0xffffffff
je 0x421e7d
mov eax, dword [edi + eax*4]
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 2
mov ecx, dword [esp + 0x1c]
push ecx
push str.TempSkin.dat
push eax
lea ecx, [esp + 0x20]
call fcn.00488980
test al, al
jne 0x421e6c
lea ecx, [esp + 0x14]
call fcn.00470870
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004707c0
mov edx, dword [esi + 0x4c]
push 0x600
xor ecx, ecx
xor edi, edi
call fcn.00484750
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x70]
mov esi, eax
call fcn.00485ef0
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push ebx
push 0x87
push 0xf
push 0
push 0
push 0x50000001
push 0x54b914
push str.SCROLLBAR
push 0
call esi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push ebx
push 0xf
push 0x1dc
push 0
push 0
push 0x50000000
push 0x54b914
push str.SCROLLBAR
push 0
mov dword [edi + 0x58], eax
call esi
mov edx, dword [edi + 0x58]
mov esi, eax
mov ecx, edi
mov dword [edi + 0x54], eax
call fcn.00421b60
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8