joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439f90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587180
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x60b9b0]
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.0043c5b0
push 0x613490
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043c560
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43a001
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407ad0
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 0x43a048
xor bl, bl
jmp 0x43a10c
push 0
push eax
mov byte [ebp - 0x44], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x43a0ed
test bl, 0x1f
jne 0x43a0ed
mov ecx, ebx
lea esi, [edi + 0xc4]
shr ecx, 5
push ecx
mov ecx, esi
call fcn.0043bfd0
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 0x43a0a4
cmp ebx, dword [ebp - 0x48]
je 0x43a0a4
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x43a0d4
mov eax, dword [esi + 4]
xor edx, edx
sub eax, dword [esi]
sar eax, 5
test eax, eax
je 0x43a0d4
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 0x43a0b4
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 0x43a121
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00407ad0
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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x43a140
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5871b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x60b9b0]
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 0x43a182
xor al, al
jmp 0x43a258
lea eax, [esi + 0x9c]
push eax
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043c5b0
push 0x613490
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c560
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x43a1c2
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407ad0
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 0x43a23f
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 0x43a229
cmp edi, dword [ebp - 0x44]
je 0x43a23f
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 0x43a241
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43a256
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407ad0
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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x43a380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5871ee
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60b9b0]
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 0x613490
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0043c5b0
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 0x6134a8
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0043c5b0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43a423
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43a406
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407ad0
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.004168c0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43a438
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407ad0
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 0x43a45f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x43a810
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587268
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60b9b0]
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.0043c5b0
push 0x613490
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c560
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x43a885
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407ad0
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 0x43a8b2
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407ad0
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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x43a8d0
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58729b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x60b9b0]
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 - 0x834], edx
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0xf
movsd qword [ebp - 0x840], xmm0
mov dword [ebp - 0x820], 0
mov byte [ebp - 0x830], 0
lea edx, [ebp - 0x830]
mov dword [ebp - 4], 0
call fcn.0043a740
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x844], eax
call fcn.0046aba0
cmp dword [ebp - 0x81c], 0x10
lea ecx, [ebp - 0x830]
mov esi, eax
cmovae ecx, dword [ebp - 0x830]
push ecx
push 0x2712
push esi
mov dword [ebp - 0x84c], esi
call fcn.0046ac00
add esp, 0xc
push 1
push 0x2c
push esi
call fcn.0046ac00
add esp, 0xc
push 0x5f13c4
push 0x2734
push esi
call fcn.0046ac00
add esp, 0xc
push 1
push 0x34
push esi
call fcn.0046ac00
add esp, 0xc
push 1
push 0x2a
push esi
call fcn.0046ac00
add esp, 0xc
push 0x14
push 0x44
push esi
call fcn.0046ac00
add esp, 0xc
mov ecx, edi
push 5
push 0
push str.https
call fcn.0043c210
test eax, eax
jne 0x43a9f5
push eax
push 0x40
push esi
call fcn.0046ac00
add esp, 0xc
push 0
push 0x51
push esi
call fcn.0046ac00
add esp, 0xc
push 0x1e
push 0xd
push esi
call fcn.0046ac00
add esp, 0xc
push 0x1e
push 0x4e
push esi
call fcn.0046ac00
add esp, 0xc
push 0x1e
push 0x5c
push esi
call fcn.0046ac00
add esp, 0xc
push esi
call fcn.0046abe0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43aa59
lea eax, [ebp - 0x840]
push eax
push 0x30000f
push esi
call fcn.0046ab80
add esp, 0xc
push ebx
push 0x200002
push esi
call fcn.0046ab80
movsd xmm1, qword [ebp - 0x840]
add esp, 0xc
jmp 0x43aa64
xorps xmm1, xmm1
movsd qword [ebp - 0x840], xmm1
cmp dword [ebp - 0x834], 0
je 0x43ab12
movsd xmm0, qword [0x5f3610]
comisd xmm0, xmm1
jbe 0x43ab12
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.00557410
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x43aaa1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x844]
push eax
push 0
push ebx
push 0x5f13c8
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.0040b740
add esp, 0x1c
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp - 0x818], 0
jne 0x43aae6
xor ecx, ecx
jmp 0x43aaff
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43aaf0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x834]
lea eax, [ebp - 0x818]
push eax
call fcn.00406f20
push esi
call fcn.0046ab60
add esp, 4
movsd xmm0, qword [ebp - 0x840]
mov eax, dword [ebp - 0x81c]
movsd qword [ebp - 0x850], xmm0
cmp eax, 0x10
jb 0x43ab51
inc eax
lea ecx, [ebp - 0x830]
push eax
push dword [ebp - 0x830]
call fcn.00407970
movsd xmm0, qword [ebp - 0x850]
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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x43ab80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5872e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x9c]
push eax
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043c5b0
add esp, 4
push 0x6134a8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c560
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43abf3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407ad0
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
push 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 1
push 0xc0000000
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43ac51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0043a810
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [esi + 0xd0], eax
setne bl
cmp ecx, 8
jb 0x43ac9d
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407ad0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret

Function at 0x43acc0
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
push dword [edi + 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x43ad40
push 0
push 0
mov dword [edi + 0xd8], eax
call fcn.00568cbb
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
ret
Function at 0x43ad80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587318
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.0043aec0
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0xb4], edi
jbe 0x43ae5e
xor ecx, ecx
lea esi, [ebx + 0xb8]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov eax, dword [ebx + 0xc4]
push 0
push 0
add eax, ecx
push eax
push 0x43ad20
push 0
push 0
call fcn.00568cbb
mov ecx, dword [esi + 4]
add esp, 0x18
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
cmp eax, ecx
jae 0x43ae28
mov edx, dword [esi]
cmp edx, eax
ja 0x43ae28
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, dword [esi + 8]
jne 0x43ae15
push ecx
mov ecx, esi
call fcn.00409900
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x43ae23
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov edi, dword [ebp - 0x14]
jmp 0x43ae41
cmp ecx, dword [esi + 8]
jne 0x43ae35
push ecx
mov ecx, esi
call fcn.00409900
mov eax, dword [esi + 4]
test eax, eax
je 0x43ae41
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
inc edi
add dword [esi + 4], 4
add ecx, 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
cmp edi, dword [ebx + 0xb4]
jb 0x43add0
lea esi, [ebx + 0x10c]
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x43aea5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebx + 0x9c]
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x43aec0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xbc]
sub eax, dword [esi + 0xb8]
sar eax, 2
test eax, eax
je 0x43af14
push ebx
nop dword [eax]
cmp byte [ebp + 8], 0
mov eax, dword [esi + 0xb8]
mov ebx, dword [eax + edi*4]
je 0x43aef8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xbc]
inc edi
sub eax, dword [esi + 0xb8]
sar eax, 2
cmp edi, eax
jb 0x43aee0
pop ebx
mov eax, dword [esi + 0xb8]
pop edi
mov dword [esi + 0xbc], eax
pop esi
pop ebp
ret 4
Function at 0x43b570
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58739b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x18], 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 - 0x238], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 4], edi
call fcn.0046aba0
mov esi, eax
mov dword [ebp - 0x23c], esi
test esi, esi
je 0x43b7b3
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], edi
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x234]
mov edi, dword [ebp - 0x238]
lea ecx, [edi + 0x84]
call fcn.0043a740
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push 0x2712
push esi
call fcn.0046ac00
add esp, 0xc
push 0x43b7e0
push 0x4e2b
push esi
call fcn.0046ac00
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0046ac00
add esp, 0xc
push 0xf
push 0x5c
push esi
call fcn.0046ac00
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, dword [ebx + 0x18]
push eax
push 0x15
push esi
call fcn.0046ac00
add esp, 0xc
push 0xf
push 0xd
push esi
call fcn.0046ac00
add esp, 0xc
push 0xf
push 0x4e
push esi
call fcn.0046ac00
add esp, 0xc
push 1
push 0x34
push esi
call fcn.0046ac00
add esp, 0xc
push 0x14
push 0x44
push esi
call fcn.0046ac00
add esp, 0xc
lea ecx, [edi + 0x84]
push 5
push 0
push str.https
call fcn.0043c210
test eax, eax
jne 0x43b6c5
push eax
push 0x40
push esi
call fcn.0046ac00
add esp, 0xc
push 0
push 0x51
push esi
call fcn.0046ac00
add esp, 0xc
mov eax, dword [edi + 0x134]
mov dword [ebx + 4], eax
xor eax, eax
mov ecx, dword [edi + 0x134]
shld eax, ecx, 0xa
push eax
shl ecx, 0xa
push ecx
push 0x75c2
push esi
call fcn.0046ac00
push esi
call fcn.0046abe0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x43b723
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0x200002
push esi
call fcn.0046ab80
add esp, 0xc
cmp dword [ebp - 0x238], 0xc8
je 0x43b723
mov dword [ebx + 0x18], edi
push 0x200
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00557410
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov eax, dword [ebx + 0x18]
add eax, ecx
push dword [ebx + 0x14]
push eax
push ecx
push edi
push dword [ebx + 8]
lea eax, [ebp - 0x21c]
push str.curl
push 0x100
push eax
call fcn.00424100
add esp, 0x20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.0046ab60
mov eax, dword [ebp - 0x220]
add esp, 4
cmp eax, 0x10
jb 0x43b7b3
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00407970
jmp 0x43b7b3
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret 4
Function at 0x43b9a0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587410
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x9c]
mov dword [esi + 0xd0], 0xffffffff
push edi
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043c5b0
push 0x6134a8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043c560
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43ba26
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407ad0
xor eax, eax
mov dword [ebp - 0x2c], 7
push edi
lea edx, [esi + 0x6c]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
call fcn.0043c5b0
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0056b19b
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x43ba90
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407ad0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x43bab9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407ad0
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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x43c9a0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585b38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x43ca64
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x43ca64
push edi
call esi
test eax, eax
je 0x43ca64
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43ca04
push edi
call ebx
test eax, eax
jne 0x43ca64
lea ecx, [ebp - 0x10]
call fcn.00407f70
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x5f14a4
push eax
call fcn.00406520
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ca64
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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 0x43cf40
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587660
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x18], edi
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x43cf8e
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x43d0b6
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d0b3
push 0x5e769c
lea ecx, [ebp - 0x10]
call fcn.00412380
mov byte [ebp - 4], 1
push 0
push dword [edi]
mov dword [ebp - 0x1c], 0x34
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43d09e
push eax
call fcn.0055437d
mov edi, eax
add esp, 4
test edi, edi
jne 0x43d03e
push 0x5e70d4
mov ecx, ebx
call fcn.004078b0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d027
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x43d0d7
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43d093
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5ea270
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43d093
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.00406520
add esp, 0x18
push 1
push edi
call fcn.005541b1
add esp, 8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407be0
add eax, 0x10
mov dword [ebx], eax
jmp 0x43d006
mov eax, dword [ebp - 0x14]
mov ecx, eax
call fcn.00407be0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d0e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret