joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a5cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x663188
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00588849
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREmozilla.orgMozilla
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40f899
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40f899
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40f899
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40f899
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40f899
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40f803
mov edi, 0x63a4cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00588849
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x663188
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00588849
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARENetscapeNetscape
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40fa79
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40fa79
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40fa79
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40fa79
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40fa79
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40f9e3
mov edi, 0x63a4cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00588849
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4110f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x663680]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411130
mov eax, dword [esp + 4]
test eax, eax
je 0x411130
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x4115c0
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x59a756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov eax, dword [esp + 0x18c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push str.shlwapi
mov dword [eax], 0
mov dword [esp + 0x1c], 0x168
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x411623
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ebp, 1
test esi, esi
je 0x411693
push str.AssocQueryStringA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411680
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x638f44
push 0x63925c
push 2
push 0
call eax
test eax, eax
jl 0x411680
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x411680
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
mov ebx, 1
test ebp, ebp
je 0x41168b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x411766
mov edx, dword [0x65ec1c]
mov dword [esp + 0x10], edx
mov eax, dword [0x663660]
lea ecx, [esp + 0x10]
push eax
push str._stmp_test.html
push ecx
mov dword [esp + 0x19c], 0
call fcn.0058148b
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41174e
lea eax, [esp + 0x14]
push 0
push eax
push 0xd
push str._HTML___HTML_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jle 0x411743
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x411743
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
mov ebx, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x190], 0xffffffff
call fcn.005886c0
test ebx, ebx
je 0x4117df
mov esi, dword [esp + 0x198]
push 0x7e
mov eax, dword [esi]
push eax
call fcn.0056c5f0
add esp, 8
test eax, eax
je 0x4117ca
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00588435
lea eax, [esp + 0x18]
push eax
call fcn.004350d0
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x190], 1
push ecx
push 0x638fa8
push esi
call fcn.0058148b
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x190], 0xffffffff
call fcn.005886c0
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00411800
mov edx, dword [esp + 0x19c]
mov dword [edx], eax
mov ecx, dword [esp + 0x188]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret 8
Function at 0x411980
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59a76b
push eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x178
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x411af8
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push ebp
push ebp
push str.CurrentVersion
push ecx
mov dword [esp + 0x28], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411aed
lea edx, [esp + 0x18]
push esi
mov esi, dword [esp + 0x19c]
push edx
push 0x638fa8
push esi
call fcn.0058148b
mov eax, dword [esi]
push 0x20
push eax
call fcn.0056c5f0
add esp, 0x14
test eax, eax
je 0x411a3d
mov byte [eax], 0
mov edx, dword [esi]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp byte [edx + ecx - 1], 0x2e
jne 0x411a3d
dec ecx
push ebp
push ecx
mov ecx, esi
call fcn.00588ba0
mov eax, dword [0x65ec1c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push str._sMain
push edx
mov dword [esp + 0x198], 0
call fcn.0058148b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push edx
call ebx
test eax, eax
pop esi
jne 0x411ad9
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
push ecx
push 0
push 0
push str.PathToExe
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411ace
mov ecx, dword [esp + 0x194]
lea eax, [esp + 0x7c]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
mov ebp, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x188], 0xffffffff
call fcn.005886c0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x180]
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x184
ret 0xc
Function at 0x412df0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x412e62
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x20
ret
Function at 0x413d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aa66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc78
mov eax, dword [0x663654]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x10], esp
push esi
push eax
xor ebx, ebx
push 0x639028
push ecx
mov dword [ebp - 4], ebx
call fcn.0056d05a
add esp, 0x10
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41401a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41401a
push ebx
lea ecx, [ebp - 0xc84]
call fcn.0042e3a0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc08]
push eax
mov byte [ebp - 4], 1
call fcn.00588849
push esi
lea ecx, [ebp - 0xc0c]
call fcn.00588849
lea ecx, [ebp - 0xc20]
call fcn.00401070
lea ecx, [ebp - 0x114]
test ecx, ecx
je 0x413e6f
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413e6f
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
lea edx, [ebp - 0x114]
push 0xffffffffffffffff
push edx
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0xc18], eax
je 0x413e6f
lea eax, [eax + eax + 2]
push eax
call fcn.00584a5c
add esp, 4
cmp eax, ebx
mov dword [ebp - 0xc20], eax
je 0x413e6f
mov ecx, dword [ebp - 0xc18]
lea edx, [ebp - 0x114]
push ecx
push eax
push 0xffffffffffffffff
push edx
push ebx
push ebx
call esi
mov dword [ebp - 0xc18], eax
lea ecx, [ebp - 0xc84]
mov byte [ebp - 0xc14], bl
mov dword [ebp - 0xc28], 0x663380
call fcn.00584656
cmp eax, 1
jne 0x413f2e
lea ecx, [ebp - 0xbc4]
mov byte [ebp - 4], 9
call fcn.00539850
lea ecx, [ebp - 0xc00]
mov byte [ebp - 4], 8
call fcn.0059035b
lea ecx, [ebp - 0xc04]
mov byte [ebp - 4], 7
call fcn.005886c0
lea ecx, [ebp - 0xc08]
mov byte [ebp - 4], 6
call fcn.005886c0
lea ecx, [ebp - 0xc0c]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 4
call fcn.005886c0
lea ecx, [ebp - 0xc20]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 2
call fcn.005886c0
lea ecx, [ebp - 0xc84]
mov byte [ebp - 4], bl
call fcn.00584297
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 8
lea ecx, [ebp - 0xbc4]
mov byte [ebp - 4], 0x11
call fcn.00539850
lea ecx, [ebp - 0xc00]
mov byte [ebp - 4], 0x10
call fcn.0059035b
lea ecx, [ebp - 0xc04]
mov byte [ebp - 4], 0xf
call fcn.005886c0
lea ecx, [ebp - 0xc08]
mov byte [ebp - 4], 0xe
call fcn.005886c0
lea ecx, [ebp - 0xc0c]
mov byte [ebp - 4], 0xd
call fcn.005886c0
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 0xc
call fcn.005886c0
lea ecx, [ebp - 0xc20]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 0xa
call fcn.005886c0
lea ecx, [ebp - 0xc84]
mov byte [ebp - 4], bl
call fcn.00584297
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 2
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415100
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x59ad28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x65ec1c]
push ebx
push ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x48]
lea eax, [esp + 8]
lea ebx, [ecx + 8]
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x48], 0
call fcn.0055d250
test eax, eax
je 0x415298
mov al, byte [esp + 0x58]
test al, al
je 0x41519e
mov al, byte [esp + 0x30]
test al, al
je 0x41519e
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 4
call fcn.005886c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.005886c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.005886c0
mov byte [esp + 0x40], 1
jmp 0x4152ca
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4151da
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x4151d1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x415298
push edx
push eax
call fcn.0056dad2
add esp, 8
jmp 0x4151e1
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
jmp 0x4151e1
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
sete al
test al, al
je 0x415298
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x54]
push eax
push 0x638fa8
push esi
call fcn.0058148b
mov esi, dword [esi]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x415290
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push ecx
push 0x638fa8
push edx
call fcn.0058148b
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 8
call fcn.005886c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 7
call fcn.005886c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 6
call fcn.005886c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 5
call fcn.005886c0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.005886c0
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
push ebp
mov ecx, ebx
call fcn.004eb670
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xc
call fcn.005886c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0xb
call fcn.005886c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xa
call fcn.005886c0
mov byte [esp + 0x40], 9
lea ecx, [esp + 0xc]
call fcn.005886c0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
Function at 0x415310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59ad50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x65ec1c]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
push eax
push 0x638fa8
push ecx
mov dword [esp + 0x34], 0
call fcn.0058148b
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x415373
push eax
lea edx, [esp + 0x10]
push 0x638fa8
push edx
call fcn.0058148b
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov edi, dword [esi + 0x88]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add esi, 0x80
mov dword [esp + 0x14], ecx
lea ecx, [edi + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.004158e0
mov eax, dword [esi + 4]
lea edx, [edi + edi*2]
lea ecx, [esp + 8]
lea esi, [eax + edx*8]
push ecx
mov ecx, esi
call fcn.005887f9
lea edx, [esp + 0xc]
lea ecx, [esi + 4]
push edx
call fcn.005887f9
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call fcn.005886c0
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x18

Function at 0x415470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
lea ebx, [ecx + 8]
push esi
push ebp
mov ecx, ebx
call fcn.0055d250
test eax, eax
je 0x4154fb
mov al, byte [esp + 0x1c]
test al, al
je 0x41549a
mov al, byte [esi + 0x28]
test al, al
jne 0x4154fb
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4154cb
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
pop edi
not ecx
dec ecx
mov ecx, dword [eax - 8]
je 0x4154c7
test ecx, ecx
je 0x4154fb
push edx
push eax
call fcn.0056dad2
add esp, 8
jmp 0x4154d0
test ecx, ecx
jmp 0x4154d2
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
sete al
test al, al
je 0x4154fb
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4154f3
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
push ebp
mov ecx, ebx
call fcn.004eb670
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x41baf0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x59b510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 0x18
call fcn.005886c0
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0x17
call fcn.005886c0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 0x16
call fcn.005886c0
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 0x15
call fcn.005886c0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 0x14
call fcn.005886c0
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 0x13
call fcn.005886c0
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0x12
call fcn.005886c0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0x11
call fcn.005886c0
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 0x10
call fcn.005886c0
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0xf
call fcn.005886c0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xe
call fcn.005886c0
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 0xd
call fcn.005886c0
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 0xc
call fcn.005886c0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0xb
call fcn.005886c0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 0xa
call fcn.005886c0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 9
call fcn.005886c0
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov ecx, dword [esi + 0x20]
push ecx
call edi
mov edx, dword [esi + 0x1c]
push edx
call edi
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call fcn.005886c0
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call fcn.005886c0
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call fcn.005886c0
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call fcn.005886c0
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call fcn.005886c0
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.005886c0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4224f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59be50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x65ec1c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x663660]
lea edx, [ebp - 0x14]
push ecx
push str._sGrabber_
push edx
mov byte [ebp - 4], 1
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x422657
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.00588b2f
mov esi, eax
cmp esi, 0xffffffff
je 0x422657
lea ecx, [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0058108d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x18]
sete bl
call fcn.005886c0
test bl, bl
je 0x42255d
lea edx, [ebp - 0x1c]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.0058108d
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x1c]
sete bl
call fcn.005886c0
test bl, bl
je 0x42255d
mov al, byte [ebp + 8]
test al, al
je 0x422633
mov eax, dword [0x65ec1c]
mov dword [ebp + 8], eax
push 0
lea ecx, [ebp - 0x18]
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 - 0x18]
mov eax, dword [0x6643bc]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
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 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push edx
add eax, 8
push 0x638fa8
push eax
call fcn.0058148b
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
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 4