joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e3f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004e1e80
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x45e43a
push 0x517648
push str.....UtilFileFileCopy.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x45e461
push 0x518714
push str.....UtilFileFileCopy.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x45e50b
test ebx, ebx
je 0x45e4e8
lea eax, [ebp - 0x1004]
push 0x400
push eax
call fcn.0045ba40
add esp, 8
test eax, eax
je 0x45e4b2
push 0x5155e4
push str.....UtilFileFileCopy.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x804]
push str.Unable_to_copy_file___s__to___s_
push eax
call fcn.00401820
mov eax, dword [ebx]
lea ecx, [ebp - 0x804]
add esp, 0x10
push ecx
push 1
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebx]
lea ecx, [ebp - 0x1004]
push ecx
push 2
mov ecx, ebx
call dword [eax + 0x18]
push 0x51c9dc
push str.....UtilFileFileCopy.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
Function at 0x45f390
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.004e1e80
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
jne 0x45f3d8
push 0x51d72c
push str.....UTIL_songPreset_songPreset.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push 0x200
lea ecx, [ebp - 0x404]
mov dword [edi], 0xffffffff
push ecx
push eax
push esi
call fcn.004d70e0
add esp, 0x10
test eax, eax
je 0x45f41a
push 0x5161d0
push str.....UTIL_songPreset_songPreset.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x404]
push eax
push str.song_title
push str.song_preset
push str.preset
lea eax, [ebp - 0x1404]
push str.SELECT__s_FROM__s_WHERE__s___s
push eax
call fcn.00401820
lea eax, [ebp - 0x1404]
push eax
push esi
call fcn.004d7160
add esp, 0x20
test eax, eax
je 0x45f477
push 0x515a04
push str.....UTIL_songPreset_songPreset.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x2410], 1
jne 0x45f492
mov eax, dword [esi + 0x240c]
push dword [eax]
call fcn.004eb5cf
add esp, 4
mov dword [edi], eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e19a5
mov esp, ebp
pop ebp
ret

Function at 0x45f800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x45f820
push 0x518ae8
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
push ebx
mov eax, 0x4000
sub eax, dword [esi + 0x1804]
push edi
mov edi, dword [ebp + 0x14]
cmp eax, edi
jge 0x45f8c6
push dword [esi]
push 0x527d18
push dword [ebp + 0xc]
call fcn.0045cec0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x45f867
push 0x51b6c8
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
ret
push ebx
push esi
call fcn.0045faa0
add esp, 8
test eax, eax
je 0x45f88c
push 0x517a88
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
ret
push ebx
push edi
push 2
push dword [ebp + 0x10]
call fcn.004f6a98
add esp, 0x10
cmp eax, edi
je 0x45f8b6
push 0x54aeec
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
ret
push ebx
call fcn.004f3f63
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret
xor edx, edx
test edi, edi
jle 0x45f8ed
mov ebx, dword [ebp + 0x10]
nop
mov ecx, dword [esi + 0x1804]
mov ax, word [ebx + edx*2]
inc edx
mov word [esi + ecx*2 + 0x1808], ax
inc dword [esi + 0x1804]
cmp edx, edi
jl 0x45f8d0
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
Function at 0x45f9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x45f9de
push 0x518120
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop ebp
ret
push esi
push dword [eax]
push 0x527d10
push dword [ebp + 0xc]
call fcn.0045cec0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45fa0c
push 0x518128
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
push esi
push 1
lea eax, [ebp + 0x10]
push 4
push eax
call fcn.004f6a98
add esp, 0x10
cmp eax, 1
je 0x45fa37
push 0x517a70
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
push esi
push 1
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004f6a98
add esp, 0x10
cmp eax, 1
je 0x45fa62
push 0x51d068
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
push esi
push 1
lea eax, [ebp + 0x18]
push 4
push eax
call fcn.004f6a98
add esp, 0x10
cmp eax, 1
je 0x45fa8d
push 0x518138
push str.....UTIL_rawWav_rawWav.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
push esi
call fcn.004f3f63
add esp, 4
xor eax, eax
pop esi
pop ebp
ret

Function at 0x45faa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x45fac0
pop esi
mov dword [ebp + 0xc], 0x518860
mov dword [ebp + 8], str.....UTIL_rawWav_rawWav.cpp
pop ebp
jmp fcn.004688c0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45fadc
pop esi
mov dword [ebp + 0xc], 0x51800c
mov dword [ebp + 8], str.....UTIL_rawWav_rawWav.cpp
pop ebp
jmp fcn.004688c0
mov ecx, dword [esi + 0x1804]
test ecx, ecx
je 0x45fb20
push eax
push ecx
lea eax, [esi + 0x1808]
push 2
push eax
call fcn.004f6a98
add esp, 0x10
cmp eax, dword [esi + 0x1804]
je 0x45fb16
pop esi
mov dword [ebp + 0xc], 0x51822c
mov dword [ebp + 8], str.....UTIL_rawWav_rawWav.cpp
pop ebp
jmp fcn.004688c0
mov dword [esi + 0x1804], 0
xor eax, eax
pop esi
pop ebp
ret

Function at 0x461dd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x517cd0
push eax
call fcn.00401820
lea eax, [ebp - 0x41c]
push edi
push eax
call fcn.0045d120
add esp, 0x18
pop edi
pop esi
test eax, eax
je 0x461e4f
push 0x518168
push str.....UtilFileFileRm.cpp
call fcn.004688c0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
Function at 0x461f50
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x460]
push esi
push edi
push eax
push 0x52850c
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461fcd
nop dword [eax + eax]
lea eax, [ebp - 0x460]
push eax
call fcn.00461d80
add esp, 4
cmp eax, 1
jne 0x461fb8
lea eax, [ebp - 0x460]
push ebx
push eax
call fcn.00461dd0
add esp, 8
test eax, eax
jne 0x462009
lea eax, [ebp - 0x460]
push eax
push esi
call edi
test eax, eax
jne 0x461f90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x460]
push eax
push 0x52850c
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46202c
push 0x5182c0
push str.....UtilFileFileRm.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push 0x517668
push str.....UtilFileFileRm.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x460]
push eax
call fcn.00461d80
add esp, 4
cmp eax, 2
jne 0x462071
lea eax, [ebp - 0x434]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
call fcn.00461f50
add esp, 4
push 0x528514
call esi
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x462032
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
Function at 0x462470
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push dword [ebp + 0x10]
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push dword [ebp + 8]
call fcn.004d7e50
mov esi, eax
add esp, 0x20
cmp esi, 0xffffffff
jne 0x4624b5
push 0x5155e4
push str.....UtilFileFileDate.cpp
call fcn.004688c0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4624ea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5158b8
push str.....UtilFileFileDate.cpp
call fcn.004688c0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, 0x989680
imul ecx
sub dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
sbb dword [ebp - 4], edx
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
test eax, eax
jne 0x462529
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x518130
push str.....UtilFileFileDate.cpp
call fcn.004688c0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x46254a
push 0x54aee4
push str.....UtilFileFileDate.cpp
call fcn.004688c0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465430
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x46544e
push 0x51d148
push str.....Utilwebweb.cpp
call fcn.004688c0
add esp, 8
pop ebp
ret
cmp dword [eax + 0x808], 0
je 0x46546d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
ret
push 0
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop ebp
ret
Function at 0x465b20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x124]
push eax
call fcn.004d8760
add esp, 4
test eax, eax
je 0x465b6b
push 0x51c9ec
push str.....UtilPaswrdPaswrd.cpp
call fcn.004688c0
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
call fcn.00459f10
add esp, 4
test eax, eax
je 0x465b9f
push 0x518840
push str.....UtilPaswrdPaswrd.cpp
call fcn.004688c0
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x130], 0
push ebx
je 0x465bce
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ebx, word [ebp - 0x138]
movzx ecx, word [ebp - 0x136]
add ebx, 0x24a
add ebx, ecx
jmp 0x465bd3
mov ebx, 0x5f
lea edx, [ebp - 0x124]
mov dword [ebp - 0x12c], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x465be6
sub edx, ecx
xor eax, eax
dec edx
test edx, edx
js 0x465c06
mov cl, byte [ebp + edx - 0x124]
mov byte [ebp + eax - 0x12c], cl
jmp 0x465c0d
mov byte [ebp + eax - 0x12c], al
inc eax
dec edx
cmp eax, 4
jl 0x465bf2
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.004d87e0
add esp, 8
test eax, eax
je 0x465c50
push 0x51800c
push str.....UtilPaswrdPaswrd.cpp
call fcn.004688c0
add esp, 8
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x134]
push esi
mov esi, eax
shl esi, 0x10
or esi, eax
xor esi, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x24]
xor esi, ebx
push str._04X
push eax
and esi, 0xfffff
call fcn.004147e0
push esi
lea eax, [ebp - 0x14]
push str._05X
push eax
call fcn.004147e0
movzx eax, byte [ebp - 0x24]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov byte [edi], al
xor ecx, ebp
movzx eax, byte [ebp - 0x11]
mov byte [edi + 1], al
movzx eax, byte [ebp - 0x21]
mov byte [edi + 2], al
movzx eax, byte [ebp - 0x13]
mov byte [edi + 3], al
movzx eax, byte [ebp - 0x23]
mov byte [edi + 4], al
movzx eax, byte [ebp - 0x14]
mov byte [edi + 5], al
movzx eax, byte [ebp - 0x12]
mov byte [edi + 6], al
movzx eax, byte [ebp - 0x22]
mov byte [edi + 7], al
movzx eax, byte [ebp - 0x10]
pop esi
mov byte [edi + 8], al
xor eax, eax
pop ebx
mov byte [edi + 9], 0
pop edi
call fcn.004e19a5
mov esp, ebp
pop ebp
ret

Function at 0x466170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret
Function at 0x466490
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4664b0
push 0x54ae1c
push str.....UTILpstrpstrURL.cpp
call fcn.004688c0
add esp, 8
pop edi
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
lea ecx, [esi + 4]
nop dword [eax]
movzx edx, word [edi]
cmp edx, 0x3b
jne 0x4664e2
mov edx, 0x42
mov dword [esi + eax*2], 0x330025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x3f
jne 0x466501
mov edx, 0x46
mov dword [esi + eax*2], 0x330025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x2f
jne 0x466520
mov edx, 0x46
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x3a
jne 0x46653f
mov edx, 0x41
mov dword [esi + eax*2], 0x330025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x23
jne 0x46655e
mov edx, 0x33
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x26
jne 0x46657d
mov edx, 0x36
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x3d
jne 0x46659c
mov edx, 0x44
mov dword [esi + eax*2], 0x330025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x2b
jne 0x4665bb
mov edx, 0x42
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x24
jne 0x4665da
mov edx, 0x34
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x2c
jne 0x4665f9
mov edx, 0x43
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x25
jne 0x466615
mov edx, 0x35
mov dword [esi + eax*2], 0x320025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x3c
jne 0x466631
mov edx, 0x43
mov dword [esi + eax*2], 0x330025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x3e
jne 0x46664d
mov edx, 0x45
mov dword [esi + eax*2], 0x330025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x7e
jne 0x466669
mov edx, 0x45
mov dword [esi + eax*2], 0x370025
mov word [ecx], dx
add eax, 3
add ecx, 6
jmp 0x46667b
cmp edx, 0x20
jne 0x466692
mov edx, 0x2b
mov word [esi + eax*2], dx
inc eax
add ecx, 2
add edi, 2
cmp eax, dword [ebp + 0x10]
jge 0x46668b
test ebx, ebx
je 0x4664c0
pop esi
pop ebx
xor eax, eax
pop edi
pop ebp
ret
test dx, dx
jne 0x466673
xor edx, edx
mov word [esi + eax*2], dx
lea ebx, [edx + 1]
jmp 0x46667b
Function at 0x467d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5143cb
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x8a8], eax
jne 0x467d99
push 0x515c70
push 0x528ea8
call fcn.004688c0
add esp, 8
jmp 0x467f1e
lea ecx, [ebp - 0x8a4]
call fcn.0045a5b0
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 4], 0
mov dword [eax], 0
test esi, esi
je 0x467efd
test edi, edi
je 0x467efd
push 0
push 0x528ef0
push esi
call fcn.0045cec0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x467ee2
push esi
push 1
lea eax, [ebp - 0x8b4]
push 4
push eax
call fcn.004f64cc
add esp, 0x10
test eax, eax
je 0x467ee2
push esi
push 1
lea eax, [ebp - 0x8b0]
push 4
push eax
call fcn.004f64cc
add esp, 0x10
test eax, eax
je 0x467ee2
push esi
push 1
lea eax, [ebp - 0x8ac]
push 4
push eax
call fcn.004f64cc
add esp, 0x10
test eax, eax
je 0x467ee2
lea eax, [ebp - 0x8a4]
push eax
push dword [ebp - 0x8ac]
push dword [ebp - 0x8b0]
push dword [ebp - 0x8b4]
push edi
push dword [ebp + 8]
call fcn.00467f40
add esp, 0x18
push esi
test eax, eax
je 0x467e6e
call fcn.004f3f63
add esp, 4
xor esi, esi
jmp 0x467f11
call fcn.004f6181
add esp, 4
test eax, eax
jne 0x467ec2
nop word [eax + eax]
push esi
push 0x400
lea eax, [ebp - 0x810]
push 1
push eax
call fcn.004f64cc
add esp, 0x10
lea ecx, [ebp - 0x8b8]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push eax
lea ecx, [ebp - 0x8a4]
call fcn.0045ac90
push esi
test eax, eax
js 0x467ee6
call fcn.004f6181
add esp, 4
test eax, eax
je 0x467e80
push esi
call fcn.004f3f63
add esp, 4
lea ecx, [ebp - 0x8a4]
call fcn.0045a610
mov eax, dword [ebp - 0x8a8]
mov dword [eax], 1
xor esi, esi
jmp 0x467f11
call fcn.004f3f63
add esp, 4
lea ecx, [ebp - 0x8a4]
call fcn.0045a610
xor esi, esi
jmp 0x467f11
push 0x51820c
push 0x528ea8
call fcn.004688c0
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x8a4]
call fcn.0045a5e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret

Function at 0x46fb50
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x46fb6e
mov dword [ebp + 0xc], 0x51a4bc
mov dword [ebp + 8], str.....UTILptSliderptSlider.cpp
pop ebp
jmp fcn.004688c0
push dword [ebp + 0xc]
push 0
push 0x419
push dword [eax + 0x404]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop ebp
ret
Function at 0x46fcb0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x46fcd2
push 0x521a5c
jmp 0x46fdb0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 1
push dword [ebp + 0x18]
mov dword [edi + 0x41c], eax
push ecx
push ebx
push eax
push dword [edi + 0x404]
mov dword [edi + 0x420], ebx
mov dword [edi + 0x424], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x41a
push dword [edi + 0x404]
call esi
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x404]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x419
push dword [edi + 0x404]
call esi
mov esi, dword [ebp + 0xc]
sub esi, dword [ebp - 0x34]
push 0xfffffffffffffff0
push dword [edi + 0x404]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0xc]
test al, 2
je 0x46fd61
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x46fd67
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
neg eax
add ebx, eax
mov eax, dword [ebp + 0x18]
add eax, eax
push 1
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push dword [ebp + 0x14]
push ebx
push esi
push dword [edi + 0x404]
call dword [sym.imp.USER32.dll_MoveWindow]
pop esi
pop ebx
test eax, eax
je 0x46fdab
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push 0x51638c
push str.....UTILptSliderptSlider.cpp
call fcn.004688c0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
Function at 0x470a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x440]
push eax
push 0x20019
push 0
push str..html
push SysReAllocString
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x448], 0
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x470b57
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x440]
call esi
test eax, eax
jne 0x470b57
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x43c]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x43c]
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x470b57
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x44c]
push 0
push 0
push 0
push dword [ebp - 0x448]
call esi
mov esi, eax
test esi, esi
je 0x470bab
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x470b64
push eax
call edi
lea eax, [ebp - 0x440]
push eax
push 0x20019
push 0
push str.http_shellopencommand
push SysReAllocString
call ebx
mov esi, eax
test esi, esi
jne 0x470bab
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x44c]
push esi
push esi
push esi
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x470bb8
push eax
call edi
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x470bc5
push eax
call edi
test esi, esi
jg 0x470bdc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
movzx eax, si
xor ecx, ebp
pop esi
or eax, 0x80070000
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret