joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45af40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4883d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x489510]
push 0
lea ecx, [esp + 0x20]
call fcn.004814cf
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0045a8e0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004813fd
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047dcc1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047dcc1
push 1
push 0
push 0
mov ecx, esi
call fcn.0047dc69
push 1
push 0
push 1
mov ecx, esi
call fcn.0047dc69
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00481541
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x45b0c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4883f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004814cf
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045a8e0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004813fd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x489510]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x45b184
cmp dword [esp + 0x40], 1
jne 0x45b182
cmp ecx, eax
jge 0x45b184
mov eax, ecx
cmp eax, 0xc8
jge 0x45b190
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045af40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x48950c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00481541
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x45b900
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047c0e1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4890e4]
push eax
mov ecx, edi
call fcn.00481777
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00482c93
test eax, eax
je 0x45ba1c
mov ecx, dword [esp + 0x3c]
call fcn.004817a4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4895e8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45b9e0
push edi
mov ecx, esi
call fcn.0047ee08
mov ecx, esi
call fcn.0045bb80
cmp dword [esp + 0x38], 1
jne 0x45ba15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047ef43
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x45e430
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45e463
push esi
call fcn.00461540
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45e45c
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 0x45e4e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45e4d2
mov eax, dword [esi + 8]
test eax, eax
je 0x45e487
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 0x45e4ce
cmp eax, 2
je 0x45e4d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45e47a
cmp eax, 3
je 0x45e4ad
cmp eax, 1
jne 0x45e47a
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 0x45e47a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45e47a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045e510
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45e4f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045e510
add esp, 4
pop esi
ret
Function at 0x833451
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
sub edi, 4
pushal
mov byte [esp], 0x1e
push dword [edi]
pop dword [esp + 0x3c]
push dword [esp]
call int.00833451
neg cl
mov ecx, dword [ebp + 0xc]
test ah, 0x37
mov word [esp + 4], 0x4a70
cmp ecx, 0xffff
jmp 0x830fb0
jmp fcn.00834bf4
cmp edi, ebx
push edx
lea esp, [esp + 0x48]
ja 0x833d3a
bt bx, 3
sub ebx, edi
clc
or al, al
add ebx, esp
not al
cmc
mov edi, ebx
and al, bh
add al, 0xa4
ror al, 5
adc al, 0x54
mov al, 0x2e
clc
repne scasb al, byte es:[edi]
pushal
mov byte [esp + 0x10], 0x9a
pushal
push ebp
lea esp, [esp + 0x44]
jne 0x835b17
movzx ax, al
mov byte [edi - 1], 0
not al
bswap ax
push edx
lea eax, [0x51040f2a]
mov dword [esp], ebx
mov ah, bh
lea eax, [0x833768]
push ebp
push dword [esp]
mov dword [esp + 4], 0x833102
pushfd
mov dword [esp + 4], eax
pushal
push dword [esp + 0x24]
ret 0x28
jae 0x8303e6
sub edi, 4
cmp ch, 0xcd
push dword [edi]
call fcn.00830d79

Function at 0x833d0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
pushfd
lea esp, [esp + 0x10]
jne 0x83a1c3
not ecx
ror si, 8
mov ecx, edi
shl si, 7
add esi, 0x6df4bff2
stc
lea esi, [edx*2 + 0x23384f22]
sub ecx, ebx
test bl, dh
mov si, 0x4620
mov esi, esp

Function at 0x413841
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004138c0
jae 0x41384d
xor ecx, ecx
call fcn.004138c0
jae 0x413877
xor eax, eax
call fcn.004138c0
jae 0x413888
mov al, 0x10
call fcn.004138c0
adc al, al
jae 0x413869
jne 0x4138b5
stosb byte es:[edi], al
jmp 0x41384e
call fcn.004138cc
dec ecx
loop 0x413894
mov eax, ebp
call fcn.004138ca
jmp 0x4138b6
lodsb al, byte [esi]
shr eax, 1
je 0x4138dc
adc ecx, 2
mov ebp, eax
jmp 0x4138b6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004138ca
cmp eax, 0x7d00
jae 0x4138b4
cmp eax, 0x500
jae 0x4138b5
cmp eax, 0x7f
ja 0x4138b6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41384e
pop ebp
ret 8
Function at 0x401570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df9c4
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.004ab390
xor ebp, ebp
mov dword [esi + 0x24], 0x4e5ba0
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.0049d180
mov al, byte [esp + 0xf]
mov dword [esi + 0x30], 0x4e5b90
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.00491630
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 4
call fcn.004a62d0
lea ecx, [esi + 0x79c]
mov byte [esp + 0x1c], 5
call fcn.004a62d0
lea ecx, [esi + 0x2f50]
mov byte [esp + 0x1c], 6
call fcn.0045e870
lea ecx, [esi + 0x2f68]
mov byte [esp + 0x1c], 7
call fcn.0045e870
lea ecx, [esi + 0x2f80]
mov byte [esp + 0x1c], 8
call fcn.0045e870
lea ecx, [esi + 0x2f9c]
mov byte [esp + 0x1c], 9
call fcn.0045e870
lea ecx, [esi + 0x2ffc]
mov byte [esp + 0x1c], 0xa
call fcn.0045e870
lea ecx, [esi + 0x3014]
mov byte [esp + 0x1c], 0xb
call fcn.0045e870
push ebp
lea ecx, [esi + 0x50dc]
mov byte [esp + 0x20], 0xc
call fcn.0048cc10
mov dword [esi], 0x4e5b7c
mov dword [esi + 0x24], 0x4e5b74
mov dword [edi], 0x4e5b70
mov dword [esi + 0x30], 0x4e5b60
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 0x401589
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df9c4
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.004ab390
xor ebp, ebp
mov dword [esi + 0x24], 0x4e5ba0
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.0049d180
mov al, byte [esp + 0xf]
mov dword [esi + 0x30], 0x4e5b90
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.00491630
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 4
call fcn.004a62d0
lea ecx, [esi + 0x79c]
mov byte [esp + 0x1c], 5
call fcn.004a62d0
lea ecx, [esi + 0x2f50]
mov byte [esp + 0x1c], 6
call fcn.0045e870
lea ecx, [esi + 0x2f68]
mov byte [esp + 0x1c], 7
call fcn.0045e870
lea ecx, [esi + 0x2f80]
mov byte [esp + 0x1c], 8
call fcn.0045e870
lea ecx, [esi + 0x2f9c]
mov byte [esp + 0x1c], 9
call fcn.0045e870
lea ecx, [esi + 0x2ffc]
mov byte [esp + 0x1c], 0xa
call fcn.0045e870
lea ecx, [esi + 0x3014]
mov byte [esp + 0x1c], 0xb
call fcn.0045e870
push ebp
lea ecx, [esi + 0x50dc]
mov byte [esp + 0x20], 0xc
call fcn.0048cc10
mov dword [esi], 0x4e5b7c
mov dword [esi + 0x24], 0x4e5b74
mov dword [edi], 0x4e5b70
mov dword [esi + 0x30], 0x4e5b60
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 0x402390
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x2104
call fcn.004ace40
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.00402b40
test eax, eax
push 0x50fce0
je 0x402466
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 0x40258a
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.0044f7f0
add esp, 0xc
test eax, eax
je 0x40256d
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.00404ac0
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 0x40257e
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.00404ac0
mov dword [esi + 0xe98], 0
pop edi
pop esi
pop ebx
add esp, 0x2104
ret
Function at 0x40301a
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x403030
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x40303a
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 0x4030e2
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.00497b00
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00402bb0
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.00401cd0
mov eax, dword [esi + 0x2fb8]
test eax, eax
je 0x40311d
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.00402f50
push edi
mov ecx, esi
call fcn.00402d50
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 0x4031a1
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 0x403ec0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004ace40
push esi
mov esi, ecx
cmp word [esi + 0x3044], 0
lea eax, [esi + 0x3044]
je 0x403eeb
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.0046f3e0
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea ecx, [esp + 8]
push 0x4f6570
push ecx
call edi
add esp, 8
test eax, eax
je 0x403f46
mov word [eax], 0x2e
jmp 0x403f2c
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.004031e0
mov eax, dword [esp + 0x1054]
pop edi
test eax, eax
jne 0x403f67
mov ecx, esi
call fcn.00403c10
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.00404970
pop esi
add esp, 0x1048
ret 4
Function at 0x404870
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 0x404962
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x4048bf
xor ebx, ebx
jmp 0x4048d1
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x4048d1
mov ebx, 0x18
mov ecx, dword [0x4f6600]
mov edx, dword [0x4f6604]
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 0x404955
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x40490c
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 0x40494b
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 0x404908
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