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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551923
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
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 0x47091e
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0xbc], 0x5602e8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
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 - 0xbc]
push ebx
push eax
push esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.00510d00
cmp al, bl
je 0x4708ee
mov eax, dword [ebp - 0x40]
cmp dword [eax - 8], ebx
jle 0x47087a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x5c]
cmp dword [eax - 8], ebx
jle 0x4708df
cmp dword [ebp - 0xa4], ebx
jne 0x4708df
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x14], ecx
push eax
lea edx, [ebp - 0x14]
push 0x597ddc
push edx
mov byte [ebp - 4], 2
call fcn.0053091a
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.0051c7b0
add esp, 8
cmp eax, ebx
je 0x4708d3
mov byte [eax], bl
mov edx, dword [ebp - 0x14]
push edx
call fcn.0051e9d6
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b04
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
push esi
call fcn.00470250
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], bl
call fcn.0043c730
inc esi
jmp 0x4707fd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471100
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5519b6
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 0x47123c
mov eax, dword [0x5b5ecc]
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.0053091a
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 0x471226
test esi, esi
je 0x47121f
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 0x4711c6
mov al, byte [esp + esi + 0x44]
cmp al, 0x2e
je 0x4711c6
movsx ecx, al
push ecx
call fcn.0051cc4d
add esp, 4
test eax, eax
jne 0x4711c1
cmp byte [esp + esi + 0x44], 0x66
jne 0x47120c
inc esi
cmp esi, edi
jl 0x4711a2
mov edx, dword [0x5b5ecc]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
push ebp
push 0x598a7c
push ecx
mov byte [esp + 0x170], 1
call fcn.0053091a
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.00537b04
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
jmp 0x471184
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov dword [esp + 0x160], 0xffffffff
call fcn.00537b04
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x154
ret
Function at 0x476710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5b5ecc]
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 + 0x890]
mov byte [ebp - 4], 1
call fcn.004a0e70
mov ebx, dword [ebp + 8]
cmp ebx, eax
jge 0x4767a4
mov edx, dword [esi + ebx*4 + 0x894]
mov edi, dword [0x5ba890]
xor eax, eax
cmp eax, dword [0x5ba894]
jge 0x47679e
lea ecx, [eax + eax*2]
cmp edx, dword [edi + ecx*4]
lea ecx, [edi + ecx*4]
jne 0x4767cf
mov edx, dword [ecx + 8]
lea eax, [ebp - 0x14]
push edx
push 0x597ddc
push eax
call fcn.0053091a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4767d2
mov al, 1
test al, al
je 0x4767d2
push ebx
lea ecx, [esi + 0x890]
call fcn.004a1080
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0x476767
lea ecx, [esi + 0x720]
call fcn.004627e0
mov edx, dword [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00477fc0
jmp 0x4767b0
Function at 0x478980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
lea eax, [ebp - 0x170]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x370]
lea edx, [ebp - 0x470]
push ecx
lea eax, [ebp - 0x270]
push edx
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x170]
push ecx
push edx
call fcn.0051d13a
mov eax, dword [0x5b5ecc]
add esp, 0x14
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x270]
push str.idmpldr.ini
lea edx, [ebp - 0x20]
push ecx
push edx
lea eax, [ebp - 0x1c]
push 0x59879c
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
call fcn.0053091a
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x478a7a
mov edx, dword [ebp - 0x1c]
push 0x59a220
push edx
call fcn.0051dc3f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x478a71
push esi
lea eax, [ebp - 0x6c]
push 0x20
push eax
call fcn.0051de71
add esp, 0xc
test eax, eax
je 0x478a71
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x6c]
push ecx
push 0x599b9c
push edx
call fcn.0051de3d
add esp, 0xc
cmp eax, 1
je 0x478a71
mov dword [ebp - 0x18], ebx
push esi
call fcn.0051da58
add esp, 4
push 0x5ba440
lea ecx, [ebp - 0x14]
call fcn.00537b72
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x478aa4
push eax
lea eax, [ebp - 0x14]
push str.c_ld
push eax
call fcn.0053091a
add esp, 0xc
mov ecx, 0xb
mov esi, str.https:__secure.internetdownloadmanager.com_
lea edi, [ebp - 0x4c]
lea edx, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
push ecx
push str.v511b8
push edx
push str._sbuy_idm.html__s_s
push 0x5bb7b8
call fcn.0053091a
mov eax, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp - 0x4c]
push eax
push str.v511b8
push ecx
push str._sbuy1.html__s_s
push 0x5bb7b4
call fcn.0053091a
mov edx, dword [ebp - 0x14]
add esp, 0x14
push edx
push str.v511b8
push str.http:__www.internetdownloadmanager.com___s_s
push 0x5bb7b0
call fcn.0053091a
mov eax, dword [ebp - 0x18]
add esp, 0x10
sub eax, 0x32
je 0x478b1e
dec eax
jne 0x478b30
push str._a_svfs_2c_
jmp 0x478b23
push str._a_dc_
push 0x5bb7a8
call fcn.0053091a
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479480
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x552bab
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 0x479568
add edi, 0x64
mov dword [esi + 0x34], edi
lea eax, [edi*8 + 4]
push eax
call fcn.005380a1
add esp, 4
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x4794ec
push fcn.00478dd0
push 0x478dc0
lea ebx, [eax + 4]
push edi
push 8
push ebx
mov dword [eax], edi
call fcn.0051d375
mov dword [esp + 0x10], ebx
jmp 0x4794f2
mov dword [esp + 0x10], ebp
mov ebx, ebp
cmp ebx, ebp
mov dword [esp + 0x1c], 0xffffffff
jne 0x479515
lea ecx, [esp + 0x24]
push 0x57d388
push ecx
mov dword [esp + 0x2c], 0xc0000017
call fcn.0051e99c
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, ebp
jle 0x479541
mov edx, dword [esi + 0x2c]
mov ecx, ebx
lea ebp, [edx + edi*8]
push ebp
call fcn.00537c3d
mov eax, dword [ebp + 4]
inc edi
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x30]
add ebx, 8
cmp edi, eax
jl 0x47951e
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x479565
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00478dd0
push ecx
push 8
push eax
call fcn.0051d281
push edi
call fcn.005380ca
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.00537c3d
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 0x4795b0
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.004797f0
mov ax, word [ebp]
cmp ax, 9
je 0x479666
mov ecx, dword [esi + 0x54]
cmp ecx, edi
jle 0x479666
mov ebx, dword [esi + 0x50]
mov edx, eax
and edx, 0xffff
lea eax, [ebx + 8]
cmp dword [eax], edx
je 0x479601
inc edi
add eax, 0x20
cmp edi, ecx
jl 0x4795f3
jmp 0x479666
shl edi, 5
add ebx, edi
lea ecx, [esi + 0x18]
push ebx
mov dword [esi + 0x28], 1
call fcn.00537c3d
mov ecx, dword [esi + 0x50]
lea edx, [ecx + edi + 0xc]
lea ecx, [esi + 4]
push edx
call fcn.00537c3d
mov eax, dword [esi + 0x50]
lea ecx, [eax + edi + 0x10]
push ecx
lea ecx, [esi + 8]
call fcn.00537c3d
mov edx, dword [esi + 0x50]
lea ecx, [esi + 0xc]
lea eax, [edx + edi + 0x14]
push eax
call fcn.00537c3d
mov ecx, dword [esi + 0x50]
lea edx, [ecx + edi + 0x18]
lea ecx, [esi + 0x10]
push edx
call fcn.00537c3d
mov eax, dword [esi + 0x50]
lea ecx, [eax + edi + 0x1c]
push ecx
lea ecx, [esi + 0x14]
call fcn.00537c3d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x479695
mov edx, dword [0x5ba8bc]
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.0047c4a0
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4796a2
mov word [ebp], 9
mov ecx, esi
call fcn.0047c4a0
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4796b0
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 0x5ba440
push 0
push str.SoftwareDownloadManagermenuExt
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4797e6
mov edx, dword [0x5bac98]
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 [0x5bac80]
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 [0x5bac90]
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 [0x5bac8c]
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 [0x5bac94]
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 [0x5bac88]
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 [0x5bac84]
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 0x47c2f0
Capabilities:
Identify system language via api
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x552bf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
push edi
mov esi, ecx
call fcn.004227e0
mov ecx, esi
call fcn.00478980
mov edx, dword [0x5ba8bc]
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 0x47c377
mov eax, dword [esp + 8]
push 0
mov word [esi + 0x24], ax
and eax, 0x3ff
push eax
mov ecx, esi
call fcn.004795b0
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.004795b0
cmp word [esi + 0x26], 9
je 0x47c437
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47c437
mov edx, dword [0x5ba8bc]
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 0x47c437
push 0
lea ecx, [esp + 0x14]
call fcn.004aaf20
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0
call fcn.00533ae5
mov ecx, dword [0x5ba8bc]
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.0053f8dc
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00533726
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xac
ret
Function at 0x4815d0
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 0x4815e9
xor ax, ax
pop edi
ret
push ebx
push esi
mov esi, dword [edi + 0x54]
xor edx, edx
test esi, esi
jle 0x48160e
mov ecx, dword [edi + 0x50]
mov ebx, eax
and ebx, 0xffff
add ecx, 8
cmp dword [ecx], ebx
je 0x481617
inc edx
add ecx, 0x20
cmp edx, esi
jl 0x481602
pop esi
pop ebx
and eax, 0xffff
pop edi
ret
pop esi
pop ebx
xor eax, eax
pop edi
ret
Function at 0x482470
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 0x552dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
mov edx, dword [0x5ba8bc]
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 0x4824c9
cmp dword [ebp - 0x24], esi
je 0x4825d2
mov eax, dword [0x5b5ecc]
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.0051d13a
add esp, 0x14
lea ecx, [ebp - 0x178]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.IEMonitor.exe
push ecx
push edx
push 0x59879c
push eax
call fcn.0053091a
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4825c6
mov edx, dword [0x5b5ecc]
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.0053091a
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 0x4825bb
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.00537b04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483420
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x552f66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebp
push edi
mov edi, ecx
push 0
mov dword [esp + 0xc], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x5b5ecc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [edi + 0x14]
mov dword [esp + 0x184], 0
neg ebp
sbb ebp, ebp
test ebp, ebp
je 0x4835a2
push ebx
push esi
cmp ebp, 0xffffffff
mov ecx, ebp
jne 0x483495
mov esi, dword [edi + 0x10]
xor eax, eax
test esi, esi
jbe 0x483495
mov edx, dword [edi + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x483495
inc eax
add edx, 4
cmp eax, esi
jb 0x483487
mov ebp, dword [ecx]
test ebp, ebp
jne 0x4834bd
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x10]
lea edx, [edi + 8]
inc eax
cmp eax, esi
jae 0x4834bd
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ebp, dword [edx]
test ebp, ebp
jne 0x4834bd
inc eax
add edx, 4
cmp eax, esi
jb 0x4834af
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push esi
lea ecx, [esp + 0x18]
call fcn.00537c3d
lea eax, [esi + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.00537c3d
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x483594
mov edx, dword [esp + 0x14]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x4411
lea ecx, [esp + 0x28]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea esi, [edx + 8]
push ecx
push ebx
mov ecx, esi
call fcn.00483cc0
test eax, eax
jne 0x483571
mov eax, dword [esi + 4]
test eax, eax
jne 0x48354a
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.00497690
mov ecx, esi
call fcn.00483e70
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
lea esi, [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00537c3d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call fcn.00537c3d
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x483474
pop esi
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 4]
test edi, edi
je 0x4835c2
push 0
push 0x1446
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 1
call fcn.00537b04
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x17c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x484710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5530d9
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], 0x561ea0
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.0049e0c0
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0049e0c0
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0049e0c0
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 0x484788
push esi
call fcn.005380ca
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 0x4847a7
push edi
call fcn.005380ca
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 0x4847c9
push ebx
call fcn.005380ca
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 0x484b80
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x553100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5b5ecc]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
push ecx
mov ecx, edi
call fcn.00484ca0
mov edx, dword [0x5b5ecc]
mov dword [esp + 8], edx
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 1
push eax
call fcn.0051dd2e
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 8]
push ecx
push str._ld_n
push edx
call fcn.0053091a
mov eax, dword [esp + 0x18]
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x484c39
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00537b04
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
call fcn.00537b04
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
push esi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
add edi, 0x44
push 0x1684
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00537b04
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret