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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64634b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [ebp + 8]
push edi
cmp ecx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edx
jl 0x4dc213
cmp ecx, dword [esi + 0xb0]
jge 0x4dc213
xor ebx, ebx
cmp edx, dword [esi + 0x530]
jge 0x4dc185
mov eax, dword [esi + 0x52c]
lea edi, [edx*8]
add eax, edi
cmp ecx, dword [eax]
jne 0x4dc1f1
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x530]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x52c]
sub eax, edx
mov ebx, 1
dec eax
add ecx, edi
mov edi, ebx
dec ebx
test edi, edi
je 0x4dc156
add ecx, 8
jmp 0x4dc14a
test eax, eax
je 0x4dc175
mov ecx, dword [esi + 0x52c]
shl eax, 3
push eax
lea eax, [ecx + edx*8 + 8]
lea ecx, [ecx + edx*8]
push eax
push ecx
call fcn.0060ac20
add esp, 0xc
mov eax, dword [esi + 0x530]
mov ebx, dword [ebp + 8]
dec eax
mov dword [esi + 0x530], eax
test ebx, ebx
je 0x4dc213
mov edx, dword [ebx]
push 0
push 0x1442
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 8], ebx
mov al, byte [ebx + 0x26]
mov byte [ebp - 4], 1
test al, al
je 0x4dc1c1
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4dc1ba
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x10]
call fcn.00401070
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0
call fcn.00622d8a
push ebx
call fcn.00622af4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edx
jmp 0x4dc10f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dc230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646376
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 + 0x530]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x4dc2fb
mov eax, dword [ebx + 0x52c]
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 + 0x52c]
mov esi, dword [eax + edi*8 + 4]
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x4dc2ee
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 2
test al, al
je 0x4dc2b8
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4dc2b1
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00622d8a
push esi
call fcn.00622af4
add esp, 4
mov dword [ebp - 4], 0
inc edi
jmp 0x4dc25b
mov dword [ebp - 4], 0
inc edi
jmp 0x4dc25b
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x528]
call fcn.004e56c0
mov ecx, ebx
call fcn.004e1a80
mov esi, dword [ebx + 0x53c]
test esi, esi
je 0x4dc361
mov dword [ebp - 0x1c], esi
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 4
test al, al
je 0x4dc33a
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4dc333
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call fcn.00622d8a
push esi
call fcn.00622af4
add esp, 4
mov dword [ebx + 0x53c], 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 0x4de330
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64643b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
xor edi, edi
cmp edi, dword [esi + 0xb0]
jge 0x4de44c
mov eax, dword [0x6f7b78]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x78], bx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x6c], bx
call fcn.004027c0
mov eax, dword [0x6f7b78]
lea ecx, [ebp - 0x40]
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
call fcn.004027c0
mov eax, dword [0x6f7b78]
mov dword [ebp - 0xd8], 0x65b4ec
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xd8]
push ebx
push eax
push edi
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.005fa550
cmp al, bl
je 0x4de41c
cmp byte [ebp - 0x90], bl
je 0x4de41c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4de3fe
lea eax, [ebp - 0x3c]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
jbe 0x4de41c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4de415
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.00483aa0
inc edi
jmp 0x4de35d
mov eax, dword [esi + 0x41c]
cmp eax, ebx
jne 0x4de45c
lea eax, [esi + 0x420]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4de482
mov eax, dword [esi + 0x41c]
cmp eax, ebx
jne 0x4de479
lea eax, [esi + 0x420]
push eax
call fcn.0060c764
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 0x4e04a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x64665b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov al, byte [esi + 0x26]
mov dword [esp + 0x10], 0
test al, al
je 0x4e04dd
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4e04d6
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov dword [esp + 0x10], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4e1a80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64678b
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 + 0x53c]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4e1b2b
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e1ad9
mov ecx, dword [edi + 0x53c]
push ebx
push 0x1442
push 0x111
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.004dacd0
mov esi, dword [edi + 0x53c]
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x4e1b25
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 1
cmp al, bl
je 0x4e1b09
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4e1b02
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], bl
call fcn.00622d8a
push esi
call fcn.00622af4
add esp, 4
mov dword [edi + 0x53c], 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 0x4e89d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x647298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
mov bl, 1
lea ecx, [edi + 0x628]
mov byte [ebp - 4], bl
call fcn.005245f0
mov ecx, dword [ebp + 8]
cmp ecx, eax
jge 0x4e8a6c
mov edx, dword [edi + ecx*4 + 0x62c]
mov esi, dword [0x6fc9f8]
mov byte [ebp - 0x11], bl
mov ebx, dword [0x6fc9fc]
xor eax, eax
cmp eax, ebx
jge 0x4e8a62
lea ecx, [eax + eax*2]
cmp edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
jne 0x4e8a97
mov ecx, dword [ecx + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401f20
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4e8a56
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4e8a9a
mov al, byte [ebp - 0x11]
test al, al
je 0x4e8a9a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [edi + 0x628]
call fcn.00524800
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
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 0x4e8a31
lea ecx, [edi + 0x4b0]
call fcn.004cdb00
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4e8aaf
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.004ea990
jmp 0x4e8a78
Function at 0x4ec470
Capabilities:
Set registry value

Disassembly:
mov ax, word [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esi + 0x3c], ax
mov dword [esi + 0x40], 0
call fcn.004ec830
mov cx, word [esi + 0x3c]
cmp cx, 9
je 0x4ec5ea
mov edx, dword [esi + 0x6c]
xor eax, eax
test edx, edx
jle 0x4ec5ea
mov ebx, dword [esi + 0x68]
mov edi, ecx
and edi, 0xffff
lea ecx, [ebx + 0x10]
cmp dword [ecx], edi
je 0x4ec4c5
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4ec4b4
jmp 0x4ec5ea
lea edi, [eax + eax*4]
mov ebp, dword [0x6fc1dc]
shl edi, 3
mov dword [esi + 0x40], 1
mov eax, dword [esi + 0x18]
cmp eax, dword [ebx + edi]
je 0x4ec4ff
test eax, eax
je 0x4ec4eb
push eax
call dword [0x6fc1e0]
mov ecx, dword [ebx + edi]
push ecx
call dword [0x6fc26c]
mov edx, dword [ebx + edi]
push eax
push edx
call ebp
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi + 0x14]
lea ebx, [eax + edi + 0x14]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x4ec52e
test eax, eax
je 0x4ec51c
push eax
call dword [0x6fc1e0]
mov ecx, dword [ebx]
push ecx
call dword [0x6fc26c]
mov edx, dword [ebx]
push eax
push edx
call ebp
mov dword [esi + 4], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi + 0x18]
lea ebx, [eax + edi + 0x18]
mov eax, dword [esi + 8]
cmp eax, ecx
je 0x4ec55d
test eax, eax
je 0x4ec54b
push eax
call dword [0x6fc1e0]
mov ecx, dword [ebx]
push ecx
call dword [0x6fc26c]
mov edx, dword [ebx]
push eax
push edx
call ebp
mov dword [esi + 8], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi + 0x1c]
lea ebx, [eax + edi + 0x1c]
mov eax, dword [esi + 0xc]
cmp eax, ecx
je 0x4ec58c
test eax, eax
je 0x4ec57a
push eax
call dword [0x6fc1e0]
mov ecx, dword [ebx]
push ecx
call dword [0x6fc26c]
mov edx, dword [ebx]
push eax
push edx
call ebp
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi + 0x20]
lea ebx, [eax + edi + 0x20]
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x4ec5bb
test eax, eax
je 0x4ec5a9
push eax
call dword [0x6fc1e0]
mov ecx, dword [ebx]
push ecx
call dword [0x6fc26c]
mov edx, dword [ebx]
push eax
push edx
call ebp
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi + 0x24]
lea edi, [eax + edi + 0x24]
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x4ec5ea
test eax, eax
je 0x4ec5d8
push eax
call dword [0x6fc1e0]
mov ecx, dword [edi]
push ecx
call dword [0x6fc26c]
mov edx, dword [edi]
push eax
push edx
call ebp
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ec627
mov edx, dword [0x6fcafc]
lea ecx, [esp + 0x14]
push 4
push ecx
xor eax, eax
push 4
mov ax, word [esi + 0x3c]
push 0
push str.LanguageID
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.004f0e40
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ec634
mov word [esi + 0x3c], 9
mov ecx, esi
call fcn.004f0e40
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4ec740
Capabilities:
Check for peb beingdebugged flag
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x647898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov word [esp + 0x14], bp
mov ebx, dword [0x6fca90]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebp
call fcn.00401070
mov esi, dword [esp + 0x34]
cmp esi, ebp
je 0x4ec7d1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4ec7d1
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
push esi
push ebp
push ebx
call edi
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4ec7d1
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4ec7dd
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 0xffffffffffffffff
push esi
push ebp
push ebx
call edi
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x4ec7dd
mov eax, esi
jmp 0x4ec7e5
lea eax, [esp + 0x14]
lea esi, [esp + 0x14]
push eax
call fcn.00609a4e
mov ecx, dword [esp + 0x30]
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x30]
push edx
push esi
push 1
push ebp
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4f0a80
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov si, ax
and esi, 0xffff
mov eax, esi
and eax, 0x3ff
cmp ax, 9
jne 0x4f0b51
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov si, ax
and esi, 0xffff
mov ecx, esi
and ecx, 0x3ff
cmp cx, 9
jne 0x4f0b51
push str.Kernel32
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x4f0afc
push str.Kernel32.dll
call fcn.0044abc0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x10], 1
je 0x4f0b51
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSystemDefaultUILanguage
push edi
call ebp
push str.GetUserDefaultUILanguage
push edi
mov ebx, eax
call ebp
test ebx, ebx
mov ebp, eax
je 0x4f0b25
call ebx
mov si, ax
and esi, 0xffff
mov edx, esi
and edx, 0x3ff
cmp dx, 9
jne 0x4f0b42
test ebp, ebp
je 0x4f0b42
call ebp
mov si, ax
and esi, 0xffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f0b51
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
and eax, 0x3ff
cmp ax, 9
jne 0x4f0bec
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
push 0
mov dword [esp + 0x1c], 9
mov dword [esp + 0x18], 0
call ebp
mov edi, eax
test edi, edi
je 0x4f0bec
mov ecx, edi
shl ecx, 4
push ecx
call fcn.00622acb
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4f0bec
push ebx
push edi
call ebp
xor edx, edx
test eax, eax
jbe 0x4f0bd0
xor ecx, ecx
mov cx, word [ebx + ecx*4]
mov edi, ecx
and edi, 0x3ff
cmp di, 9
je 0x4f0bc3
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
inc edi
mov dword [esp + 0x10], edi
inc edx
mov ecx, edx
and ecx, 0xffff
cmp ecx, eax
jb 0x4f0ba4
push ebx
call fcn.00622af4
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, 1
jne 0x4f0bec
mov esi, dword [esp + 0x14]
and esi, 0xffff
mov eax, esi
and eax, 0x3ff
cmp esi, 0x416
je 0x4f0c28
cmp esi, 0xc1a
je 0x4f0c28
cmp esi, 0x403
je 0x4f0c28
cmp esi, 0x804
je 0x4f0c1b
cmp esi, 0x1004
jne 0x4f0c2b
pop edi
pop esi
pop ebp
mov eax, 0x804
pop ebx
add esp, 8
ret
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4f0c40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6478f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov esi, ecx
call fcn.0044aeb0
mov ecx, esi
call fcn.004f8390
mov ecx, esi
call fcn.004eb520
mov edi, dword [esp + 0x90]
mov dword [esp + 0x10], 4
test di, di
je 0x4f0d1b
mov ecx, dword [0x6fcafc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.LIDwa
push ecx
mov dword [esp + 0x24], 1
call ebx
push 0
push edi
mov ecx, esi
call fcn.004ec470
mov ecx, dword [0x6fcafc]
lea eax, [esp + 0x14]
push 4
push eax
mov edx, edi
push 4
push 0
and edx, 0xffff
push str.LanguageID
push ecx
mov dword [esp + 0x2c], edx
call ebx
cmp di, word [esi + 0x3c]
je 0x4f0e10
mov edx, dword [esp + 0x94]
mov word [esi + 0x30], di
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 0x2c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f0d11
push edx
lea ecx, [esi + 0x1c]
call fcn.00622f13
call fcn.00459dc0
jmp 0x4f0e10
mov ecx, esi
call fcn.004f0a80
mov ecx, dword [0x6fcafc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.LanguageID
push ecx
call ebx
test eax, eax
push 0
jne 0x4f0d5d
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004ec470
jmp 0x4f0e10
push edi
mov ecx, esi
call fcn.004ec470
mov eax, dword [0x6fcae4]
test eax, eax
jne 0x4f0e10
cmp word [esi + 0x3c], 9
je 0x4f0e10
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4f0e10
mov edx, dword [0x6fcafc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.LIDwa
push edx
mov dword [esp + 0x28], 4
call ebx
test eax, eax
je 0x4f0e10
push 0
lea ecx, [esp + 0x1c]
call fcn.00533e70
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0
call fcn.006226c5
mov ecx, dword [0x6fcafc]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.LIDwa
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x74], 0x658be8
call fcn.00622306
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 8
Function at 0x4fd260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x648169
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x65def4
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.00422a80
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00422a80
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00422a80
mov dword [esp + 0x10], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov esi, dword [esi + 4]
mov byte [esp + 0x1c], 3
test esi, esi
je 0x4fd2d8
push esi
call fcn.00622af4
add esp, 4
mov dword [esp + 0x10], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov edi, dword [edi + 4]
mov byte [esp + 0x1c], 4
test edi, edi
je 0x4fd2f7
push edi
call fcn.00622af4
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [ebx], method.CCommandLineInfo.virtual_0
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], 5
test ebx, ebx
je 0x4fd319
push ebx
call fcn.00622af4
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4fd6e0
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x648190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
lea eax, [esp + 0x14]
mov dword [esp + 0x34], ebx
push eax
call fcn.004fd810
mov ecx, dword [0x6f7b78]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x20]
mov byte [esp + 0x34], 1
push edx
call fcn.0060b5c4
mov eax, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0xc]
push eax
push str._lu_n
push ecx
call fcn.0061fae1
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x4fd759
lea eax, [esp + 0x18]
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fd79f
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.00622d8a
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
call fcn.00401070
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push ebx
push edx
push ecx
push eax
push esi
call edi
lea eax, [esp + 0x14]
push ebx
push eax
add ebp, 0x48
push 0x2d08
push ebp
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call fcn.00622d8a
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4ff180
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ff29c
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4ff1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4ff1e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x4ff1fb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
test ebp, ebp
jne 0x4ff212
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
lea edi, [ebp + 1]
push edi
call fcn.00622acb
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ff237
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4ff293
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4ff293
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.004fe590
push esi
call fcn.00622af4
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.00622af4
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4