joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4036d4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4036dd
mov eax, dword [ebp - 4]
add esp, 0xfffffb2c
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x14b8]
lea eax, [ebp - 0x4a4]
call fcn.00407ab8
lea eax, [ebp - 0x478]
call fcn.00407ab8
lea eax, [ebp - 0x44c]
call fcn.00407ab8
push 0
lea ecx, [ebp - 0x10b8]
mov edx, ebx
mov eax, esi
call fcn.0040768c
test al, al
jne 0x40373a
xor eax, eax
jmp 0x403888
cmp byte [ebp - 0x10b8], 0
je 0x40374c
cmp byte [ebp - 0x420], 0
jne 0x403753
xor eax, eax
jmp 0x403888
lea eax, [ebp - 0x10b8]
call fcn.00401ae0
lea edx, [ebp - 0x420]
call fcn.004019dc
test eax, eax
je 0x403783
mov eax, esi
call fcn.00401ae0
lea edx, [ebp - 0x420]
call fcn.004019dc
test eax, eax
je 0x40378a
xor eax, eax
jmp 0x403888
xor ebx, ebx
mov eax, edi
mov ecx, 0x400
mov edx, esi
call fcn.00401ac0
push ebx
push str.rtmp_d
mov eax, edi
call fcn.00401ae0
push eax
call fcn.004014f0
add esp, 0xc
mov eax, edi
xor edx, edx
call fcn.004032c4
test al, al
je 0x4037c8
add ebx, 0x7b
cmp ebx, 0x2710
jl 0x40378c
mov eax, edi
xor edx, edx
call fcn.004032c4
test al, al
je 0x4037dc
xor eax, eax
jmp 0x403888
lea eax, [ebp - 0x18b8]
mov ecx, 0x400
mov edx, esi
call fcn.00401ac0
lea eax, [ebp - 0x10b8]
call fcn.00401ae0
push eax
lea eax, [ebp - 0x18b8]
call fcn.00401ae0
pop edx
call fcn.0040144c
push edi
lea ecx, [ebp - 0x18b8]
push ecx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
jne 0x403820
xor eax, eax
jmp 0x403888
lea eax, [ebp - 0x24d8]
call fcn.00402518
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.004032c4
test al, al
jne 0x40384d
push 1
lea eax, [ebp - 0x24d8]
xor ecx, ecx
mov edx, esi
call fcn.004026f8
mov ebx, eax
lea eax, [ebp - 0x18b8]
push eax
push edi
call sub.KERNEL32.DLL_MoveFileA
test bl, bl
je 0x403874
lea eax, [ebp - 0x24d8]
call fcn.00402824
lea eax, [ebp - 0x24d8]
call fcn.004028a8
mov al, 1
push eax
lea eax, [ebp - 0x24d8]
mov edx, 2
call fcn.00402568
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403e64
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x405e78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, 0x413424
mov dword [ebp - 4], edx
mov esi, ecx
cmp dword [edi + 4], 0
mov ebx, eax
jne 0x405e98
call fcn.00405e40
mov eax, dword [ebp - 4]
jmp 0x405eb1
mov edx, ebx
xor ecx, ecx
xor dl, byte [eax]
dec esi
mov cl, dl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
inc eax
mov ebx, edx
test esi, esi
jbe 0x405eb9
test al, 7
jne 0x405e9d
cmp esi, 8
jb 0x405f42
xor ebx, dword [eax]
xor ecx, ecx
mov cl, bl
sub esi, 8
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
xor ebx, dword [eax + 4]
add eax, 8
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
cmp esi, 8
mov ebx, edx
jae 0x405ec2
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp esi, dword [ebp - 8]
jbe 0x405f6c
mov ecx, dword [ebp - 8]
mov edx, ebx
shr ebx, 8
xor dl, byte [eax + ecx]
and edx, 0xff
mov ecx, dword [edi + edx*4]
xor ecx, ebx
mov ebx, ecx
inc dword [ebp - 8]
cmp esi, dword [ebp - 8]
ja 0x405f4c
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x406320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x406337
test esi, esi
jg 0x40633e
xor eax, eax
jmp 0x4063e2
mov edx, dword [ebp - 4]
add edx, 4
lea eax, [ebp - 0x28]
mov ecx, 0x10
call fcn.00401340
test esi, esi
jns 0x406358
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x4063c9
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00406694
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x406365
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.00401340
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4063ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov ecx, 0x20
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 4
call fcn.00401340
xor esi, esi
xor ecx, ecx
xor edx, edx
jmp 0x406453
xor eax, eax
mov edi, esi
mov ebp, dword [esp]
shl edi, 4
lea ebx, [esp + edx*4 + 0xc]
lea edi, [ebp + edi]
mov bl, byte [ebx + eax]
lea edi, [edi + ecx*4]
mov byte [edi + eax + 0x14], bl
inc eax
cmp eax, 4
jl 0x40641e
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x40644b
cmp ecx, 4
jl 0x40641c
cmp ecx, 4
jne 0x406453
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x40645e
cmp esi, 0xa
jle 0x406440
cmp esi, 0xa
jg 0x4065f1
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov al, byte [edx + 0x413acc]
xor byte [esp + 0xc], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 0xa]
mov dl, byte [eax + 0x413acc]
xor byte [esp + 0xd], dl
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov al, byte [edx + 0x413acc]
xor byte [esp + 0xe], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 8]
mov dl, byte [eax + 0x413acc]
xor byte [esp + 0xf], dl
mov eax, dword [esp + 4]
mov dl, byte [eax + 0x413ccc]
xor byte [esp + 0xc], dl
inc dword [esp + 4]
cmp dword [esp + 8], 8
je 0x406501
mov edx, 1
cmp edx, dword [esp + 8]
jge 0x40659f
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x4064e1
inc edx
cmp edx, dword [esp + 8]
jl 0x4064df
jmp 0x40659f
mov edx, 1
jmp 0x40651f
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x40650a
inc edx
mov eax, dword [esp + 8]
sar eax, 1
jns 0x40652a
adc eax, 0
cmp edx, eax
jl 0x406508
mov eax, dword [esp + 8]
sar eax, 1
jns 0x406539
adc eax, 0
xor edx, edx
mov dl, byte [esp + eax*4 + 8]
mov dl, byte [edx + 0x413acc]
xor byte [esp + eax*4 + 0xc], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov dl, byte [edx + 0x413acc]
xor byte [esp + eax*4 + 0xd], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xa]
mov dl, byte [edx + 0x413acc]
xor byte [esp + eax*4 + 0xe], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov dl, byte [edx + 0x413acc]
xor byte [esp + eax*4 + 0xf], dl
mov edx, eax
inc edx
cmp edx, dword [esp + 8]
jge 0x40659f
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x406584
inc edx
cmp edx, dword [esp + 8]
jl 0x406582
xor edx, edx
jmp 0x4065dd
xor eax, eax
mov ebx, esi
shl ebx, 4
mov edi, dword [esp]
lea ebx, [edi + ebx]
lea ebx, [ebx + ecx*4]
lea edi, [ebx + eax + 0x14]
lea ebx, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
mov byte [edi], bl
inc eax
cmp eax, 4
jl 0x4065a7
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x4065d5
cmp ecx, 4
jl 0x4065a5
cmp ecx, 4
jne 0x4065dd
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x4065e8
cmp esi, 0xa
jle 0x4065ca
cmp esi, 0xa
jle 0x406467
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4065fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov dword [esp], eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
add edx, dword [esp]
shl ebx, 2
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx edi, byte [edx + 1]
mov bl, byte [edx]
lea edi, [edi*4 + 0x4160ea]
lea ebx, [ebx*4 + 0x415cea]
mov bl, byte [ebx + eax]
xor bl, byte [edi + eax]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
lea edi, [edi*4 + 0x4164ea]
lea edx, [edx*4 + 0x4168ea]
xor bl, byte [edi + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4 + 4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x40660e
inc eax
cmp eax, 4
jl 0x40660c
mov eax, esi
lea edx, [esp + 4]
shl eax, 4
mov ecx, 0x10
add eax, dword [esp]
add eax, 0x14
call fcn.00401340
inc esi
cmp esi, 0xa
jl 0x40660a
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x411bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x411bb9
add esp, 0xfffff114
mov eax, dword [ebp - 4]
mov eax, 0x412874
mov dl, 1
push ebx
push esi
call fcn.0040e094
call fcn.00411ba0
push 0x400
lea ecx, [ebp - 0x400]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x8005
call sub.KERNEL32.DLL_SetErrorMode
lea edx, [ebp - 0x400]
mov eax, 0x412880
call fcn.0040aba4
lea eax, [ebp - 0x4ef0]
call fcn.0040a4a0
mov edx, 0x41246c
lea eax, [ebp - 0x1c44]
call fcn.0040144c
xor esi, esi
call sub.KERNEL32.DLL_GetCommandLineA
mov ebx, eax
test ebx, ebx
je 0x411c4c
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x22
jne 0x411c4c
lea eax, [ebx + 1]
mov edx, 0x22
call fcn.004013e0
mov ebx, eax
test ebx, ebx
je 0x411c82
mov edx, 0x41246e
mov eax, ebx
call fcn.00401420
mov ebx, eax
test eax, eax
je 0x411c82
jmp 0x411c65
inc ebx
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x20
je 0x411c77
cmp eax, 9
je 0x411c77
xor edx, edx
jmp 0x411c7c
mov edx, 1
test dl, dl
jne 0x411c64
mov esi, ebx
test esi, esi
je 0x411cc9
xor edx, edx
lea eax, [ebp - 0x4ef0]
mov dl, byte [esi]
call fcn.0040aa2c
test al, al
je 0x411cc9
xor eax, eax
mov al, byte [esi + 1]
call fcn.00401a64
mov edx, eax
sub edx, 0x3f
je 0x411cbe
sub edx, 0x15
je 0x411cb6
sub edx, 2
je 0x411cb6
jmp 0x411cc9
mov byte [ebp - 0x1c44], al
jmp 0x411cc9
lea eax, [ebp - 0x4ef0]
call fcn.0040a7a8
lea edx, [ebp - 0x400]
lea eax, [ebp - 0x4ef0]
xor ecx, ecx
call fcn.0040a9ec
lea eax, [ebp - 0x4ef0]
call fcn.0040a688
mov dl, byte [ebp - 0x2650]
mov eax, dword [ebp - 0x2654]
call fcn.00409fec
lea eax, [ebp - 0x2a57]
call fcn.00409fb8
cmp byte [ebp - 0x2608], 0
jne 0x411d19
cmp dword [ebp - 0x2654], 3
je 0x411d19
xor eax, eax
jmp 0x411d1e
mov eax, 1
mov byte [0x41287d], al
mov al, byte [ebp - 0x205a]
mov byte [0x41287e], al
lea eax, [ebp - 0x4ef0]
call fcn.0040a720
lea eax, [ebp - 0x4ef0]
call fcn.0040a948
lea eax, [ebp - 0x4ef0]
mov edx, 2
call fcn.0040a4d8
call fcn.00402e7c
mov eax, dword [0x412874]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4044c7
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
mov eax, 0x4231c5
call fcn.00410238
sub esp, 0x28
mov eax, dword [0x42eb80]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
xor eax, ebp
cmp dword [esi + 4], 0xffffffff
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x30], esi
jne 0x40466d
xor edi, edi
push edi
push 1
push 2
call dword [0x4244b8]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x4044f9
xor eax, eax
jmp 0x404672
push 4
lea ecx, [ebp - 0x34]
push ecx
push 0x1006
push 0xffff
push eax
mov dword [ebp - 0x34], 0x2710
call dword [0x4244c8]
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040173a
mov dword [ebp - 4], edi
call fcn.0041cce2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 0xc]
cmp bx, di
mov byte [ebp - 4], 1
jne 0x4045c6
push edi
push 0x3a
lea ecx, [ebp - 0x28]
call fcn.004043a4
mov esi, eax
cmp esi, edi
jle 0x4045b8
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404425
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00401626
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401237
inc esi
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040448e
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401488
push eax
call fcn.00410e11
pop ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.00401237
mov esi, dword [ebp - 0x30]
jmp 0x4045d2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401626
jmp 0x4045b3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401626
cmp bx, di
jne 0x4045da
push 0x50
pop ebx
push ebx
mov word [ebp - 0x20], 2
call dword [0x4244d4]
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], edi
jge 0x4045fd
push 0x80070057
call fcn.00401193
movsx eax, byte [eax]
cmp eax, 0x2f
jle 0x40461f
cmp eax, 0x3a
jge 0x40461f
push edi
lea ecx, [ebp - 0x24]
call fcn.00401488
push eax
call dword [0x4244bc]
mov dword [ebp - 0x1c], eax
jmp 0x40463f
push edi
lea ecx, [ebp - 0x24]
call fcn.00401488
push eax
call dword [0x4244d0]
cmp eax, edi
je 0x40463c
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x40461a
mov dword [ebp - 0x1c], edi
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [0x4244cc]
mov ecx, dword [ebp - 0x24]
mov esi, eax
neg esi
sbb esi, esi
add ecx, 0xfffffff0
inc esi
call fcn.00401237
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401237
jmp 0x404670
xor esi, esi
inc esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
leave
ret 8
Function at 0x40468d
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov eax, 0x10138
lea ebp, [esp - 0x19c]
call fcn.00410320
mov eax, dword [0x42eb80]
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x1a4]
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp + 0x188]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a8]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x1b0]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
mov dword [ebp + 0x80], eax
push 0x84000100
lea eax, [ebp + 0x188]
push eax
call dword [0x42425c]
push eax
lea eax, [ebp + 0x188]
push eax
push dword [ebp + 0x7c]
push ebx
call dword [0x42448c]
mov edi, eax
cmp edi, esi
mov dword [ebp + 0x64], edi
jne 0x40471a
xor eax, eax
inc eax
jmp 0x4048b9
push 0x4246f0
push dword [ebp + 0x70]
call fcn.004113ab
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp + 0x7c], eax
jne 0x404738
push 2
pop eax
jmp 0x4048b9
push esi
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
push 0x20000005
push edi
mov dword [ebp + 0x74], esi
mov dword [ebp + 0x6c], 4
call dword [0x424488]
test eax, eax
jne 0x40475e
mov dword [ebp + 0x74], esi
push 0xa
pop ebx
call dword [0x42420c]
mov dword [ebp + 0x70], eax
lea eax, [ebp + 0x78]
push eax
push 0x4000
lea eax, [ebp - 0xff9c]
push eax
push edi
call dword [0x424484]
test eax, eax
je 0x4048a1
mov edi, dword [0x4243ac]
cmp dword [ebp + 0x78], 0
push dword [ebp + 0x7c]
je 0x4048a6
push dword [ebp + 0x78]
lea eax, [ebp - 0xff9c]
push 1
push eax
call fcn.00411303
mov ecx, dword [ebp + 0x74]
add esi, dword [ebp + 0x78]
add esp, 0x10
test ecx, ecx
je 0x4047f5
cmp dword [ebp + 0x80], 0
je 0x404870
mov eax, esi
imul eax, eax, 0x64
xor edx, edx
div ecx
push 0
push eax
push 0x402
push dword [ebp + 0x1b8]
push dword [ebp + 0x80]
call dword [0x4243a8]
push dword [ebp + 0x80]
call edi
mov ecx, dword [ebp + 0x74]
cmp dword [ebp + 0x80], 0
je 0x404870
test esi, esi
mov dword [ebp + 0x68], esi
fild dword [ebp + 0x68]
jge 0x40480e
fadd dword [0x4246ec]
test ebx, ebx
mov dword [ebp + 0x68], ebx
fild dword [ebp + 0x68]
jge 0x40481e
fadd dword [0x4246ec]
fmul dword [0x4246e8]
push ecx
push ecx
fdivp st(1)
shr ecx, 0xa
mov eax, esi
shr eax, 0xa
fmul dword [0x4246e4]
fstp qword [esp]
push ecx
push eax
lea eax, [ebp + 0x84]
push str._d_KB____d_KB____1.1f_KB_s
push eax
call fcn.004102bf
add esp, 0x18
lea eax, [ebp + 0x84]
push eax
push dword [ebp + 0x1b4]
push dword [ebp + 0x80]
call dword [0x4243a4]
push dword [ebp + 0x80]
call edi
call dword [0x42420c]
mov ebx, eax
sub ebx, dword [ebp + 0x70]
jne 0x404880
push 0xa
pop ebx
lea eax, [ebp + 0x78]
push eax
push 0x4000
lea eax, [ebp - 0xff9c]
push eax
push dword [ebp + 0x64]
call dword [0x424484]
test eax, eax
jne 0x40478f
push 3
pop esi
jmp 0x4048ae
call fcn.004111a3
pop ecx
xor esi, esi
push dword [ebp + 0x7c]
call fcn.00410ff2
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
add ebp, 0x19c
leave
ret
Function at 0x4048d1
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x42eb80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
xor esi, esi
push esi
lea eax, [ebp - 0x50]
push eax
call dword [0x424498]
test eax, eax
jne 0x404908
push 4
pop eax
jmp 0x404966
push edi
call dword [0x42420c]
push eax
lea eax, [ebp - 0x44]
push str.Agent_ld
push eax
call fcn.004102bf
add esp, 0xc
test byte [ebp - 0x50], 4
push esi
push esi
lea eax, [ebp - 0x44]
push esi
jne 0x404931
push 4
jmp 0x404932
push esi
push eax
call dword [0x424494]
mov edi, eax
cmp edi, esi
je 0x404962
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push edi
call fcn.0040468d
add esp, 0x18
push edi
mov esi, eax
call dword [0x424490]
mov eax, esi
jmp 0x404965
push 4
pop eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
leave
ret

Function at 0x4049d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push str.ppstreamvod_
push 0x80000000
mov esi, ecx
call dword [0x424010]
test eax, eax
jne 0x404a4e
and dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0
push 0x4244fc
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x104
call dword [0x424014]
test eax, eax
jne 0x404a45
cmp dword [ebp - 4], 2
je 0x404a27
cmp dword [ebp - 4], 1
jne 0x404a45
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push esi
mov byte [eax + esi], 0
call fcn.00402716
push dword [ebp - 8]
call dword [0x424004]
xor eax, eax
inc eax
jmp 0x404a50
push dword [ebp - 8]
call dword [0x424004]
xor eax, eax
pop esi
leave
ret 4
Function at 0x405950
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 4]
lea eax, [esi + 0x28]
push ecx
push eax
call fcn.0041c2b0
mov edi, eax
test edi, edi
je 0x405a4a
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.0041cde7
push ebx
push 0
push eax
mov dword [esi], eax
call fcn.0040f650
add esp, 0x10
push dword [esi]
lea eax, [esi + 0x28]
push edi
push dword [ebp - 4]
push eax
call fcn.0041c2aa
test eax, eax
pop ebx
je 0x405a4a
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.0040585b
test eax, eax
je 0x405a4a
mov eax, dword [ebp - 0x30]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0xa], ax
mov eax, dword [ebp - 0x2c]
mov word [esi + 8], cx
mov ecx, eax
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x28]
shr ecx, 0x10
mov word [esi + 0xc], cx
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [ebp - 0x24]
shr ecx, 0x10
mov word [esi + 0x16], ax
mov word [esi + 0x10], cx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
shr ecx, 0x10
lea eax, [esi + 0x230]
push eax
mov word [esi + 0x14], cx
push 0x424814
mov ecx, esi
call fcn.0040589b
lea eax, [esi + 0x640]
push eax
push 0x424804
mov ecx, esi
call fcn.0040589b
lea eax, [esi + 0x438]
push eax
push 0x4247f8
mov ecx, esi
call fcn.0040589b
xor eax, eax
inc eax
jmp 0x405a4c
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x406c47
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
call fcn.004068e9
mov eax, dword [esi + 0x308]
cmp word [eax], 0x5a4d
jne 0x406cb8
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esi + 0x30c], eax
cmp dword [eax], 0x4550
jne 0x406cb8
mov ecx, esi
call fcn.00406b9d
mov dword [esi + 0x310], eax
mov eax, dword [esi + 0x30c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406c97
mov ecx, dword [esi + 0x308]
add ecx, eax
mov dword [esi + 0x314], ecx
mov eax, dword [esi + 0x30c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esi + 0x314]
mov dword [esi + 0x318], eax
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2]
mov dword [esi + 0x31c], eax
pop esi
ret

Function at 0x4074fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x407587
cmp dword [ebp + 0xc], 0x104
jl 0x407587
cmp byte [0x4301b0], bl
push esi
mov esi, 0x4301b0
jne 0x407577
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [0x4242d8]
test eax, eax
jl 0x407577
lea eax, [ebp - 4]
push eax
push 0x1a
push ebx
call dword [0x4242d4]
test eax, eax
jne 0x407562
push esi
push dword [ebp - 4]
call dword [0x4242dc]
test eax, eax
je 0x407562
push str.ppStream
push esi
call fcn.00410e30
pop ecx
pop ecx
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00411b4d
add esp, 0xc
pop esi
pop ebx
leave
ret