joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008328
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x100bf08]
push ebx
push esi
push edi
jae 0x10084ad
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x100bf20]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x14], ebx
je 0x10084ad
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
jne 0x100837c
xor eax, eax
jmp 0x10084c1
test al, 0x20
je 0x100838d
push 2
push edi
push edi
push ecx
call fcn.01008ead
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x1008449
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp + 8], edi
jbe 0x1008481
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x418]
cmp ecx, dword [ebp + 0x10]
jae 0x10083e3
mov edx, dword [ebp - 4]
inc dword [ebp - 4]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x10083d4
inc dword [ebp - 0x10]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x14]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x10083b9
mov edi, eax
lea eax, [ebp - 0x418]
sub edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1008423
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
cmp eax, edi
jl 0x100842c
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x10083ad
jmp 0x100842e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 8]
cmp eax, edi
jne 0x10084a8
cmp dword [ebp + 8], edi
je 0x1008481
push 5
pop eax
cmp dword [ebp + 8], eax
jne 0x1008476
mov dword [0x100b784], eax
jmp 0x10084b4
push edi
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100846b
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], edi
mov dword [ebp - 8], eax
jmp 0x100842e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x100842e
push dword [ebp + 8]
call fcn.010080ff
pop ecx
jmp 0x10084be
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1008496
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x1008375
mov dword [0x100b780], 0x1c
mov dword [0x100b784], edi
jmp 0x10084be
sub eax, dword [ebp - 0x10]
jmp 0x10084c1
and dword [0x100b784], 0
mov dword [0x100b780], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1008f4c
Capabilities:
Clear file content

Disassembly:
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, dword [0x100bf08]
jae 0x10090a8
mov eax, edi
sar eax, 5
mov eax, dword [eax*4 + 0x100bf20]
mov ecx, edi
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x10090a8
push 1
push esi
push edi
call fcn.01008560
or ebp, 0xffffffff
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0xc], eax
je 0x10090a4
push 2
push esi
push edi
call fcn.01008560
add esp, 0xc
cmp eax, ebp
je 0x10090a4
push ebx
mov ebx, dword [esp + 0x1c]
sub ebx, eax
test ebx, ebx
jle 0x1009050
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
jne 0x1008fe8
mov dword [0x100b780], 0xc
or esi, 0xffffffff
jmp 0x1009090
push 0x8000
push edi
call fcn.010090de
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov eax, 0x1000
cmp ebx, eax
jge 0x1009004
mov eax, ebx
push eax
push ebp
push edi
call fcn.01008328
add esp, 0xc
cmp eax, 0xffffffff
je 0x100901c
sub ebx, eax
test ebx, ebx
jg 0x1008ff9
jmp 0x1009032
cmp dword [0x100b784], 5
jne 0x100902f
mov dword [0x100b780], 0xd
or esi, 0xffffffff
push dword [esp + 0x18]
push edi
call fcn.010090de
pop ecx
pop ecx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1009090
jge 0x1009090
push 0
push dword [esp + 0x20]
push edi
call fcn.01008560
push edi
call fcn.010082ec
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebp
jne 0x1009090
mov dword [0x100b780], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x100b784], eax
push 0
push dword [esp + 0x14]
push edi
call fcn.01008560
add esp, 0xc
mov eax, esi
pop ebx
jmp 0x10090b5
mov eax, ebp
jmp 0x10090b5
mov dword [0x100b780], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x4260f8
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0042617b
jae 0x426106
xor ecx, ecx
call fcn.0042617b
jae 0x426135
xor eax, eax
call fcn.0042617b
jae 0x426145
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0042617b
adc al, al
jae 0x426127
jne 0x426171
stosb byte es:[edi], al
jmp 0x426109
call fcn.00426187
sub ecx, ebx
jne 0x42614e
call fcn.00426185
jmp 0x42616d
lodsb al, byte [esi]
shr eax, 1
je 0x426197
adc ecx, ecx
jmp 0x42616a
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00426185
cmp eax, 0x7d00
jae 0x42616a
cmp ah, 5
jae 0x42616b
cmp eax, 0x7f
ja 0x42616c
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x426109
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x504d0a92
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2210536b
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x59ebc0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0049ae0b
mov eax, dword [0x619100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x61cb10]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x59ed98
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x59ece7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x59ece7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x59ecc5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x59ec49
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x59ed51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x59edb8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x59ed93
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x59edb8
jmp 0x59ec22
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049c1d4
mov esp, ebp
pop ebp
ret
Function at 0x59ee50
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0049ae0b
mov eax, dword [0x619100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x61cb10]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x59f03b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x59ef86
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x59ef86
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x59ef62
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x59eed9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x59eff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x59f05b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x59f036
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x59f05b
jmp 0x59eeb2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049c1d4
mov esp, ebp
pop ebp
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x73a22ae9
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4d353c81
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4016a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4738e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4931e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x401742
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
lea ecx, [esp + 0x18]
call fcn.004025a0
add esp, 4
mov dword [esp + 0x38], 0
mov esi, dword [esi + 0xc]
push eax
call fcn.00447930
push eax
push 0x3a
push str.bandwidth_concession_bandwidth_concession.cpp
push str.BandwidthConcession::Stop
lea ecx, [esp + 0x30]
call fcn.00447910
push eax
mov ecx, esi
call fcn.00447c80
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00447d40
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40176d
call fcn.004096c0
mov edi, dword [esi + 0x10]
mov dword [esi + 0x10], 0
test edi, edi
je 0x40176d
mov ecx, edi
call fcn.004095b0
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405b20
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47406b
mov eax, dword fs:[0]
push eax
mov eax, 0x2844
call fcn.00472c30
mov eax, dword [0x4931e0]
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 dword [ebp - 0x2834], edx
mov esi, ecx
push 0x55
push str.http:__storage1.dcdn.kugou.com_M01_200k_00_6C_E4_006CE4BE908DD5918214ED0B833A9563.mp3
lea ecx, [ebp - 0x2828]
mov dword [ebp - 0x2830], 0
mov dword [ebp - 0x2838], 4
mov dword [ebp - 0x2814], 0xf
mov dword [ebp - 0x2818], 0
mov byte [ebp - 0x2828], 0
call fcn.00401dc0
push 0
push 0x84000100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2828]
cmp dword [ebp - 0x2814], 0x10
push 0xf
cmovae eax, dword [ebp - 0x2828]
push str.Accept:___r_n_r_n
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
je 0x405cfb
push 0
lea eax, [ebp - 0x2838]
push eax
lea eax, [ebp - 0x2830]
push eax
push 0x20000005
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x405c01
mov dword [ebp - 0x2830], eax
jmp 0x405cf4
cmp dword [ebp - 0x2830], 0
je 0x405cf4
push 0x27ff
lea eax, [ebp - 0x280f]
mov byte [ebp - 0x2810], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x282c], 0
lea eax, [ebp - 0x2840]
xor esi, esi
push eax
call fcn.00450b80
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x282c]
add esp, 4
mov dword [ebp - 0x282c], 0x2800
push eax
push 0x2800
lea eax, [ebp - 0x2810]
push eax
push ebx
call edi
test eax, eax
je 0x405ca0
mov eax, dword [ebp - 0x282c]
test eax, eax
je 0x405ca0
add esi, eax
mov dword [ebp - 0x282c], 0x2800
lea eax, [ebp - 0x282c]
push eax
push 0x2800
lea eax, [ebp - 0x2810]
push eax
push ebx
call edi
test eax, eax
jne 0x405c70
cmp esi, dword [ebp - 0x2830]
jne 0x405cf4
cmp dword [ebp - 0x2834], 0
je 0x405cf4
mov esi, dword [ebp - 0x2840]
lea eax, [ebp - 0x2850]
mov edi, dword [ebp - 0x283c]
push eax
call fcn.00450b80
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, esi
mov dword [ebp - 0x2848], ecx
lea ecx, [ebp - 0x2848]
sbb eax, edi
mov dword [ebp - 0x2844], eax
call fcn.00447ac0
mov ecx, dword [ebp - 0x2834]
mov dword [ecx], eax
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x2814], 0x10
jb 0x405d13
push dword [ebp - 0x2828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.0047259d
mov esp, ebp
pop ebp
ret
Function at 0x405d30
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4740a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4931e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 0x10
jb 0x405d60
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x405d82
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x405d6e
push 0x41c
call fcn.004724fc
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x400
mov dword [ebp - 4], 0
call fcn.004724fc
add esp, 8
mov edi, eax
push 0x7d0
push 0x41c
push esi
push 0
push 0x400
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
jne 0x405dda
xor bl, bl
jmp 0x405dee
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x405dec
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov al, byte [esi + 0x14]
mov byte [ecx + 4], al
mov bl, 1
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test edi, edi
je 0x405e02
push edi
call eax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
test esi, esi
je 0x405e0c
push esi
call eax
add esp, 4
mov al, bl
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 0x405e20
Capabilities:
Contain obfuscated stackstrings
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4740d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4931e0]
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
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
jb 0x405e59
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405e6e
xor al, al
jmp 0x405f5e
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x405e67
xor ecx, ecx
mov dword [ebp - 0x40], 1
mov eax, 1
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004724fc
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov ebx, 5
mov byte [ebp - 0x4c], 1
mov dword [ebp - 0x34], 0x30303030
mov dword [ebp - 0x30], 0x30303030
mov dword [ebp - 0x2c], 0x30303030
mov dword [ebp - 0x28], 0x30303030
mov dword [ebp - 0x24], 0x30303030
mov dword [ebp - 0x20], 0x30303030
mov dword [ebp - 0x1c], 0x30303030
mov dword [ebp - 0x18], 0x30303030
mov byte [ebp - 0x35], 1
mov dword [ebp - 0x3c], ecx
mov eax, ebx
dec ebx
test eax, eax
je 0x405f45
push 0xbb8
push ecx
push esi
lea eax, [ebp - 0x4c]
push eax
push 0x20
lea eax, [ebp - 0x34]
push eax
push edi
push dword [ebp - 0x44]
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x405f7a
mov ecx, dword [ebp - 0x50]
push esi
call fcn.00407db0
cmp dword [esi], edi
jne 0x405f39
mov byte [ebp - 0x35], 0
inc byte [ebp - 0x4c]
cmp byte [ebp - 0x35], 0
mov ecx, dword [ebp - 0x3c]
jne 0x405f02
push dword [ebp - 0x44]
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
test esi, esi
je 0x405f5c
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
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.0047259d
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0x2af9
jne 0x405f39
mov eax, dword [ebp - 0x40]
xor ecx, ecx
add dword [ebp - 0x3c], 0x1c
inc eax
mov dword [ebp - 0x40], eax
mov edx, 0x1c
mul edx
mov dword [ebp - 0x58], esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004724fc
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], esi
test eax, eax
je 0x405f3c
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x405f3c
Function at 0x4062d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4741b9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4931e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov word [esi + 8], 0
mov byte [esi + 0xa], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov byte [esi + 0x18], 0
mov byte [ebp - 4], 1
lea edi, [esi + 0x34]
mov dword [esi + 0x30], 0
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x406388
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0xd
push str.BandwidthTest
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00401dc0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x48]
call fcn.0044c450
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0x10
jb 0x4063e6
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0044c420
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x48]
mov dword [ebp - 0x44], 3
call fcn.0044c640
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0044c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047259d
mov esp, ebp
pop ebp
ret 4