joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490656
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x4a4d0a
call fcn.00427fe8
mov esi, ecx
mov ecx, dword [esi]
call fcn.00493af3
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.00493b13
lea eax, [ebp - 0x470]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x470], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push 0x1c
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x4d7148
call fcn.00409266
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x4906c9
mov esi, dword [esi]
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ebx
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test esi, esi
je 0x490722
push esi
call fcn.0040283a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.004027c1
lea eax, [ebp - 0x430]
push eax
push 0x412de7
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
push ebx
push 1
sar esi, 2
call fcn.00401656
push ebx
push 1
lea ecx, [ebp - 0x460]
call fcn.00401656
cmp esi, 1
jle 0x490803
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.004416c0
mov esi, dword [ebp - 0x46c]
add esp, 0xc
cmp esi, dword [ebp - 0x468]
je 0x49081a
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4907e3
test dx, dx
je 0x4907df
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4907e3
add ecx, 4
add eax, 4
test dx, dx
jne 0x4907bd
mov eax, ebx
jmp 0x4907e8
sbb eax, eax
or eax, 1
test eax, eax
je 0x4907f9
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x49078f
jmp 0x4907fb
mov edi, dword [esi]
mov esi, dword [ebp - 0x46c]
jmp 0x49081a
mov eax, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
sub eax, esi
sar eax, 2
test eax, eax
je 0x49081a
mov edi, dword [esi]
test esi, esi
je 0x490847
mov eax, dword [ebp - 0x464]
sub eax, esi
push 4
sar eax, 2
push eax
push esi
call fcn.0040160b
add esp, 0xc
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.00401656
mov eax, edi
call fcn.00427f91
ret
Function at 0x490e97
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4a4e50
call fcn.00428056
cmp byte [0x4ff145], 0
jne 0x490fcb
xor ebx, ebx
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x4fed40
push 0x40329d
push ebx
push ebx
mov dword [0x4ff0b0], ebx
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00496da0
or dword [ebp - 4], 0xffffffff
mov dword [0x4ff0b0], eax
jmp 0x490ef1
cmp dword [ebp - 0x48], 0
je 0x490f0f
push ebx
push ebx
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4ff0b0], 0
jne 0x490fcb
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 2
mov eax, dword [0x4fee60]
shr eax, 0xd
test al, 1
lea eax, [ebp - 0x44]
je 0x490f67
push 0x2b
push 0x13
push eax
call fcn.00490390
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408176
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405e63
lea ecx, [ebp - 0x2c]
call fcn.0049684b
jmp 0x490f85
push 0x29
push 0x11
push eax
call fcn.00490390
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408176
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405e63
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004076cd
mov esi, 0x4b8ec0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00407704
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push 0x4cef40
push eax
mov dword [ebp - 0x68], esi
call fcn.004421c6
call fcn.00427fa2
ret

Function at 0x490fd1
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00449cf8
cmp byte [0x4ff145], 0
mov esi, eax
jne 0x49102e
cmp dword [0x4ff0ac], 0
jne 0x49102e
cmp word [0x4ff1ca], 3
push edi
mov edi, 0x4ff1c0
jne 0x491012
mov ecx, edi
call fcn.0040242a
test al, 1
je 0x491012
mov eax, dword [0x4fee60]
shr eax, 9
test al, 1
je 0x49102d
push 0x4ff0b4
xor eax, eax
push eax
push edi
push 0x4062e2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ff0b8], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x491261
Capabilities:
Check mutex on windows

Disassembly:
push 0x5c
mov eax, 0x4a4ee2
call fcn.00427fe8
mov eax, dword [0x4fee60]
shr eax, 0xe
test al, 1
je 0x491393
push 0x4fed58
lea ecx, [ebp - 0x58]
call fcn.0040814e
xor ebx, ebx
lea ecx, [ebp - 0x40]
push 0x4be78c
mov dword [ebp - 4], ebx
call fcn.00402861
push 0x4be750
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402861
mov byte [ebp - 4], 2
mov esi, ebx
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00408242
mov esi, eax
cmp esi, 0xffffffff
je 0x4912ea
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push esi
call fcn.00401e03
add esi, dword [ebp - 0x30]
jmp 0x4912b3
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.00401656
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401656
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4ff0bc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x491389
push 0x2e
push 0x29
lea eax, [ebp - 0x40]
push eax
call fcn.00490390
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0049684b
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004076cd
mov esi, 0x4b8ec0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00407704
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 0x4cef40
push eax
mov dword [ebp - 0x20], esi
call fcn.004421c6
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.00401656
call fcn.00427f91
ret
Function at 0x4913bd
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x4a4f1f
call fcn.00427fe8
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
xor eax, eax
cmp byte [ebp + 8], al
setne al
add eax, 0x405
push eax
call fcn.0049192a
cmp dword [ebp - 0x18], 0xa
jbe 0x4914d8
cmp dword [0x4fed80], 0
mov esi, 0x4fed70
jne 0x491428
lea ecx, [ebp - 0x40]
call fcn.0040d42e
push eax
mov ecx, esi
call fcn.0040197a
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401656
push 0x4be750
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00401adc
pop ecx
mov esi, 0x4fedb8
push eax
mov ecx, esi
call fcn.0040197a
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401656
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x40]
mov ecx, 0x4fee48
push eax
je 0x49146b
call fcn.00407de0
mov byte [ebp - 4], 1
jmp 0x491474
call fcn.00407dc0
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402335
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401656
cmp dword [0x4fedcc], 8
push 0x4be770
cmovae esi, dword [0x4fedb8]
push esi
call fcn.0044e1fb
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4914da
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044de57
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044dad4
add esp, 0x14
jmp 0x4914da
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407543
mov al, bl
call fcn.00427f91
ret 4

Function at 0x4914f0
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a4f4c
call fcn.00427fe8
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
cmp byte [ebp + 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x401
lea ecx, [eax + 2]
cmovne eax, ecx
push eax
call fcn.0049192a
cmp dword [ebp - 0x18], 0xa
jbe 0x491565
call fcn.0049199c
mov esi, eax
test esi, esi
je 0x491567
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044de57
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044dad4
add esp, 0x14
jmp 0x491567
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407543
mov al, bl
call fcn.00427f91
ret 4

Function at 0x49157d
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4a4f79
call fcn.00427fe8
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fa
call fcn.0049192a
call fcn.004915f3
mov esi, eax
test esi, esi
je 0x4915df
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044de57
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044dad4
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407543
mov al, bl
call fcn.00427f91
ret
Function at 0x491671
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4fee60]
push esi
push edi
xor edi, edi
shr eax, 0x11
inc edi
mov dword [ebp - 4], edi
test al, 1
je 0x4916a0
cmp dword [0x4ff12c], 0
je 0x4916a0
mov esi, 0x4ff11c
push esi
call fcn.0049194c
jmp 0x4916ca
and dword [0x4ff12c], 0
mov esi, 0x4ff11c
cmp dword [0x4ff130], 0x10
mov eax, esi
push esi
cmovae eax, dword [0x4ff11c]
push 0x3fc
mov byte [eax], 0
call fcn.0049192a
call fcn.00491a50
mov edx, eax
mov dword [ebp - 8], edx
test edx, edx
je 0x491732
cmp dword [0x4ff130], 0x10
mov eax, esi
cmovae eax, dword [0x4ff11c]
mov eax, dword [eax]
cmp eax, dword [0x4b8faf]
jne 0x491726
cmp dword [0x4ff130], 0x10
mov ecx, esi
mov eax, dword [0x4ff12c]
cmovae ecx, dword [0x4ff11c]
add eax, 0xfffffffc
push edx
push edi
push eax
lea eax, [ecx + 4]
push eax
call fcn.0044de57
mov edx, dword [ebp - 8]
add esp, 0x10
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 4], al
push edx
call fcn.0044dad4
mov eax, dword [ebp - 4]
pop ecx
jmp 0x491734
xor al, al
and dword [0x4ff12c], 0
cmp dword [0x4ff130], 0x10
pop edi
cmovae esi, dword [0x4ff11c]
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x491752
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4fed80], 0
push edi
mov edi, 0x4fed70
jne 0x49189d
push ebx
push esi
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040283a
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.004027c1
cmp dword [0x4fed84], 8
mov eax, edi
cmovae eax, dword [0x4fed70]
xor ebx, ebx
push ebx
push eax
call fcn.0044d4dd
pop ecx
pop ecx
test eax, eax
je 0x4917e3
mov esi, 0x4b7e24
push esi
call fcn.0040283a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c1
mov ecx, edi
call fcn.0040d261
cmp dword [0x4fed80], ebx
je 0x491808
cmp dword [0x4fed84], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4fed70]
push eax
call fcn.0044d4dd
pop ecx
pop ecx
test eax, eax
je 0x491825
push str.TEMP
call fcn.0044e12f
mov esi, eax
push esi
call fcn.0040283a
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c1
cmp dword [0x4fed80], ebx
je 0x49184a
cmp dword [0x4fed84], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4fed70]
push eax
call fcn.0044d4dd
pop ecx
pop ecx
test eax, eax
je 0x491867
push 0x4be784
call fcn.0044e12f
mov esi, eax
push esi
call fcn.0040283a
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027c1
cmp dword [0x4fed80], ebx
je 0x49188c
cmp dword [0x4fed84], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4fed70]
push eax
call fcn.0044d4dd
pop ecx
pop ecx
test eax, eax
je 0x49189b
push 0xffffffffffffffff
push ebx
push 0x4fed40
mov ecx, edi
call fcn.00402579
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0042746a
mov esp, ebp
pop ebp
ret
Function at 0x49363e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a55c9
mov eax, dword fs:[0]
push eax
mov eax, 0x1438
call fcn.00428770
mov eax, dword [0x4d3094]
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, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x4936ba
cmp word [edi], bx
je 0x4936ba
push ebx
push edi
call fcn.0044d4dd
pop ecx
pop ecx
test eax, eax
jne 0x4936ba
mov ecx, edi
call fcn.0040cecf
test al, al
je 0x4936b8
push edi
call fcn.0044da35
pop ecx
test eax, eax
je 0x4936b8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3e8
jl 0x49368e
xor ebx, ebx
test esi, esi
je 0x4936fc
cmp word [esi], bx
je 0x4936fc
push ebx
push esi
call fcn.0044d4dd
pop ecx
pop ecx
test eax, eax
jne 0x4936fc
mov edi, ebx
mov ecx, esi
call fcn.0040cecf
test al, al
je 0x4936fc
push esi
call fcn.0044da35
pop ecx
test eax, eax
je 0x4936fc
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x4936d2
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x1414], ecx
mov dword [ebp - 0x1418], ebx
mov word [ebp - 0x1428], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x142c], ecx
mov dword [ebp - 0x1430], ebx
mov word [ebp - 0x1440], ax
lea eax, [ebp - 0x1440]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x1428]
mov ecx, esi
call fcn.0040abd0
mov dword [esp], 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.004416c0
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x1000
lea eax, [ebp - 0x1410]
push ebx
push eax
call fcn.004416c0
add esp, 0xc
lea eax, [ebp - 0x1410]
push 0x800
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0x1418], 0
je 0x49382c
push 8
pop esi
cmp dword [ebp - 0x1414], esi
lea ecx, [ebp - 0x1410]
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push ecx
push eax
call fcn.00449fd5
pop ecx
pop ecx
test eax, eax
je 0x49382c
cmp dword [ebp - 0x1414], esi
lea ecx, [ebp - 0x1428]
cmovae ecx, dword [ebp - 0x1428]
call fcn.0040cef6
test al, al
je 0x49382c
cmp dword [ebp - 0x1414], esi
lea eax, [ebp - 0x1428]
push ebx
cmovae eax, dword [ebp - 0x1428]
lea ecx, [ebp - 0x1441]
push eax
mov edx, 0x4be754
call fcn.00408968
cmp dword [ebp - 0x1414], esi
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push eax
call fcn.0044db58
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1440]
call fcn.00401656
push ebx
push 1
lea ecx, [ebp - 0x1428]
call fcn.00401656
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.0042746a
mov esp, ebp
pop ebp
ret 8
Function at 0x49614d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov ebx, ecx
push edi
push eax
call fcn.004416c0
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb8]
cmp eax, dword [ebx + 0xbc]
je 0x49622b
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042746a
mov esp, ebp
pop ebp
ret 4
Function at 0x496da0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x4d3094]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
lea eax, [esp + 0xc8]
xor edi, edi
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x496f3c
mov eax, dword [esp + 0xc8]
cmp al, 1
jne 0x496f3c
shr eax, 8
cmp al, 1
jne 0x496f3c
xorps xmm0, xmm0
mov dword [esp + 0x64], 0x1388
xor esi, esi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
cmp dword [0x4bf330], esi
je 0x496f26
mov eax, 0x4bf330
nop dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push dword [eax]
lea ecx, [esp + 0x70]
call fcn.00423f79
test eax, eax
je 0x496ed9
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc]
call fcn.00423a42
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.00423c76
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x14]
call fcn.00423d51
movups xmm0, xmmword [eax]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
movups xmmword [esp + 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x496ed9
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x496ed9
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x496f04
inc esi
cmp dword [esi*4 + 0x4bf330], edi
lea eax, [esi*4 + 0x4bf330]
jne 0x496e30
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0042746a
mov esp, ebp
pop ebp
ret
movzx ecx, word [esp + 0x90]
movzx edi, byte [esp + 0x92]
shl ecx, 8
or edi, ecx
movzx ecx, byte [esp + 0x96]
shl edi, 8
or edi, ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0042746a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0042746a
mov esp, ebp
pop ebp
ret
Function at 0x4979d0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5ce5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004129dd
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x497a37
mov eax, dword [ecx]
jmp 0x497a39
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00405b9a
lea ecx, [ebp - 0x40]
call fcn.00412b24
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x497ac2
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x497aa7
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x497a9e
test cl, 0x1f
je 0x497a7a
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x497a86
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x497a92
call fcn.00448993
cmp ecx, 0x23
jbe 0x497a9c
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004082e7
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x497b0c
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x497b03
test cl, 0x1f
je 0x497adf
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x497aeb
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x497af7
call fcn.00448993
cmp ecx, 0x23
jbe 0x497b01
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x497b5a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x497b44
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
inc ecx
push ecx
push edx
push eax
call fcn.0043f910
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x497baa
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x497ba1
test cl, 0x1f
je 0x497b7d
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x497b89
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x497b95
call fcn.00448993
cmp ecx, 0x23
jbe 0x497b9f
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042746a
mov esp, ebp
pop ebp
ret
Function at 0x49abf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6119
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4d3094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x25c], esi
mov dword [esi + 0x10], 0
jb 0x49ac5a
mov eax, dword [esi]
jmp 0x49ac5c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x220]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x254], 1
call fcn.004416c0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x220], 0
jne 0x49aca6
xor ecx, ecx
jmp 0x49acbf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49acb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004027c1
mov edx, esi
lea ecx, [ebp - 0x238]
call fcn.0049ade0
push 1
push 0x4be750
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00402291
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.0040b051
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402335
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x49ad6f
mov ecx, dword [ebp - 0x250]
inc eax
cmp eax, 0x7fffffff
jbe 0x49ad2f
call fcn.00448993
add eax, eax
cmp eax, 0x1000
jb 0x49ad66
test cl, 0x1f
je 0x49ad42
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49ad4e
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49ad5a
call fcn.00448993
cmp ecx, 0x23
jbe 0x49ad64
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x49adbf
mov ecx, dword [ebp - 0x238]
inc eax
cmp eax, 0x1000
jb 0x49adb6
test cl, 0x1f
je 0x49ad92
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49ad9e
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49adaa
call fcn.00448993
cmp ecx, 0x23
jbe 0x49adb4
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042746a
mov esp, ebp
pop ebp
ret