joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018cba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1018d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push esi
push 0x100d3b0
push 2
call fcn.01018b0b
add esp, 0x10
cmp edi, 2
jne 0x1018cfd
push esi
push 0x100d350
push edi
call fcn.01018b0b
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.0100fba0
mov eax, 0x80004005
pop edi
pop esi
pop ebp
ret 4
test al, 1
je 0x1018d35
push esi
push 0x100d2f0
push 2
call fcn.01018b0b
add esp, 0xc
mov edi, 0x80004005
lea ecx, [esi - 0x10]
call fcn.0100fba0
mov eax, edi
jmp 0x1018d0a
xor edi, edi
jmp 0x1018d29

Function at 0x1018dec
Capabilities:
Copy file
Get common file path

Disassembly:
push 0x418
mov eax, 0x1026fa7
call fcn.0101a973
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x420]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
cmp edi, esi
ja 0x1018eaf
test edi, edi
je 0x1018eaf
lea eax, [ebp - 0x218]
push eax
push 0
push 0x100d6a8
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1018e5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x100d5e0
jmp 0x1018ebc
mov esi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1018e91
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 0x100d530
call fcn.01018c54
lea ecx, [esi - 0x10]
jmp 0x1018ecc
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.010112a8
lea ecx, [esi - 0x10]
call fcn.0100fba0
xor eax, eax
jmp 0x1018ed6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x100d470
push 2
call fcn.01018b0b
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0100fba0
mov eax, 0x80004005
call fcn.0101a9c7
ret 8
Function at 0x10192c5
Capabilities:
Copy file

Disassembly:
push 0x14
mov eax, 0x10270cc
call fcn.0101a900
mov esi, ecx
push 0x100d968
xor ebx, ebx
push ebx
call fcn.01018b0b
cmp byte [ebp + 8], bl
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
pop ecx
pop ecx
je 0x10193d2
push ebx
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.01018f36
push 0x100d82c
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.01017210
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0100fba0
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 8]
push eax
call edi
test eax, eax
jne 0x1019358
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push dword [esi + 4]
push 0x100d8b8
call fcn.01018c54
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0100fba0
mov eax, 0x80004005
jmp 0x1019498
push ebx
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.01018f36
push 0x100d738
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.01017210
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0100fba0
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp - 0x10]
push eax
call edi
test eax, eax
jne 0x10193b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x10]
push dword [esi + 0xc]
push 0x100d8b8
call fcn.01018c54
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0100fba0
jmp 0x1019343
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0100fba0
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0100fba0
push ebx
push ebx
lea eax, [ebp + 8]
push eax
call fcn.01018f36
push 0x100d82c
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 4
call fcn.01017210
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0100fba0
mov eax, dword [esi]
push ebx
push dword [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x101942d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x14]
push dword [esi]
push 0x100d8b8
call fcn.01018c54
mov ecx, dword [ebp - 0x14]
jmp 0x1019346
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.01018f36
push 0x100d738
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.01017210
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0100fba0
mov eax, dword [esi + 8]
push ebx
push dword [ebp - 0x18]
push eax
call edi
test eax, eax
jne 0x1019480
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
push 0x100d8b8
call fcn.01018c54
mov ebx, 0x80004005
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0100fba0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0100fba0
mov eax, ebx
call fcn.0101a9ae
ret 4
Function at 0x101997b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x102a300]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.010198a6
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0101a9e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10199ca
cmp dword [ebp - 0x1c], 5
jb 0x10199e2
jmp 0x10199de
cmp dword [ebp - 0x10], 1
jne 0x10199e2
cmp dword [ebp - 0x1c], 4
ja 0x10199de
jne 0x10199e2
cmp dword [ebp - 0x18], 0
jbe 0x10199e2
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100d9ec
call fcn.01019736
test eax, eax
jge 0x1019a03
mov byte [0x102b280], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0101a8ec
add ebp, 0x78
leave
ret

Function at 0x101a8ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102a300]
jne 0x101a8f6
repz ret
jmp fcn.0101fbd1
Function at 0x1022fe6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0101cbb9
xor ebx, ebx
cmp dword [0x102bcdc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10230bb
push 0x100e2c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1023026
xor eax, eax
jmp 0x102317f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100e2bc
push edi
call esi
cmp eax, ebx
je 0x102301f
push eax
call fcn.0101cb51
mov dword [esp], 0x100e2ac
push edi
mov dword [0x102bcdc], eax
call esi
push eax
call fcn.0101cb51
mov dword [esp], 0x100e298
push edi
mov dword [0x102bce0], eax
call esi
push eax
call fcn.0101cb51
mov dword [0x102bce4], eax
lea eax, [ebp - 8]
push eax
call fcn.0101be5c
test eax, eax
pop ecx
pop ecx
je 0x1023089
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0101a31d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10230bb
push 0x100e27c
push edi
call esi
push eax
call fcn.0101cb51
cmp eax, ebx
pop ecx
mov dword [0x102bcec], eax
je 0x10230bb
push 0x100e264
push edi
call esi
push eax
call fcn.0101cb51
pop ecx
mov dword [0x102bce8], eax
mov eax, dword [0x102bce8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1023134
cmp dword [0x102bcec], esi
je 0x1023134
push eax
call fcn.0101cbc7
pop ecx
call eax
cmp eax, ebx
je 0x1023101
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x102bcec]
call fcn.0101cbc7
pop ecx
call eax
test eax, eax
je 0x1023101
test byte [ebp - 0x18], 1
jne 0x1023134
lea eax, [ebp - 0xc]
push eax
call fcn.0101be98
test eax, eax
pop ecx
je 0x102311c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0101a31d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x102312b
or dword [ebp + 0x10], 0x200000
jmp 0x1023165
or dword [ebp + 0x10], 0x40000
jmp 0x1023165
mov eax, dword [0x102bce0]
cmp eax, esi
je 0x1023165
push eax
call fcn.0101cbc7
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1023165
mov eax, dword [0x102bce4]
cmp eax, esi
je 0x1023165
push dword [ebp - 4]
push eax
call fcn.0101cbc7
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x102bcdc]
call fcn.0101cbc7
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x43b648
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov edi, dword [esp]
add esp, 4
and esi, ebx
call fcn.0043b685
and ebx, ebx
push 0x5d6771a1
pop ebx
or ebx, ebx
xor dword [edx], edi
add esi, ebx
or ebx, ebx
add edx, 1
add esi, esi
sub esi, esi
mov ebx, ebx
cmp edx, ecx
jne fcn.0043b648
add esi, 0x41c08d63
ret
Function at 0x6620b920
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
jmp 0x6620b963
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
cmp dword [ebp - 8], 4
jae 0x6620b98e
cmp dword [ebp + 0x10], 0
jbe 0x6620b98e
mov ecx, dword [ebp - 4]
add ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
mov dword [ebp + edx*8 - 0x30], ecx
mov eax, dword [eax - 4]
mov dword [ebp + edx*8 - 0x2c], eax
jmp 0x6620b951
mov ecx, dword [ebp - 4]
add ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
sub edx, 8
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 1
je 0x6620b9b1
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6620b9d7
mov edi, dword [ebp - 0x10]
lea edi, [edi + eax*8 - 8]
push dword [edi + 4]
push dword [edi]
sub edi, 8
dec eax
jne 0x6620b9cc
mov eax, 4
lea edi, [ebp - 0x18]
push dword [edi + 4]
push dword [edi]
sub edi, 8
dec eax
jne 0x6620b9df
xor ecx, ecx
xor edx, edx
lea esi, [ebp + 8]
push 0x33
call 0x6620b9f8
add dword [esp], 5
retf

Function at 0x6620ba50
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
xor eax, eax
xor edx, edx
push 0x33
call fcn.6620ba62

Function at 0x6620c070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x6620c0a7
cmp bl, 0xd7
je 0x6620c0a7
mov edx, dword [ebp + 0x10]
lea esi, [eax + 1]
test edx, edx
je 0x6620c119
mov ecx, dword [ebp + 0xc]
sub esi, ecx
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x6620c097
pop esi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.6620c2d0
cmp bl, 0xd8
jne 0x6620c119
mov edx, dword [ebp + 0x10]
xor eax, eax
test edx, edx
je 0x6620c119
cmp edx, 0x20
jb 0x6620c107
movdqa xmm1, xmmword [0x6621d3f0]
mov ecx, edx
push edi
and ecx, 0x1f
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
lea ebx, [ebx]
movdqu xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm1
movdqu xmmword [ecx - 0x30], xmm0
movdqu xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm1
movdqu xmmword [ecx - 0x20], xmm0
cmp eax, edi
jb 0x6620c0e0
pop edi
cmp eax, edx
jae 0x6620c119
jmp 0x6620c110
xor byte [eax + esi], 0xf0
inc eax
cmp eax, edx
jb 0x6620c110
pop esi
pop ebx
pop ebp
ret

Function at 0x6620c59a
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.6620e3af
Function at 0x6620e339
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x6620e386
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x6620e381
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x6620e36b
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x6620e373
cmp edx, ebx
jne 0x6620e4c1
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x6620e342
add eax, dword [eax + 4]
jmp 0x6620e32f
mov dword [ebp + 0xc], ebx
jmp 0x6620e391

Function at 0x6620e3af
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6620e3a9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6620e3c7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6620e425
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6620e40c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6620e415
invalid
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6620e41f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6620e401
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6620e38b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x6620e472
dec eax
je 0x6620e469
sub eax, 3
je 0x6620e460
mov dword [ebp - 4], 0x40
jmp 0x6620e48f
mov dword [ebp - 4], 4
jmp 0x6620e475
mov dword [ebp - 4], 0x20
jmp 0x6620e475
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x6620e4c1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6620e441
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.6620dcd2
fcom dword [ecx]
jmp 0x7a96e4b6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6620e400
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6620e3a9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6620e3c7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6620e425
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6620e40c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6620e415
invalid
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6620e41f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6620e401
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6620e38b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x6620e472
dec eax
je 0x6620e469
sub eax, 3
je 0x6620e460
mov dword [ebp - 4], 0x40
jmp 0x6620e48f
mov dword [ebp - 4], 4
jmp 0x6620e475
mov dword [ebp - 4], 0x20
jmp 0x6620e475
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x6620e4c1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6620e441
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.6620dcd2
fcom dword [ecx]
jmp 0x7a96e4b6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6620e410
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6620e3a9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6620e3c7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6620e425
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6620e40c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6620e415
invalid
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6620e41f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6620e401
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6620e38b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x6620e472
dec eax
je 0x6620e469
sub eax, 3
je 0x6620e460
mov dword [ebp - 4], 0x40
jmp 0x6620e48f
mov dword [ebp - 4], 4
jmp 0x6620e475
mov dword [ebp - 4], 0x20
jmp 0x6620e475
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x6620e4c1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6620e441
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.6620dcd2
fcom dword [ecx]
jmp 0x7a96e4b6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6620eb90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.6620dcb0
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.6620dce2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620dc97
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.6620dcd2
mov esi, 0x6828c330
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]

Function at 0x6620f5cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620dc97
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
inc dword [eax]
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.6620dcd2
movsd dword es:[edi], dword [esi]
jp 0x6620f5e5
imul ecx, dword [ebp - 0x6f37b], 0x8be850ff
out 0xff, al
call [ecx + pe_nt_image_headers32]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620dc97
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x6620fd78
cmp dword [ebp - 0x37c], 0
jne 0x6620fe22
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
invalid
Function at 0x404d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abe10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1774
call fcn.0057ed50
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e4]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xd08]
mov dword [ebp - 0x14], esi
test eax, eax
mov dword [ebp - 4], 0
push 0x7cf
je 0x404d98
mov ecx, dword [esi + 0xd04]
lea eax, [ebp - 0x1784]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x404dac
lea edx, [ebp - 0x7e4]
push 0x7d0
lea eax, [ebp - 0x1784]
push edx
push eax
call fcn.00404220
add esp, 0xc
jmp 0x404dac
mov edx, dword [esi + 0xd04]
lea ecx, [ebp - 0x7e4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e4]
mov ecx, esi
push eax
call fcn.004049c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4067c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1770
call fcn.0057ed50
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e0]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 4], 0
test eax, eax
push 0x7cf
je 0x406845
mov ecx, dword [esi + 0x4f4]
lea eax, [ebp - 0x1780]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x406859
lea edx, [ebp - 0x7e0]
push 0x7d0
lea eax, [ebp - 0x1780]
push edx
push eax
call fcn.00404220
add esp, 0xc
jmp 0x406859
mov edx, dword [esi + 0x4f4]
lea ecx, [ebp - 0x7e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e0]
lea ecx, [esi + 0x4d0]
push eax
push 0x64efb0
push ecx
call fcn.00593b08
add esp, 0xc
mov ecx, esi
call fcn.00406eb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret