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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5061d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
movzx eax, word [ebp + 0xc]
push eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jns 0x40d691
push 0x80070057
call fcn.00401000
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40d6ae
push edi
lea ecx, [ebp - 0x10]
call fcn.00401a60
mov esi, dword [ebp - 0x10]
cmp edi, dword [esi - 8]
jg 0x40d687
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
inc edi
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004f4a27
xor edi, edi
add esp, 8
cmp eax, edi
jl 0x40d687
cmp eax, dword [esi - 8]
jg 0x40d687
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [esi - 0xc]
cmp eax, 6
jle 0x40d797
push edi
push edi
push 0xb0
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, ax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edi
test edi, edi
js 0x40d687
cmp edi, dword [esi - 0xc]
jg 0x40d687
movsx edx, byte [edi + esi]
push edx
call fcn.004f6745
add esp, 4
test eax, eax
je 0x40d729
inc edi
inc edi
cmp edi, 6
jg 0x40d734
mov dword [ebp - 0x18], edi
jl 0x40d706
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406e20
movzx eax, word [ebp + 0xc]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edi
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp - 0x1c]
push eax
push eax
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ax, word [ebp + 0xc]
mov ecx, 0x579
cmp ax, cx
jne 0x40d7ad
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x68]
jmp 0x40d7bd
mov ecx, 0x578
cmp ax, cx
jne 0x40d7c6
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6c]
lea eax, [ebp - 0x10]
push eax
call fcn.00408c20
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7e9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40d900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x551644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
xor eax, eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 4]
push 0x1012
push ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x40d96f
cmp dword [ebp - 0x10], 8
jne 0x40d96f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40d96f
mov edx, dword [ebp - 0xc]
push edx
mov ecx, esi
call fcn.0040d800
mov ecx, dword [ebp - 4]
mov dword [edi], 0
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004f4f8b
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40dda0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505d78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [ebp + 0x10]
movzx esi, byte [eax + ebx]
mov eax, 1
test esi, esi
je 0x40de8b
cmp byte [ebp + 0x14], 0
je 0x40de02
xor eax, eax
test esi, esi
jle 0x40de02
mov ecx, dword [edi]
add ecx, eax
lea edx, [ecx + ebx + 1]
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx]
xor byte [edx], cl
inc eax
cmp eax, esi
jl 0x40ddee
mov edx, dword [edi]
lea ebx, [edx + ebx + 1]
test ebx, ebx
jne 0x40de16
push 0x80070057
call fcn.00401000
mov eax, dword [0x5515b0]
mov edx, dword [eax]
push 1
push esi
mov ecx, 0x5515b0
call edx
test eax, eax
jne 0x40de30
call fcn.00401640
lea edi, [eax + 0x10]
mov dword [ebp + 0x14], edi
test esi, esi
js 0x40de0c
cmp esi, dword [edi - 8]
jg 0x40de0c
push esi
push ebx
push esi
mov dword [edi - 0xc], esi
push edi
mov byte [edi + esi], 0
call fcn.004f4ab2
add esp, 0x10
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.00408c20
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de88
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4118f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
jns 0x411950
push 0x80070057
call fcn.00401000
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x41196d
push esi
lea ecx, [ebp - 0x14]
call fcn.00401a60
mov ebx, dword [ebp - 0x14]
cmp esi, dword [ebx - 8]
jg 0x411946
mov ecx, dword [ebp + 0x10]
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
inc esi
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
lea ecx, [ebp - 0x20]
call fcn.0040eba0
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], vtable.CStringToNum.0
test esi, esi
jns 0x4119ae
movzx edx, word [ebp + 0xc]
push edx
push 0
mov ecx, edi
call fcn.0040c340
cmp esi, 0x100
jl 0x4119c7
movzx eax, word [ebp + 0xc]
push eax
push 0xff
mov ecx, edi
call fcn.0040c340
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x578
push ecx
call esi
mov edx, dword [edi + 4]
cmp dword [ebp + 0x10], eax
jne 0x4119e8
push 0x5dc
push edx
jmp 0x411a15
push 0x579
push edx
call esi
cmp dword [ebp + 0x10], eax
jne 0x4119fc
push 0x5dd
jmp 0x411a11
mov edx, dword [edi + 4]
push 0x57a
push edx
call esi
cmp dword [ebp + 0x10], eax
jne 0x411a2e
push 0x5de
mov eax, dword [edi + 4]
push eax
call esi
mov ecx, 0xff
sub ecx, dword [ebp - 0x10]
push ecx
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.0040c060
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411a58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411c20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506148
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x551644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5515b0]
mov edi, dword [ebp + 0x10]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x5515b0
mov dword [ebp - 0x24], edi
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jns 0x411c86
push 0x80070057
call fcn.00401000
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x411ca3
push edi
lea ecx, [ebp - 0x2c]
call fcn.00401a60
mov ebx, dword [ebp - 0x2c]
cmp edi, dword [ebx - 8]
jg 0x411c7c
mov eax, dword [ebp - 0x24]
mov dword [ebx - 0xc], edi
mov byte [edi + ebx], 0
inc edi
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0040eba0
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
test edi, edi
jns 0x411cdd
movzx ecx, word [ebp + 0xc]
push ecx
push 0
mov ecx, esi
call fcn.0040c340
cmp edi, 0x100
jl 0x411cf6
movzx edx, word [ebp + 0xc]
push edx
push 0xff
mov ecx, esi
call fcn.0040c340
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x578
push eax
call edi
cmp dword [ebp - 0x24], eax
jne 0x411d13
push 0x5dc
jmp 0x411d3f
mov eax, dword [esi + 4]
push 0x579
push eax
call edi
cmp dword [ebp - 0x24], eax
jne 0x411d2a
push 0x5dd
jmp 0x411d3f
mov eax, dword [esi + 4]
push 0x57a
push eax
call edi
cmp dword [ebp - 0x24], eax
jne 0x411d5c
push 0x5de
mov ecx, dword [esi + 4]
push ecx
call edi
mov edx, 0xff
sub edx, dword [ebp - 0x28]
push edx
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x411dbb
mov ecx, esi
call fcn.0040ca20
push eax
lea ecx, [esi + 0x54]
call fcn.00411a70
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [ebp - 0x20]
push edx
push eax
call edi
test eax, eax
je 0x411dab
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x18]
push ecx
push edx
call edi
mov ecx, dword [esi + 4]
push 1
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411dde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f4f8b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415650
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5064f5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 7
call fcn.0045a510
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1d4], edi
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1dc], edi
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1e8], edi
mov dword [esi + 0x1ec], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4171a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5065c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 0x57c
jne 0x417207
mov eax, dword [edi + 0x84]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov ecx, edi
call fcn.004170a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 0x57d
jne 0x417241
mov ecx, dword [edi + 0xa4]
push 0
push 9
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov ecx, edi
call fcn.004168f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov ecx, dword [edi + 4]
push ebx
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jns 0x417282
push 0x80070057
call fcn.00401000
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41729f
push edi
lea ecx, [ebp + 8]
call fcn.00401a60
mov esi, dword [ebp + 8]
cmp edi, dword [esi - 8]
jg 0x417278
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
inc edi
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
lea ecx, [ebp - 0x18]
call fcn.0040eba0
mov edi, dword [eax + 4]
lea eax, [esi - 0x10]
mov dword [ebp - 0x18], vtable.CStringToNum.0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4172eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x438210
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5078a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov dword [ebp - 4], esi
call edx
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebx + 0x28]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
jns 0x43827b
push 0x80070057
call fcn.00401000
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x438296
push esi
mov ecx, edi
call fcn.00401a60
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x438271
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
mov edx, dword [ebx + 0x28]
inc esi
push esi
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4382ca
push ecx
push eax
call fcn.004f4a27
add esp, 8
test eax, eax
js 0x438271
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x438271
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
mov byte [eax + ecx], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43aed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
mov dword [esi + 0x48], 0
call fcn.00438210
mov edx, dword [ebp - 4]
mov eax, dword [edx - 0xc]
mov ecx, dword [esi + 0x28]
push eax
push 0
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop esi
test ecx, ecx
jg 0x43af2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x43df30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507deb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
lea edi, [esi + 0x2c]
mov dword [ebp - 4], eax
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
je 0x43dfbf
mov edx, dword [ebp - 0x10]
push edx
push ecx
push eax
push eax
call fcn.004063e0
mov edx, dword [esi + 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [esi + 0x28]
push ecx
push edx
push ebx
call fcn.00470560
add esp, 0x20
mov dword [esi + 0x20], ebx
push edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e280
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi], vtable.GuiControl::ControlCollection.0
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push 0x18
mov dword [ebp - 4], edi
mov dword [esi + 0x44], edi
call fcn.004f4b27
add esp, 4
cmp eax, edi
je 0x43e349
mov dword [esi + 0x40], eax
mov dword [eax], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x40]
mov byte [ecx + 0x14], bl
mov edx, dword [esi + 0x40]
mov byte [edx + 0x15], bl
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], edi
call fcn.004f56d2
push 0x532f5c
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004f4775
int3
Function at 0x442470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5081eb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esi], vtable.GuiControl::GUIBase.0
mov dword [esi + 0x10], edi
mov ebx, 1
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x28], vtable.GuiControl::ElementInterface.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], vtable.GuiControl::EventInterface.0
push 0x20
mov dword [ebp - 4], edi
mov dword [esi + 0x48], edi
call fcn.004f4b27
add esp, 4
cmp eax, edi
je 0x442548
mov dword [esi + 0x44], eax
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x1c], bl
mov edx, dword [esi + 0x44]
mov byte [edx + 0x1d], bl
mov dword [esi], vtable.GuiControl::Control.2.0
mov dword [esi + 0x28], vtable.GuiControl::Control.1.0
mov dword [esi + 0x3c], vtable.GuiControl::Control.0
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], edi
call fcn.004f56d2
push 0x532f5c
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004f4775
int3

Function at 0x444830
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, 0x55380c
call fcn.004174f0
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [0x552af0]
call fcn.0046c010
mov ecx, dword [ebp - 0xc]
pop esi
test ecx, ecx
je 0x44487d
mov eax, dword [ebp - 4]
test eax, eax
je 0x44486a
mov eax, dword [eax + 0xc]
jmp 0x44486c
xor eax, eax
imul eax, dword [ebp - 8]
mov edx, dword [eax + ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4448ab
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x4448ab
cmp byte [ecx + 8], 0
je 0x44489b
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4448ab
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov esp, ebp
pop ebp
ret