joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4696a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48f357
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0047d4b9
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0047d4b9
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.0046a1c0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x46a210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48f430
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00489004
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x46a243
xor al, al
jmp 0x46a36f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x46a265
xor al, al
jmp 0x46a36f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x46a278
xor al, al
jmp 0x46a36f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x46a28c
xor al, al
jmp 0x46a36f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0047d569
test eax, eax
jne 0x46a2c0
xor al, al
jmp 0x46a36f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4c1c74
mov dword [esp + 0x20], ebp
call fcn.00489004
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0048600e
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00486065
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x46a354
mov ax, word [ebx]
test ax, ax
je 0x46a346
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0046a390
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46a32a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00486065
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x46a8d0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004876be
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46a916
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0046ec48
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4dadac
push ecx
call fcn.00470241
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x46b240
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46b2e3
test eax, eax
jbe 0x46b2e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46b2e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46b28e
xor esi, esi
jmp 0x46b294
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46b2bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004674a0
add esi, eax
push esi
mov ebx, esi
call fcn.004674a0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46b2a0
pop ebp
test edi, edi
pop edi
jne 0x46b2e3
test ebx, ebx
je 0x46b2e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046f6b0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46b425
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46b53d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46b53d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00480c30
mov esi, eax
test esi, esi
je 0x46b53d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46b53d
mov ecx, esi
call fcn.0046b390
cmp edi, eax
jge 0x46b53d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46b4c3
mov dword [esp + 0x34], 1
jmp 0x46b51e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46b53d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046a970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4815d4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48160c
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.0047f679
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047f651
jmp 0x481618
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x482dce
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 0x482e10
call fcn.00489004
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x482e10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x482e07
xor eax, eax
jmp 0x482e18
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00482e1e
pop edi
pop esi
pop ebx
ret 4

Function at 0x489534
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 0x489562
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x489580
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048949a
jmp 0x489580
mov eax, dword [esi + 0x14]
test eax, eax
je 0x489580
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048949a
test edi, edi
mov eax, edi
jne 0x48956a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4089ec
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd28
cmp dword [0x4d375c], 0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
je 0x408a0d
test eax, eax
jl 0x408a0d
cmp eax, 4
jl 0x408a15
or eax, 0xffffffff
jmp 0x408bfe
mov edx, eax
xor ecx, ecx
shl edx, 3
sub edx, eax
xor eax, eax
mov dword [edx*4 + 0x4d8d70], ecx
xor ecx, ecx
mov dword [edx*4 + 0x4d8d74], ecx
mov dword [edx*4 + 0x4d8d78], eax
cmp dword [0x4d5a5c], 3
jne 0x408bfc
mov edx, dword [0x4d7db0]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x408a66
push 0x4b0d74
call sym._L__.exe__Error
pop ecx
or eax, 0xffffffff
jmp 0x408bfe
xor ebx, ebx
mov eax, dword [ebp - 8]
lea esi, [eax + 0xc]
jmp 0x408a7f
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_SuspendThread
inc ebx
add esi, 0x66c
cmp ebx, dword [0x4d7d98]
jl 0x408a70
xor ebx, ebx
mov eax, dword [ebp - 8]
lea edx, [eax + 0xc]
mov dword [ebp - 0xc], edx
jmp 0x408bcf
mov dword [ebp - 0x2d8], 0x10010
lea ecx, [ebp - 0x2d8]
push ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
push edx
call sub.KERNEL32.DLL_GetThreadContext
test eax, eax
je 0x408bc7
mov ecx, dword [0x4d8d70]
mov eax, dword [0x4d8d8c]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d0], eax
mov edx, dword [0x4d8da8]
mov ecx, dword [0x4d8dc4]
mov eax, 0x4d8d78
mov dword [ebp - 0x2cc], edx
xor edx, edx
mov dword [ebp - 0x2c8], ecx
mov esi, 0x400
cmp dword [eax], 0
je 0x408ba2
mov ecx, edx
add ecx, ecx
mov edi, 1
shl edi, cl
or esi, edi
mov ecx, dword [eax]
cmp ecx, 7
ja case.0x408b13.0
jmp dword [ecx*4 + 0x408b1a]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [eax - 4], 1
jmp 0x408b7a
mov dword [ebp - 4], 3
or esi, 0x100
jmp 0x408b7a
mov dword [ebp - 4], 1
or esi, 0x100
jmp 0x408b7a
mov dword [ebp - 4], 2
or esi, 0x100
jmp 0x408b7a
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [eax - 4]
sub ecx, 2
je 0x408b89
sub ecx, 2
je 0x408b8f
jmp 0x408b93
or dword [ebp - 4], 4
jmp 0x408b93
or dword [ebp - 4], 0xc
mov ecx, edx
shl ecx, 2
add ecx, 0x10
mov edi, dword [ebp - 4]
shl edi, cl
or esi, edi
inc edx
add eax, 0x1c
cmp edx, 4
jl 0x408af6
mov dword [ebp - 0x2c0], esi
lea eax, [ebp - 0x2d8]
push eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx]
push ecx
call sub.KERNEL32.DLL_SetThreadContext
inc ebx
add dword [ebp - 0xc], 0x66c
cmp ebx, dword [0x4d7d98]
jl 0x408a97
xor ebx, ebx
mov eax, dword [ebp - 8]
lea esi, [eax + 0xc]
jmp 0x408bf4
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_ResumeThread
inc ebx
add esi, 0x66c
cmp ebx, dword [0x4d7d98]
jl 0x408be5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f40c
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebx
push esi
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x40f414
mov eax, dword [esp + 0x4000]
add esp, 0xfffffdfc
push 0x104
lea eax, [esp + 8]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
test eax, eax
jne 0x40f445
mov byte [esp + 4], 0
push 0
push 0
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004a51bc
add esp, 0x14
push 0x4b1712
push str.loaddll
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004a5198
add esp, 0x14
lea edx, [esp + 4]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40f49d
xor eax, eax
jmp 0x40f53b
push str.KNOWNRESTYPE
push str.RES_LOADDLL
push 0
call sub.KERNEL32.DLL_FindResourceA
test eax, eax
jne 0x40f4ba
or eax, 0xffffffff
jmp 0x40f53b
push eax
push 0
call sub.KERNEL32.DLL_LoadResource
test eax, eax
jne 0x40f4cb
or eax, 0xffffffff
jmp 0x40f53b
push eax
call sub.KERNEL32.DLL_LockResource
test eax, eax
jne 0x40f4da
or eax, 0xffffffff
jmp 0x40f53b
push 0x4000
lea edx, [esp + 0x20c]
push edx
mov ecx, dword [eax]
push ecx
add eax, 4
push eax
call sym._L__.exe__Decompress
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40f501
or eax, 0xffffffff
jmp 0x40f53b
push 0x4b1384
lea edx, [esp + 8]
push edx
call fcn.004a5374
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x40f51e
or eax, 0xffffffff
jmp 0x40f53b
push ebx
push esi
push 1
lea edx, [esp + 0x214]
push edx
call fcn.004a5744
add esp, 0x10
push ebx
call fcn.004a4ed8
pop ecx
xor eax, eax
add esp, 0x4208
pop esi
pop ebx
ret
Function at 0x41b5a4
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, 0x4cd624
jmp 0x41b74a
dec dword [edi]
mov eax, dword [edi]
lea eax, [eax + eax*2]
mov edx, dword [eax*4 + 0x4cd628]
sub edx, 1
jb 0x41b74a
je 0x41b5da
dec edx
je 0x41b730
jmp 0x41b74a
mov eax, dword [edi]
lea eax, [eax + eax*2]
test byte [eax*4 + 0x4cd632], 1
mov ebp, dword [eax*4 + 0x4cd62c]
je 0x41b70e
push ebp
call sym._L__.exe__Findmodule
pop ecx
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x41b74a
mov eax, dword [esp + 4]
cmp dword [eax + 0x174], 0
je 0x41b74a
cmp dword [0x4d5a5c], 3
jne 0x41b64a
mov ebx, dword [0x4d7db0]
test ebx, ebx
je 0x41b64a
xor esi, esi
jmp 0x41b642
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
inc esi
add ebx, 0x66c
cmp esi, dword [0x4d7d98]
jl 0x41b632
mov esi, dword [0x4d8134]
test esi, esi
je 0x41b659
call fcn.00418e24
push ebp
call sym._L__.exe__Getbreakpointtype
test ah, 1
pop ecx
jne 0x41b6d4
mov eax, dword [esp + 4]
mov edx, ebp
sub edx, dword [eax + 0xc]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x174]
test byte [eax + edx], 2
jne 0x41b6d4
push 2
push 1
push ebp
mov ecx, ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub ecx, dword [edx + 0xc]
add ecx, dword [eax + 0x178]
push ecx
call sym._L__.exe__Readmemory
add esp, 0x10
cmp eax, 1
jne 0x41b6d4
mov byte [esp], 0xcc
push 2
push 1
push ebp
lea edx, [esp + 0xc]
push edx
call sym._L__.exe__Writememory
add esp, 0x10
cmp eax, 1
jne 0x41b6d4
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
sub ebp, dword [ecx + 0xc]
mov edx, dword [eax + 0x174]
or byte [edx + ebp], 2
cmp dword [0x4d5a5c], 3
jne 0x41b74a
mov ebx, dword [0x4d7db0]
test ebx, ebx
je 0x41b74a
test esi, esi
je 0x41b6f0
call fcn.00419034
xor esi, esi
jmp 0x41b704
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_ResumeThread
inc esi
add ebx, 0x66c
cmp esi, dword [0x4d7d98]
jl 0x41b6f4
jmp 0x41b74a
push 0
push 0
mov edx, dword [edi]
lea edx, [edx + edx*2]
mov ecx, dword [edx*4 + 0x4cd630]
or ecx, 0xc000
push ecx
push ebp
call sym._L__.exe__Setbreakpointext
add esp, 0x10
jmp 0x41b74a
push 0x4880
mov eax, dword [edi]
lea eax, [eax + eax*2]
mov edx, dword [eax*4 + 0x4cd62c]
push edx
call sym._L__.exe__Tempbreakpoint
add esp, 8
cmp dword [edi], 0
jg 0x41b5b5
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41e2b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffe00
cmp dword [0x4cd6a0], 0
je 0x41e3c2
push 6
push str.F_L__
lea eax, [esp + 8]
push eax
call fcn.004a3530
add esp, 0xc
cmp dword [0x4d3018], 0
je 0x41e317
mov ebx, dword [0x4cda51]
cmp ebx, 1
jne 0x41e2f7
mov eax, 0x4b3899
jmp 0x41e2fc
mov eax, 0x4b3904
push eax
push ebx
push 0x4b396a
lea edx, [esp + 0x12]
push edx
call fcn.004a6c2c
add esp, 0x10
add eax, 6
mov ebx, eax
jmp 0x41e344
push 0x804
mov ecx, dword [0x4cd8f9]
push ecx
lea eax, [esp + 0xe]
push eax
call sym._L__.exe__Decodethreadname
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x41e341
mov ebx, 3
mov byte [esp + ebx], 0
jmp 0x41e344
add ebx, 6
mov eax, dword [0x4cda1d]
push eax
call sym._L__.exe__Findmodule
pop ecx
test eax, eax
je 0x41e380
add eax, 0x48
push eax
push 8
cmp ebx, 3
jne 0x41e366
mov edx, 0x4b7182
jmp 0x41e36b
mov edx, 0x4b3992
push edx
push 0x4b3984
lea eax, [esp + 0x10]
add ebx, eax
push ebx
call fcn.004a6c2c
add esp, 0x14
push 0x100
lea ecx, [esp + 0x104]
push ecx
mov eax, dword [0x4cd6a0]
push eax
call sub.USER32.DLL_GetWindowTextA
push 0x100
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 8]
push ecx
call fcn.004a37a0
add esp, 0xc
test eax, eax
je 0x41e3c2
push esp
mov eax, dword [0x4cd6a0]
push eax
call sub.USER32.DLL_SetWindowTextA
add esp, 0x200
pop ebx
ret
Function at 0x42a714
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x42a71e
mov eax, dword [esp + 0x2000]
add esp, 0xfffffefc
xor ebx, ebx
xor eax, eax
mov dword [esp], eax
xor esi, esi
jmp 0x42a7a7
cmp esi, 9
je 0x42a7a6
cmp esi, 0x13
je 0x42a7a6
lea eax, [esi + 0x400]
push eax
push 0
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x2014]
push ecx
lea eax, [esp + 0x18]
add eax, ebx
push eax
call fcn.00428dc4
add esp, 0x14
mov edx, eax
lea ecx, [esp + edx + 8]
lea eax, [ecx + ebx - 1]
jmp 0x42a77d
dec edx
dec eax
test edx, edx
jle 0x42a794
mov cl, byte [eax]
mov edi, ecx
and edi, 0xff
cmp edi, 0x20
je 0x42a77b
test cl, cl
je 0x42a77b
test edx, edx
je 0x42a7a6
add ebx, edx
mov byte [esp + ebx + 8], 0xd
inc ebx
mov byte [esp + ebx + 8], 0xa
inc ebx
inc esi
cmp esi, 0x2b
jge 0x42a7b4
cmp ebx, 0x1e00
jl 0x42a740
mov byte [esp + ebx + 8], 0
inc ebx
mov edi, ebx
mov eax, edi
add eax, eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov esi, eax
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov edi, eax
test esi, esi
je 0x42a7e2
test edi, edi
jne 0x42a80b
test esi, esi
je 0x42a7ec
push esi
call sub.KERNEL32.DLL_GlobalFree
test edi, edi
je 0x42a7f6
push edi
call sub.KERNEL32.DLL_GlobalFree
add ebx, ebx
push ebx
push 0x4b493a
call sym._L__.exe__Error
add esp, 8
or eax, 0xffffffff
jmp 0x42a86c
push esi
call sub.KERNEL32.DLL_GlobalLock
mov dword [esp + 4], eax
push edi
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
push ebx
lea eax, [esp + 0xc]
push eax
push ebp
call fcn.004a3530
add esp, 0xc
push ebx
mov edx, dword [esp + 8]
push edx
push ebx
push ebp
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push esi
call sub.KERNEL32.DLL_GlobalUnlock
push edi
call sub.KERNEL32.DLL_GlobalUnlock
push 0
call sub.USER32.DLL_OpenClipboard
call sub.USER32.DLL_EmptyClipboard
push esi
push 0xd
call sub.USER32.DLL_SetClipboardData
push edi
push 1
call sub.USER32.DLL_SetClipboardData
call sub.USER32.DLL_CloseClipboard
xor eax, eax
add esp, 0x2108
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43c95c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x4b9a93
push 0x80000000
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x43ca56
push 0x4d3764
push str.__s____1_
lea edx, [ebp - 0x20c]
push edx
call fcn.004a6c2c
add esp, 0xc
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x204
push ecx
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x4b8e51
mov edx, dword [ebp - 8]
push edx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x43ca0a
lea ecx, [ebp - 0x410]
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.004a38bc
add esp, 8
test eax, eax
jne 0x43ca0a
push 0
push 0x157e
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0x4b9ac6
lea edx, [ebp - 0x614]
push edx
call fcn.004a6c2c
add esp, 8
jmp 0x43ca38
push 1
push 0x157e
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
lea ecx, [ebp - 0x410]
lea eax, [ebp - 0x614]
push ecx
push 0x4b9ae8
push eax
call fcn.004a6c2c
add esp, 0xc
push 1
push 0x157f
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
mov edx, dword [ebp - 8]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x43ca91
mov esi, 0x4b9b11
lea edi, [ebp - 0x614]
mov eax, edi
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 1
push 0x157e
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0
push 0x157f
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
lea edx, [ebp - 0x614]
push edx
push 0x157d
push ebx
call sub.USER32.DLL_SetDlgItemTextA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453e40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test byte [esi + 0x236], 0x20
je 0x453e6f
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
call sub.USER32.DLL_GetClassNameA
jmp 0x453e81
push 0x100
lea edx, [ebp - 0x204]
push edx
push edi
call sub.USER32.DLL_GetWindowTextA
test byte [esi + 0x236], 2
je 0x453f44
xor ebx, ebx
lea eax, [ebp - 0x204]
jmp 0x453ea3
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x2d
je 0x453eb0
inc ebx
inc eax
cmp ebx, 0x100
jge 0x453eb0
cmp byte [eax], 0
jne 0x453e98
lea eax, [ebp + ebx - 0x205]
jmp 0x453ebb
dec ebx
dec eax
test ebx, ebx
jle 0x453ecd
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x2d
je 0x453eb9
cmp edx, 0x20
je 0x453eb9
mov byte [ebp + ebx - 0x204], 0
mov dword [ebp - 0x230], 0x2c
lea ecx, [ebp - 0x230]
push ecx
push edi
call sub.USER32.DLL_GetWindowPlacement
mov ecx, dword [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x208]
mov edx, dword [ebp - 0x210]
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x214]
sub ecx, eax
push ecx
push edx
push eax
push str._i__i__i__i__i
lea edx, [ebp - 0x104]
push edx
call fcn.004a6c2c
add esp, 0x1c
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x204]
push 0x4d53a4
push eax
push edx
push str.Placement
call sub.KERNEL32.DLL_WritePrivateProfileStringA
test byte [esi + 0x236], 0x22
je 0x454013
movsx ecx, word [esi + 0x23f]
push ecx
movsx eax, word [esi + 0x231]
push eax
mov edx, dword [esi + 0x22d]
push edx
lea edx, [ebp - 0x104]
movsx ecx, word [esi + 0x23d]
push ecx
mov eax, dword [esi + 0x239]
push eax
push str._i__i__i__i__i
push edx
call fcn.004a6c2c
add esp, 0x1c
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x204]
push 0x4d53a4
push ecx
push eax
push str.Appearance
call sub.KERNEL32.DLL_WritePrivateProfileStringA
xor ebx, ebx
xor edi, edi
lea eax, [esi + 0x144]
mov dword [ebp - 4], eax
jmp 0x453fda
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x104]
add eax, edi
mov ecx, dword [edx]
push ecx
push 0x4bb540
push eax
call fcn.004a6c2c
add esp, 0xc
add edi, eax
inc ebx
add dword [ebp - 4], 4
cmp ebx, dword [esi + 0x13c]
jge 0x453fea
cmp edi, 0xf4
jl 0x453fb7
test edi, edi
jle 0x453ff6
mov byte [ebp + edi - 0x105], 0
push 0x4d53a4
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0x204]
push ecx
push str.Columns
call sub.KERNEL32.DLL_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret