joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46448d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edi, dword [ebp + 8]
test al, al
jne 0x4644cd
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4644cd
mov ecx, dword [esi + 0x840]
push edi
test ecx, ecx
jne 0x464687
mov ecx, esi
call fcn.0044d855
jmp 0x464695
cmp dword [edi], 0x13
jne 0x464515
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x464695
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.0046308c
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x464695
xor eax, eax
push eax
push eax
push eax
push str.dbclick
push esi
call fcn.00418aca
jmp 0x464695
cmp dword [edi], 3
push 0xd
pop ebx
jne 0x464544
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x464544
cmp word [edi + 0x14], bx
jne 0x464544
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.0046308c
jmp 0x464695
cmp dword [edi], ebx
jne 0x46458f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x464695
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
add esi, 0x830
mov ecx, esi
mov edi, dword [esi]
test ax, ax
jns 0x464585
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
push eax
call dword [edi + 0x18]
jmp 0x464695
push 1
call dword [edi + 0x14]
jmp 0x464695
mov ecx, dword [esi + 0x840]
test ecx, ecx
je 0x4645ac
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x4645ac
cmp dword [edi], 0xf
je 0x464548
cmp dword [edi], 0xe
jne 0x4645d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x464695
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
jmp 0x46450a
cmp dword [edi], 0x10
jne 0x4645fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x464695
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x4645cd
cmp dword [edi], 9
je 0x464695
cmp dword [edi], 0xb
jne 0x464623
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x464695
or dword [esi + 0x83c], 8
jmp 0x464538
cmp dword [edi], 0xa
jne 0x464640
mov eax, dword [esi + 0x83c]
test al, 8
je 0x464695
and eax, 0xfffffff7
mov dword [esi + 0x83c], eax
jmp 0x464538
cmp dword [edi], 0x1b
jne 0x464657
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4645cd
cmp dword [edi], 0x14
jne 0x46467c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
test al, al
je 0x46467c
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x4645cd
mov ecx, dword [esi + 0x840]
push edi
test ecx, ecx
je 0x46468e
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x464695
mov ecx, esi
call fcn.004200bd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x464b3d
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x830
jmp fcn.00460010
Function at 0x4706ad
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x26
ja 0x470752
je 0x4706fd
sub esi, 0x21
je 0x4706fd
sub esi, 1
je 0x4706fd
sub esi, 1
je 0x4706fd
sub esi, 1
je 0x4706fd
sub esi, 1
jne 0x470703
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00484a20
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0042709f
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004820f4
leave
ret 0xc
sub esi, 0x27
je 0x4706fd
sub esi, 1
je 0x4706fd
sub esi, 5
jmp 0x4706f6
Function at 0x47435c
Capabilities:
Enumerate files on windows

Disassembly:
push 0x50c
mov eax, 0x4a30c2
call fcn.00482ae5
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x40]
lea eax, [ebx + 0x6b8]
mov ecx, 0x4d3b20
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.004272a6
xor eax, eax
xor edi, edi
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x124]
mov ecx, edx
mov dword [ebp - 0x514], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4743a2
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
je 0x4743c9
push 0x4ac5e8
lea ecx, [ebp - 0x124]
call fcn.004270f8
push 0x4ac654
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x124]
call fcn.004272c6
lea ecx, [ebp - 0x50c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x510], esi
call fcn.004270e8
cmp esi, 0xffffffff
je 0x4745d8
jmp 0x4745c2
lea eax, [ebp - 0x4e0]
push 0x4ac65c
push eax
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x4745c2
lea eax, [ebp - 0x4e0]
push 0x4ac660
push eax
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x4745c2
test byte [ebp - 0x50c], 0x10
jne 0x4745c2
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x9c]
xor eax, eax
mov word [ebp - 0x98], ax
lea eax, [ebp - 0x4e0]
push 0xffffffffffffffff
push eax
call fcn.004271b4
push 0x2e
lea ecx, [ebp - 0x9c]
call fcn.00427504
mov edx, eax
test edx, edx
js 0x4745b2
mov ecx, dword [ebp - 0x9c]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x514]
jne 0x47449c
sub ecx, edi
lea eax, [ebp - 0x1ac]
sar ecx, 1
sub ecx, edx
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00427467
mov byte [ebp - 4], 2
push 0x4bcd98
push dword [ebp - 0x1ac]
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x47450f
push 0x4bcda0
push dword [ebp - 0x1ac]
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x47450f
push 0x4bcda8
push dword [ebp - 0x1ac]
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
jne 0x4745a7
push 0x34
call fcn.00482304
pop ecx
mov ecx, eax
call fcn.00475ff4
mov edi, eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x124]
mov dword [ebp - 0x518], edi
push eax
call fcn.004270c3
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x234]
call fcn.004270f8
push dword [ebp - 0x234]
mov ecx, edi
call fcn.00475b23
lea ecx, [ebp - 0x234]
mov esi, eax
call fcn.004270e8
test esi, esi
jne 0x474595
mov eax, dword [ebx + 0x748]
lea ecx, [ebx + 0x744]
cmp eax, dword [ebx + 0x74c]
je 0x474586
mov dword [eax], edi
add dword [ebx + 0x748], 4
jmp 0x4745a1
lea edx, [ebp - 0x518]
push edx
push eax
call fcn.00443541
jmp 0x4745a1
test edi, edi
je 0x4745a1
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov esi, dword [ebp - 0x510]
lea ecx, [ebp - 0x1ac]
call fcn.004270e8
xor eax, eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], al
call fcn.004270e8
lea eax, [ebp - 0x50c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x474410
lea ecx, [ebp - 0x124]
call fcn.004270e8
call fcn.00482aa3
ret
Function at 0x477750
Capabilities:
Enumerate files on windows

Disassembly:
push 0x4ec
mov eax, 0x4a32ab
call fcn.00482ae5
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str.imagepath
push esi
call fcn.0048d783
pop ecx
pop ecx
mov ecx, ebx
test eax, eax
jne 0x47798a
mov eax, dword [ebx]
call dword [eax + 0x2bc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
push edi
lea eax, [ebp - 0x118]
mov ecx, 0x4d3b20
push eax
call fcn.004272c6
xor eax, eax
xor edi, edi
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x118]
mov ecx, edx
mov dword [ebp - 0x4f8], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4777b7
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
je 0x4777de
push 0x4ac5e8
lea ecx, [ebp - 0x118]
call fcn.004270f8
push 0x4ac654
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x118]
call fcn.004272c6
lea ecx, [ebp - 0x4f4]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x220]
mov edi, eax
call fcn.004270e8
cmp edi, 0xffffffff
je 0x47797d
jmp 0x477967
lea eax, [ebp - 0x4c8]
push 0x4ac65c
push eax
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x477967
lea eax, [ebp - 0x4c8]
push 0x4ac660
push eax
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x477967
test byte [ebp - 0x4f4], 0x10
jne 0x477967
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x4c8]
push 0xffffffffffffffff
push eax
call fcn.004271b4
push 0x2e
lea ecx, [ebp - 0x94]
call fcn.00427504
mov edx, eax
test edx, edx
js 0x477957
mov ecx, dword [ebp - 0x94]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x4f8]
jne 0x4778ab
sub ecx, esi
lea eax, [ebp - 0x19c]
sar ecx, 1
sub ecx, edx
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.00427467
push 0x4bcd98
push dword [ebp - 0x19c]
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x477916
push 0x4bcda0
push dword [ebp - 0x19c]
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
je 0x477916
push 0x4bcda8
push dword [ebp - 0x19c]
call fcn.0048d783
pop ecx
pop ecx
test eax, eax
jne 0x47794c
mov eax, dword [ebx]
lea ecx, [ebp - 0x118]
mov esi, dword [eax + 0x2b8]
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.004272c6
mov byte [ebp - 4], 3
mov ecx, ebx
push dword [eax]
call esi
lea ecx, [ebp - 0x2a4]
call fcn.004270e8
lea ecx, [ebp - 0x19c]
call fcn.004270e8
xor eax, eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], al
call fcn.004270e8
lea eax, [ebp - 0x4f4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47781f
lea ecx, [ebp - 0x118]
call fcn.004270e8
jmp 0x477991
push edi
push esi
call fcn.00476fa0
call fcn.00482aa3
ret 8
Function at 0x47eadf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x280]
cmp al, bl
je 0x47ec10
mov ecx, dword [esi + 0x6e0]
mov eax, ecx
or ecx, 2
and eax, 0xfffffffd
test bl, bl
cmove ecx, eax
mov dword [esi + 0x6e0], ecx
mov ecx, dword [esi + 0xff8]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x47ec10
push edi
mov edi, dword [ecx + 0x830]
lea eax, [edi - 0x808]
neg edi
sbb edi, edi
and edi, eax
je 0x47ec0f
mov eax, dword [ecx + 0x834]
test eax, eax
je 0x47ec0f
mov ecx, dword [esi + 0xffc]
xor edx, edx
sub ecx, edx
je 0x47ebf0
sub ecx, 1
je 0x47ebe4
sub ecx, 1
je 0x47eb71
sub ecx, 1
jne 0x47ec0f
test bl, bl
je 0x47ebbc
cmp dword [edi + 0x818], edx
je 0x47eb8a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x47eb95
lea ecx, [edi + 0x808]
call fcn.00481c53
push ebx
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x808]
mov ecx, esi
push dword [ebx + 0x834]
call fcn.00481ca5
mov eax, dword [ebx + 0x834]
xor ecx, ecx
mov dword [edi + 0xad0], eax
jmp 0x47ebd3
push edx
lea esi, [edi + 0x808]
push eax
mov ecx, esi
call fcn.00481ca5
xor ecx, ecx
mov dword [edi + 0xad0], ecx
mov eax, dword [esi]
push ecx
push ecx
push ecx
push str.selectchanged
mov ecx, esi
call dword [eax + 8]
jmp 0x47ebe7
mov byte [eax + 1], bl
mov ecx, edi
call fcn.0041ff0d
jmp 0x47ec0f
lea ecx, [eax + 0x114]
test ecx, ecx
je 0x47ec0b
cmp dword [ecx + 4], edx
jle 0x47ec0b
mov ecx, edi
mov byte [eax + 2], bl
call fcn.0041ffad
jmp 0x47ec0f
mov byte [eax + 2], 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47f129
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edx, dword [ebp + 8]
test al, al
jne 0x47f16a
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x47f16a
mov ecx, dword [esi + 0xa0]
push edx
test ecx, ecx
je 0x47f2ae
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x47f2b5
lea ebx, [esi + 0x830]
mov edi, dword [ebx]
lea eax, [edi - 0x808]
neg edi
sbb edi, edi
and edi, eax
je 0x47f2ad
cmp dword [esi + 0x834], 0
je 0x47f2ad
cmp dword [edx], 0xd
jne 0x47f22a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47f2b5
cmp dword [edi + 0x818], 0
lea eax, [esi + 0x834]
mov dword [esp + 0xc], eax
je 0x47f1e0
push 0x11
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x47f1eb
lea eax, [esi + 0x834]
lea ebx, [esi + 0x830]
mov dword [esp + 0xc], eax
lea ecx, [edi + 0x808]
call fcn.00481c53
mov ecx, dword [ebx]
push 1
push dword [esi + 0x834]
call fcn.00481ca5
mov ecx, dword [ebx]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [ecx + 0x2c8], eax
mov ecx, dword [ebx]
xor ebx, ebx
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x808]
mov eax, dword [ecx]
push ebx
push ebx
push str.selectchanged
call dword [eax + 8]
jmp 0x47f2b5
cmp dword [edx], 0x13
jne 0x47f26e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47f2b5
mov ecx, dword [esi + 0x834]
push 1
cmp byte [ecx + 2], 0
sete al
mov byte [ecx + 2], al
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x9c]
push 0
push 0
push esi
push str.dbclick
push edi
call fcn.00418aca
jmp 0x47f2b5
cmp dword [edx], 0xb
jne 0x47f296
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47f2b5
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
mov ecx, esi
call fcn.0041ff0d
jmp 0x47f2b5
cmp dword [edx], 0xa
jne 0x47f2ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47f2b5
push 0
jmp 0x47f283
push edx
mov ecx, esi
call fcn.0046ccf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x480458
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048060d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x4804ee
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
mov ecx, 0x90000080
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
call dword [eax + 0x40]
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
dec eax
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
dec eax
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, 0x90000080
jmp 0x4804f6
mov eax, 0x40000080
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0x820]
test cl, 1
je 0x480509
or eax, 1
jmp 0x480511
test cl, 2
je 0x480514
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [ebp - 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
mov ecx, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push 0
push ecx
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.00422eb6
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0x81c]
cmp esi, 0xffffffff
je 0x48055f
mov eax, dword [ecx]
call dword [eax + 0x40]
push esi
mov ecx, eax
call fcn.004195c4
test eax, eax
jne 0x480571
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00418d0c
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x17c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 4]
mov byte [edi + 0x18], 1
xor ecx, ebp
pop edi
pop esi
call fcn.004820f4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x480b02
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
cmp dword [esi + 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x2c], eax
jne 0x480ba4
lea eax, [ebp - 0x18]
push eax
call fcn.00480bf8
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [ebp - 0x18]
cmp dword [ebp - 8], 1
mov edi, esp
mov ecx, dword [eax + 0xa8]
mov eax, 0x40000009
push ecx
movsd dword es:[edi], dword [esi]
push 0
lea edx, [eax - 9]
cmovne eax, edx
movsd dword es:[edi], dword [esi]
push eax
push ecx
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.00422eb6
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x840]
mov ecx, eax
call fcn.004197a9
push 1
mov eax, dword [eax + 4]
push eax
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x1a]
add eax, 0x830
mov esi, eax
push eax
push 0
push 0x1002
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
mov esi, eax
lea edi, [edi + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov byte [esi + 0x18], 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x482fcc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48300b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48300b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48300b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48300b
cmp dword [ecx + 0x74], 0xe
jbe 0x48300b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x494689
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a88ac
push 0x4a88a4
push str.FlsAlloc
push 0x1f
call fcn.004945c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4946bd
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a460c]
call esi
jmp 0x4946c3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x494707
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a88bc
push 0x4a88b4
push str.FlsGetValue
push 0x21
call fcn.004945c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49473e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a460c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x494746
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a88c4
push 0x4a88bc
push str.FlsSetValue
push 0x22
call fcn.004945c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x494780
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4a460c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4967c4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49680f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049695f
test al, al
jne 0x496809
sub edx, 2
cmp edx, edi
jne 0x4967ef
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x496831
lea eax, [edi + 2]
cmp edx, eax
je 0x496831
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00496710
add esp, 0x10
jmp 0x49692b
push esi
lea ecx, [ebp - 0x255]
call fcn.0049695f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x496874
push dword [ebp - 0x25c]
jmp 0x496821
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4968b1
cmp word [ebp - 0x226], 0
je 0x4968d2
cmp word [ebp - 0x226], ax
jne 0x4968b1
cmp word [ebp - 0x224], 0
je 0x4968d2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00496710
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49691e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49688b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x496906
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49692b
push 0x496540
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00490530
add esp, 0x10
jmp 0x4968fb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004820f4
leave
ret

Function at 0x49b550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49b57d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49b57d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret