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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4402c3
push esi
call fcn.004433a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4402bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440349
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440332
mov eax, dword [esi + 8]
test eax, eax
je 0x4402e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44032e
cmp eax, 2
je 0x440332
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4402da
cmp eax, 3
je 0x44030d
cmp eax, 1
jne 0x4402da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4402da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4402da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440370
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440358
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440370
add esp, 4
pop esi
ret

Function at 0x44b640
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44b6a6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44b6a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44b687
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44ba30
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44ba68
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44c790
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44c7d9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44cc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e8c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044c800
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044c880
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044c880
lea ecx, [esi + 0xc]
call fcn.00460086
lea ecx, [esi + 0x10]
call fcn.00460086
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044de10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044de10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044de10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004600fb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004600fb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4624a2
Capabilities:
Get graphical window text

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

Function at 0x463b94
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 0x463bd6
call fcn.00469a0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463bd6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463bcd
xor eax, eax
jmp 0x463bde
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463be4
pop edi
pop esi
pop ebx
ret 4

Function at 0x469f3a
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 0x469f68
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469f86
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469ea0
jmp 0x469f86
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469f86
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469ea0
test edi, edi
mov eax, edi
jne 0x469f70
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401220
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x618
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov cx, word [0x50fd10]
xor eax, eax
mov word [esp + 0x214], cx
mov ecx, 0x81
lea edi, [esp + 0x216]
push 0x4f6110
rep stosd dword es:[edi], eax
push 0x5b
stosw word es:[edi], ax
call fcn.00464780
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 4
lea edx, [esp + 0x218]
push eax
push 0x103
push edx
call ebx
add esp, 0x10
cmp word [0x6dfe20], 0
je 0x4012e3
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
push 0x6dfe20
push 0x4f6110
stosw word es:[edi], ax
push str._s__s
lea eax, [esp + 0x18]
push 0x103
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0xc]
push str.3.0.7.8
push ecx
push 0x5c
call fcn.00464780
add esp, 4
lea edx, [esp + 0x21c]
push eax
push 0x104
push edx
call ebx
add esp, 0x14
cmp word [0x6dedd8], 0
je 0x401366
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0xc]
push 0x6dedd8
push edx
push str._s__s
lea eax, [esp + 0x428]
push 0x103
push eax
call ebx
mov edx, dword [esi + 4]
add esp, 0x14
lea ecx, [esp + 0x41c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x214]
push eax
push 0x409
push ecx
call edi
push str.3.0.7.8
push 0x5c
call fcn.00464780
add esp, 4
lea edx, [esp + 0x218]
push eax
push 0x103
push edx
call ebx
mov ecx, dword [esi + 4]
add esp, 0x10
lea eax, [esp + 0x214]
push eax
push 0x40a
push ecx
call edi
lea edi, [esi + 8]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00440c20
mov edx, dword [esi + 4]
push 0x40b
push edx
mov ecx, edi
call fcn.00441110
lea edi, [esi + 0x27c]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00440c20
mov eax, dword [esi + 4]
push 0x40c
push eax
mov ecx, edi
call fcn.00441110
pop edi
pop esi
pop ebx
add esp, 0x618
ret
Function at 0x401660
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df614
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004ab030
xor ebp, ebp
mov dword [esi + 0x24], 0x4e5b90
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.0049ce10
mov al, byte [esp + 0xf]
mov dword [esi + 0x30], 0x4e5b80
mov byte [esi + 0x34], al
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 3
call fcn.004912d0
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 4
call fcn.004a5f80
lea ecx, [esi + 0x79c]
mov byte [esp + 0x1c], 5
call fcn.004a5f80
lea ecx, [esi + 0x2f50]
mov byte [esp + 0x1c], 6
call fcn.0045df60
lea ecx, [esi + 0x2f68]
mov byte [esp + 0x1c], 7
call fcn.0045df60
lea ecx, [esi + 0x2f80]
mov byte [esp + 0x1c], 8
call fcn.0045df60
lea ecx, [esi + 0x2f9c]
mov byte [esp + 0x1c], 9
call fcn.0045df60
lea ecx, [esi + 0x2ffc]
mov byte [esp + 0x1c], 0xa
call fcn.0045df60
lea ecx, [esi + 0x3014]
mov byte [esp + 0x1c], 0xb
call fcn.0045df60
push ebp
lea ecx, [esi + 0x50dc]
mov byte [esp + 0x20], 0xc
call fcn.0048c8b0
mov dword [esi], 0x4e5b6c
mov dword [esi + 0x24], 0x4e5b64
mov dword [edi], 0x4e5b60
mov dword [esi + 0x30], 0x4e5b50
mov dword [esi + 0x44], ebp
mov dword [esi + 0x2f3c], ebp
mov dword [esi + 0x2f40], ebp
mov dword [esi + 0x2ff0], ebp
mov dword [esi + 0x2fbc], 5
mov dword [esi + 0x2fc0], ebp
mov dword [esi + 0x2fc4], ebp
mov dword [esi + 0x2fc8], ebp
mov dword [esi + 0x2fcc], 0x1a
mov dword [esi + 0x2fd8], ebp
mov eax, 3
mov dword [esi + 0x2fdc], 5
mov dword [esi + 0x2fd0], eax
mov edx, 0x20
mov dword [esi + 0x2f4c], eax
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x408c]
mov dword [esi + 0x2ff4], ebp
mov dword [esi + 0x2fd4], 0x10
mov dword [esi + 0x2fe0], ebp
mov dword [esi + 0x2fe4], ebp
mov dword [esi + 0x2fe8], ebp
mov dword [esi + 0x2fec], 0xa9a9a9
mov dword [esi + 0x2fb8], ebp
mov dword [esi + 0x2fb4], ebp
mov dword [esi + 0x2f38], edx
mov dword [esi + 0xe8c], ebp
mov dword [esi + 0xe90], ebp
mov dword [esi + 0xe94], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x2f34], ebp
mov dword [esi + 0x2f44], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x3044]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [esi + 0x50d8], eax
mov dword [esi + 0x50d4], eax
mov dword [esi + 0xe98], ebp
mov word [esi + 0xe9c], bp
mov word [esi + 0x1ee4], bp
mov dword [esi + 0x2f2c], ebp
mov dword [esi + 0x2f30], ebp
mov dword [esi + 0x5114], ebp
mov dword [esi + 0x3040], 0x12
mov dword [esi + 0x3030], ebp
mov dword [esi + 0x2ff8], ebp
mov dword [esi + 0x3034], edx
mov dword [esi + 0x303c], edx
mov dword [esi + 0x2f98], ebp
mov dword [esi + 0x3038], ebp
mov dword [esi + 0x2f48], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401679
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df614
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004ab030
xor ebp, ebp
mov dword [esi + 0x24], 0x4e5b90
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.0049ce10
mov al, byte [esp + 0xf]
mov dword [esi + 0x30], 0x4e5b80
mov byte [esi + 0x34], al
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 3
call fcn.004912d0
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 4
call fcn.004a5f80
lea ecx, [esi + 0x79c]
mov byte [esp + 0x1c], 5
call fcn.004a5f80
lea ecx, [esi + 0x2f50]
mov byte [esp + 0x1c], 6
call fcn.0045df60
lea ecx, [esi + 0x2f68]
mov byte [esp + 0x1c], 7
call fcn.0045df60
lea ecx, [esi + 0x2f80]
mov byte [esp + 0x1c], 8
call fcn.0045df60
lea ecx, [esi + 0x2f9c]
mov byte [esp + 0x1c], 9
call fcn.0045df60
lea ecx, [esi + 0x2ffc]
mov byte [esp + 0x1c], 0xa
call fcn.0045df60
lea ecx, [esi + 0x3014]
mov byte [esp + 0x1c], 0xb
call fcn.0045df60
push ebp
lea ecx, [esi + 0x50dc]
mov byte [esp + 0x20], 0xc
call fcn.0048c8b0
mov dword [esi], 0x4e5b6c
mov dword [esi + 0x24], 0x4e5b64
mov dword [edi], 0x4e5b60
mov dword [esi + 0x30], 0x4e5b50
mov dword [esi + 0x44], ebp
mov dword [esi + 0x2f3c], ebp
mov dword [esi + 0x2f40], ebp
mov dword [esi + 0x2ff0], ebp
mov dword [esi + 0x2fbc], 5
mov dword [esi + 0x2fc0], ebp
mov dword [esi + 0x2fc4], ebp
mov dword [esi + 0x2fc8], ebp
mov dword [esi + 0x2fcc], 0x1a
mov dword [esi + 0x2fd8], ebp
mov eax, 3
mov dword [esi + 0x2fdc], 5
mov dword [esi + 0x2fd0], eax
mov edx, 0x20
mov dword [esi + 0x2f4c], eax
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x408c]
mov dword [esi + 0x2ff4], ebp
mov dword [esi + 0x2fd4], 0x10
mov dword [esi + 0x2fe0], ebp
mov dword [esi + 0x2fe4], ebp
mov dword [esi + 0x2fe8], ebp
mov dword [esi + 0x2fec], 0xa9a9a9
mov dword [esi + 0x2fb8], ebp
mov dword [esi + 0x2fb4], ebp
mov dword [esi + 0x2f38], edx
mov dword [esi + 0xe8c], ebp
mov dword [esi + 0xe90], ebp
mov dword [esi + 0xe94], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x2f34], ebp
mov dword [esi + 0x2f44], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x3044]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [esi + 0x50d8], eax
mov dword [esi + 0x50d4], eax
mov dword [esi + 0xe98], ebp
mov word [esi + 0xe9c], bp
mov word [esi + 0x1ee4], bp
mov dword [esi + 0x2f2c], ebp
mov dword [esi + 0x2f30], ebp
mov dword [esi + 0x5114], ebp
mov dword [esi + 0x3040], 0x12
mov dword [esi + 0x3030], ebp
mov dword [esi + 0x2ff8], ebp
mov dword [esi + 0x3034], edx
mov dword [esi + 0x303c], edx
mov dword [esi + 0x2f98], ebp
mov dword [esi + 0x3038], ebp
mov dword [esi + 0x2f48], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402480
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x2104
call fcn.004acae0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x82]
mov word [esp + 0x80], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x2f3c]
push 0x823
stosw word es:[edi], ax
lea eax, [esp + 0x84]
mov dword [esi + 0xe98], 1
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0xc], 0x74
mov dword [esp + 0x10], 0x40000000
call fcn.00402c30
test eax, eax
push 0x50fd10
je 0x402556
mov edx, dword [esi + 0x2f3c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push edx
call edi
mov eax, dword [esi + 0x2f3c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x459
push eax
call ebx
mov edx, dword [esi + 0x2f3c]
lea ecx, [esp + 0x80]
push ecx
push edx
call edi
mov eax, dword [esi + 0x2fe4]
mov edx, dword [esi + 0x2f3c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
push ecx
push 4
push 0x444
push edx
jmp 0x40267a
mov eax, dword [esi + 0x2f3c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
mov ecx, dword [esi + 0x2f3c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push 0x459
push ecx
call ebx
mov eax, dword [esi + 0x2f3c]
lea edx, [esp + 0x80]
push edx
push eax
call edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x10ca]
mov word [esp + 0x10c8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10c8]
push 0x823
lea edx, [esp + 0x84]
push ecx
push edx
stosw word es:[edi], ax
call fcn.0044ef60
add esp, 0xc
test eax, eax
je 0x40265d
mov edx, dword [esi + 0x2f3c]
mov eax, dword [esi + 0x2fec]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
push ecx
push 4
push 0x444
push edx
call ebx
lea eax, [esp + 0x10c8]
lea ecx, [esp + 0x80]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
lea edx, [esp + 0x88]
lea eax, [esp + 0x10d0]
sub edi, edx
push eax
sar edi, 1
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
add eax, edi
mov ecx, esi
push eax
push edi
call fcn.00404bb0
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x2fe8]
push edx
mov dword [esp + 0x10], 0x74
mov dword [esp + 0x14], 0x40000000
mov dword [esp + 0x24], ecx
push 1
jmp 0x40266e
mov ecx, dword [esi + 0x2fe4]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x24], ecx
push 4
mov eax, dword [esi + 0x2f3c]
push 0x444
push eax
call ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404bb0
mov dword [esi + 0xe98], 0
pop edi
pop esi
pop ebx
add esp, 0x2104
ret
Function at 0x40310a
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x403120
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x40312a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebp
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2f44]
test eax, eax
je 0x4031d2
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x2f44]
lea eax, [esp + 0x34]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, edx
push ecx
mov ecx, dword [esi + 0x2f44]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00497790
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00402ca0
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.00401dc0
mov eax, dword [esi + 0x2fb8]
test eax, eax
je 0x40320d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
push edi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push edi
mov ecx, esi
call fcn.00403040
push edi
mov ecx, esi
call fcn.00402e40
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
push eax
push ecx
sub edx, eax
push edi
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x88]
pop edi
test eax, eax
pop ebp
je 0x403291
mov edx, dword [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
pop esi
pop ebx
add esp, 0x74
ret 4
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
add esp, 0x74
ret 4
Function at 0x403fb0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004acae0
push esi
mov esi, ecx
cmp word [esi + 0x3044], 0
lea eax, [esi + 0x3044]
je 0x403fdb
push eax
mov eax, dword [esi + 0x2f3c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x2f3c]
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x824
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
push eax
call fcn.0046ef00
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea ecx, [esp + 8]
push 0x4f657c
push ecx
call edi
add esp, 8
test eax, eax
je 0x404036
mov word [eax], 0x2e
jmp 0x40401c
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.004032d0
mov eax, dword [esp + 0x1054]
pop edi
test eax, eax
jne 0x404057
mov ecx, esi
call fcn.00403d00
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
and eax, 0xffff
or eax, 0xb0000
push eax
mov eax, dword [esi + 0x2f40]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 0x2009
push ecx
mov word [esi + 0xe9c], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00404a60
pop esi
add esp, 0x1048
ret 4
Function at 0x404960
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x214
push esi
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404a52
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x4049af
xor ebx, ebx
jmp 0x4049c1
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x4049c1
mov ebx, 0x18
mov ecx, dword [0x4f660c]
mov edx, dword [0x4f6610]
mov dword [esp + 0x18], ecx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x404a45
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x4049fc
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [edx - 8]
test ecx, ecx
jle 0x404a3b
lea eax, [esp + 0x22]
push 0xa
push eax
push edi
call ebp
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
inc edi
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x4049f8
pop ebp
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x214
ret