joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445215
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x454100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x41b34a
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0041b100
cmp dword [ebp - 0x1c], 0
jne 0x41b33b
cmp dword [ebx + 8], 0x15555555
je 0x41b35e
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0041f72c
mov cx, word [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov word [esi + 8], cx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x447270]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x447270]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x41b2e2
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0042eae0
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0041ff50
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x41b2bb
cmp eax, 0x200
jae 0x41b2b9
shl eax, 3
cmp eax, ecx
jae 0x41b2bb
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0041c740
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041b100
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x41b2e5
mov edx, dword [ebp - 0x20]
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 - 0x14], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x41b31d
mov dword [ecx + eax*8], esi
jmp 0x41b330
cmp dword [ecx + eax*8], edx
jne 0x41b327
mov dword [ecx + eax*8], esi
jmp 0x41b334
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41b334
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 2
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x41b1b0
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
push str.unordered_map_set_too_long
call fcn.0041cee9
int3
Function at 0x420633
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420672
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420672
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420672
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420672
cmp dword [ecx + 0x74], 0xe
jbe 0x420672
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43477d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44b994
push 0x44b98c
push str.FlsAlloc
push 0x1e
call fcn.004345aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4347b1
push dword [ebp + 8]
mov ecx, esi
call dword [0x4461dc]
call esi
jmp 0x4347b7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4347fb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44b9a4
push 0x44b99c
push str.FlsGetValue
push 0x20
call fcn.004345aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x434832
push dword [ebp + 8]
mov ecx, esi
call dword [0x4461dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x30b6865
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x581f1499
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100415a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100415b5
pop dword [ebp - 0x28]
mov eax, 0x798fd2a2
add eax, 0x96744313
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xf44f3ea4
sub dword [ebp - 0x38], 0xa5fcf959
mov dword [ebp - 0x34], 0xdb68de44
add dword [ebp - 0x34], 0x56ca6e01
mov dword [ebp - 0x30], 0xf7078939
sub dword [ebp - 0x30], 0xaabb450b
mov dword [ebp - 0x2c], 0xed92a2a7
add dword [ebp - 0x2c], 0x126d5d59
lea eax, [ebp - 0x38]
push eax
mov eax, 0x38876385
sub eax, 0x287f4351
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x28a748c
sub dword [ebp - 0x38], 0x8e180b36
mov dword [ebp - 0x34], 0xb5dc5b7d
sub dword [ebp - 0x34], 0x746ffa08
mov dword [ebp - 0x30], 0x4ef80f5e
sub dword [ebp - 0x30], 0xeb88a2f2
mov dword [ebp - 0x2c], 0x7eb4c47a
sub dword [ebp - 0x2c], 0x7eb4c47a
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xcf575b36
add eax, 0x40b0c4ee
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3d666
push 0
call eax
mov ecx, 0x15d31e86
sub ecx, 0x15d2d6b3
mov edx, eax
mov esi, 0x100b2e00
add esi, dword [ebp - 0x28]
mov ebx, 0x7d05ed1d
add ebx, 0x95b2eece
mov dword [ebp - 4], 0xf2f51445
mov edi, dword [esi]
add dword [ebp - 0x18], 0x7c44adfb
xor edi, ebx
add dword [ebp - 8], 0x5031a503
mov dword [edx], edi
add edx, 4
add esi, 0x28e54705
add esi, 0xd71ab8ff
loop 0x100416d1
add eax, 0x1129749
add eax, 0xfeee7ad6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7ff02ac9
add ecx, 0x900fd537
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x123f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x123f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x123f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x123f06a
add dl, dl
jne 0x123f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x123f0dc
xor eax, eax
add dl, dl
jne 0x123f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x123f17d
add dl, dl
jne 0x123f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x123f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x123f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x123f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x123f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x123f075
mov eax, 1
add dl, dl
jne 0x123f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x123f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x123f0e1
sub eax, ebx
mov ebx, 1
jne 0x123f128
mov ecx, 1
add dl, dl
jne 0x123f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x123f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x123f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x123f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x123f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x123f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x123f136
cmp eax, 0x7d00
jae 0x123f16d
cmp eax, 0x500
jb 0x123f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x123f075
cmp eax, 0x7f
ja 0x123f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x123f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x123f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x123f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x60005b25
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x60096bc2
call fcn.60095eb0
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0xc]
push 6
mov dword [ebx + 0xc], ecx
lea esi, [eax + 0x10]
lea edi, [ebx + 0x10]
pop ecx
add eax, 0x38
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax - 0x10]
push eax
mov dword [ebx + 0x28], ecx
mov ecx, dword [eax - 0xc]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [eax - 8]
mov dword [ebx + 0x30], ecx
mov cl, byte [eax - 4]
mov byte [ebx + 0x34], cl
mov cl, byte [eax - 3]
mov byte [ebx + 0x35], cl
mov cl, byte [eax - 2]
mov byte [ebx + 0x36], cl
lea ecx, [ebx + 0x38]
mov dword [ebp - 0x10], ebx
call fcn.60005f62
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebx + 0x3c]
lea eax, [esi + 0x3c]
push eax
call fcn.60005f62
lea eax, [esi + 0x40]
lea ecx, [ebx + 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.60005f62
lea eax, [esi + 0x44]
lea ecx, [ebx + 0x44]
push eax
mov byte [ebp - 4], 2
call fcn.60005f62
lea eax, [esi + 0x48]
lea ecx, [ebx + 0x48]
push eax
mov byte [ebp - 4], 3
call sym.MovieMk.exe_public:_void___thiscall_CWebHostProviders::constructor_class_CWebHostProviders_const__
mov eax, dword [esi + 0x70]
lea ecx, [ebx + 0x74]
mov dword [ebx + 0x70], eax
lea eax, [esi + 0x74]
push eax
mov byte [ebp - 4], 4
call fcn.60005f62
lea eax, [esi + 0x78]
lea ecx, [ebx + 0x78]
push eax
mov byte [ebp - 4], 5
call fcn.60005f62
lea eax, [esi + 0x7c]
lea ecx, [ebx + 0x7c]
push eax
mov byte [ebp - 4], 6
call fcn.60005f62
add esi, 0x80
lea edi, [ebx + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 8
mov ecx, dword [eax + 0x90]
add eax, 0x94
mov dword [ebx + 0x90], ecx
push eax
lea ecx, [ebx + 0x94]
call fcn.60005f62
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx], sym.MovieMk.exe_const_CWebPoster::vftable
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x60011ccc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push ebx
push esi
push edi
lea eax, [ebp - 0x320]
push 0x104
push eax
push dword [ebp + 8]
call fcn.60011c2e
test eax, eax
jl 0x60011dc9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jl 0x60011dc9
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x14
pop ecx
call fcn.600961e0
push 0x14
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ebx, edx
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.600961e0
mov esi, dword [ebp + 0xc]
mov ecx, 0x7fffffff
test esi, esi
je 0x60011d51
test ebx, ebx
ja 0x60011d4f
jb 0x60011d4b
cmp edi, ecx
jae 0x60011d4f
mov dword [esi], edi
jmp 0x60011d51
mov dword [esi], ecx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x60011d68
test edx, edx
ja 0x60011d66
jb 0x60011d62
cmp eax, ecx
jae 0x60011d66
mov dword [esi], eax
jmp 0x60011d68
mov dword [esi], ecx
mov esi, dword [ebp + 0x14]
xor eax, eax
cmp esi, eax
je 0x60011dc7
lea ecx, [ebp - 0x118]
push 0x80
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x320]
push eax
call sub.WMMUtil.dll_Ordinal_86
test eax, eax
jl 0x60011dc9
lea eax, [ebp - 0x118]
push eax
push str.NTFS
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
mov eax, 0x40000000
je 0x60011db7
mov eax, 0xff6
test ebx, ebx
ja 0x60011dc5
jb 0x60011dc1
cmp edi, eax
jae 0x60011dc5
mov dword [esi], edi
jmp 0x60011dc7
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x60018b4f
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x60097f33
call fcn.60095eb0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.6001a673
xor eax, eax
mov byte [esi + 0x1d], 1
mov byte [esi + 0x1c], al
mov word [esi + 0x1e], 0x18a
lea ecx, [esi + 0x20]
mov dword [ebp - 4], eax
mov dword [ecx], eax
lea edi, [esi + 0x24]
mov dword [edi], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
lea ebx, [esi + 0x64]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [ebx], eax
mov dword [esi + 0x68], eax
push dword [ebp + 8]
mov al, byte [ebp + 0x18]
mov byte [ebp - 4], 9
mov dword [esi], 0x6009e69c
push ecx
mov byte [esi + 0x28], al
call fcn.6001a7b7
push dword [ebp + 0xc]
push edi
call fcn.6001a7e0
push dword [ebp + 0x10]
push ebx
call fcn.60009344
push dword [ebp + 0x14]
lea eax, [esi + 0x68]
push eax
call fcn.60009344
mov al, byte [ebp + 0x20]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x2a], al
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x29], al
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c

Function at 0x6001a02e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x7c], ebx
je 0x6001a065
mov eax, dword [esi + 0x54]
lea edi, [esi + 0x54]
cmp eax, ebx
jne 0x6001a06f
mov eax, dword [esi + 0x7c]
push edi
push 0x600b84d8
push eax
mov ecx, dword [eax]
call dword [ecx]
cmp eax, ebx
jl 0x6001a0fb
mov eax, dword [edi]
cmp eax, ebx
jne 0x6001a06f
mov eax, 0x80004005
jmp 0x6001a0fb
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x6001a09c
push ebx
push edi
call fcn.6001a765
push dword [ebp - 4]
mov ecx, esi
mov dword [esi + 0x48], 2
call fcn.60019fa6
cmp eax, ebx
jge 0x6001a0f9
jmp 0x6001a0fb
cmp dword [esi + 0x58], ebx
lea eax, [esi + 0x58]
jne 0x6001a0f9
mov edi, dword [edi]
push eax
push edi
mov ecx, dword [edi]
call dword [ecx + 0x44]
cmp eax, ebx
jl 0x6001a0fb
mov eax, dword [esi + 0x58]
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
push edx
mov ecx, dword [eax]
push 0x13c0
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x6001a0d0
mov eax, dword [ebp - 4]
mov dword [esi + 0x6c], eax
push ebx
push ebx
push ebx
push ebx
call sub.WMMUtil.dll_Ordinal_17
mov dword [esi + 0x70], eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x6001a1a1
push ebx
push ebx
mov dword [esi + 0x60], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x60025031
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, 0x60098d60
call fcn.60095eb0
sub esp, 0xac
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x600251d1
cmp dword [ebp + 0x10], edi
mov eax, str.NULL
jne 0x6002505c
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], edi
jne 0x60025064
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
call fcn.60029493
mov bl, al
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
push edi
and eax, 2
push 0x80
inc eax
inc eax
push eax
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call sub.WMMUtil.dll_Ordinal_18
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x14], esi
je 0x600251d1
push dword [ebp + 0x14]
call dword [sym.imp.MSVCRT.dll_wcslen]
shl eax, 1
cmp byte [ebp + 0xc], 0
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
je 0x600250db
test bl, bl
je 0x600250db
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
add eax, 0xffffffe4
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [0x600b767c]
mov dword [ebp + 8], eax
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], edi
jne 0x60025131
push 0x24
mov esi, str.___xml_version_1.0__encoding_UTF_16__standalone_yes_____r_n_logfile__r_n
pop ecx
lea edi, [ebp - 0xb8]
lea eax, [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov word [ebp - 0xb8], 0xfeff
lea ecx, [ebp - 0x10]
push 0
shl eax, 1
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x14]
call ebx
mov esi, dword [ebp - 0x14]
xor edi, edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1c]
push dword [ebp + 0x10]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x26]
push eax
lea eax, [ebp + 8]
push str._r_n_WebPostDebugLog__r_n_t_Date__02d__02d__04d__Date__r_n_t_Time__02d:_02d:_02d__Time__r_n_t_ID__s__ID__r_n_t_Data__r_n
push eax
call fcn.600060f9
mov ecx, dword [ebp + 8]
add esp, 0x24
lea edx, [ebp - 0x10]
mov eax, dword [ecx - 8]
push edi
add eax, eax
push edx
push eax
push ecx
push esi
call ebx
lea eax, [ebp - 0x10]
push edi
push eax
push dword [ebp - 0x18]
push dword [ebp + 0x14]
push esi
call ebx
mov esi, 0x600b8e04
mov eax, esi
test eax, eax
je 0x6002519e
push esi
call sub.WMMUtil.dll_Ordinal_113
push esi
push eax
lea ecx, [ebp + 8]
call fcn.60005fd3
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edi
push edx
mov eax, dword [ecx - 8]
add eax, eax
push eax
push ecx
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.60005fa7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x600268b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x60099024
call fcn.60095eb0
sub esp, 0x408
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push edi
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
mov dword [eax], ebx
push dword [ebp + 8]
call sub.WMMUtil.dll_Ordinal_18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
mov dword [ebp - 4], ebx
jne 0x600268f3
push eax
jmp 0x60026949
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp + 8]
push ebx
push ecx
mov edi, 0x400
lea ecx, [ebp - 0x414]
push edi
push ecx
mov dword [ebp + 8], ebx
push eax
call esi
test eax, eax
je 0x60026941
cmp dword [ebp + 8], ebx
je 0x60026956
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0xc]
call fcn.600294c4
lea eax, [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x414]
push edi
push eax
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
jmp 0x6002690f
cmp dword [ebp - 0x10], ebx
je 0x6002694f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
jmp 0x60026966
cmp dword [ebp - 0x10], ebx
je 0x60026964
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x60028f3d
Capabilities:
Clear file content
Write file on windows

Disassembly:
mov eax, 0x60099344
call fcn.60095eb0
sub esp, 0x818
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x600bde3c]
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x60029132
lea eax, [ebp - 0x824]
push eax
push 0x104
call sub.WMMUtil.dll_Ordinal_79
test eax, eax
je 0x60029129
lea eax, [ebp - 0x61c]
mov esi, 0x600b94d0
push eax
push ebx
lea eax, [ebp - 0x824]
push esi
push eax
call sub.WMMUtil.dll_Ordinal_78
test eax, eax
jne 0x60028fc1
lea eax, [ebp - 0x61c]
push eax
push ebx
push esi
push 0x600b7f18
call sub.WMMUtil.dll_Ordinal_78
test eax, eax
je 0x60029129
push edi
push ebx
push 0x80
push 2
push ebx
push 1
lea eax, [ebp - 0x61c]
push 0x40000000
push eax
call sub.WMMUtil.dll_Ordinal_18
mov edi, eax
mov byte [ebp - 4], 1
xor esi, esi
mov byte [ebp + 0xf], bl
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
push dword [ebp - 0x10]
call dword [0x600bde64]
test eax, eax
je 0x6002904e
cmp esi, ebx
mov dword [ebp - 0x14], ebx
jne 0x6002902b
push 0xc
lea eax, [ebp - 0x414]
push str._MSWEBPOST
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x60029045
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x414]
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x60029049
mov byte [ebp + 0xf], 1
add esi, dword [ebp - 0x14]
jmp 0x60029052
mov byte [ebp + 0xf], 1
cmp dword [ebp + 8], ebx
je 0x6002905c
cmp byte [ebp + 0xf], bl
je 0x60028fe9
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [0x600bde60]
cmp esi, 0x64
mov dword [ebp - 0x10], ebx
pop edi
jbe 0x6002911b
cmp byte [ebp + 0xf], bl
jne 0x6002911b
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 0x21c]
pop ecx
push str..BAK
push eax
call fcn.600294a9
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x60029117
lea eax, [ebp - 0x21c]
push eax
call sub.WMMUtil.dll_Ordinal_32
lea eax, [ebp - 0x21c]
push eax
push esi
call sub.WMMUtil.dll_Ordinal_119
test eax, eax
jne 0x600290eb
push esi
call fcn.60029493
test al, al
jne 0x60029117
lea eax, [ebp - 0x61c]
push esi
push eax
call sub.WMMUtil.dll_Ordinal_119
test eax, eax
jne 0x6002910b
lea eax, [ebp - 0x21c]
push esi
push eax
call sub.WMMUtil.dll_Ordinal_119
jmp 0x60029132
lea eax, [ebp - 0x21c]
push eax
call sub.WMMUtil.dll_Ordinal_32
xor eax, eax
jmp 0x60029137
lea eax, [ebp - 0x61c]
push eax
call sub.WMMUtil.dll_Ordinal_32
jmp 0x60029132
push dword [ebp - 0x10]
call dword [0x600bde60]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc