joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472e70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6278
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov dword [ebp - 4], 0
mov esi, esp
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x134], esi
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov ecx, reloc.WS2_32.dll_accept
mov dword [esi], eax
call fcn.00471960
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x134], esi
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.00471960
add esp, 4
lea eax, [ebp - 0x130]
push 0x11c
push 0
push eax
call fcn.005a3020
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x12c], 0xa
je 0x472f28
call fcn.00472fd0
test eax, eax
je 0x472f78
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
mov dword [ebp - 0x134], esi
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov ecx, reloc.WS2_32.dll_accept
mov dword [esi], eax
call fcn.00471f30
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x134], esi
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.00471f30
add esp, 4
mov edx, str.MasterPDF
call fcn.00472a10
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472fae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret

Function at 0x472fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.005a3020
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x47303c
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x473029
cmp eax, 3
jne 0x47303c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
Function at 0x473ba0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6460
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.005a3020
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x104
push eax
push 0x63d1e8
push dword [ebp + 0xc]
push 0x632b28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x473c4a
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x473c25
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.004073a0
mov edi, 1
jmp 0x473c4c
xor edi, edi
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x473c8c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret

Function at 0x475650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x475681
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x475670
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x47c140
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1430
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6609c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edx, str.MasterPDFData
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.0047f6e0
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47c1ac
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test edi, edi
je 0x47c206
push edi
lea ecx, [ebp - 0x14]
call fcn.00406470
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0046cf30
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c1ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jmp 0x47c22e
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [esi], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c238
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47c250
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1430
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6609c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edx, str.UserData
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.0047c140
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47c2bc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test edi, edi
je 0x47c316
push edi
lea ecx, [ebp - 0x14]
call fcn.00406470
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0046cf30
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c2ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jmp 0x47c33e
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [esi], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c348
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47c360
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6be8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x6609c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, str.Update
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.0047c140
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47c3c9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004072d0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [esi], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c3fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47cb10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6c50
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x9c]
push eax
lea edx, [edi + 0x6c]
lea ecx, [ebp - 0x28]
call fcn.0047f010
push 0x67b34c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0047efc0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47cb81
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408130
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
push 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 1
push SysReAllocStringLen
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
jne 0x47cbc8
xor bl, bl
jmp 0x47cc8c
push 0
push eax
mov byte [ebp - 0x44], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x47cc6d
test bl, 0x1f
jne 0x47cc6d
mov ecx, ebx
lea esi, [edi + 0xc4]
shr ecx, 5
push ecx
mov ecx, esi
call fcn.0047e9b0
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push ebx
push dword [esi]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47cc24
cmp ebx, dword [ebp - 0x48]
je 0x47cc24
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x47cc54
mov eax, dword [esi + 4]
xor edx, edx
sub eax, dword [esi]
sar eax, 5
test eax, eax
je 0x47cc54
xor ecx, ecx
mov eax, dword [esi]
lea ecx, [ecx + 0x20]
inc edx
mov dword [ecx + eax - 0x20], edi
mov eax, dword [esi]
mov dword [ecx + eax - 0x1c], 0
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 5
cmp edx, eax
jb 0x47cc34
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
mov eax, dword [eax + 0xc]
cmp eax, dword [edi + 0x124]
cmovne ecx, edx
mov dword [ebp - 0x44], ecx
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [edi + 0xc8]
sub ebx, dword [edi + 0xc4]
and ebx, 0xffffffe0
neg ebx
sbb bl, bl
and bl, byte [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x47cca1
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00408130
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
Function at 0x47ccc0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6c88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc4]
cmp eax, dword [esi + 0xc8]
jne 0x47cd02
xor al, al
jmp 0x47cdd8
lea eax, [esi + 0x9c]
push eax
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0047f010
push 0x67b34c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047efc0
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x47cd42
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408130
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47cdbf
mov edi, dword [esi + 0xc8]
lea eax, [ebp - 0x44]
sub edi, dword [esi + 0xc4]
push 0
push eax
and edi, 0xffffffe0
mov dword [ebp - 0x44], 0
push edi
push dword [esi + 0xc4]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x47cda9
cmp edi, dword [ebp - 0x44]
je 0x47cdbf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
jmp 0x47cdc1
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x47cdd6
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408130
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
Function at 0x47cef0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6cbe
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x67b34c
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0047f010
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x67b364
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0047f010
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x47cf93
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47cf76
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408130
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040ec20
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47cfa8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408130
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47cfcf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
Function at 0x47cff0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6d08
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407520
xor eax, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
setne al
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x47d071
push 1
push 0x6319f4
lea ecx, [ebp - 0x28]
call fcn.0040ddb0
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], eax
push 1
push 3
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 0x5c
call fcn.0047ec60
mov esi, eax
cmp esi, 0xffffffff
je 0x47d106
mov dword [ebp - 0x44], 0x5c
nop word [eax + eax]
push esi
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0047eb20
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0047e910
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47d0e4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408130
push 1
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0047ec60
mov esi, eax
cmp esi, 0xffffffff
jne 0x47d0b0
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
sub ecx, ebx
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x44], eax
je 0x47d15e
mov esi, ebx
cmp dword [esi + 0x14], 8
jb 0x47d12f
mov eax, dword [esi]
jmp 0x47d131
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d155
cmp dword [esi + 0x14], 8
jb 0x47d146
mov eax, dword [esi]
jmp 0x47d148
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x47d1c6
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0x44]
jb 0x47d125
mov esi, dword [ebp - 0x4c]
test ebx, ebx
je 0x47d193
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
push ecx
mov ecx, ebx
call fcn.0047f120
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.0040e050
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x47d1a8
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x47d161
Function at 0x47d2a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6d38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6609c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ecx + 0x6c]
mov dword [ecx + 0xc8], eax
lea eax, [ecx + 0x9c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0047f010
push 0x67b34c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047efc0
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x47d315
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408130
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
cmp eax, 1
sete bl
cmp ecx, 8
jb 0x47d342
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408130
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589ffa
mov esp, ebp
pop ebp
ret
Function at 0x47d360
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6d6b
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x6609c4]
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 dword [ebp - 0x830], edx
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0xf
movsd qword [ebp - 0x838], xmm0
mov dword [ebp - 0x81c], 0
mov byte [ebp - 0x82c], 0
lea edx, [ebp - 0x82c]
mov dword [ebp - 4], 0
call fcn.0047d1d0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x83c], eax
call fcn.0049fd60
cmp dword [ebp - 0x818], 0x10
lea ecx, [ebp - 0x82c]
mov esi, eax
cmovae ecx, dword [ebp - 0x82c]
push ecx
push 0x2712
push esi
mov dword [ebp - 0x840], esi
call fcn.0049fdc0
push 1
push 0x2c
push esi
call fcn.0049fdc0
push 0x63d858
push 0x2734
push esi
call fcn.0049fdc0
push 1
push 0x34
push esi
call fcn.0049fdc0
push 1
push 0x2a
push esi
call fcn.0049fdc0
push 0x14
push 0x44
push esi
call fcn.0049fdc0
add esp, 0x48
mov ecx, edi
push 5
push 0
push str.https
call fcn.0047ec60
test eax, eax
jne 0x47d473
push eax
push 0x40
push esi
call fcn.0049fdc0
push 0
push 0x51
push esi
call fcn.0049fdc0
add esp, 0x18
push 0x1e
push 0xd
push esi
call fcn.0049fdc0
push 0x1e
push 0x4e
push esi
call fcn.0049fdc0
push 0x1e
push 0x5c
push esi
call fcn.0049fdc0
push esi
call fcn.0049fda0
mov ebx, eax
add esp, 0x28
test ebx, ebx
jne 0x47d4cb
lea eax, [ebp - 0x838]
push eax
push 0x30000f
push esi
call fcn.0049fd40
push ebx
push 0x200002
push esi
call fcn.0049fd40
movsd xmm1, qword [ebp - 0x838]
add esp, 0x18
jmp 0x47d4d6
xorps xmm1, xmm1
movsd qword [ebp - 0x838], xmm1
cmp dword [ebp - 0x830], 0
je 0x47d583
movsd xmm0, qword [0x63e930]
comisd xmm0, xmm1
jbe 0x47d583
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.005a3020
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x47d513
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x83c]
push eax
push 0
push ebx
push str.xd_getUrlFileSize_error:_d_http:_d_tic:_d_url:_s
lea eax, [ebp - 0x814]
push 0x400
push eax
call fcn.004087c0
add esp, 0x1c
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp - 0x814], 0
jne 0x47d558
xor ecx, ecx
jmp 0x47d570
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d561
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x814]
push eax
call fcn.00406cc0
push esi
call fcn.0049fd20
add esp, 4
movsd xmm0, qword [ebp - 0x838]
mov eax, dword [ebp - 0x818]
movsd qword [ebp - 0x844], xmm0
cmp eax, 0x10
jb 0x47d5c2
inc eax
lea ecx, [ebp - 0x82c]
push eax
push dword [ebp - 0x82c]
call fcn.00407450
movsd xmm0, qword [ebp - 0x844]
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.00589ffa
mov esp, ebp
pop ebp
ret