joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419615
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004194e4
mov eax, dword [esi]
lea ecx, [esi + 0x14]
lea eax, [eax*8 - 4]
test eax, eax
jbe 0x419696
push ebx
push edi
mov esi, eax
mov eax, dword [ecx]
xor edx, edx
mov dword [ebp + 0x10], eax
xor ebx, ebx
mov dl, byte [ebp + 0x12]
mov bl, ah
movzx edx, byte [edx + str.cw]
movzx edi, byte [ebx + str.cw]
mov edx, dword [edx*4 + 0x4273dc]
xor edx, dword [edi*4 + 0x426fdc]
mov edi, eax
shr edi, 0x18
and eax, 0xff
movzx edi, byte [edi + str.cw]
movzx eax, byte [eax + str.cw]
xor edx, dword [edi*4 + 0x4277dc]
xor edx, dword [eax*4 + 0x426bdc]
mov dword [ecx], edx
add ecx, 4
dec esi
jne 0x41963c
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x419a9a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x419aaf
xor eax, eax
jmp 0x419b40
push 0x10
pop eax
cmp ebx, eax
jb 0x419b40
sub ebx, eax
push esi
mov esi, dword [ebp + 8]
add ebx, eax
shr ebx, 4
mov eax, ebx
push edi
mov edi, dword [ebp + 0xc]
shl eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [edi]
push dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041969b
mov eax, dword [esi]
xor eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [ebp - 0x1c]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x18]
mov dword [edi - 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 0x14]
dec ebx
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jne 0x419ad1
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x419ba8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [ecx]
and edx, 7
cmp dword [ebp + 0xc], 5
jb 0x419cf8
add dword [ebp + 0x10], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + eax - 4]
cmp esi, edi
jae 0x419be8
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x419be8
inc esi
jmp 0x419bd9
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x419cd8
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x419c1d
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x419c4a
cmp cl, 0xff
je 0x419c4a
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x419bcc
dec ecx
shl edx, cl
and edx, 7
je 0x419c03
movzx ecx, byte [edx + 0x420b18]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x420b10], 0
mov cl, byte [edi + 4]
je 0x419c45
test cl, cl
je 0x419c45
cmp cl, 0xff
jne 0x419c03
mov dword [ebp - 4], eax
jmp 0x419c12
xor ebx, ebx
mov bh, cl
mov bl, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x419c73
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x419c7a
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x419cae
movzx edi, byte [edx + 0x420b18]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x419c99
cmp al, 0xff
jne 0x419cab
push 0x20
mov eax, dword [ebp - 8]
pop ecx
push 1
sub ecx, edi
pop edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x419c65
mov eax, dword [ebp - 8]
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
add eax, 5
jmp 0x419bcc
mov esi, eax
push 3
sub esi, dword [ebp - 4]
pop edi
lea ecx, [esi - 1]
shl edx, cl
and edx, 7
cmp edi, esi
sbb ecx, ecx
pop edi
not ecx
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
pop ebx
mov dword [edx], ecx
leave
ret 0x14

Function at 0x41b913
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4

Function at 0x41bd03
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [ebp + 8]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.0041bca0
pop ebp
ret 0xc
Function at 0x41be46
Capabilities:
Enumerate pe sections
Get file size
Parse pe header
Query environment variable
Read file via mapping

Disassembly:
mov eax, 0x41f4bc
call fcn.0041ca80
sub esp, 0x21c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax]
xor edi, edi
mov dword [ebp - 0x10], esp
push edi
push edi
push 3
push edi
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x41bedf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x41beaa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41bedf
push dword [ebp - 0x1c]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x41becf
mov eax, dword [esi + 0x3c]
add eax, esi
jne 0x41bee6
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov eax, ebx
jmp 0x41bffb
cmp word [esi], 0x5a4d
jne 0x41bfe0
cmp dword [eax], 0x4550
jne 0x41bfe0
movzx ecx, word [eax + 6]
mov edx, dword [eax + 0x54]
cmp ecx, edi
jle 0x41bf1d
movzx ebx, word [eax + 0x14]
lea eax, [ebx + eax + 0x18]
cmp eax, edi
je 0x41bf17
add edx, dword [eax + 0x10]
add eax, 0x28
dec ecx
jne 0x41bf10
lea ecx, [edx + esi]
xor eax, eax
cmp eax, 0x3e8
jge 0x41bfe2
lea ebx, [eax + edx + 5]
cmp ebx, dword [ebp - 0x1c]
ja 0x41bfe2
cmp byte [eax + ecx], 0x4e
jne 0x41bfda
cmp byte [eax + ecx + 1], 0x5a
jne 0x41bfda
cmp byte [eax + ecx + 2], 0x50
jne 0x41bfda
cmp byte [eax + ecx + 3], 0x5a
jne 0x41bfda
cmp byte [eax + ecx + 4], 0x52
jne 0x41bfda
cmp byte [eax + ecx + 5], 0x24
jne 0x41bfda
lea edx, [ebp - 0x228]
push 0x104
lea eax, [eax + ecx + 6]
push edx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41bfb6
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call fcn.0040e03f
jmp 0x41bfb6
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 4], edi
setne al
jmp 0x41bffb
inc eax
jmp 0x41bf22
mov edi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xa9d008], 0x8088405
inc edx
mov dword [ebx + 0xa9d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
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 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xa809f2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f553
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
jmp 0x41f572
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f5e4
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f5cd
test esi, esi
jbe 0x41f5e4
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f5bf
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f5e4
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f59c
jmp 0x41f5e4
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f5e4
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa809f9
ret
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xa81d6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0xa9f73c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0xa9f73c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0xa9e538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa81d72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x2e00438f
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x2e0043ce
push esi
push dword [ebp + 0xc]
push edi
push edi
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
je 0x2e0043c4
push esi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetMetaFileBitsEx]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebp
ret 8

Function at 0x2e0043d5
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x2e004414
push esi
push dword [ebp + 0xc]
push edi
push edi
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
je 0x2e00440a
push esi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebp
ret 8

Function at 0x2e005256
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
call fcn.2e005213
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
cmp word [eax], 0x22
sete cl
add eax, 2
lea ecx, [ecx + ecx + 0x20]
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_wcschr]
pop ecx
pop ecx
mov esi, eax
inc esi
inc esi
cmp word [esi], 0x20
je 0x2e00528c
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
mov ebx, str.FltLdr
push eax
mov dword [ebp - 0x44], 0x2e0051d3
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x2e0052c6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x10
xor edi, edi
push edi
push edi
push edi
push 0xfffffffffffffffd
push edi
push edi
push edi
push edi
push 0x8000000
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
cmp ebx, edi
je 0x2e0052bc
lea ecx, [ebp - 1]
call fcn.2e0054a9
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
call fcn.2e003e1b
test eax, eax
jne 0x2e005319
or edi, 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.2e0163aa
lea ecx, [ebp - 1]
call fcn.2e0053f3
mov eax, edi
jmp 0x2e0052bf
lea eax, [ebp - 0x80]
push 0x8b0
push ebx
mov ecx, eax
mov dword [0x2e01b5fc], eax
call fcn.2e003e53
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0x8b1
call fcn.2e005062
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x2e00535d
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push ebx
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x2e005349
jmp 0x2e005305
Function at 0x2e005375
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.2e005914
mov eax, dword [0x2e001520]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea esi, [ebp - 0x2004]
push 0xffffffffffffffff
mov eax, esi
push 0x1000
push eax
call dword [sym.imp.MSVCR90.dll__vsnwprintf_s]
add esp, 0x14
test eax, eax
jge 0x2e0053b4
mov esi, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x2e0014f8
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e00558f
leave
ret

Function at 0x2e00558f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e001520]
jne 0x2e00593f
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e01b728], eax
mov dword [0x2e01b724], ecx
mov dword [0x2e01b720], edx
mov dword [0x2e01b71c], ebx
mov dword [0x2e01b718], esi
mov dword [0x2e01b714], edi
mov word [0x2e01b740], ss
mov word [0x2e01b734], cs
mov word [0x2e01b710], ds
mov word [0x2e01b70c], es
mov word [0x2e01b708], fs
mov word [0x2e01b704], gs
pushfd
pop dword [0x2e01b738]
mov eax, dword [ebp]
mov dword [0x2e01b72c], eax
mov eax, dword [ebp + 4]
mov dword [0x2e01b730], eax
lea eax, [ebp + 8]
mov dword [0x2e01b73c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e01b678], 0x10001
mov eax, dword [0x2e01b730]
mov dword [0x2e01b62c], eax
mov dword [0x2e01b620], 0xc0000409
mov dword [0x2e01b624], 1
mov eax, dword [0x2e001520]
mov dword [ebp - 0x328], eax
mov eax, dword [0x2e01b1b4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e01b670], eax
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e00155c
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e01b670], 0
jne 0x2e005a2b
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x2e009c63
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x2e009c7d
mov eax, 0x80004005
jmp 0x2e009e5a
cmp byte [esi + 0x278], 0
je 0x2e009c8d
xor eax, eax
jmp 0x2e009e5a
push edi
lea ecx, [esi + 0x10]
call fcn.2e00f902
lea edi, [esi + 0x70]
push 1
mov ecx, edi
call fcn.2e0084c2
call fcn.2e007ea8
test al, al
jne 0x2e009cce
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
test eax, eax
je 0x2e009cce
push 0x36353866
push 0x2e001e80
push 0xd3d
push 0x2e001ac8
call fcn.2e00536c
push ebx
lea ebx, [esi + 0x134]
push 0x2710
mov ecx, ebx
call fcn.2e00ed9a
test eax, eax
jbe 0x2e009d55
push 1
mov ecx, edi
call fcn.2e0084c2
mov eax, dword [ebp + 8]
mov ecx, eax
sub ecx, 0
je 0x2e009d35
dec ecx
je 0x2e009d4b
dec ecx
je 0x2e009d35
dec ecx
je 0x2e009d1c
push 0x706f7967
push 0x2e001974
push 0xd54
push 0x2e001ac8
call fcn.2e00536c
jmp 0x2e009d2b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x80004005
jmp 0x2e009e58
neg eax
sbb eax, eax
and eax, 0x4e21
dec eax
push eax
mov ecx, ebx
call fcn.2e00ed9a
test eax, eax
jbe 0x2e009d55
mov eax, 0x80004004
jmp 0x2e009e58
mov ecx, edi
mov byte [esi + 0x278], 1
call fcn.2e008403
lea edi, [esi + 0x220]
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x2e009d9a
mov eax, dword [edi]
test eax, eax
je 0x2e009d9a
jmp 0x2e009d8b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
push 1
call dword [eax + 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.2e00bfcc
test al, al
jne 0x2e009d78
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x2e009da6
call fcn.2e0153f9
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
je 0x2e009db2
call fcn.2e0124a3
mov ecx, dword [esi + 0x174]
cmp ecx, ebx
je 0x2e009dc1
call fcn.2e0133fb
lea edi, [esi + 0x178]
cmp dword [edi + 8], ebx
je 0x2e009df5
mov eax, dword [edi]
test eax, eax
je 0x2e009df5
jmp 0x2e009de6
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.2e00bfcc
test al, al
jne 0x2e009dd4
lea edi, [esi + 0x1cc]
cmp dword [edi + 8], ebx
je 0x2e009e20
mov eax, dword [edi]
test eax, eax
je 0x2e009e20
jmp 0x2e009e11
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xc]
push eax
mov ecx, edi
call fcn.2e00bfcc
test al, al
jne 0x2e009e08
add esi, 0x274
cmp dword [esi], ebx
je 0x2e009e56
call fcn.2e007ea8
test al, al
je 0x2e009e3d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi], ebx
jmp 0x2e009e56
push 0x61777031
push 0x2e001974
push 0xd99
push 0x2e001ac8
call fcn.2e00536c
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4