joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4861c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5856f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x528]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x486281
mov eax, dword [ebx + 0x524]
push 0
push 0x1442
push 0x111
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x524]
mov esi, dword [eax + edi*8 + 4]
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x486274
mov al, byte [esi + 0x1e]
mov byte [ebp - 4], 2
test al, al
je 0x486241
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x10]
call fcn.0056a100
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.0056a100
push esi
call fcn.005664c5
add esp, 4
mov dword [ebp - 4], 0
inc edi
jmp 0x4861eb
mov dword [ebp - 4], 0
inc edi
jmp 0x4861eb
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x520]
call fcn.0048d640
mov ecx, ebx
call fcn.0048aa90
mov esi, dword [ebx + 0x534]
test esi, esi
je 0x4862e0
mov dword [ebp - 0x1c], esi
mov al, byte [esi + 0x1e]
mov byte [ebp - 4], 4
test al, al
je 0x4862b9
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x10]
call fcn.0056a100
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call fcn.0056a100
push esi
call fcn.005664c5
add esp, 4
mov dword [ebx + 0x534], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58578b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], ebx
xor esi, esi
cmp esi, dword [edi + 0xb0]
jge 0x4880f9
mov eax, dword [0x639ad4]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x68], bx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x5c], bx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc8], 0x59c97c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xc8]
push ebx
push eax
push esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.0053fa00
cmp al, bl
je 0x4880c9
cmp byte [ebp - 0x80], bl
je 0x4880c9
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], ebx
jle 0x4880c9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.0044b000
inc esi
jmp 0x48803d
mov edx, dword [edi + 0x424]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x488116
push edx
call fcn.0055062b
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4887d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x639ad4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x63e500]
lea edx, [ebp - 0x14]
push ecx
push str._sGrabberProjects_
push edx
mov byte [ebp - 4], 1
call fcn.00562ecb
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
jne 0x48893b
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.0056a56f
mov esi, eax
cmp esi, 0xffffffff
je 0x488932
lea ecx, [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.00562acd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x18]
sete bl
call fcn.0056a100
test bl, bl
je 0x488841
lea edx, [ebp - 0x20]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.00562acd
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x20]
sete bl
call fcn.0056a100
test bl, bl
je 0x488841
mov eax, dword [0x639ad4]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x1c]
push 0
push ecx
push 0x400
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x63f14c]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.00562ecb
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0056a100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 0x4b0]
mov eax, dword [ebp - 0x14]
push edx
lea esi, [edi + 0x4c0]
push eax
push str._sproject_ld.igp
push esi
call fcn.00562ecb
add esp, 0x10
mov edi, 1
mov eax, dword [esi]
push eax
call ebx
cmp eax, 0xffffffff
je 0x488989
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
inc edi
mov edx, dword [ecx + 0x4b0]
push edi
push edx
push eax
push str._sproject_ld__d.igp
push esi
call fcn.00562ecb
add esp, 0x14
jmp 0x48895f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5859f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], ebx
xor esi, esi
cmp esi, dword [edi + 0xb0]
jge 0x48aa7f
mov eax, dword [0x639ad4]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x6c], bx
call fcn.00476c60
mov eax, dword [0x639ad4]
mov dword [ebp - 0xcc], 0x59c97c
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0xcc]
push ebx
push eax
push esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.0053fa00
cmp al, bl
je 0x48aa4f
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
jle 0x48a9db
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x58]
cmp dword [eax - 8], ebx
jle 0x48aa40
cmp dword [ebp - 0xb4], ebx
jne 0x48aa40
mov ecx, dword [0x639ad4]
mov dword [ebp - 0x14], ecx
push eax
lea edx, [ebp - 0x14]
push 0x615e9c
push edx
mov byte [ebp - 4], 2
call fcn.00562ecb
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x14]
push 0x5c
push ecx
call fcn.0054dff0
add esp, 8
cmp eax, ebx
je 0x48aa34
mov byte [eax], bl
mov edx, dword [ebp - 0x14]
push edx
call fcn.0055062b
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0056a100
lea eax, [ebp - 0xcc]
mov ecx, edi
push eax
push esi
call fcn.0048a2e0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.0044b000
inc esi
jmp 0x48a94d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48aa90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585a0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x534]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x48ab34
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48aae9
mov ecx, dword [edi + 0x534]
push ebx
push 0x1442
push 0x111
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.004850d0
mov esi, dword [edi + 0x534]
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x48ab2e
mov al, byte [esi + 0x1e]
mov byte [ebp - 4], 1
cmp al, bl
je 0x48ab12
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x10]
call fcn.0056a100
lea ecx, [esi + 0xc]
mov byte [ebp - 4], bl
call fcn.0056a100
push esi
call fcn.005664c5
add esp, 4
mov dword [edi + 0x534], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48b270
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x585a86
push eax
mov dword fs:[0], esp
sub esp, 0x148
or ecx, 0xffffffff
xor eax, eax
push ebp
mov ebp, dword [esp + 0x15c]
push edi
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebp - 1], 0x5c
jne 0x48b3ac
mov eax, dword [0x639ad4]
push ebx
push esi
mov esi, 1
mov dword [esp + 0x10], eax
push ebp
lea ecx, [esp + 0x14]
push str._sf
push ecx
mov dword [esp + 0x16c], 0
call fcn.00562ecb
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48b396
test esi, esi
je 0x48b38f
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
test edi, edi
jle 0x48b336
mov al, byte [esp + esi + 0x44]
cmp al, 0x2e
je 0x48b336
movsx ecx, al
push ecx
call fcn.0054e6cc
add esp, 4
test eax, eax
jne 0x48b331
cmp byte [esp + esi + 0x44], 0x66
jne 0x48b37c
inc esi
cmp esi, edi
jl 0x48b312
mov edx, dword [0x639ad4]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
push ebp
push 0x615f14
push ecx
mov byte [esp + 0x170], 1
call fcn.00562ecb
mov edx, dword [esp + 0x24]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 0
call fcn.0056a100
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
jmp 0x48b2f4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov dword [esp + 0x160], 0xffffffff
call fcn.0056a100
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x154
ret
Function at 0x490a90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x639ad4]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
lea ecx, [esi + 0x8a0]
mov byte [ebp - 4], 1
call fcn.004bebe0
mov ebx, dword [ebp + 8]
cmp ebx, eax
jge 0x490b24
mov edx, dword [esi + ebx*4 + 0x8a4]
mov edi, dword [0x63e4e8]
xor eax, eax
cmp eax, dword [0x63e4ec]
jge 0x490b1e
lea ecx, [eax + eax*2]
cmp edx, dword [edi + ecx*4]
lea ecx, [edi + ecx*4]
jne 0x490b4f
mov edx, dword [ecx + 8]
lea eax, [ebp - 0x14]
push edx
push 0x615e9c
push eax
call fcn.00562ecb
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x490b52
mov al, 1
test al, al
je 0x490b52
push ebx
lea ecx, [esi + 0x8a0]
call fcn.004bedf0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc eax
jmp 0x490ae7
lea ecx, [esi + 0x730]
call fcn.0047a1c0
mov edx, dword [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00492580
jmp 0x490b30
Function at 0x493ac0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x586c9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x493ba8
add edi, 0x64
mov dword [esi + 0x34], edi
lea eax, [edi*8 + 4]
push eax
call fcn.0056649c
add esp, 4
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x493b2c
push fcn.00408ca0
push fcn.0043acf0
lea ebx, [eax + 4]
push edi
push 8
push ebx
mov dword [eax], edi
call fcn.0054ebc3
mov dword [esp + 0x10], ebx
jmp 0x493b32
mov dword [esp + 0x10], ebp
mov ebx, ebp
cmp ebx, ebp
mov dword [esp + 0x1c], 0xffffffff
jne 0x493b55
lea ecx, [esp + 0x24]
push 0x5ed408
push ecx
mov dword [esp + 0x2c], 0xc0000017
call fcn.0054f80c
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, ebp
jle 0x493b81
mov edx, dword [esi + 0x2c]
mov ecx, ebx
lea ebp, [edx + edi*8]
push ebp
call fcn.0056a239
mov eax, dword [ebp + 4]
inc edi
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x30]
add ebx, 8
cmp edi, eax
jl 0x493b5e
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x493ba5
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00408ca0
push ecx
push 8
push eax
call fcn.0054db32
push edi
call fcn.005664c5
add esp, 4
mov dword [esi + 0x2c], ebx
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov ebx, dword [esp + 0x24]
lea edi, [eax + edx*8]
push ebx
mov ecx, edi
call fcn.0056a239
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esi + 0x30], eax
mov esi, eax
pop edi
mov dword fs:[0], ecx
lea eax, [esi - 1]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x493bf0
Capabilities:
Set registry value

Disassembly:
mov ax, word [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x26]
mov dword [esi + 0x28], edi
mov word [ebp], ax
call fcn.00493e30
mov ax, word [ebp]
cmp ax, 9
je 0x493ca6
mov ecx, dword [esi + 0x54]
cmp ecx, edi
jle 0x493ca6
mov ebx, dword [esi + 0x50]
mov edx, eax
and edx, 0xffff
lea eax, [ebx + 8]
cmp dword [eax], edx
je 0x493c41
inc edi
add eax, 0x20
cmp edi, ecx
jl 0x493c33
jmp 0x493ca6
shl edi, 5
add ebx, edi
lea ecx, [esi + 0x18]
push ebx
mov dword [esi + 0x28], 1
call fcn.0056a239
mov ecx, dword [esi + 0x50]
lea edx, [ecx + edi + 0xc]
lea ecx, [esi + 4]
push edx
call fcn.0056a239
mov eax, dword [esi + 0x50]
lea ecx, [eax + edi + 0x10]
push ecx
lea ecx, [esi + 8]
call fcn.0056a239
mov edx, dword [esi + 0x50]
lea ecx, [esi + 0xc]
lea eax, [edx + edi + 0x14]
push eax
call fcn.0056a239
mov ecx, dword [esi + 0x50]
lea edx, [ecx + edi + 0x18]
lea ecx, [esi + 0x10]
push edx
call fcn.0056a239
mov eax, dword [esi + 0x50]
lea ecx, [eax + edi + 0x1c]
push ecx
lea ecx, [esi + 0x14]
call fcn.0056a239
mov eax, dword [esp + 0x18]
test eax, eax
je 0x493cd5
mov edx, dword [0x63e518]
push 4
push ebp
push 4
push 0
push str.languageID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.00496d60
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x493ce2
mov word [ebp], 9
mov ecx, esi
call fcn.00496d60
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x493cf0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagermenuExt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x493e26
mov edx, dword [0x63ea38]
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push str.ffdownl1_str
push edx
call esi
mov edx, dword [0x63ea20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x18]
push str.ffdownlAll_str
push eax
call esi
mov edx, dword [0x63ea30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
push str.ffdownlFLV_str
push ecx
call esi
mov edx, dword [0x63ea2c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push str.ffdownl10FLV_str
push edx
call esi
mov edx, dword [0x63ea34]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x18]
push str.ffdownlppFLV_str
push eax
call esi
mov edx, dword [0x63ea28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
mov ecx, dword [esp + 0x14]
push eax
push str.ffdownlFLVa_str
push ecx
call esi
mov edx, dword [0x63ea24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push str.ffdownl10FLVa_str
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x496bb0
Capabilities:
Identify system language via api
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x586ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
push edi
mov esi, ecx
call fcn.0042bbd0
mov ecx, esi
call fcn.00492f50
mov edx, dword [0x63e518]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.LanguageID
push edx
mov dword [esp + 0x24], 4
call edi
test eax, eax
jne 0x496c37
mov eax, dword [esp + 8]
push 0
mov word [esi + 0x24], ax
and eax, 0x3ff
push eax
mov ecx, esi
call fcn.00493bf0
pop edi
pop esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
add esp, 0xac
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [esi + 0x24], ax
and eax, 0x3ff
push 0
push eax
mov ecx, esi
call fcn.00493bf0
cmp word [esi + 0x26], 9
je 0x496cf7
mov eax, dword [esi + 0x28]
test eax, eax
je 0x496cf7
mov edx, dword [0x63e518]
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.LIDwa
push edx
mov dword [esp + 0x24], 4
call edi
test eax, eax
je 0x496cf7
push 0
lea ecx, [esp + 0x14]
call fcn.004c9560
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0
call fcn.00566096
mov ecx, dword [0x63e518]
lea eax, [esp + 8]
push 4
push eax
push 4
push 0
mov esi, 1
push str.LIDwa
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], esi
call fcn.00571e3c
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00565cd7
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xac
ret
Function at 0x49c3d0
Capabilities:
Identify system language via api

Disassembly:
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
cmp ax, 9
jne 0x49c3e9
xor ax, ax
pop edi
ret
push ebx
push esi
mov esi, dword [edi + 0x54]
xor edx, edx
test esi, esi
jle 0x49c40e
mov ecx, dword [edi + 0x50]
mov ebx, eax
and ebx, 0xffff
add ecx, 8
cmp dword [ecx], ebx
je 0x49c417
inc edx
add ecx, 0x20
cmp edx, esi
jl 0x49c402
pop esi
pop ebx
and eax, 0xffff
pop edi
ret
pop esi
pop ebx
xor eax, eax
pop edi
ret
Function at 0x49d270
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
mov edx, dword [0x63e518]
push esi
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x24]
xor esi, esi
push eax
push ecx
push esi
push esi
push str.RunIEMonitor
push edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49d2c9
cmp dword [ebp - 0x24], esi
je 0x49d3d2
mov eax, dword [0x639ad4]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x27c]
push 0x104
mov ebx, 1
push ecx
push esi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x37c]
lea eax, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x178]
push eax
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x27c]
push edx
push eax
call fcn.0054ea7c
add esp, 0x14
lea ecx, [ebp - 0x178]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.IEMonitor.exe
push ecx
push edx
push 0x6168c4
push eax
call fcn.00562ecb
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x49d3c6
mov edx, dword [0x639ad4]
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], 0x81
mov word [ebp - 0x48], si
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push str.__s_
push ecx
mov byte [ebp - 4], 2
call fcn.00562ecb
add esp, 0xc
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push edx
push eax
push esi
push esi
push 0x30
push ebx
push esi
push esi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
je 0x49d3bb
mov edx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x34]
push eax
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0056a100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret