joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428ed6
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push 0x34
mov eax, 0x54d5f1
call fcn.0051d3dc
mov ebx, ecx
push str.360se.exe
lea ecx, [ebp - 0x40]
call fcn.00401b4a
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00420ced
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004036e0
cmp dword [ebp - 0x18], 0
je 0x429015
xor eax, eax
lea esi, [ebx + 0xe7c]
cmp dword [ebp - 0x14], 8
mov word [esi], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x103
push esi
call fcn.0053030e
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...User_Data
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428f77
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_Data
push esi
call edi
push str.tcdump
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428f92
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x2710
call fcn.004290fe
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push str._scrashinfo__d__d.dat
mov edi, 0x104
lea eax, [ebx + 0x128c]
push edi
push eax
call fcn.00401ab5
push esi
push str._sStandaloneCrashInfo
lea eax, [ebx + 0x1494]
push edi
push eax
call fcn.00401ab5
add esp, 0x28
lea eax, [ebx + 0xe10]
cmp byte [ebp + 8], 0
lea edi, [ebx + 0x1084]
push eax
push esi
je 0x428ff0
push str._s_secrash__s.dmp
push 0xffffffffffffffff
jmp 0x428ffa
push str._sMinorError__s.dmp
push 0x104
push edi
call fcn.00401ab5
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429015
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.004036e0
call fcn.0051d386
ret 4
Function at 0x42911d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4292f5
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00520800
add esp, 0xc
call fcn.00422de9
test eax, eax
jne 0x4291c1
lea eax, [ebp - 0x634]
push eax
call fcn.004210a7
pop ecx
cmp dword [ebp - 0x624], ebx
jne 0x429184
lea ecx, [ebp - 0x634]
call fcn.004036e0
jmp 0x4292f5
cmp dword [ebp - 0x620], 8
lea eax, [ebp - 0x634]
cmovae eax, dword [ebp - 0x634]
push eax
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0053030e
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.sesvc.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x429210
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00520800
lea eax, [ebp - 0x634]
push eax
call fcn.004373d1
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x634]
add esp, 0x10
cmp dword [ebp - 0x620], 8
cmovae eax, dword [ebp - 0x634]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push str.huabao360pic.exe
lea eax, [ebp - 0x20c]
push eax
call esi
lea ecx, [ebp - 0x634]
call fcn.004036e0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4292f5
lea eax, [ebp - 0x20c]
push eax
call fcn.0043bf37
pop ecx
test eax, eax
je 0x4292f5
push 0x410
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00520800
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.__s___crash:_d__crashcfg:__s_
lea eax, [ebp - 0x61c]
push 0x207
push eax
call fcn.00428675
push 0x44
pop esi
push esi
lea eax, [ebp - 0x678]
push ebx
push eax
call fcn.00520800
xor eax, eax
mov dword [ebp - 0x678], esi
add esp, 0x24
mov dword [ebp - 0x64c], 0x80
lea edi, [ebp - 0x62c]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x648], ax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x678]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x61c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4292f5
push dword [ebp - 0x628]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x62c]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret
Function at 0x42a1c5
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
mov dword [ebp - 4], 8
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
movzx eax, ax
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov edi, ecx
shr edi, 8
xor edi, edx
and edi, 0xff00ff
xor edx, edi
shl edi, 8
xor edi, ecx
rol edi, 1
mov ebx, edi
xor ebx, edx
and ebx, 0xaaaaaaaa
xor edi, ebx
xor ebx, edx
rol ebx, 1
mov eax, dword [ebp + 0xc]
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x5cb8a0]
or esi, dword [eax*4 + 0x5cbaa0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5cbca0]
or esi, dword [edx*4 + 0x5cbea0]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
xor edx, edi
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5cb9a0]
or ecx, dword [eax*4 + 0x5cbba0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5cbda0]
or ecx, dword [edx*4 + 0x5cbfa0]
mov eax, dword [ebp + 0xc]
or ecx, esi
xor ebx, ecx
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x5cb8a0]
or esi, dword [eax*4 + 0x5cbaa0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5cbca0]
mov eax, dword [ebp + 0xc]
or esi, dword [edx*4 + 0x5cbea0]
mov edx, dword [eax]
add eax, 4
xor edx, ebx
mov dword [ebp + 0xc], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5cb9a0]
or ecx, dword [eax*4 + 0x5cbba0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5cbda0]
or ecx, dword [edx*4 + 0x5cbfa0]
or ecx, esi
xor edi, ecx
sub dword [ebp - 4], 1
jne 0x42a238
ror edi, 1
mov edx, edi
mov esi, dword [ebp + 8]
xor edx, ebx
and edx, 0xaaaaaaaa
xor edi, edx
xor edx, ebx
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor edi, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor edx, eax
mov eax, edi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor edi, eax
mov ecx, edi
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, edi
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret 8
Function at 0x42a3ce
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], ebx
movzx ecx, byte [edx + str.80_]
mov eax, ecx
and ecx, 7
shr eax, 3
mov al, byte [eax + esi]
test byte [ecx*2 + 0x5cb7b8], al
setne al
mov byte [ebp + edx - 0x3c], al
inc edx
cmp edx, 0x38
jl 0x42a3f8
push 0x1e
xor edi, edi
pop esi
cmp ebx, 1
lea eax, [edi + edi]
mov edx, esi
cmovne edx, eax
movzx eax, byte [edi + 0x5cb860]
and dword [ebp + edx*4 - 0xf0], 0
and dword [ebp + edx*4 - 0xf4], 0
xor ecx, ecx
cmp eax, 0x1c
jge 0x42a452
mov bl, byte [ebp + eax - 0x3c]
jmp 0x42a456
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x42a447
movzx eax, byte [edi + 0x5cb860]
push 0x1c
pop ecx
add eax, ecx
cmp eax, 0x38
jge 0x42a478
mov bl, byte [ebp + eax - 0x3c]
jmp 0x42a47c
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x42a46d
xor ecx, ecx
movzx eax, byte [ecx + 0x5cb870]
cmp byte [ebp + eax - 0x74], 0
je 0x42a4a5
mov eax, dword [ecx*4 + 0x5cb7c8]
or dword [ebp + edx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x5cb888]
cmp byte [ebp + eax - 0x74], 0
je 0x42a4c1
mov eax, dword [ecx*4 + 0x5cb7c8]
or dword [ebp + edx*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x42a489
mov ebx, dword [ebp - 0xf8]
sub esi, 2
inc edi
cmp esi, 0xfffffffe
jg 0x42a423
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf4]
push eax
call fcn.00429e20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret 8
Function at 0x42b387
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
xor edi, edi
mov dword [ebp - 0xc], eax
xor edx, edx
add eax, 0x61850
xor ecx, ecx
push 0x10000000
push edi
push edi
cmp dx, word [eax]
push edi
cmove eax, ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x42b4f9
mov eax, dword [ebx + 0x20]
mov esi, edi
add eax, 0x2348
mov dword [ebp - 8], edi
push eax
call fcn.00524c40
pop ecx
mov ecx, dword [ebx + 0x20]
test eax, eax
je 0x42b3f1
lea esi, [ecx + 0x2348]
mov dword [ebp - 8], esi
lea eax, [ecx + 0x2048]
push eax
call fcn.00524c40
pop ecx
test eax, eax
je 0x42b40b
mov edi, dword [ebx + 0x20]
add edi, 0x2048
test esi, esi
jne 0x42b42a
mov esi, dword [ebp - 0xc]
add esi, 0x60608
push esi
call fcn.00524c40
pop ecx
mov ecx, dword [ebp - 8]
test eax, eax
cmovne ecx, esi
mov dword [ebp - 8], ecx
test edi, edi
jne 0x42b443
mov esi, dword [ebp - 0xc]
add esi, 0x60708
push esi
call fcn.00524c40
test eax, eax
pop ecx
cmovne edi, esi
mov eax, dword [ebx + 0x20]
push 0x42be2c
push dword [ebx + 0x14]
mov esi, dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x20]
push ebx
push dword [eax + 0x26d4]
xor eax, eax
push 3
inc eax
pop edx
cmp esi, eax
cmovne eax, edx
push eax
movzx eax, word [ecx]
push edi
push dword [ebp - 8]
push eax
lea eax, [ecx + 0x2148]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x42b4f9
mov edi, dword [ebp - 0xc]
add edi, 0x60808
push edi
call fcn.00524c40
pop ecx
test eax, eax
je 0x42b4f4
mov dword [ebp - 0x18], 3
test edi, edi
je 0x42b4d8
push edi
call fcn.00524c40
inc eax
pop ecx
cmp eax, 0x3fffffff
jg 0x42b4d8
lea esi, [eax + eax]
mov eax, esi
call fcn.0051dc40
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417f5c
mov dword [ebp - 0x14], eax
jmp 0x42b4dc
and dword [ebp - 0x14], 0
push 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x556c1e
push ecx
push 0x26
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
inc eax
jmp 0x42b4fb
xor eax, eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d360
leave
ret 4
Function at 0x42b50f
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00520800
mov esi, dword [ebp + 0xc]
push 0x2454
push ebx
push esi
call fcn.00520800
lea eax, [esi + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], eax
add esp, 0x18
lea eax, [esi + 0x2148]
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x2c], eax
mov ecx, 0x800
lea eax, [esi + 0x48]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x1048]
mov dword [ebp - 8], eax
lea eax, [esi + 0x2348]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x2048]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov ecx, 0x80
push dword [ebp + 8]
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
call fcn.00524c40
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x42b5e3
mov edx, dword [ebp - 0x30]
xor eax, eax
inc eax
cmp edx, 3
je 0x42b5c4
cmp edx, 4
je 0x42b5c4
cmp edx, eax
jne 0x42b5e3
mov cx, word [ebp - 0x24]
or dword [esi + 0x2450], 0xffffffff
mov dword [esi + 0x2448], ebx
mov dword [esi + 0x244c], ebx
mov word [esi], cx
mov dword [esi + 4], edx
jmp 0x42b5e5
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x42b969
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
jne 0x42bad8
xorps xmm0, xmm0
lea edi, [esi + 0x5d120]
push edi
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
push 0x5c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
push ebx
mov word [ebp - 6], ax
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42bb00
mov ecx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
cmp ecx, 0xffffffff
jne 0x42b9e6
cmp eax, ecx
je 0x42ba01
cmp dword [ebp - 0x18], eax
ja 0x42ba01
jb 0x42b9f2
cmp dword [ebp - 0x1c], ecx
ja 0x42ba01
mov dword [esi + 0x2470], 2
jmp 0x42bb00
push ebx
push 0x20
push 4
push ebx
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x42baea
cmp dword [esi + 0x26f0], ebx
je 0x42bad8
lea edi, [esi + 0x26e4]
mov ecx, esi
mov eax, dword [edi]
mov dword [edi + 4], eax
call fcn.0042d4f9
test eax, eax
jne 0x42bad8
mov eax, dword [esi + 0x2468]
test eax, eax
jne 0x42ba5a
push 5
pop eax
mov dword [esi + 0x2468], eax
push 0xa
pop ecx
cmp eax, ecx
jbe 0x42ba67
mov dword [esi + 0x2468], ecx
mov dword [esi + 0x5cfc0], ebx
mov ecx, edi
mov dword [esi + 0x5cfc4], ebx
mov edx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
add edx, 0xffffffff
mov dword [esi + 0x5cfc8], edx
adc eax, 0xffffffff
mov dword [esi + 0x5cfcc], eax
lea eax, [esi + 0x5cfb8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004269cf
mov eax, dword [esi + 0x5d100]
mov cl, 0x20
mov edx, dword [esi + 0x5d104]
call fcn.0051dec0
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x5d100]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
xor eax, eax
jmp 0x42badb
Function at 0x42bb67
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.00520800
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
call fcn.00524c40
add esp, 0x10
mov esi, eax
add esi, esi
mov ecx, esi
neg ecx
push 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ecx
push dword [edi + 8]
call ebx
push 0
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, dword [ebp - 0x210]
jne 0x42bc4a
lea eax, [ebp - 0x20c]
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push eax
call fcn.00524c00
pop ecx
pop ecx
test eax, eax
jne 0x42bc4a
push 1
xor esi, esi
push esi
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 0x210]
push eax
push dword [edi + 8]
call ebx
push esi
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x214]
push 1
push esi
neg eax
push eax
push dword [edi + 8]
call ebx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret

Function at 0x42c24d
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
inc ebx
mov eax, dword [edi + 0x26d8]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [eax + 4], ebx
je 0x42c2c2
cmp dword [edi + 0x2480], 0
je 0x42c2af
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x42c2b3
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, ebx
jmp 0x42c2e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42c2e4
jmp 0x42c2af
cmp dword [esi], 0
jne 0x42c2d3
mov eax, dword [esi + 4]
test eax, eax
je 0x42c2d3
mov dword [esi + 0x18], eax
jmp 0x42c2af
and dword [esi + 0x28], 0
push ebx
push ecx
mov ecx, edi
call fcn.0042df78
test eax, eax
jne 0x42c2af
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x42cc90
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26d8]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [eax + 4], 1
je 0x42cd03
cmp dword [edi + 0x2480], 0
je 0x42cd2f
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x42ccf2
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x42cd2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42cd2f
xor eax, eax
jmp 0x42cd32
cmp dword [esi], 0
jne 0x42cd14
mov eax, dword [esi + 4]
test eax, eax
je 0x42cd14
mov dword [esi + 0x18], eax
jmp 0x42cd2f
push 1
push ebx
mov dword [esi + 0x28], 4
call fcn.0042df78
test eax, eax
jne 0x42cd2f
push ebx
mov ecx, edi
call fcn.0042b238
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42cfa0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
push 0x28
pop esi
mov eax, dword [eax + 0x26d8]
push esi
push 0
mov edi, dword [eax + edi*4]
lea ebx, [edi + 0x8044]
push ebx
call fcn.00520800
mov dword [ebx], esi
mov ebx, 0x8000
push ebx
lea esi, [edi + 0x40]
push 0
push esi
call fcn.00520800
mov edx, dword [edi + 0x8040]
add esp, 0x18
mov dword [edi + 0x8058], esi
lea esi, [edi + 0x805c]
mov dword [esi], ebx
test edx, edx
je 0x42d027
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x14]
sbb ecx, dword [edx + 0x1c]
sub eax, dword [edx + 8]
sbb ecx, dword [edx + 0xc]
add eax, 1
adc ecx, 0
test ecx, ecx
jb 0x42d022
ja 0x42d01c
cmp eax, ebx
jbe 0x42d022
and dword [ebp - 8], 0
jmp 0x42d060
mov dword [ebp - 8], ecx
jmp 0x42d05e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5d100]
mov ecx, dword [edx + 0x5d104]
cmp eax, 0xffffffff
jne 0x42d03f
cmp ecx, eax
je 0x42d062
sub eax, dword [edx + 0x5d110]
sbb ecx, dword [edx + 0x5d114]
test ecx, ecx
jb 0x42d05b
ja 0x42d055
cmp eax, ebx
jbe 0x42d05b
and dword [ebp - 8], 0
jmp 0x42d060
mov dword [ebp - 8], ecx
mov ebx, eax
mov dword [esi], ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0x20]
xor ebx, ebx
inc ebx
mov dword [edi + 0x28], 9
cmp dword [eax + 4], ebx
je 0x42d091
push edi
push ebx
lea ecx, [edi + 0x8044]
push ecx
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
jmp 0x42d0a3
push esi
push dword [esi]
push dword [edi + 0x8058]
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42d0b4
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, ebx
jmp 0x42d0ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42d0b0
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0042b238
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42d4f9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x214], ebx
call fcn.00520800
xorps xmm0, xmm0
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
movlpd qword [ebp - 0x220], xmm0
call fcn.00524c40
add esp, 0x10
mov esi, eax
add esi, esi
mov ecx, esi
neg ecx
push 2
push ebx
push ecx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 8]
call ebx
cmp esi, dword [ebp - 0x210]
jne 0x42d6da
lea eax, [ebp - 0x20c]
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push eax
call fcn.00524c00
pop ecx
pop ecx
test eax, eax
jne 0x42d6da
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push eax
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 0x210]
push eax
push dword [edi + 8]
call esi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x224]
push eax
push dword [edi + 8]
call ebx
mov eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [edi + 8]
call esi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [edi + 8]
call ebx
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x214], 0
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
jbe 0x42d6ad
lea esi, [edi + 0x5cfb8]
mov dword [ebp - 0x218], eax
push 0
lea eax, [ebp - 0x210]
push eax
push 0x20
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x18]
xor edx, edx
add dword [esi + 8], eax
mov eax, dword [esi + 0x1c]
adc dword [esi + 0xc], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 8]
mov eax, dword [esi + 0x14]
sbb eax, dword [esi + 0xc]
add ecx, 1
mov dword [esi], edx
adc eax, edx
mov dword [esi + 4], edx
add dword [ebp - 0x218], ecx
lea ecx, [edi + 0x26e4]
mov dword [esi + 0x18], edx
adc ebx, eax
mov dword [esi + 0x1c], edx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
push eax
call fcn.004269cf
mov eax, dword [ebp - 0x228]
add esi, 0x20
inc eax
mov dword [ebp - 0x228], eax
cmp eax, dword [ebp - 0x214]
jb 0x42d630
mov eax, dword [ebp - 0x218]
mov edx, dword [edi + 0x5d100]
mov ecx, dword [edi + 0x5d104]
sub edx, eax
mov dword [edi + 0x5d118], edx
sbb ecx, ebx
mov dword [edi + 0x5d110], edx
xor eax, eax
mov dword [edi + 0x5d11c], ecx
mov dword [edi + 0x5d114], ecx
inc eax
jmp 0x42d6dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret