joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423db9
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
xor ecx, ecx
push esi
mov esi, dword [eax*4 + 0x4d19f8]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
cmp esi, ecx
jne 0x423de1
mov eax, 0x86180002
jmp 0x423ef5
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x423dea
mov dword [eax], ecx
lea eax, [esi + 0x4094]
push edi
mov edi, dword [eax]
cmp edi, dword [esi + 0x405c]
jae 0x423ef2
lea edx, [edi + 1]
mov dword [eax], edx
mov dword [esi + edi*4 + 0x40a4], ecx
mov ecx, dword [esi + 0x70a4]
mov ebx, edi
lea ecx, [esi + ecx*2 + 0x60a4]
shl ebx, 5
add ebx, dword [esi + 0x4050]
lea eax, [esi + 0x4040]
push ecx
mov edx, edi
call fcn.00425c35
mov eax, dword [ebp + 0xc]
pop ecx
test eax, eax
je 0x423e41
lea ecx, [esi + 0x60a4]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x423ef2
cmp byte [ebx + 0x19], 0
jne 0x423e9d
push 0x4c5858
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x40a0]
push eax
lea eax, [esi + 0x409c]
push eax
lea eax, [esi + 0x4098]
push eax
lea eax, [esi + 0x24]
push edi
push eax
lea eax, [esi + 0x4040]
call fcn.00426646
add esp, 0x20
test eax, eax
je 0x423e9d
xor ecx, ecx
cmp eax, 2
setne cl
lea ecx, [ecx + ecx - 0x79e7fffd]
mov eax, ecx
jmp 0x423ef4
mov eax, dword [esi + 0x70a4]
lea edi, [esi + eax*2 + 0x60a4]
cmp word [edi], 0
je 0x423edf
mov dword [ebp + 8], edi
cmp word [edi], 0x2f
jne 0x423ed1
xor eax, eax
mov word [edi], ax
lea eax, [esi + 0x60a4]
push eax
call fcn.0042486b
pop ecx
push 0x5c
pop eax
mov word [edi], ax
mov edi, dword [ebp + 8]
inc edi
inc edi
cmp word [edi], 0
mov dword [ebp + 8], edi
jne 0x423eb3
cmp byte [ebx + 0x19], 0
je 0x423ef9
add esi, 0x60a4
push esi
call fcn.0042486b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [esi + 0x60a4]
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
push eax
xor eax, eax
inc eax
call fcn.00424884
pop ecx
pop ecx
test eax, eax
jne 0x423f58
mov eax, dword [esi + 0x409c]
add eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 4]
call fcn.00424939
pop ecx
pop ecx
test eax, eax
jne 0x423f58
cmp edi, dword [ebp - 4]
jne 0x423f58
lea esi, [ebp + 8]
call fcn.004248c6
test eax, eax
jne 0x423f58
cmp byte [ebx + 0x1d], al
je 0x423ef2
push dword [ebx + 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x423ef2
mov eax, 0x86180003
jmp 0x423ef4
Function at 0x424447
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
push esi
push edi
mov dword [ebp - 0x4c], eax
xor eax, eax
xor esi, esi
push 0x3e6
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push esi
push eax
mov dword [ebp - 0x44], esi
call fcn.004766d0
push 0x30
lea eax, [ebp - 0x7c]
push esi
push eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x80], esi
call fcn.004766d0
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x4244b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42450b
lea eax, [ebp - 0x40]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42450b
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x48]
push eax
push esi
push esi
push edi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4244e6
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x64]
je 0x4244f5
add edi, 8
lea eax, [ebp + 0x3a8]
cmp edi, eax
jb 0x4244c6
jmp 0x42450b
push 0x104
push edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp + 0x3a8]
mov eax, dword [ebp - 0x44]
pop edi
xor ecx, ebp
pop esi
call fcn.0047674a
add ebp, 0x3ac
leave
ret
Function at 0x4248e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x42492c
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x4248fd
mov eax, edi
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x424931
test ecx, ecx
je 0x42492c
test edi, edi
ja 0x4248f2
xor eax, eax
pop edi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42492e

Function at 0x424939
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x424981
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x424952
mov eax, edi
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x424986
test ecx, ecx
je 0x424981
test edi, edi
ja 0x424947
xor eax, eax
pop edi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x424983

Function at 0x426964
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x42696c
mov dword [ecx*4 + 0x4d36a0], eax
inc ecx
cmp ecx, 0x100
jb 0x426967
mov edx, 0x800
jmp 0x4269b9
mov eax, dword [ecx*4 + 0x4d32a0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4d36a0]
inc ecx
mov dword [ecx*4 + 0x4d369c], eax
cmp ecx, edx
jb 0x426998
mov dword [0x4d19e4], 0x427203
call fcn.00427361
test eax, eax
jne 0x4269da
mov dword [0x4d19e4], 0x42729f
pop esi
ret
Function at 0x427769
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x427780
leave
ret
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x42779f
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4277a4
inc edi
cmp edi, dword [ebp - 8]
jb 0x427796
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x427893
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x427826
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x4277d0
cmp cl, 0xff
jne 0x427855
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, 5
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x427866
movzx esi, byte [edx + 0x4b4be8]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
test bl, bl
je 0x427816
cmp bl, 0xff
jne 0x427863
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x4277ee
dec ecx
shl edx, cl
and edx, 7
je 0x4277bd
movzx ecx, byte [edx + 0x4b4be8]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x4b4be0], 0
mov cl, byte [ebx + 4]
je 0x427852
test cl, cl
je 0x427852
cmp cl, 0xff
jne 0x4277bd
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x427791
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x427791
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x4295f2
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x30], ebx
jne 0x42962a
push 0x20000
call fcn.004754de
pop ecx
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x42962a
xor eax, eax
jmp 0x42979c
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
and dword [ebp - 0x18], ebx
test eax, eax
jbe 0x42965e
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00411d7c
add ebx, dword [eax + 0x14]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jb 0x42963d
inc ebx
inc ebx
cmp ebx, 0x20000
ja 0x429623
call fcn.004297ad
push 2
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x2c], eax
cmp eax, 0xffffffff
je 0x429623
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4296bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.004297ad
jmp 0x429623
push 0x21
push 0x478
push dword [esi + 4]
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
and dword [ebp - 0x18], 0
test eax, eax
jbe 0x429725
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00411d7c
cmp dword [eax + 0x14], 0x20000
jbe 0x429703
and dword [ebp - 0x1c], 0
jmp 0x429711
push dword [ebp - 0x1c]
mov edx, eax
call fcn.0042c3a7
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jb 0x4296ea
push 0x4b4160
lea ecx, [ebp - 0x38]
call fcn.00402406
cmp dword [ebp - 0x24], 0x20000
ja 0x429747
push dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
call fcn.0042c3a7
pop ecx
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x38]
call fcn.004027d5
test ebx, ebx
jbe 0x42978c
push 0
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [esi + 0x30]
add eax, edi
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x429786
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4296b3
jmp 0x429788
add edi, eax
cmp edi, ebx
jb 0x429758
and dword [esi + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret 0xc
Function at 0x42984e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor edx, edx
cmp dword [esi + 0x40], ebx
je 0x429879
mov edx, dword [esi + 0x34]
mov eax, 0x1ffff
sub eax, dword [esi + 0x34]
jmp 0x42989a
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x42988c
cmp dword [esi + 0x54], ebx
je 0x42988c
mov eax, 0x20000
jmp 0x42989a
sub eax, dword [esi + 0x34]
mov ecx, 0x20000
cmp eax, ecx
jb 0x42989a
mov eax, ecx
push ebx
push eax
mov eax, dword [esi + 0x30]
add eax, edx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esi + 0x44], ebx
cmp eax, 0xffffffff
je 0x4299e5
cmp eax, ebx
je 0x429a16
add dword [esi + 0x34], eax
mov ecx, dword [esi + 0x34]
cmp dword [esi + 0x40], ebx
je 0x429994
mov eax, dword [esi + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esi + 0x30]
push str._r_n_r_n
push eax
call fcn.00479c20
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x429917
cmp dword [esi + 0x34], 0x800
mov dword [esi + 0x54], ebx
jbe 0x4299ab
push 0x21
push 0x478
push dword [esi + 4]
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
call fcn.004297ad
jmp 0x429a1e
mov eax, dword [esi + 0x30]
add edi, 4
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00429a28
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x20]
call fcn.004293fd
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x42994e
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push dword [esi + 0x3c]
call dword [eax + 8]
test eax, eax
jne 0x429974
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
sub eax, edi
add eax, ecx
cmp eax, ebx
je 0x429981
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x34], eax
cmp ecx, ebx
je 0x429984
mov edx, dword [ecx]
push eax
push edi
push dword [esi + 0x3c]
call dword [edx + 0xc]
test eax, eax
je 0x429984
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004027d5
jmp 0x4299d3
mov dword [esi + 0x34], ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
mov dword [esi + 0x40], ebx
call fcn.004027d5
jmp 0x4299ab
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4299ab
mov edx, dword [ecx]
push eax
push dword [esi + 0x30]
push dword [esi + 0x3c]
call dword [edx + 0xc]
test eax, eax
jne 0x4299d3
mov eax, dword [esi + 0x38]
cmp dword [esi + 0x34], eax
jne 0x4299b7
cmp eax, ebx
jne 0x4299c0
cmp dword [esi + 0x54], ebx
je 0x429865
call fcn.004297ad
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4299d3
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x4299d3
cmp edi, 0x2736
je 0x4299d3
call fcn.004297ad
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x429a12
push edi
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x4299d6
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
je 0x4299d3
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x429a12
push ebx
jmp 0x429a0a
Function at 0x429bc1
Capabilities:
Create thread

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
push esi
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], vtable.IAsynHttpClientEvent.0
lea esi, [edi + 0x2c]
mov dword [edi], vtable.AsynHttpFileClientImpl.0
mov dword [edi + 0x24], vtable.AsynHttpFileClientImpl.1.0
call fcn.0042ba28
lea ecx, [edi + 0x44]
call fcn.0042bb3f
lea ecx, [edi + 0x60]
call fcn.0042bb3f
lea ecx, [edi + 0x88]
mov dword [edi + 0x7c], 0x1e
mov dword [edi + 0x84], ebx
call fcn.004018eb
lea ecx, [edi + 0xa4]
call fcn.004018eb
lea ecx, [edi + 0xc0]
call fcn.004018eb
lea ecx, [edi + 0xdc]
call fcn.004018eb
lea ecx, [edi + 0xf8]
call fcn.004018eb
lea ecx, [edi + 0x114]
call fcn.004018eb
lea ecx, [edi + 0x130]
call fcn.004031ec
lea ecx, [edi + 0x14c]
call fcn.004031ec
xor eax, eax
push 0x108
mov dword [edi + 0x168], ebx
mov dword [edi + 0x16c], ebx
mov dword [edi + 0x178], ebx
mov word [edi + 0x17c], ax
call fcn.00476774
pop ecx
cmp eax, ebx
je 0x429c9d
mov esi, eax
call fcn.0042c5b4
jmp 0x429c9f
xor eax, eax
push ebx
push ebx
push edi
push 0x42b851
push ebx
push ebx
mov dword [edi + 0x80], eax
call fcn.00477955
add esp, 0x18
pop esi
mov dword [edi + 0x174], eax
mov eax, edi
pop ebx
ret
Function at 0x42a57a
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea esi, [ebx + 8]
mov dword [esp + 0x10], ebx
call fcn.0042bb26
cmp dword [ebx + 0x144], 0
mov esi, dword [eax]
je 0x42a74e
test esi, esi
je 0x42a74e
mov edi, dword [ebp + 0xc]
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00429436
mov ecx, dword [esp + 0x14]
cmp ecx, 0x190
jb 0x42a5e4
mov esi, dword [esi]
call fcn.004297ad
mov dword [ebx + 0x60], 3
xor eax, eax
inc eax
jmp 0x42a750
mov eax, dword [ebx + 0x144]
cmp eax, 1
jne 0x42a620
cmp ecx, 0x12e
jne 0x42a625
push edi
add ebx, 0x9c
mov edi, str.Location:
call fcn.0042946d
mov edi, dword [esp + 0x10]
lea ecx, [edi - 0x24]
mov edx, ebx
call fcn.0042aa6e
lea ebx, [edi - 0x24]
call fcn.0042adb8
jmp 0x42a66e
cmp eax, 2
jne 0x42a67f
cmp ecx, 0xc8
jne 0x42a5dc
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebx + 0x9c]
call fcn.004019ab
lea eax, [ebx + 0x148]
push eax
mov eax, edi
call fcn.004293fd
push edi
add ebx, 0xb8
mov edi, str.Last_Modified:
call fcn.0042946d
mov edi, dword [esp + 0x10]
lea ebx, [edi - 0x24]
call fcn.0042af1d
test eax, eax
jne 0x42a5dc
mov dword [edi + 0x60], 3
jmp 0x42a6a5
push 3
pop edi
cmp eax, edi
jne 0x42a6b1
cmp ecx, 0xce
jne 0x42a5dc
lea eax, [ebx - 0x24]
call fcn.0042b4ae
test eax, eax
jne 0x42a5dc
mov dword [ebx + 0x60], edi
mov esi, dword [esi]
call fcn.004297ad
jmp 0x42a5dc
cmp eax, 4
jne 0x42a5dc
cmp ecx, 0x130
jne 0x42a6ec
cmp dword [ebx + 0x7c], 8
jb 0x42a6cd
mov eax, dword [ebx + 0x68]
jmp 0x42a6d0
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a6e7
mov dword [ebx + 0x60], 2
jmp 0x42a5dc
add ebx, 0xffffffdc
jmp 0x42a744
cmp ecx, 0xc8
jne 0x42a5dc
cmp dword [ebx + 0x7c], 8
jb 0x42a703
mov eax, dword [ebx + 0x68]
jmp 0x42a706
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a73a
cmp dword [ebx + 0x7c], 8
jb 0x42a71c
mov eax, dword [ebx + 0x68]
jmp 0x42a71f
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add ebx, 0xffffffdc
mov ecx, ebx
call fcn.0042b6ec
test eax, eax
jne 0x42a5dc
jmp 0x42a73d
add ebx, 0xffffffdc
mov eax, ebx
call fcn.0042b7be
call fcn.0042b544
jmp 0x42a5dc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42aa6e
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ebx
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov edi, edx
mov dword [ebp - 8], ebx
call fcn.00401ce9
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
call fcn.00401ce9
lea eax, [esi + 0x17c]
push eax
lea ebx, [ebp - 0x20]
mov eax, edi
call fcn.00429ad7
pop ecx
lea ebx, [esi + 0x130]
push ebx
lea eax, [ebp - 0x20]
call fcn.004292a9
pop ecx
lea eax, [ebp - 0x3c]
push eax
mov eax, edi
call fcn.00429b75
pop ecx
lea eax, [esi + 0x14c]
push eax
lea eax, [ebp - 0x3c]
call fcn.004292a9
pop ecx
xor edi, edi
push edi
push 1
call fcn.004132d7
pop ecx
pop ecx
cmp eax, edi
je 0x42aafa
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x5c], eax
jmp 0x42aafd
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1e
dec dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
call fcn.0042bb88
cmp dword [ebx + 0x18], 0x10
jb 0x42ab23
mov eax, dword [ebx + 4]
jmp 0x42ab26
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x42ab53
cmp dword [ebx + 0x18], 0x10
jb 0x42ab3e
mov eax, dword [ebx + 4]
jmp 0x42ab41
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x178], eax
jmp 0x42abd9
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x178], eax
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x42abd9
and dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax]
add dword [ebp - 0x40], 4
mov dword [ebp - 0x60], eax
test ecx, ecx
jne 0x42ab86
xor eax, eax
jmp 0x42ab8e
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
mov edx, dword [ebp - 0x4c]
sub edx, ecx
sar edx, 2
cmp edx, eax
mov eax, dword [ebp - 0x4c]
jae 0x42abaa
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x42abcd
mov dword [ebp - 0x64], eax
cmp ecx, eax
jbe 0x42abb6
call fcn.00476388
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
call fcn.0042bd14
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax], 0
jne 0x42ab6c
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 2
test eax, eax
ja 0x42abfb
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x44], 0
jne 0x42ab0d
mov ebx, esi
call fcn.0042a92d
push esi
lea ebx, [ebp - 0x5c]
call fcn.0042a7af
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x42ac1b
push dword [ebp - 0x50]
call fcn.00476220
pop ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.00476220
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a62
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a62
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0047674a
leave
ret
Function at 0x42b5c6
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 8
push edi
jb 0x42b5ef
mov eax, dword [esi + 0x8c]
jmp 0x42b5f5
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b6db
cmp dword [esi + 0xa0], 8
jb 0x42b615
mov eax, dword [esi + 0x8c]
jmp 0x42b61b
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.0047b801
pop ecx
pop ecx
test eax, eax
jne 0x42b6bd
mov eax, dword [ebp - 0xb4]
cmp eax, dword [esi + 0x16c]
jne 0x42b6bd
lea eax, [ebp - 0xa8]
push eax
call fcn.0047b421
mov edi, eax
pop ecx
test edi, edi
je 0x42b6bd
push 0x70
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004766d0
add esp, 0xc
push edi
push 0x4b4104
lea eax, [ebp - 0x78]
push 0x38
push eax
call fcn.0047bdec
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401900
lea ecx, [ebp - 0x94]
mov ebx, esi
call fcn.0042b0a5
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x94]
inc bl
call fcn.00401a62
test bl, bl
je 0x42b6b8
mov dword [esi + 0x84], 3
xor eax, eax
inc eax
jmp 0x42b6dd
cmp dword [esi + 0xa0], 8
jb 0x42b6ce
mov esi, dword [esi + 0x8c]
jmp 0x42b6d4
add esi, 0x8c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret

Function at 0x42b6ec
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 0x80]
cmp dword [esi + 0x78], 8
push edi
jb 0x42b712
mov eax, dword [esi + 0x64]
jmp 0x42b715
lea eax, [esi + 0x64]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x42b7ad
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x42b734
mov eax, dword [eax + 4]
jmp 0x42b737
add eax, 4
push eax
call edi
test eax, eax
je 0x42b7ad
mov edi, dword [ebx + 0x80]
call fcn.0042c85f
test eax, eax
je 0x42b7ad
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x16c]
cmp ecx, dword [eax + 0x34]
jne 0x42b7ad
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401ce9
mov eax, dword [ebx + 0x80]
push 0xffffffffffffffff
push esi
add eax, 0xd0
push eax
lea ecx, [ebp - 0x20]
call fcn.004019ab
lea ecx, [ebp - 0x20]
call fcn.0042b0a5
test eax, eax
jne 0x42b79d
mov dword [ebx + 0x84], 3
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a62
xor eax, eax
inc eax
jmp 0x42b7af
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret