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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f5c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.0044a7d0
mov ecx, dword [0x75dbe4]
test ecx, ecx
je 0x4aca52
lea esi, [ebx + 8]
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push eax
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4ac9f2
mov eax, dword [ebx + 4]
test eax, eax
je 0x4ac8fb
push eax
call fcn.005f4517
add esp, 4
mov dword [ebx + 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4aca52
inc eax
push eax
call fcn.005f4522
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x4aca52
mov esi, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push 0
push esi
mov edx, dword [0x75dbe4]
push edx
call edi
test eax, eax
mov eax, dword [ebx + 4]
je 0x4ac953
push eax
call fcn.005f4517
add esp, 4
mov dword [ebx + 4], 0
jmp 0x4aca52
push 0x679010
push eax
call fcn.006218e0
add esp, 8
test eax, eax
jne 0x4ac993
mov eax, dword [ebx + 4]
push 0x678ff0
push eax
call fcn.006218e0
add esp, 8
test eax, eax
jne 0x4ac993
mov eax, dword [ebx + 4]
push 0x679430
push eax
call fcn.006218e0
add esp, 8
test eax, eax
je 0x4aca52
mov eax, dword [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004030c0
mov byte [ebp - 4], 1
push 0x67997c
push 0x679010
lea ecx, [ebp - 0x14]
call fcn.00402c20
push 0x67997c
push 0x679430
lea ecx, [ebp - 0x14]
call fcn.00402c20
push 0x67997c
push 0x678ff0
lea ecx, [ebp - 0x14]
call fcn.00402c20
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.004ac260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402580
jmp 0x4aca52
push str.ExceptionServers
push esi
call fcn.00421c00
add esp, 8
test al, al
je 0x4aca52
push 0x84
call fcn.005f4522
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x4aca52
mov ecx, 0x21
mov esi, str..update.microsoft.com_download.windowsupdate.com_.download.windowsupdate.com_siteseal.thawte.com_ecom.cimetz.com_.voice2page.com
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aca30
sub eax, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
inc eax
push eax
push ebx
push 1
push 0
push ecx
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4afe20
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov al, byte [esi]
mov dword [esp + 0xc], ecx
mov cl, 0x22
xor ebp, ebp
push edi
cmp al, cl
je 0x4afe3d
cmp al, 0x27
jne 0x4afe4e
mov ebx, dword [esp + 0x20]
inc esi
mov cl, al
mov ebp, 1
sub ebx, 2
jmp 0x4afe52
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
movsx eax, cl
push edi
push eax
mov dword [esp + 0x1c], eax
call fcn.00626067
mov eax, dword [esp + 0x30]
push edi
push eax
call fcn.00625f58
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push ebx
push esi
call fcn.004afdd0
test eax, eax
je 0x4afea2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push edi
sub ecx, eax
push ecx
push 1
push eax
call fcn.00622dc5
add esp, 0x10
add esi, ebx
test ebp, ebp
je 0x4afea9
inc esi
mov edx, dword [esp + 0x14]
push edi
push edx
call fcn.00626067
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10

Function at 0x4b0670
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64fa38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 8
call fcn.005f44e8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b07d8
cmp dword [0x752d28], 0
push 0
je 0x4b06d1
mov eax, dword [esp + 0x2c]
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
jmp 0x4b0718
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00402a80
add esp, 0xc
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x28]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402580
cmp edi, 0xffffffff
je 0x4b0741
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b074f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b074f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.005f4517
add esp, 4
jmp 0x4b07d8
cmp dword [esp + 0x10], 0
ja 0x4b073a
test esi, esi
je 0x4b073a
push esi
call fcn.005f4522
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x4b077b
push ebx
call fcn.005f4517
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b07d8
push esi
push 0
push eax
call fcn.00620920
mov eax, dword [ebx]
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push esi
push eax
push edi
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4b07c7
cmp dword [esp + 0x14], 0
jbe 0x4b07c7
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [ebx]
push ecx
call fcn.005f4517
push ebx
call fcn.005f4517
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x4b0b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64fac8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00402510
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x10]
push str._d__URL_s
push edx
call fcn.00402f80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 0x10
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004afe20
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402580
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x4b3190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
mov eax, dword [0x75dbe4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 4]
je 0x4b31c5
mov eax, dword [esp + 0x10]
add esp, 8
ret

Function at 0x4b31d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b31e0
mov ecx, dword [0x75dbe4]
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0xc]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
pop esi
ret

Function at 0x4b3210
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
mov dword [esp + 0x18], eax
mov eax, dword [0x75dbe4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x4b5680
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x75e5e8], 0
jne 0x4b56db
lea eax, [esp]
push eax
push 0
push 0
push 0x4b5530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x75e5e8], eax
test eax, eax
je 0x4b56d2
mov eax, dword [0x75e5ec]
test eax, eax
jne 0x4b56e0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
lea ebx, [ebx]
push 1
push 0
call esi
mov eax, dword [0x75e5ec]
test eax, eax
je 0x4b56c0
pop esi
pop ecx
ret
xor eax, eax
mov dword [0x75e5ec], eax
pop ecx
ret
mov eax, dword [0x75e5ec]
pop ecx
ret
Function at 0x4b7bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x650371
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [0x75dbe4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push ecx
call edi
test eax, eax
jne 0x4b7c78
lea ecx, [esp + 0x10]
call fcn.00402510
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.00402860
mov edx, dword [0x75dbe4]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebx
push ebx
push esi
push edx
call edi
test eax, eax
jne 0x4b7c6b
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00402800
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x10]
call fcn.00402580
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x10]
call fcn.00402580
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x4b7c85
mov eax, 0x67997c
mov esi, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004030c0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 1
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4b9420
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x650598
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGetAllDlgLS
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4b94dd
lea ecx, [ebp]
call fcn.004c14c0
mov byte [ebp - 4], 1
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp]
call fcn.004c1630
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004c1620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x214
mov esp, ebp
pop ebp
ret
xor bl, bl
mov byte [ebp - 0x24], bl
mov edi, 0x60
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x24]
call fcn.00435c40
cmp eax, edi
je 0x4b94fb
mov bl, 1
xor edi, edi
mov dword [ebp - 0x18], edi
cmp edi, 6
jge 0x4b9528
push edi
lea ecx, [esi + 0x1dc]
call fcn.00437ce0
test bl, bl
je 0x4b951e
push eax
lea ecx, [ebp - 0x24]
call fcn.004a6000
mov dword [esi + edi*4 + 0x310], eax
inc edi
jmp 0x4b94fd
push 4
lea edx, [esi + 0x310]
push edx
push 4
push 0
push str.FileName
mov eax, dword [ebp - 0x14]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
push 4
lea ecx, [esi + 0x314]
push ecx
push 4
push 0
push str.FileType
mov edx, dword [ebp - 0x14]
push edx
call edi
push 4
lea eax, [esi + 0x318]
push eax
push 4
push 0
push str.Size
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 4
lea edx, [esi + 0x31c]
push edx
push 4
push 0
push 0x68aec8
mov eax, dword [ebp - 0x14]
push eax
call edi
push 4
lea ecx, [esi + 0x320]
push ecx
push 4
push 0
push str.SaveTo
mov edx, dword [ebp - 0x14]
push edx
call edi
push 4
add esi, 0x324
push esi
push 4
push 0
push 0x68aeb4
mov eax, dword [ebp - 0x14]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x4b94b8
Function at 0x4b96d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64dcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov word [esp + 0x10], cx
mov dword [esp + 0x24], esi
mov edx, dword [0x75dd28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00401990
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x4b973a
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401210
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062023e
add esp, 0x1c
ret

Function at 0x4b9bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6684a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
xor ecx, ecx
push ecx
mov word [esp + 0x10], cx
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
call fcn.00401990
mov dword [esp + 0x20], 0
mov eax, dword [esp + 8]
test eax, eax
jne 0x4b9c3d
lea eax, [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push edi
call fcn.0040cd50
add esp, 0x10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 8]
call fcn.00401210
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062023e
add esp, 0x1c
ret
Function at 0x4bba60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x650948
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 4]
push 6
push str._file_
push eax
call fcn.00624cad
add esp, 0xc
test eax, eax
jne 0x4bbca5
push esi
call fcn.005124d0
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x4bbca5
cmp dword [esi + 0x10], 0
je 0x4bbca5
push str.anonymous
push eax
call fcn.00621d5e
add esp, 8
test eax, eax
je 0x4bbca5
lea ecx, [esp + 0x18]
call fcn.00402510
mov dword [esp + 0x28], 0
mov ecx, dword [esi + 4]
add ecx, 6
push ecx
lea edx, [esp + 0x1c]
push 0x678ea8
push edx
call fcn.00402f80
mov ecx, dword [esp + 0x24]
mov eax, ecx
add esp, 0xc
mov ebp, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4bbb10
sub eax, edi
push 0x2f
push ecx
mov edi, eax
mov bl, 1
call fcn.00621820
add esp, 8
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4bbb50
cmp byte [edi + ebp - 1], 0x2f
jne 0x4bbb3c
mov byte [edi + ebp - 1], 0
push 0x2f
push ebp
call fcn.00621820
add esp, 8
test eax, eax
je 0x4bbb50
mov byte [eax], 0x2d
jmp 0x4bbb67
cmp dword [esp + 0x1c], 0
je 0x4bbb69
mov eax, dword [esi + 8]
push eax
call fcn.004b7f00
add esp, 4
test al, al
jne 0x4bbb69
xor bl, bl
lea ecx, [esp + 0x30]
call fcn.00402510
mov byte [esp + 0x28], 1
test bl, bl
je 0x4bbba8
test edi, edi
je 0x4bbb98
mov ecx, dword [esi + 8]
push ecx
push ebp
lea edx, [esp + 0x38]
push str._s__s
push edx
call fcn.00402f80
add esp, 0x10
jmp 0x4bbbbb
mov eax, dword [esi + 8]
push eax
push 0x678ea8
lea ecx, [esp + 0x38]
push ecx
jmp 0x4bbbb3
push ebp
push 0x678ea8
lea edx, [esp + 0x38]
push edx
call fcn.00402f80
add esp, 0xc
push str.api.filesonic.com
mov ecx, esi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x50
call fcn.004531d0
push 0x67e070
mov ecx, esi
call fcn.00453240
lea ecx, [esp + 0x14]
call fcn.00402510
mov byte [esp + 0x28], 2
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.link_methodgetDownloadLinkids_su_sredirecttrue
push edx
call fcn.00402f80
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esi + 0x198]
push str.p_s
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x30]
add esp, 0x1c
push 0
push edx
mov ecx, esi
mov byte [esi + 0x194], 1
call fcn.00426360
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esi + 0xc8]
push str.http:__api.filesonic.com__s
push ecx
call fcn.00402f80
mov edx, dword [esi + 0x10]
push edx
push str.p_s
add esi, 0x148
push esi
call fcn.00402f80
add esp, 0x18
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x14]
call fcn.00402580
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x30]
call fcn.00402580
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402580
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4c1630
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xffffffffffffffff
push 0x6510e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x80], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 0x8c]
mov dword [ebp - 4], 0
cmp byte [esi + 0x20c], 0
jne 0x4c16cd
mov eax, dword [0x75dc38]
test eax, eax
jne 0x4c1692
mov eax, 0x75dc3c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c1695
sub eax, edx
sar eax, 1
je 0x4c16cd
mov byte [esi + 0x20c], 1
mov eax, dword [0x75dc38]
test eax, eax
jne 0x4c16bb
mov eax, 0x75dc3c
push eax
push str._sGlobalErrors.log
lea eax, [esi + 4]
push eax
call fcn.0040f8d0
add esp, 0xc
push 0x68aaac
add esi, 4
push esi
call fcn.00622f0d
add esp, 8
mov esi, eax
test esi, esi
je 0x4c1779
push 0
push esi
call fcn.006268d6
add esp, 8
cmp dword [ebp + 0x90], 0
je 0x4c1751
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00623d61
lea edx, [ebp - 0x1c]
push edx
call fcn.0062687a
lea ecx, [eax + 0x14]
push ecx
movzx edx, word [ebp - 0x18]
push edx
add eax, 4
push eax
mov eax, dword [0x75dd98]
push eax
push str._n_s__Time:__.15s._hu__s
lea ecx, [ebp]
push ecx
call fcn.0062311b
add esp, 0x20
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c1738
sub eax, edx
push esi
push eax
push 1
lea edx, [ebp]
push edx
call fcn.00622dc5
add esp, 0x10
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c1756
sub eax, edx
push esi
push eax
push 1
push edi
call fcn.00622dc5
push esi
call fcn.00622be7
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x84
mov esp, ebp
pop ebp
ret 8

Function at 0x4c1830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64dcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov word [esp + 0x10], cx
mov dword [esp + 0x24], esi
mov edx, dword [0x75dd28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00401990
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x4c189a
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
push edi
call fcn.0040cdc0
add esp, 0x10
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401210
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062023e
add esp, 0x1c
ret
Function at 0x4c2be0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6513eb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, ebx
jne 0x4c2c36
mov eax, 0x75dc3c
push ebx
push eax
push str._sGrabberProjects_
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4c2c4f
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c2d33
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4c2c69
lea eax, [ebp - 0x1c]
push 0x5c
add eax, 6
push eax
call fcn.00621db0
add esp, 8
mov esi, eax
lea esp, [esp]
cmp esi, ebx
je 0x4c2d33
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4c2c92
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402190
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov ecx, eax
jne 0x4c2cab
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4c2cb5
lea eax, [ebp - 0x1c]
mov edx, esi
sub edx, eax
sar edx, 1
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4c2ccb
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004ab030
add esp, 8
test eax, eax
jne 0x4c2d12
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4c2ce3
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004ab210
add esp, 8
test eax, eax
jne 0x4c2d12
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov eax, 0x7546
jmp 0x4c2da2
push 0x5c
add esi, 2
push esi
call fcn.00621db0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
jmp 0x4c2c80
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4c2d3d
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x678ea8
lea ecx, [edi + 8]
call fcn.004021c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x4c2da2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 4