joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bccec
Capabilities:
Parse pe header

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

Function at 0x4d2be0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004bbe70
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004dab44
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4d2c22
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4d2d7e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004bca00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x539520]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004d4b62
mov ecx, dword [esi*4 + 0x539520]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4d2d77
cmp eax, dword [edi + ecx + 0x24]
jne 0x4d2d77
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d2d77
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004d4b62
add esp, 0x14
test edx, edx
jl 0x4d2d77
jg 0x4d2ced
test eax, eax
jb 0x4d2d77
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4d2d77
jl 0x4d2d07
cmp dword [ebp - 0x1008], eax
ja 0x4d2d77
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4d2d25
test ebx, ebx
je 0x4d2d5e
cmp ecx, edi
jae 0x4d2d5e
mov al, byte [ecx]
cmp al, 0xd
jne 0x4d2d3f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4d2d4b
cmp byte [ecx + 1], 0xa
jne 0x4d2d4b
inc ecx
jmp 0x4d2d4b
movzx eax, al
movsx eax, byte [eax + 0x536538]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4d2d25
cmp edx, ebx
jne 0x4d2d25
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4d2d7c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004bb96c
leave
ret
Function at 0x4d41ea
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x509d40
push esi
call fcn.004dff32
pop ecx
pop ecx
test eax, eax
jne 0x4d4218
xor al, al
jmp 0x4d4295
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004d3f21
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4d4252
push dword [ebp - 0x210]
call fcn.004c5b14
xor al, al
jmp 0x4d4293
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4d4258
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4d4278
push edx
call fcn.004d4120
pop ecx
test al, al
je 0x4d4243
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4d4286
mov bl, 1
push dword [ebp - 0x210]
call fcn.004c5b14
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bb96c
leave
ret
Function at 0x4d7eb1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x539520]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4d7ef1
cmp byte [ebx], 0xa
jne 0x4d7ef1
or byte [eax + edi + 0x28], 4
jmp 0x4d7ef6
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4d7ff4
mov al, byte [edx]
cmp al, 0x1a
je 0x4d7fd6
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4d7f25
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4d7f4a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4d7f54
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4d7f07
jmp 0x4d7ff4
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d7fd1
cmp dword [ebp - 0xc], 0
je 0x4d7fd1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x539520]
test byte [eax + edi + 0x28], 0x48
je 0x4d7fab
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4d7f96
mov byte [esi], dl
jmp 0x4d7fa7
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x539520]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4d7ff4
cmp byte [ebp - 1], 0xa
jne 0x4d7fba
cmp esi, ebx
jne 0x4d7fba
mov byte [esi], 0xa
jmp 0x4d7ff3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004d4b80
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4d7ff4
mov byte [esi], 0xd
jmp 0x4d7ff3
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x539520]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4d7ff0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4d7ff4
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4d7ffd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x539520]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4d8040
cmp word [esi], dx
jne 0x4d8040
or byte [edi + eax + 0x28], 4
jmp 0x4d8045
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4d8198
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4d8178
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4d8087
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4d80bd
cmp eax, edx
jae 0x4d80c9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4d805f
jmp 0x4d8198
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d8174
cmp dword [ebp - 0x14], 0
je 0x4d8174
mov eax, dword [ebx*4 + 0x539520]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4d814c
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4d8115
mov word [esi], cx
jmp 0x4d8148
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x539520]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x539520]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x539520]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4d8198
pop ebx
cmp word [ebp - 4], bx
jne 0x4d815d
cmp esi, dword [ebp + 0xc]
jne 0x4d815d
mov word [esi], bx
jmp 0x4d8195
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004d4b80
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4d8198
push 0xd
jmp 0x4d8191
mov ecx, dword [ebx*4 + 0x539520]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4d818f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4d8198
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4db30b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x50b094
push 0x50b08c
push str.FlsAlloc
push 0x1e
call fcn.004db138
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4db33f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4ec710]
call esi
jmp 0x4db345
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4db389
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x50b0a4
push 0x50b09c
push str.FlsGetValue
push 0x20
call fcn.004db138
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4db3c0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4ec710]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4dc2e6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dc157
Function at 0x4dfa44
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004df9c0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4dfbbc
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4dfbbc
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4dfb6b
jg 0x4dfa9d
test eax, eax
je 0x4dfb61
push 1
push 0x1000
call fcn.004db766
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4dfac3
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4dfb58
push 0x8000
push ebx
call fcn.004d651c
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4dfaef
jg 0x4dfaea
cmp ecx, 0x1000
jb 0x4dfaef
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004d9117
add esp, 0x10
cmp eax, 0xffffffff
je 0x4dfb34
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4dfaea
jl 0x4dfb1b
test ecx, ecx
jne 0x4dfadc
push dword [ebp - 0xc]
push ebx
call fcn.004d651c
push esi
call fcn.004d9be1
add esp, 0xc
xor edi, edi
jmp 0x4dfbcd
cmp byte [edi + 0x24], 0
je 0x4dfb4b
cmp dword [edi + 0x20], 5
jne 0x4dfb4b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4dfb56
mov edi, dword [edi + 0x18]
jmp 0x4dfb58
xor edi, edi
push esi
call fcn.004d9be1
pop ecx
jmp 0x4dfbcd
test ecx, ecx
jg 0x4dfb2d
jl 0x4dfb6b
test eax, eax
jae 0x4dfb2d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004d4b80
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4dfb8e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4dfb2d
jmp 0x4dfbc5
push ebx
call fcn.004df956
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4dfb2d
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4dfbcd
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4dfbca
mov edi, dword [edi + 0x18]
jmp 0x4dfbcd
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004d4b80
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4e05a2
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4e05ed
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004e0741
test al, al
jne 0x4e05e7
sub edx, 2
cmp edx, edi
jne 0x4e05cd
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4e060f
lea eax, [edi + 2]
cmp edx, eax
je 0x4e060f
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004e04ee
add esp, 0x10
jmp 0x4e0709
push esi
lea ecx, [ebp - 0x255]
call fcn.004e0741
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4e0652
push dword [ebp - 0x25c]
jmp 0x4e05ff
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4e068f
cmp word [ebp - 0x226], 0
je 0x4e06b0
cmp word [ebp - 0x226], ax
jne 0x4e068f
cmp word [ebp - 0x224], 0
je 0x4e06b0
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004e04ee
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4e06fc
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4e0669
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4e06e4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4e0709
push 0x4e031e
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004d22e0
add esp, 0x10
jmp 0x4e06d9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bb96c
leave
ret

Function at 0x4e102d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4e103e
pop esi
ret
push ebx
push edi
push esi
call fcn.004e0ff6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004d9c1b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4e1066
push ebx
push esi
push edi
call fcn.004bd4d0
add esp, 0xc
push 0
call fcn.004d9be1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4e142a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e107b
Function at 0x4e7410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e743d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e743d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4156c9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push 0x418f50
mov ecx, eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov edx, dword [sym.imp.QL_Core.dll_struct_QMetaObject_const_QIODevice::staticMetaObject]
mov ecx, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QIODevice::readyRead_void_]
mov edi, dword [sym.imp.QL_Core.dll_private:_static_bool___cdecl_QObject::disconnectImpl_class_QObject_const___void____class_QObject_const___void____struct_QMetaObject_const__]
push edx
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x24], 0x401c10
call edi
mov ecx, dword [sym.imp.QL_Network.dll_struct_QMetaObject_const_QNetworkReply::staticMetaObject]
mov eax, dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkReply::error_enum_QNetworkReply::NetworkError_]
push ecx
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x38], eax
push esi
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x40], fcn.00401ca0
call edi
mov ecx, dword [esp + 0x6c]
add esp, 0x28
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QObject::deleteLater_void_]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
cmp byte [esi + 0xc], bl
je 0x402186
mov ecx, dword [esi + 0x2c]
mov byte [esi + 0xc], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::stop_void_]
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x40216e
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
push ecx
lea edx, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, esi
call fcn.004132a0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x40b700
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x416e1c
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.004148b0
mov eax, dword [0x6945d4]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x1440]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], ecx
push 0x1000
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x24], 0
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40b76a
xor al, al
jmp 0x40b8aa
mov esi, dword [esp + 0x18]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1036]
push eax
shr esi, 2
mov word [esp + 0x1038], dx
call sub.QL_CR100.dll_memset
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x124a]
push edx
mov word [esp + 0x124c], cx
call sub.QL_CR100.dll_memset
add esp, 0x18
test esi, esi
je 0x40b8a8
lea ebx, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [ebx]
test eax, eax
je 0x40b89b
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40b894
push 0x104
lea eax, [esp + 0x1030]
push eax
push ebp
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x40b894
push 0x104
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.00411190
add esp, 0xc
test al, al
je 0x40b894
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
mov eax, dword [eax]
add esi, 0x64
cmp eax, 1
je 0x40b838
test eax, eax
je 0x40b838
mov ecx, esi
call fcn.00408790
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
add edi, 8
call fcn.00408f50
cmp dword [eax], edi
jne 0x40b894
push 0xffffffffffffffff
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x1454], 0
call fcn.00408fa0
lea ecx, [esp + 0x20]
mov dword [esp + 0x1448], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [esp + 0x14]
jne 0x40b7be
mov al, 1
mov ecx, dword [esp + 0x1440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1428]
xor ecx, esp
call fcn.00414820
add esp, 0x1438
ret
Function at 0x410560
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov word [esp + 4], 0xcdfb
mov byte [esp + 6], 0xac
test edi, edi
jle 0x41059d
push esi
mov esi, dword [esp + 0x10]
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov al, byte [esp + edx + 8]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x410580
pop esi
pop edi
pop ecx
ret
Function at 0x4105c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417a15
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov esi, dword [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
je 0x4106a1
push ecx
mov eax, esp
mov dword [eax], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
mov dword [esp + 0x18], esp
call edx
test al, al
je 0x4106a1
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
xor edi, edi
mov ecx, 0xa00000
test edx, edx
jg 0x41064b
jl 0x410647
cmp eax, ecx
jae 0x41064b
mov ecx, eax
mov edi, edx
push edi
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QIODevice::read_long_long___int64__]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.QL_Core.dll_public:_static_class_QByteArray___cdecl_QCryptographicHash::hash_class_QByteArray_const___enum_QCryptographicHash::Algorithm_]
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x14]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QByteArray::toHex_void_]
mov ecx, eax
mov byte [esp + 0x24], 3
call dword [sym.imp.QL_Core.dll_public:_char____thiscall_QByteArray::data_void_]
test eax, eax
je 0x4106d1
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4106c6
sub ecx, esi
jmp 0x4106d4
or ecx, 0xffffffff
push ecx
push eax
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov esi, dword [esp + 0x34]
add esp, 8
mov dword [esi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret