joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
shr eax, 5
inc eax
mov edx, edi
mov dword [esp + 0xc], edi
mov ecx, edi
cmp edi, eax
jb 0x4415c1
mov esi, dword [ebp + 0xc]
movzx esi, byte [esi + ecx - 1]
mov ebx, edx
shl ebx, 5
add esi, ebx
mov ebx, edx
shr ebx, 2
add esi, ebx
sub ecx, eax
xor edx, esi
cmp ecx, eax
jae 0x44159f
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x441634
cmp dword [eax + 0xc], edi
jne 0x44162e
test edi, edi
je 0x4415e5
test byte [eax + 7], 0x10
jne 0x44162e
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x441606
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x44162a
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4415f2
test ecx, ecx
je 0x44164d
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x44162a
cmp ecx, 1
jbe 0x44164d
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x44162a
cmp ecx, 2
jbe 0x44164d
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x44164d
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x4415d6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
push eax
push ecx
call fcn.004414b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x441646
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
add edx, edx
mov eax, edx
shr eax, 5
push ebx
push esi
inc eax
push edi
mov esi, edx
mov dword [ebp - 4], edx
mov ecx, edx
cmp edx, eax
jb 0x4416c1
lea ebx, [ebx]
mov edi, dword [ebp + 0xc]
movzx edi, byte [edi + ecx - 1]
mov ebx, esi
shl ebx, 5
add edi, ebx
mov ebx, esi
shr ebx, 2
add edi, ebx
sub ecx, eax
xor esi, edi
cmp ecx, eax
jae 0x4416a0
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x441733
cmp dword [eax + 0xc], edx
jne 0x44172d
test edx, edx
je 0x4416e5
test byte [eax + 7], 0x10
je 0x44172d
mov edi, dword [ebp + 0xc]
mov ecx, edx
lea esi, [eax + 0x10]
cmp edx, 4
jb 0x441706
mov ebx, dword [edi]
cmp ebx, dword [esi]
jne 0x44172a
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x4416f2
test ecx, ecx
je 0x441750
mov bl, byte [esi]
cmp bl, byte [edi]
jne 0x44172a
cmp ecx, 1
jbe 0x441750
mov bl, byte [esi + 1]
cmp bl, byte [edi + 1]
jne 0x44172a
cmp ecx, 2
jbe 0x441750
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
je 0x441750
mov esi, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
jne 0x4416d6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ecx
call fcn.004414b0
add esp, 0x10
mov byte [eax + 7], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x441749
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x492820]
mov edi, esi
mov dword [esp + 0xc], esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x442158
sub edi, ecx
mov eax, edi
shr eax, 5
inc eax
mov ebx, edi
mov dword [esp + 0x14], edi
mov ecx, edi
cmp edi, eax
jb 0x442196
movzx edx, byte [esi + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
mov esi, dword [esp + 0xc]
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x442173
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x442222
jmp 0x4421b0
cmp dword [edx + 0xc], edi
jne 0x44221c
test edi, edi
je 0x4421bf
test byte [edx + 7], 0x10
jne 0x44221c
mov eax, edi
lea ecx, [edx + 0x10]
cmp edi, 4
jb 0x4421e4
lea esp, [esp]
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x442214
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4421d0
test eax, eax
je 0x442293
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x442214
cmp eax, 1
jbe 0x442293
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x442214
cmp eax, 2
jbe 0x442293
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x442293
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov edx, dword [edx]
test edx, edx
jne 0x4421b0
mov edx, dword [ebp + 8]
push ebx
push edi
push esi
push edx
call fcn.004414b0
add esp, 0x10
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x20
jl 0x442144
mov ecx, dword [0x492920]
test ecx, ecx
je 0x44228c
mov esi, 0x492920
mov bl, 0x2e
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x442268
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.00441580
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x442260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov al, byte [edx + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx ecx, al
and ecx, 3
not ebx
test bl, cl
je 0x4422b1
xor al, 3
mov byte [edx + 5], al
mov eax, edx
jmp 0x442231
Function at 0x4587b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x458806
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x458870
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x458828
call fcn.00431f50
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.00441580
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00422460
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x458879
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0046debb
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x4588af
cmp eax, edi
je 0x458800
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x458909
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x4588d3
call fcn.00431f50
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.00441580
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041f0e0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x458986
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x45893f.6
jmp dword [eax*4 + 0x45899c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x45896f
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x45896f
mov eax, dword [esi]
call fcn.00430430
jmp 0x45896f
call fcn.00432180
test eax, eax
je 0x45896d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x45896f
xor eax, eax
test eax, eax
jne 0x458986
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468d21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00468d21
mov esp, ebp
pop ebp
ret
Function at 0x45bd70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x40]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x45bdb3
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x45bdac
mov esi, dword [eax + 0x20]
jmp 0x45bdb3
test bl, bl
jns 0x45bdb3
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x45be80
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x40]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x45be08
mov ecx, dword [ebx]
test cl, 0x40
je 0x45be01
mov edi, dword [eax + 0x20]
jmp 0x45be08
test cl, cl
jns 0x45be08
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x45be37
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x45be37
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0045bcc0
test eax, eax
je 0x45be9e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x45be5f
mov eax, dword [ebx]
test eax, 0x2000000
je 0x45be4e
test dword [ebp - 0x10], 0x2000000
je 0x45be4e
or dword [ebp - 0x10], eax
jmp 0x45be59
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x45bde0
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.0045bcc0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468d21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a99f8]
jne 0x468d2b
repz ret
jmp fcn.004725dc

Function at 0x46bf69
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x46bf90
call fcn.0046c6fb
mov dword [eax], esi
call fcn.0046c6e8
push 0x16
pop esi
mov dword [eax], esi
call fcn.0046c203
mov eax, esi
jmp 0x46bfe5
test dword [ebp + 0xc], 0xfffffff9
jne 0x46bf76
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46bfbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046c70e
pop ecx
call fcn.0046c6e8
mov eax, dword [eax]
jmp 0x46bfe5
test al, 0x10
jne 0x46bfe3
test al, 1
je 0x46bfe3
test byte [ebp + 0xc], 2
je 0x46bfe3
call fcn.0046c6fb
mov dword [eax], 5
call fcn.0046c6e8
mov dword [eax], 0xd
jmp 0x46bfb4
xor eax, eax
pop esi
pop ebp
ret

Function at 0x47c1fd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x47c224
call fcn.0046c6fb
mov dword [eax], esi
call fcn.0046c6e8
push 0x16
pop esi
mov dword [eax], esi
call fcn.0046c203
mov eax, esi
jmp 0x47c279
test dword [ebp + 0xc], 0xfffffff9
jne 0x47c20a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47c251
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046c70e
pop ecx
call fcn.0046c6e8
mov eax, dword [eax]
jmp 0x47c279
test al, 0x10
jne 0x47c277
test al, 1
je 0x47c277
test byte [ebp + 0xc], 2
je 0x47c277
call fcn.0046c6fb
mov dword [eax], 5
call fcn.0046c6e8
mov dword [eax], 0xd
jmp 0x47c248
xor eax, eax
pop esi
pop ebp
ret
Function at 0x481c37
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00474e93
and dword [ebp - 0x14], 0
cmp dword [0x4ac2d0], 0
mov dword [ebp - 0x18], eax
jne 0x481cea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x481d92
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x490b64
push ebx
call edi
test eax, eax
je 0x481d92
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x490b54
push ebx
mov dword [0x4ac2d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ac2d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ac2d8], eax
call edi
push eax
call esi
mov dword [0x4ac2e0], eax
test eax, eax
je 0x481cea
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ac2dc], eax
mov eax, dword [0x4ac2dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x481d43
cmp dword [0x4ac2e0], ecx
je 0x481d43
push eax
call esi
push dword [0x4ac2e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x481d43
test ebx, ebx
je 0x481d43
call edi
test eax, eax
je 0x481d3a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x481d3a
test byte [ebp - 8], 1
jne 0x481d43
or dword [ebp + 0x10], 0x200000
jmp 0x481d76
mov eax, dword [0x4ac2d4]
cmp eax, dword [ebp - 0x18]
je 0x481d76
push eax
call esi
test eax, eax
je 0x481d76
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x481d76
mov eax, dword [0x4ac2d8]
cmp eax, dword [ebp - 0x18]
je 0x481d76
push eax
call esi
test eax, eax
je 0x481d76
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ac2d0]
call esi
test eax, eax
je 0x481d92
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x481d94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468d21
leave
ret
Function at 0x466b44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x466b53
pop dword [ebp - 0x28]
mov eax, 0x5e035986
sub eax, 0x5dbcee33
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xe990c164
sub dword [ebp - 0x38], 0x9b3e7c19
mov dword [ebp - 0x34], 0xc5a8a08c
add dword [ebp - 0x34], 0x6c8aabb9
mov dword [ebp - 0x30], 0xfcf0cd7d
add dword [ebp - 0x30], 0x4f5b76b1
mov dword [ebp - 0x2c], 0x98c676f7
add dword [ebp - 0x2c], 0x67398909
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x58ba8fa2
sub dword [ebp - 0x38], 0xe448264c
mov dword [ebp - 0x34], 0xfe61a8c1
sub dword [ebp - 0x34], 0xbcf5474c
mov dword [ebp - 0x30], 0xe3b30f70
sub dword [ebp - 0x30], 0x8043a304
mov dword [ebp - 0x2c], 0x9a864bb9
add dword [ebp - 0x2c], 0x6579b447
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x5cf74
push 0
call eax
mov ecx, 0x9a3f6b1e
sub ecx, 0x9a3f2f89
xor ebx, ebx
add ebx, eax
mov edi, 0x5538e973
sub edi, 0x54ebb173
add edi, dword [ebp - 0x28]
mov edx, 0x354224d
sub edx, 0x6f7ed634
xor dword [ebp - 0x10], edx
mov esi, dword [edi]
add dword [ebp - 0x20], 0xd78f0046
xor esi, edx
xor dword [ebp - 0x1c], eax
mov dword [ebx], esi
sub dword [ebp - 4], 0x1ae425df
add ebx, 0xed120474
add ebx, 0x12edfb90
add edi, 0xe4005f69
add edi, 0x1bffa09b
loop 0x466c6d
add eax, 0xe127
mov ebx, eax
add eax, 0xc02195cc
add eax, 0x3fde6a39
mov ecx, 0x374e5b05
sub ecx, 0x370e5b05
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x47046f
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x2b4
mov eax, 0x4a12cd
call fcn.0049fa2f
mov ebx, ecx
push edx
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.004707a0
pop ecx
xor edi, edi
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 4], edi
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x28], edi
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x47055f
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.00466b44
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
mov edx, ebx
lea ecx, [ebp - 0x70]
call fcn.004707a0
mov edi, eax
lea eax, [ebp - 0x28]
pop ecx
cmp eax, edi
je 0x470507
mov ecx, eax
call fcn.0046d98d
push edi
lea ecx, [ebp - 0x28]
call fcn.00466b44
lea ecx, [ebp - 0x70]
call fcn.0046d98d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0046d98d
test byte [ebp - 0x2c0], 4
jne 0x470542
lea ecx, [ebp - 0x28]
call fcn.0047078b
test al, al
jne 0x470542
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x4704cc
push esi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.0046d98d
lea ecx, [ebp - 0x40]
call fcn.0046d98d
call fcn.0049f9de
ret
Function at 0x474827
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x4a1b42
call fcn.0049fa2f
mov ebx, ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x284], ebx
mov edi, 0x4cb420
mov ecx, dword [eax]
mov eax, dword [0x4cb41c]
cmp eax, dword [ecx + 4]
jle 0x4748a4
push 0x4cb41c
call fcn.00466b44
cmp dword [0x4cb41c], 0xffffffff
pop ecx
jne 0x4748a4
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00466b44
push 0x4a6680
call fcn.00466b44
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb41c
call fcn.00466b44
pop ecx
cmp dword [0x4cb430], 0
jne 0x4749c5
push 0x20a
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
call fcn.00466b44
test al, al
je 0x474998
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.00466b44
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00477e85
mov ebx, eax
lea ecx, [ebp - 0x264]
push 0x4adacc
mov eax, dword [ebx]
mov edi, dword [eax + 0x40]
call fcn.00466b44
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00466b44
push esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call dword [0x4a75c0]
mov ecx, ebx
call edi
lea ecx, [ebp - 0x234]
call fcn.0046a23d
lea ecx, [ebp - 0x264]
call fcn.0046a23d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0046a23d
lea ecx, [ebp - 0x27c]
call fcn.00474779
mov esi, eax
mov edi, 0x4cb420
cmp esi, edi
je 0x474985
mov ecx, edi
call fcn.0046d98d
push esi
mov ecx, edi
call fcn.00466b44
lea ecx, [ebp - 0x27c]
call fcn.0046d98d
mov ebx, dword [ebp - 0x280]
jmp 0x4749c5
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea ecx, [ebp - 0x21c]
mov eax, 0x4b9024
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.00466b44
push edi
mov ecx, ebx
call fcn.004723ba
mov eax, ebx
call fcn.0049f9de
ret
Function at 0x476140
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x20
mov eax, 0x4a1e1c
call fcn.0049fa65
mov dword [ebp - 0x20], ecx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x476244
cmp dword [ebp - 0x14], 0
jbe 0x476242
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00466b44
pop ecx
mov ecx, dword [ebp - 0x14]
mov ebx, eax
inc ecx
mov dword [ebp - 0x18], ebx
push ecx
push esi
push ebx
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push ebx
push dword [eax + 8]
call dword [sym.imp.wininet.dll_InternetReadFile]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4761c8
mov dword [ebp - 0x14], esi
jmp 0x4761da
cmp dword [ebp - 0x14], 0
jbe 0x4761da
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046a372
or dword [ebp - 4], 0xffffffff
jmp 0x47622e
push ebx
call fcn.0048844b
cmp dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x18], esi
ja 0x476157
test edi, edi
setne al
call fcn.0049f9ca
ret 4
Function at 0x47628a
Capabilities:
Check http status code

Disassembly:
push 0xa4
mov eax, 0x4a1e7b
call fcn.0049fa2f
mov edi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 4
push eax
push 0x20000013
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
test eax, eax
je 0x4764e8
cmp dword [ebp - 0xa8], 0xc8
jne 0x4764e8
push 0
lea eax, [ebp - 0xa4]
push eax
push 0
push 0x16
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4764e8
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00466b44
mov ecx, dword [ebp - 0xa4]
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push esi
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0x10
lea eax, [ebp - 0xa4]
push 0
push eax
push esi
push 0x16
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
test eax, eax
je 0x4764e8
push esi
lea ecx, [ebp - 0x28]
call fcn.00466b44
and dword [ebp - 4], 0
push esi
call fcn.0048844b
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.00466b44
or edi, 0xffffffff
jmp 0x4764d4
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00466b44
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00466b44
push ecx
push 0x4b9428
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00466b44
cmp eax, edi
je 0x476477
push ecx
mov esi, 0x4b9428
lea ecx, [ebp - 0x40]
push esi
call fcn.00466b44
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00466b44
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00466b44
push edi
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00466b44
inc eax
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00466b44
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00466b44
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.0046ee68
mov esi, eax
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.0046ee68
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00466b44
push esi
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00466b44
lea ecx, [ebp - 0xa0]
call fcn.0046a23d
lea ecx, [ebp - 0x88]
call fcn.0046a23d
lea ecx, [ebp - 0x58]
call fcn.0046d98d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0046d98d
mov esi, 0x4b9420
push edi
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00466b44
add eax, 2
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00466b44
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4764ae
mov ecx, eax
call fcn.0046d98d
push esi
lea ecx, [ebp - 0x28]
call fcn.00466b44
lea ecx, [ebp - 0x88]
call fcn.0046d98d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0046d98d
push ecx
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.00466b44
cmp eax, edi
jne 0x476386
lea ecx, [ebp - 0x28]
call fcn.0046d98d
mov al, 1
jmp 0x4764ea
xor al, al
call fcn.0049f9de
ret 4