joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bc31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41bc48
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x41bc7d
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x41bc79
cmp edi, eax
jae 0x41bc7d
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x41bc6b
cmp edi, eax
jb 0x41bc81
xor eax, eax
jmp 0x41bc8a
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x41c504
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x850
mov eax, dword [0x4c2f90]
xor eax, esp
mov dword [esp + 0x84c], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x18]
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
test edi, edi
je 0x41c62d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41c62d
lea eax, [esp + 0x10]
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.0041ce2a
mov eax, esi
mov ecx, ebx
call fcn.0041c641
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x58], ax
lea eax, [esp + 0x5a]
push eax
call fcn.004764d0
add esp, 0xc
push 0x401
lea eax, [esp + 0x54]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x10]
call fcn.0041bde7
mov edi, dword [ebx + 0x5c]
add edi, 0x48
mov eax, esi
call fcn.0041a60f
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00419eaf
mov eax, ebx
call fcn.0041c690
mov ecx, dword [ebx + 0x5c]
push dword [esp + 0x30]
mov esi, ebx
mov dword [ecx + 0x4c], eax
call fcn.004226f2
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push dword [ebx + 0x5c]
call fcn.0042292f
cmp dword [ebx + 0x30], 0
je 0x41c624
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffe
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea ecx, [esp + 0x30]
call fcn.0041cda8
mov ecx, dword [esp + 0x854]
pop edi
pop esi
xor ecx, esp
call fcn.0047654a
mov esp, ebp
pop ebp
ret
Function at 0x423c42
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 + 0x4d0f80]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
cmp esi, ecx
jne 0x423c6a
mov eax, 0x86180002
jmp 0x423d7e
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x423c73
mov dword [eax], ecx
lea eax, [esi + 0x4094]
push edi
mov edi, dword [eax]
cmp edi, dword [esi + 0x405c]
jae 0x423d7b
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.00425645
mov eax, dword [ebp + 0xc]
pop ecx
test eax, eax
je 0x423cca
lea ecx, [esi + 0x60a4]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x423d7b
cmp byte [ebx + 0x19], 0
jne 0x423d26
push 0x4c4da4
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.00426056
add esp, 0x20
test eax, eax
je 0x423d26
xor ecx, ecx
cmp eax, 2
setne cl
lea ecx, [ecx + ecx - 0x79e7fffd]
mov eax, ecx
jmp 0x423d7d
mov eax, dword [esi + 0x70a4]
lea edi, [esi + eax*2 + 0x60a4]
cmp word [edi], 0
je 0x423d68
mov dword [ebp + 8], edi
cmp word [edi], 0x2f
jne 0x423d5a
xor eax, eax
mov word [edi], ax
lea eax, [esi + 0x60a4]
push eax
call fcn.0042427b
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 0x423d3c
cmp byte [ebx + 0x19], 0
je 0x423d82
add esi, 0x60a4
push esi
call fcn.0042427b
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.00424294
pop ecx
pop ecx
test eax, eax
jne 0x423de1
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.00424349
pop ecx
pop ecx
test eax, eax
jne 0x423de1
cmp edi, dword [ebp - 4]
jne 0x423de1
lea esi, [ebp + 8]
call fcn.004242d6
test eax, eax
jne 0x423de1
cmp byte [ebx + 0x1d], al
je 0x423d7b
push dword [ebx + 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x423d7b
mov eax, 0x86180003
jmp 0x423d7d
Function at 0x4242f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x42433c
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x42430d
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 0x424341
test ecx, ecx
je 0x42433c
test edi, edi
ja 0x424302
xor eax, eax
pop edi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42433e

Function at 0x424349
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x424391
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x424362
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 0x424396
test ecx, ecx
je 0x424391
test edi, edi
ja 0x424357
xor eax, eax
pop edi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x424393

Function at 0x426374
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 0x42637c
mov dword [ecx*4 + 0x4d2c20], eax
inc ecx
cmp ecx, 0x100
jb 0x426377
mov edx, 0x800
jmp 0x4263c9
mov eax, dword [ecx*4 + 0x4d2820]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4d2c20]
inc ecx
mov dword [ecx*4 + 0x4d2c1c], eax
cmp ecx, edx
jb 0x4263a8
mov dword [0x4d0f6c], 0x426c13
call fcn.00426d71
test eax, eax
jne 0x4263ea
mov dword [0x4d0f6c], 0x426caf
pop esi
ret
Function at 0x427179
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 0x427190
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 0x4271af
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4271b4
inc edi
cmp edi, dword [ebp - 8]
jb 0x4271a6
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x4272a3
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x427236
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x4271e0
cmp cl, 0xff
jne 0x427265
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 0x427276
movzx esi, byte [edx + 0x4b431c]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
test bl, bl
je 0x427226
cmp bl, 0xff
jne 0x427273
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x4271fe
dec ecx
shl edx, cl
and edx, 7
je 0x4271cd
movzx ecx, byte [edx + 0x4b431c]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x4b4314], 0
mov cl, byte [ebx + 4]
je 0x427262
test cl, cl
je 0x427262
cmp cl, 0xff
jne 0x4271cd
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4271a1
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 0x4271a1
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 0x428eef
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 [0x4c2f90]
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 0x428f27
push 0x20000
call fcn.004752e5
pop ecx
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x428f27
xor eax, eax
jmp 0x429099
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 0x428f5b
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00411e4e
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 0x428f3a
inc ebx
inc ebx
cmp ebx, 0x20000
ja 0x428f20
call fcn.004290aa
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 0x428f20
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x428fba
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.004290aa
jmp 0x428f20
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 0x429022
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00411e4e
cmp dword [eax + 0x14], 0x20000
jbe 0x429000
and dword [ebp - 0x1c], 0
jmp 0x42900e
push dword [ebp - 0x1c]
mov edx, eax
call fcn.0042bfac
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 0x428fe7
push 0x4b38d0
lea ecx, [ebp - 0x38]
call fcn.00402429
cmp dword [ebp - 0x24], 0x20000
ja 0x429044
push dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
call fcn.0042bfac
pop ecx
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x38]
call fcn.004027fd
test ebx, ebx
jbe 0x429089
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 0x429083
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x428fb0
jmp 0x429085
add edi, eax
cmp edi, ebx
jb 0x429055
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.0047654a
leave
ret 0xc
Function at 0x42914b
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4c2f90]
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 0x429176
mov edx, dword [esi + 0x34]
mov eax, 0x1ffff
sub eax, dword [esi + 0x34]
jmp 0x429197
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x429189
cmp dword [esi + 0x54], ebx
je 0x429189
mov eax, 0x20000
jmp 0x429197
sub eax, dword [esi + 0x34]
mov ecx, 0x20000
cmp eax, ecx
jb 0x429197
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 0x4292e2
cmp eax, ebx
je 0x429313
add dword [esi + 0x34], eax
mov ecx, dword [esi + 0x34]
cmp dword [esi + 0x40], ebx
je 0x429291
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.00479ca0
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x429214
cmp dword [esi + 0x34], 0x800
mov dword [esi + 0x54], ebx
jbe 0x4292a8
push 0x21
push 0x478
push dword [esi + 4]
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
call fcn.004290aa
jmp 0x42931b
mov eax, dword [esi + 0x30]
add edi, 4
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00429325
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x20]
call fcn.00428cf9
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x42924b
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push dword [esi + 0x3c]
call dword [eax + 8]
test eax, eax
jne 0x429271
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
sub eax, edi
add eax, ecx
cmp eax, ebx
je 0x42927e
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x34], eax
cmp ecx, ebx
je 0x429281
mov edx, dword [ecx]
push eax
push edi
push dword [esi + 0x3c]
call dword [edx + 0xc]
test eax, eax
je 0x429281
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004027fd
jmp 0x4292d0
mov dword [esi + 0x34], ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
mov dword [esi + 0x40], ebx
call fcn.004027fd
jmp 0x4292a8
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4292a8
mov edx, dword [ecx]
push eax
push dword [esi + 0x30]
push dword [esi + 0x3c]
call dword [edx + 0xc]
test eax, eax
jne 0x4292d0
mov eax, dword [esi + 0x38]
cmp dword [esi + 0x34], eax
jne 0x4292b4
cmp eax, ebx
jne 0x4292bd
cmp dword [esi + 0x54], ebx
je 0x429162
call fcn.004290aa
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4292d0
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.0047654a
leave
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x4292d0
cmp edi, 0x2736
je 0x4292d0
call fcn.004290aa
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x42930f
push edi
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x4292d3
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
je 0x4292d0
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x42930f
push ebx
jmp 0x429307
Function at 0x4294b0
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.0042b31f
lea ecx, [edi + 0x44]
call fcn.0042b4f6
lea ecx, [edi + 0x60]
call fcn.0042b4f6
lea ecx, [edi + 0x88]
mov dword [edi + 0x7c], 0x1e
mov dword [edi + 0x84], ebx
call fcn.004018ee
lea ecx, [edi + 0xa4]
call fcn.004018ee
lea ecx, [edi + 0xc0]
call fcn.004018ee
lea ecx, [edi + 0xdc]
call fcn.004018ee
lea ecx, [edi + 0xf8]
call fcn.004018ee
lea ecx, [edi + 0x114]
call fcn.004018ee
lea ecx, [edi + 0x130]
call fcn.004031d8
lea ecx, [edi + 0x14c]
call fcn.004031d8
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.00476574
pop ecx
cmp eax, ebx
je 0x42958c
mov esi, eax
call fcn.0042c1b9
jmp 0x42958e
xor eax, eax
push ebx
push ebx
push edi
push 0x42b148
push ebx
push ebx
mov dword [edi + 0x80], eax
call fcn.00477755
add esp, 0x18
pop esi
mov dword [edi + 0x174], eax
mov eax, edi
pop ebx
ret
Function at 0x429e70
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.00403ed0
cmp dword [ebx + 0x144], 0
mov esi, dword [eax]
je 0x42a045
test esi, esi
je 0x42a045
mov edi, dword [ebp + 0xc]
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00428d32
mov ecx, dword [esp + 0x14]
cmp ecx, 0x190
jb 0x429eda
mov esi, dword [esi]
call fcn.004290aa
mov dword [ebx + 0x60], 3
xor eax, eax
inc eax
jmp 0x42a047
mov eax, dword [ebx + 0x144]
cmp eax, 1
jne 0x429f17
cmp ecx, 0x12e
jne 0x429f1c
lea ecx, [ebx + 0x9c]
push edi
mov edi, str.Location:
mov dword [esp + 0x18], ecx
call fcn.00428d69
mov edx, dword [esp + 0x14]
add ebx, 0xffffffdc
mov ecx, ebx
call fcn.0042a365
call fcn.0042a6af
jmp 0x429f61
cmp eax, 2
jne 0x429f76
cmp ecx, 0xc8
jne 0x429ed2
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebx + 0x9c]
call fcn.004019ae
lea eax, [ebx + 0x148]
push eax
mov eax, edi
call fcn.00428cf9
push edi
lea ecx, [ebx + 0xb8]
mov edi, str.Last_Modified:
call fcn.00428d69
add ebx, 0xffffffdc
call fcn.0042a814
test eax, eax
jne 0x429ed2
mov eax, dword [esp + 0x10]
mov dword [eax + 0x60], 3
jmp 0x429f9c
push 3
pop edi
cmp eax, edi
jne 0x429fa8
cmp ecx, 0xce
jne 0x429ed2
lea eax, [ebx - 0x24]
call fcn.0042ada5
test eax, eax
jne 0x429ed2
mov dword [ebx + 0x60], edi
mov esi, dword [esi]
call fcn.004290aa
jmp 0x429ed2
cmp eax, 4
jne 0x429ed2
cmp ecx, 0x130
jne 0x429fe3
cmp dword [ebx + 0x7c], 8
jb 0x429fc4
mov eax, dword [ebx + 0x68]
jmp 0x429fc7
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429fde
mov dword [ebx + 0x60], 2
jmp 0x429ed2
add ebx, 0xffffffdc
jmp 0x42a03b
cmp ecx, 0xc8
jne 0x429ed2
cmp dword [ebx + 0x7c], 8
jb 0x429ffa
mov eax, dword [ebx + 0x68]
jmp 0x429ffd
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a031
cmp dword [ebx + 0x7c], 8
jb 0x42a013
mov eax, dword [ebx + 0x68]
jmp 0x42a016
lea eax, [ebx + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add ebx, 0xffffffdc
mov ecx, ebx
call fcn.0042afe3
test eax, eax
jne 0x429ed2
jmp 0x42a034
add ebx, 0xffffffdc
mov eax, ebx
call fcn.0042b0b5
call fcn.0042ae3b
jmp 0x429ed2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42a365
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4c2f90]
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.00401d0c
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
call fcn.00401d0c
lea eax, [esi + 0x17c]
push eax
lea ebx, [ebp - 0x20]
mov eax, edi
call fcn.004293c6
pop ecx
lea ebx, [esi + 0x130]
push ebx
lea eax, [ebp - 0x20]
call fcn.0042be9c
pop ecx
lea eax, [ebp - 0x3c]
push eax
mov eax, edi
call fcn.00429464
pop ecx
lea eax, [esi + 0x14c]
push eax
lea eax, [ebp - 0x3c]
call fcn.0042be9c
pop ecx
xor edi, edi
push edi
push 1
call fcn.0043e413
pop ecx
pop ecx
cmp eax, edi
je 0x42a3f1
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x5c], eax
jmp 0x42a3f4
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.0042b47b
cmp dword [ebx + 0x18], 0x10
jb 0x42a41a
mov eax, dword [ebx + 4]
jmp 0x42a41d
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x42a44a
cmp dword [ebx + 0x18], 0x10
jb 0x42a435
mov eax, dword [ebx + 4]
jmp 0x42a438
lea eax, [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x178], eax
jmp 0x42a4d0
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 0x42a4d0
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 0x42a47d
xor eax, eax
jmp 0x42a485
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 0x42a4a1
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x42a4c4
mov dword [ebp - 0x64], eax
cmp ecx, eax
jbe 0x42a4ad
call fcn.0047618f
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.0042b53f
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax], 0
jne 0x42a463
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 2
test eax, eax
ja 0x42a4f2
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x44], 0
jne 0x42a404
mov ebx, esi
call fcn.0042a224
push esi
lea ebx, [ebp - 0x5c]
call fcn.0042a0a6
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x42a512
push dword [ebp - 0x50]
call fcn.00476027
pop ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.00476027
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a65
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0047654a
leave
ret