joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6da280
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ecx
push ebp
mov ecx, dword [esp + 0x4c]
push esi
or esi, 0xffffffff
push edi
lea eax, [ecx + 1]
sub esi, ecx
movsx ecx, byte [ebx]
test ecx, ecx
je 0x6da2a3
inc ebx
mov edx, ecx
add eax, 8
sar edx, 7
and dl, 1
xor byte [eax - 9], dl
mov edx, ecx
sar edx, 6
and dl, 1
xor byte [eax - 8], dl
mov edx, ecx
sar edx, 5
and dl, 1
xor byte [eax - 7], dl
mov edx, ecx
sar edx, 4
and dl, 1
xor byte [eax - 6], dl
mov edx, ecx
sar edx, 3
and dl, 1
xor byte [eax - 5], dl
mov edx, ecx
sar edx, 2
and dl, 1
xor byte [eax - 4], dl
mov edx, ecx
sar edx, 1
and dl, 1
and cl, 1
xor byte [eax - 3], dl
mov dl, byte [eax - 2]
xor dl, cl
lea ecx, [esi + eax]
mov byte [eax - 2], dl
cmp ecx, 0x40
jl 0x6da29b
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x10]
mov ecx, 0xe
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov edx, 0x7edb38
mov al, byte [esp + 0x14]
mov ecx, 0x1b
lea esi, [esp + 0x15]
lea edi, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x30]
mov ecx, 0x1b
lea esi, [esp + 0x31]
lea edi, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x4b], al
mov eax, dword [edx]
cmp eax, 2
jne 0x6da380
mov al, byte [esp + 0x14]
mov ecx, 0x1b
lea esi, [esp + 0x15]
lea edi, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x30]
mov ecx, 0x1b
lea esi, [esp + 0x31]
lea edi, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x4b], al
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x7edb88]
inc eax
cmp eax, 0x30
mov cl, byte [esp + ecx + 0x13]
mov byte [eax + ebp - 1], cl
jl 0x6da382
add edx, 4
add ebp, 0x30
cmp edx, 0x7edb78
jl 0x6da31d
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
push 1
push edx
call fcn.006d9f10
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
Function at 0x6da3d0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x10]
push 0x8326f8
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.006da280
lea edx, [esp + 0x10]
push 0x832730
push edx
push eax
mov ecx, ebx
call fcn.006da280
lea ecx, [esp + 0x10]
push 0x832768
push ecx
push eax
mov ecx, ebx
call fcn.006da280
lea edx, [esp + 0x10]
push 0x8327a0
push edx
push eax
mov ecx, ebx
call fcn.006da280
mov ecx, 0xe
lea esi, [esp + 0x10]
lea edi, [esp + 0x10]
mov ebp, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, 0x7edb38
mov al, byte [esp + 0x10]
mov ecx, 0x1b
lea esi, [esp + 0x11]
lea edi, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x2c]
mov ecx, 0x1b
lea esi, [esp + 0x2d]
lea edi, [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x47], al
mov eax, dword [edx]
cmp eax, 2
jne 0x6da4ab
mov al, byte [esp + 0x10]
mov ecx, 0x1b
lea esi, [esp + 0x11]
lea edi, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x2c]
mov ecx, 0x1b
lea esi, [esp + 0x2d]
lea edi, [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x47], al
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x7edb88]
inc eax
cmp eax, 0x30
mov cl, byte [esp + ecx + 0xf]
mov byte [eax + ebp - 1], cl
jl 0x6da4ad
add edx, 4
add ebp, 0x30
cmp edx, 0x7edb78
jl 0x6da448
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x6de390
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x7d93c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x120]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [ecx + edx*4]
xor esi, esi
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x120], esi
push ecx
call dword [sym.imp.user32.dll_GetWindowTextA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x12c]
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
mov dword [ebp + 4], esi
not ecx
dec ecx
mov byte [ebp], dl
mov ebx, ecx
mov dword [ebp + 8], esi
cmp ebx, 0xfffffffd
mov dword [ebp + 0xc], esi
jbe 0x6de40a
call fcn.007a02eb
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x6de42f
mov al, byte [ecx - 1]
test al, al
je 0x6de42f
cmp al, 0xff
je 0x6de42f
cmp ebx, esi
jne 0x6de453
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00404e60
jmp 0x6de47d
cmp ebx, esi
jne 0x6de43e
push 1
mov ecx, ebp
call fcn.00404e60
jmp 0x6de47d
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x6de44a
cmp eax, ebx
jae 0x6de45b
push 1
mov ecx, ebp
call fcn.00404e60
push ebx
mov ecx, ebp
call fcn.00401c60
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov dword [esp + 0x118], 1
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8
Function at 0x6e08f0
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7d96c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], 0xffffffff
mov dword [ebp - 4], eax
push eax
push 0x8000027
push 3
push eax
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
jne 0x6e0957
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x20], eax
jmp 0x6e0a50
lea ecx, [ebp - 0x18]
push ecx
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x6e0a0f
cmp eax, 4
jbe 0x6e0a0f
add eax, 0xfffffffc
mov dword [ebp - 0x38], eax
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x28], esi
push 0
lea edx, [ebp - 0x2c]
push edx
push 4
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x6e09a5
push esi
jmp 0x6e0a09
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x6e09be
push esi
jmp 0x6e0a09
mov dword [ebx], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x38]
jae 0x6e09fd
mov al, byte [ecx + esi]
mov byte [ebp - 0x34], al
mov eax, dword [ebx]
mov edx, eax
and edx, 0xff
mov ebx, dword [ebp - 0x34]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x8329cc]
xor edx, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edx
inc ecx
jmp 0x6e09c6
mov eax, dword [ebx]
not eax
mov dword [ebx], eax
cmp dword [ebp - 0x24], eax
push esi
je 0x6e0a35
call dword [sym.imp.kernel32.dll_GlobalFree]
mov dword [ebp - 0x20], 0x17
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0x17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x6e0a50
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x6e0a62
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebx]
not eax
mov dword [ebx], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6e0cc0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x6e0cf7
lea esi, [ebx + 4]
mov ebp, 0x100
mov eax, dword [esi]
test eax, eax
je 0x6e0cea
push eax
mov ecx, edi
call fcn.006e1070
add esi, 4
dec ebp
jne 0x6e0cdc
push ebx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov ebx, dword [sym.imp.kernel32.dll_GlobalAlloc]
push 0x404
push 0x40
mov dword [edi + 4], 0
call ebx
test eax, eax
mov dword [edi + 4], eax
je 0x6e0e0c
mov edx, dword [esp + 0x20]
mov ax, word [0x82bdc0]
mov cl, byte [0x82bdc2]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edx
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], cl
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6e0e0c
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x6e0e05
test esi, esi
je 0x6e0e05
lea ecx, [esi + 1]
push ecx
push 0x40
call ebx
lea edx, [esp + 0x14]
push 0
mov edi, eax
push edx
push esi
push edi
push ebp
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x6e0e05
lea eax, [esp + 0x10]
mov byte [edi + esi], 0
push eax
push edi
call fcn.007a522a
mov ebx, dword [sym.imp.user32.dll_CharLowerA]
add esp, 8
push eax
call ebx
mov esi, eax
test esi, esi
je 0x6e0de8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6e0dc6
mov ecx, dword [esp + 0x28]
push esi
push ecx
call eax
add esp, 8
mov ecx, dword [esp + 0x18]
push esi
call fcn.006e0c60
lea edx, [esp + 0x10]
push edx
push 0
call fcn.007a522a
add esp, 8
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x6e0db3
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 0xc
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0xc
Function at 0x6e15a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d9723
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x7ee54c
mov ecx, dword [esi + 0x1c]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x14], 1
je 0x6e15dc
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov byte [esp + 0x14], bl
je 0x6e1607
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6e15fe
cmp al, 0xff
je 0x6e15fe
dec al
mov byte [ecx], al
jmp 0x6e1607
push ecx
call fcn.007a02e0
add esp, 4
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00762320
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x6e4de0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x7d9e21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.007622b0
push 0x466d60
push 0x466c50
push 3
lea eax, [esi + 0x38]
xor ebx, ebx
push 0x68
push eax
mov dword [esp + 0x38], ebx
call fcn.007a3333
mov cl, byte [esp + 0xe]
lea edi, [esi + 0x170]
mov byte [esp + 0x24], 1
mov dword [esp + 0x14], edi
mov byte [edi + 4], cl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea edx, [esp + 0xe]
lea eax, [esp + 0xf]
push edx
lea ecx, [edi + 0x14]
push ebx
push eax
mov byte [esp + 0x30], 2
mov dword [esp + 0x24], ecx
call fcn.006ef310
mov byte [esp + 0x24], 4
mov dword [edi], 0x7e639c
push 0x4677f0
push 0x4677e0
push 0x20
lea ecx, [esi + 0x3a8]
push 8
push ecx
mov byte [esp + 0x38], 5
call fcn.007a3333
lea ecx, [esi + 0x5b8]
mov byte [esp + 0x24], 6
call fcn.0044fa80
mov byte [esp + 0x24], 7
lea edi, [esi + 0x1a8]
mov ecx, 8
xor eax, eax
mov dword [esi], 0x7ee594
mov dword [esi + 0x1a4], ebx
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esi + 0x20], edx
or edi, 0xffffffff
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x390], ebx
mov dword [esi + 0x394], ebx
mov dword [esi + 0x398], 1
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x3a0], ebx
mov byte [esi + 0x3a4], bl
mov byte [esi + 0x3a5], bl
mov byte [esi + 0x3a6], bl
mov dword [esi + 0x384], ebx
mov dword [esi + 0x388], ebx
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [0x9ea1d4]
mov dword [eax + 0x4e0], edi
mov ecx, dword [0x9ea1d4]
mov dword [ecx + 0x4e8], edi
push 0x44
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 8
je 0x6e4f46
mov ecx, eax
call fcn.00678d30
jmp 0x6e4f48
xor eax, eax
mov byte [esp + 0x24], 7
push 0x28
mov dword [esi + 0x2c], eax
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 9
je 0x6e4f70
mov ecx, eax
call fcn.007001f0
jmp 0x6e4f72
xor eax, eax
mov byte [esp + 0x24], 7
push 0x80
mov dword [esi + 0x30], eax
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xa
je 0x6e4f9d
mov ecx, eax
call fcn.0075a650
jmp 0x6e4f9f
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x24], 7
mov dword [esi + 0x34], eax
mov dword [esp + 0x24], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x6f6650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7da964
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], fcn.007a0170
mov eax, 5
lea ecx, [esi + 0x788]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
mov byte [esp + 0x28], al
call fcn.006fb570
lea edi, [esi + 0x778]
mov byte [esp + 0x28], 4
mov dword [esp + 0x10], edi
mov eax, dword [edi + 4]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x30], 4
call fcn.00647030
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.006db340
mov eax, dword [edi + 4]
push eax
call fcn.007a02e0
xor ebx, ebx
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
xor edi, edi
call fcn.007a04d4
mov eax, dword [0x9e9898]
mov byte [esp + 0x28], 9
dec eax
mov dword [0x9e9898], eax
jne 0x6f6704
mov edi, dword [0x9e989c]
mov dword [0x9e989c], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.007a0570
cmp edi, ebx
je 0x6f671f
push edi
call fcn.007a02e0
add esp, 4
mov ebp, dword [esi + 0x770]
mov edi, dword [esi + 0x76c]
cmp edi, ebp
mov byte [esp + 0x28], 3
je 0x6f6742
mov ecx, edi
call fcn.006dab80
add edi, 0x7c
cmp edi, ebp
jne 0x6f6734
mov eax, dword [esi + 0x76c]
push eax
call fcn.007a02e0
lea edi, [esi + 0x75c]
mov dword [esi + 0x76c], ebx
mov dword [esi + 0x770], ebx
mov dword [esi + 0x774], ebx
mov ebp, dword [edi + 4]
add esp, 4
mov byte [esp + 0x28], 2
mov eax, dword [ebp]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x6f67a0
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00624730
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.006fbac0
cmp dword [esp + 0x10], ebp
jne 0x6f677c
mov eax, dword [edi + 4]
push eax
call fcn.007a02e0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ebp, dword [esi + 0x754]
lea edi, [esi + 0x750]
add esp, 4
mov byte [esp + 0x28], 1
mov eax, dword [ebp]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x6f67f2
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00624730
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.006fbac0
cmp dword [esp + 0x10], ebp
jne 0x6f67ce
mov eax, dword [edi + 4]
push eax
call fcn.007a02e0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ebp, dword [esi + 0x748]
lea edi, [esi + 0x744]
add esp, 4
mov byte [esp + 0x28], bl
mov eax, dword [ebp]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x6f6843
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00624730
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.00664200
cmp dword [esp + 0x10], ebp
jne 0x6f681f
mov eax, dword [edi + 4]
push eax
call fcn.007a02e0
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00402070
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x6fc110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7daf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x34
call fcn.007a2d8d
mov esi, eax
xor ebp, ebp
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esi + 4], ebp
mov dword [esi + 0x30], 1
mov ebx, esi
call fcn.007a04d4
mov eax, dword [0x9e9d80]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x6fc16e
mov dword [0x9e9d80], esi
mov dword [esi], ebp
mov eax, dword [0x9e9d80]
xor ebx, ebx
mov dword [eax + 8], ebp
mov ecx, dword [0x9e9d7c]
inc ecx
mov dword [0x9e9d7c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.007a0570
cmp ebx, ebp
je 0x6fc199
push ebx
call fcn.007a02e0
add esp, 4
mov esi, dword [0x9e9d80]
push 0x34
call fcn.007a2d8d
mov dword [eax + 4], esi
mov dword [eax + 0x30], ebp
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebp
mov dword [eax], eax
mov edi, dword [edi + 4]
add esp, 4
mov dword [edi + 8], edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x6fe770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6fe792
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44c
ret 4
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x34]
mov ebx, dword [esi + 0x18]
sub eax, edx
sub ecx, edi
test ebx, ebx
jne 0x6fe7ae
mov ebx, 0x7e5658
mov ebp, dword [esi + 4]
push 0
push ebp
mov ebp, dword [esi + 8]
push 0
push ebp
push ecx
push eax
push edi
push edx
push 0x40000000
push ebx
push 0x83373c
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
lea ecx, [esp + 0x20]
mov dword [esi + 0xc], eax
push ecx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.user32.dll_UpdateWindow]
push edx
call edi
mov eax, dword [esi + 0xc]
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x6fe80e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44c
ret 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x6fe81c
push eax
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [esp + 0x460]
mov dword [esi + 0x10], 0
test eax, eax
je 0x6fe922
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x6fe83d
push 0
call edi
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
sub edi, eax
sub ebx, ecx
call dword [sym.imp.user32.dll_GetDC]
push 0
mov ebp, eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
xor eax, eax
push eax
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x40]
push eax
push edx
push ebp
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x5a], 0x10
mov word [esp + 0x58], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], 3
mov dword [esp + 0x74], 0xf800
mov dword [esp + 0x78], 0x7e0
mov dword [esp + 0x7c], 0x1f
call dword [sym.imp.gdi32.dll_CreateDIBSection]
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push ecx
push edx
push ebp
push ebx
push edi
mov edi, dword [esp + 0x28]
push 0
push 0
push edi
call dword [sym.imp.gdi32.dll_BitBlt]
push edi
call dword [sym.imp.gdi32.dll_DeleteDC]
push ebp
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44c
ret 4
Function at 0x6fec80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
push ebx
push esi
mov esi, 0x16
mov eax, 5
mov dword [esp + 0x78], esi
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x10c]
push edi
mov dword [esp + 0x88], eax
mov dword [esp + 0xcc], eax
mov ebx, 3
mov edi, 7
mov edx, 1
mov ecx, 0x19
xor eax, eax
mov dword [esp + 0xc], 0x1a
test esi, esi
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x14], 0x11
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0x1d
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0x14
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], 0xb
mov dword [esp + 0x44], 0xd
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 0x13
mov dword [esp + 0x50], 0x17
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xe
mov dword [esp + 0x60], 0x1b
mov dword [esp + 0x64], 6
mov dword [esp + 0x68], 0x12
mov dword [esp + 0x6c], 0x15
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 0x12
mov dword [esp + 0x90], 0x1d
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0xa0], 0x1f
mov dword [esp + 0xa8], 0x1b
mov dword [esp + 0xac], 9
mov dword [esp + 0xb0], 0x1a
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0xd
mov dword [esp + 0xbc], 0x13
mov dword [esp + 0xc0], 0xe
mov dword [esp + 0xc4], 0x14
mov dword [esp + 0xc8], 0xb
mov dword [esp + 0xd0], 2
mov dword [esp + 0xd4], 0x17
mov dword [esp + 0xd8], 0x10
mov dword [esp + 0xdc], 0xa
mov dword [esp + 0xe0], 0x18
mov dword [esp + 0xe4], 0x1c
mov dword [esp + 0xe8], 0x11
mov dword [esp + 0xec], 6
mov dword [esp + 0xf0], 0x1e
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0x15
mov dword [esp + 0xfc], 0xc
mov dword [esp + 0x100], 8
mov dword [esp + 0x104], 4
mov dword [esp + 0x108], edx
jbe 0x6fef21
mov bl, byte [esp + 0x114]
xor edi, edi
mov ecx, esi
mov edx, esi
and ecx, 0xfffffffe
sub edx, ecx
shr esi, 1
test edx, edx
je 0x6fef1a
test bl, bl
je 0x6fef0f
mov ecx, dword [esp + edi + 0xc]
jmp 0x6fef16
mov ecx, dword [esp + edi + 0x8c]
shl edx, cl
add eax, edx
add edi, 4
test esi, esi
ja 0x6feef6
pop edi
pop esi
pop ebx
add esp, 0x100
ret 8

Function at 0x6fef30
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x6fef54
mov cl, byte [esp + 4]
test cl, cl
je 0x6fef4b
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
ret 4
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
ret 4