joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442bd40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e1a20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.04429880
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x442bd99
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.04426c10
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.04426c00
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0442b3f0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [fcn.043e4410]
push 0
lea ecx, [esp + 0x4c]
call 0x44781d3
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call 0x4442170
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.044292a0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [fcn.043e40e4]
mov ecx, ebx
call fcn.04426b80
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x442be64
push edi
mov ecx, esi
call fcn.044293b0
push eax
push ebp
mov ecx, esi
call fcn.04429570
cmp eax, dword [esp + 0x40]
jg 0x442be60
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x442be3e
mov eax, ebx
jmp 0x442be6a
cmp edi, ebx
jl 0x442be68
mov eax, ebx
jmp 0x442be6a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x442be7b
mov dword [esp + 0x30], eax
jmp 0x442be86
cmp edi, ebx
jl 0x442be81
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.04426b40
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x442becd
push edi
mov ecx, esi
call fcn.044292d0
push eax
push ebx
mov ecx, esi
call fcn.044296a0
cmp eax, dword [esp + 0x44]
jg 0x442bec5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x442be9f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x442bed7
cmp edi, ebp
jl 0x442bed1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x442bed7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x442bee0
mov ecx, eax
jmp 0x442bee9
cmp edi, ebp
jl 0x442bee6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.044292c0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call 0x4478245
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4431f60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43e1ed8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4431f99
inc eax
mov dword [esi + 0x10], eax
jmp 0x44320ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4431fad
mov eax, 0xffffffc7
jmp 0x44320ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4431fbe
cmp dword [esi + 8], eax
jne 0x4431fad
cmp dword [esi + 8], eax
jne 0x4431fd7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4431fd7
mov eax, 0xffffffc7
jmp 0x44320ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4431feb
push eax
mov ecx, ebx
call fcn.04431790
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.044072a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x443201c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.044072c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.04430f00
test eax, eax
mov dword [esp + 0x38], eax
je 0x443204f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x43e8d38
call fcn.044074a0
mov eax, dword [esp + 0x38]
jmp 0x44320ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.04431dc0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4432093
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.04431de0
mov esi, eax
test esi, esi
jne 0x44320c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.04431dc0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4432065
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x43e8d38
call fcn.044074a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x43e8d38
call fcn.044074a0
mov eax, esi
jmp 0x44320ae
Function at 0x401630
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x30
mov esi, ecx
push 0
push esi
call fcn.00446f50
push 0x110
lea eax, [ebp - 0x114]
mov dword [esi], 0x30
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00446f50
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4016a0
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x4016a6
cmp eax, 4
jne 0x4016a0
cmp dword [ebp - 0x110], 0x5a
jae 0x4016a6
mov dword [esi], 0x2c
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00444abb
mov esp, ebp
pop ebp
ret
Function at 0x4050c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462266
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40516c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40516c
call fcn.004024b0
mov edi, eax
jmp 0x40528b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40518f
call fcn.004024b0
jmp 0x40527e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4051ad
call fcn.004024b0
jmp 0x40527e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4051ce
mov edi, 0x8007000e
jmp 0x405280
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4052c4
jb 0x4051ec
cmp eax, 0xffffffff
ja 0x4052c4
cmp eax, 0x400
jbe 0x405201
push eax
lea ecx, [ebp - 0x418]
call fcn.00402330
jmp 0x405227
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x405227
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40523e
mov edi, 0x8007000e
jmp 0x405280
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40525e
call fcn.004024b0
jmp 0x40527e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00404f20
mov edi, eax
test esi, esi
je 0x40528b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4052a4
lea ecx, [ebp - 0x418]
call fcn.004032e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004024f0
int3
Function at 0x405c70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
mov edi, ecx
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
je 0x405e06
push esi
push 0
push 0
push 0xb
push dword [edi + 4]
call ebx
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004071a0
xor esi, esi
push esi
push esi
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
jle 0x405d58
nop word [eax + eax]
test byte [edi + 0x7c], 1
lea ecx, [ebp - 0x30]
mov eax, dword [edi + 0x24]
xorps xmm0, xmm0
push ecx
push esi
push 0x133c
mov dword [ebp - 0x30], 8
movups xmmword [ebp - 0x2c], xmm0
push eax
movups xmmword [ebp - 0x1c], xmm0
je 0x405d03
call ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x405d10
call ebx
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 8
push eax
push esi
push 0x133c
push dword [edi + 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
call fcn.00444384
add esp, 4
inc esi
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
cmp esi, eax
jl 0x405cd0
push 0
push 0
push 0x1309
push dword [edi + 0x24]
call ebx
mov eax, dword [edi + 4]
push eax
mov dword [edi + 0x50], 0xffffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
call ebx
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.00407a30
mov edx, dword [edi + 0x60]
pop esi
test edx, edx
je 0x405e06
mov cl, byte [edi + 0x7c]
mov al, cl
shr al, 3
and al, 1
movzx eax, al
push eax
mov al, cl
shr al, 2
and al, 1
movzx eax, al
push eax
mov al, cl
shr cl, 4
shr al, 5
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, edi
push eax
push dword [edi + 0x68]
push edx
call fcn.00402740
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, ecx
push 0
push 0
push 0xb
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x50]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 0xffffffff
je 0x406ce2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 8
push ecx
push eax
push 0x133c
push dword [esi + 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x10], xmm0
call edi
push 0
push dword [ebp - 0xc]
call ebx
mov eax, dword [ebp + 8]
push 0
push eax
push 0x130c
push dword [esi + 0x24]
mov dword [esi + 0x50], eax
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 8
push eax
push dword [esi + 0x50]
xorps xmm0, xmm0
push 0x133c
push dword [esi + 0x24]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x10], xmm0
call edi
push 1
push dword [ebp - 0xc]
call ebx
mov ecx, esi
call fcn.004071a0
push 0
push 1
push 0xb
push dword [esi + 4]
call edi
push 0x581
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ebx, dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x406d7a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 8
push eax
push dword [esi + 0x50]
xorps xmm0, xmm0
push 0x133c
push ebx
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x10], xmm0
call edi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.00407a30
mov edx, dword [esi + 0x60]
test edx, edx
je 0x406dc1
mov cl, byte [esi + 0x7c]
mov al, cl
shr al, 3
and al, 1
movzx eax, al
push eax
mov al, cl
shr al, 2
and al, 1
movzx eax, al
push eax
mov al, cl
shr cl, 4
shr al, 5
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, esi
push eax
push dword [esi + 0x68]
push edx
call fcn.00402740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408480
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462458
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4826d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x408370
mov byte [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 0x10], 0
je 0x4084d9
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.ddraw.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x408509
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x4084fc
call esi
mov esi, eax
jmp 0x408569
call esi
movzx esi, ax
or esi, 0x80070000
jmp 0x408569
push str.DirectDrawCreateEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40855d
mov dword [ebp + 8], 0
push 0
push 0x46d468
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
push ecx
push 2
call eax
mov esi, eax
test esi, esi
js 0x408547
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x408562
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408562
mov esi, 0x80004001
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x88760245
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea eax, [esi - 0x20]
neg esi
sbb esi, esi
and esi, eax
cmp dword [ebp + 0x14], 0
je 0x408e5e
push ebx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
js 0x408eaf
mov edi, dword [ebp + 0xc]
mov ecx, 1
mov edx, dword [edi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, ebx
or ecx, eax
jge 0x408dbb
push ebx
mov ecx, edi
call fcn.00404230
mov edx, dword [edi]
cmp ebx, dword [edx - 8]
jg 0x408eaf
mov dword [edx - 0xc], ebx
xor ecx, ecx
mov eax, dword [edi]
mov word [eax + ebx*2], cx
lea eax, [ebx + 1]
push eax
push edx
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
test eax, eax
jne 0x408dea
xor ecx, ecx
jmp 0x408e00
push dword [eax - 8]
push eax
call fcn.0044c2df
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x408eaf
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x408eaf
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
cmp dword [ebp + 0xc], ebx
pop ebx
mov word [eax + ecx*2], dx
jge 0x408e20
xor edi, edi
jmp 0x408e75
cmp dword [ebp + 0x18], edx
je 0x408ea2
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, dword [ebp + 0x1c]
jle 0x408ea2
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
lea eax, [esi + 0x20]
neg eax
sbb eax, eax
and eax, esi
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
call eax
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, eax
test edi, edi
jne 0x408ea7
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esi + 0x20]
neg ecx
sbb ecx, ecx
and ecx, esi
push dword [ecx + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
push 0x80070057
call fcn.004024f0
int3
Function at 0x4092e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462508
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4826d4]
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
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x409407
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x409411
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40935e
push edi
lea ecx, [ebp - 0x3c]
call fcn.00404230
mov esi, dword [ebp - 0x3c]
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x409378
push dword [esi - 8]
push esi
call fcn.0044c2df
add esp, 8
test eax, eax
js 0x409411
cmp eax, dword [esi - 8]
jg 0x409411
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.0044a6a7
mov edi, dword [ebp + 0xc]
mov ecx, eax
add esp, 4
cmp ecx, edi
jl 0x4093ad
cmp ecx, dword [ebp + 0x10]
mov edi, ecx
cmovg edi, dword [ebp + 0x10]
cmp byte [ebp + 0x14], 0
je 0x4093ca
push 0xa
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.0044c273
add esp, 0xc
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4093e9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00444abb
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024f0
push 0x80070057
call fcn.004024f0
int3

Function at 0x409940
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46262b
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x4826d4]
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 edi, ecx
mov dword [ebp - 0x5bc], edi
mov dword [ebp - 0x5b8], 0
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x409e7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5b0], eax
lea eax, [ebp - 0x5b4]
mov dword [ebp - 4], 0
push 0xbb
push eax
call fcn.00424890
add esp, 8
push eax
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 1
call fcn.004019b0
mov edx, dword [ebp - 0x5b4]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
invalid
Function at 0x40bd90
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
jne 0x40bf88
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x110
jne 0x40bef6
mov eax, dword [edi + 0x18]
lea ebx, [edi + 4]
push ebx
mov dword [eax + 0x20], 1
call fcn.00424f70
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
cmp byte [edi + 0x20], 0
je 0x40be4a
lea eax, [ebp + 0x14]
push 0xe5
push eax
call fcn.00424890
add esp, 8
push dword [eax]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp + 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40be0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x42d
push dword [ebx]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x42e
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call esi
push 0x42f
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
mov ecx, ebx
call fcn.00408ab0
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi + 0x24]
xor edx, edx
lea ecx, [edi + 0x20]
test ecx, ecx
mov eax, edi
push 0x419
cmove eax, edx
mov dword [ebp + 0x14], eax
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
jne 0x40beb8
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [ebp + 0x14]
push 0x419
lea eax, [ecx + 0x20]
neg eax
sbb eax, eax
and eax, ecx
push dword [eax + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0x419
push dword [ebx]
call esi
push 0
push 0x104
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x40bf88
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp ecx, 0x111
jne 0x40bf88
movzx ecx, ax
mov ebx, 1
shr eax, 0x10
cmp bx, cx
jne 0x40bf38
xor edx, edx
cmp dx, ax
jne 0x40bf38
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x14]
push ebx
push 0
mov ecx, edi
call fcn.00409f10
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov edx, 2
cmp dx, cx
mov edx, eax
jne 0x40bf56
xor esi, esi
cmp si, ax
jne 0x40bf56
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push 2
jmp 0x40bf21
movzx eax, dx
mov edx, 0x41a
cmp dx, cx
jne 0x40bf88
xor ecx, ecx
cmp cx, ax
jne 0x40bf88
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edx
push ecx
mov ecx, edi
call fcn.00409940
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x40c710
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
jne 0x40c73e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x485ec4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x485198]
cmp eax, dword [ecx + 4]
jg 0x40c759
mov eax, 0x485194
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
pop esi
pop ebp
ret 4
push 0x485198
call fcn.004449be
add esp, 4
cmp dword [0x485198], 0xffffffff
jne 0x40c739
push 0
push 0
push 0
push 0
push str.HttpClient
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0x465f60
mov dword [0x485194], eax
call fcn.0044460e
push 0x485198
call fcn.00444974
add esp, 8
jmp 0x40c739

Function at 0x40cae0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x485ec4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x485198]
cmp eax, dword [ecx + 4]
jg 0x40cb06
mov eax, 0x485194
pop ebp
ret
push 0x485198
call fcn.004449be
add esp, 4
cmp dword [0x485198], 0xffffffff
jne 0x40caff
mov eax, dword [ebp + 8]
mov ecx, str.HttpClient
push 0
push 0
push 0
test eax, eax
push 0
cmovne ecx, eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0x465f60
mov dword [0x485194], eax
call fcn.0044460e
push 0x485198
call fcn.00444974
add esp, 8
jmp 0x40caff