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

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x654472
jmp dword [eax*4 + 0x654668]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401b40
test al, al
je 0x65454f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x654650
cmp esi, 0xffffffff
jne 0x654566
call fcn.007a02eb
mov ecx, ebx
call fcn.00405090
cmp eax, esi
jae 0x654576
call fcn.007a02eb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x65459b
mov al, byte [ecx - 1]
test al, al
je 0x65459b
cmp al, 0xff
je 0x65459b
test esi, esi
jne 0x6545bf
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404e60
jmp 0x6545e9
test esi, esi
jne 0x6545aa
push 1
mov ecx, ebx
call fcn.00404e60
jmp 0x6545e9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6545b6
cmp eax, esi
jae 0x6545c7
push 1
mov ecx, ebx
call fcn.00404e60
push esi
mov ecx, ebx
call fcn.00401c60
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x654618
mov al, byte [eax - 1]
test al, al
je 0x654608
cmp al, 0xff
je 0x654608
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401b40
mov eax, dword [ebx + 4]
test eax, eax
je 0x654613
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x65461d
mov ebx, 0x7e5658
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x654645
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x654640
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6548e0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6548f2
jmp dword [eax*4 + 0x654ae8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401b40
test al, al
je 0x6549cf
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x654ad0
cmp esi, 0xffffffff
jne 0x6549e6
call fcn.007a02eb
mov ecx, ebx
call fcn.00405090
cmp eax, esi
jae 0x6549f6
call fcn.007a02eb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x654a1b
mov al, byte [ecx - 1]
test al, al
je 0x654a1b
cmp al, 0xff
je 0x654a1b
test esi, esi
jne 0x654a3f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404e60
jmp 0x654a69
test esi, esi
jne 0x654a2a
push 1
mov ecx, ebx
call fcn.00404e60
jmp 0x654a69
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x654a36
cmp eax, esi
jae 0x654a47
push 1
mov ecx, ebx
call fcn.00404e60
push esi
mov ecx, ebx
call fcn.00401c60
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x654a98
mov al, byte [eax - 1]
test al, al
je 0x654a88
cmp al, 0xff
je 0x654a88
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401b40
mov eax, dword [ebx + 4]
test eax, eax
je 0x654a93
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x654a9d
mov ebx, 0x7e5658
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x654ac5
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x654ac0
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x654dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d3b92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x654f22
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
lea edi, [eax + 4]
mov ecx, dword [esi]
lea ebp, [esi + 8]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [edi], edx
mov al, byte [ebp]
lea ecx, [edi + 4]
mov dword [esp + 0x28], edi
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x7e565c]
push edx
push ebx
push ebp
call fcn.00404c60
mov al, byte [esi + 0x18]
lea ebp, [esi + 0x18]
lea ecx, [edi + 0x14]
mov byte [esp + 0x1c], 1
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x7e565c]
push edx
push ebx
push ebp
call fcn.00404c60
mov eax, dword [esi + 0x28]
mov byte [esp + 0x1c], 2
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x30]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x34]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x34], ecx
mov edx, dword [esi + 0x3c]
mov dword [edi + 0x38], edx
mov eax, dword [esi + 0x40]
mov dword [edi + 0x3c], eax
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x40], ecx
mov edx, dword [esi + 0x48]
mov dword [edi + 0x44], edx
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x4c], ecx
mov edx, dword [esi + 0x54]
mov dword [edi + 0x50], edx
mov eax, dword [esi + 0x58]
mov dword [edi + 0x54], eax
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x58], ecx
mov edx, dword [esi + 0x60]
mov dword [edi + 0x5c], edx
mov eax, dword [esi + 0x64]
mov dword [edi + 0x60], eax
mov ecx, dword [esi + 0x68]
mov dword [edi + 0x64], ecx
mov dl, byte [esi + 0x6c]
mov byte [edi + 0x68], dl
mov eax, dword [esi + 0x70]
mov dword [edi + 0x6c], eax
mov ecx, dword [esi + 0x74]
mov dword [edi + 0x70], ecx
mov edx, dword [esi + 0x78]
mov dword [edi + 0x74], edx
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x78], eax
mov cl, byte [esi + 0x80]
mov byte [edi + 0x7c], cl
mov edx, dword [esi + 0x84]
mov dword [edi + 0x80], edx
mov eax, dword [esi + 0x88]
mov dword [edi + 0x84], eax
mov ecx, dword [esi + 0x8c]
mov dword [edi + 0x88], ecx
pop edi
pop esi
mov byte [esp + 0x14], bl
pop ebp
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x654f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d3bd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x655033
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
lea edi, [eax + 4]
mov ecx, dword [esi]
lea ebp, [esi + 8]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [edi], edx
mov al, byte [ebp]
lea ecx, [edi + 4]
mov dword [esp + 0x28], edi
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x7e565c]
push edx
push ebx
push ebp
call fcn.00404c60
mov al, byte [esi + 0x18]
lea ebp, [esi + 0x18]
lea ecx, [edi + 0x14]
mov byte [esp + 0x1c], 1
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x7e565c]
push edx
push ebx
push ebp
call fcn.00404c60
mov al, byte [esi + 0x28]
mov byte [esp + 0x1c], 2
mov byte [edi + 0x24], al
mov cl, byte [esi + 0x29]
mov byte [edi + 0x25], cl
mov edx, dword [esi + 0x2c]
mov dword [edi + 0x28], edx
mov al, byte [esi + 0x30]
mov byte [edi + 0x2c], al
mov cl, byte [esi + 0x31]
mov byte [edi + 0x2d], cl
mov dl, byte [esi + 0x32]
mov byte [edi + 0x2e], dl
mov al, byte [esi + 0x33]
mov byte [edi + 0x2f], al
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], ecx
mov dl, byte [esi + 0x38]
mov byte [edi + 0x34], dl
mov al, byte [esi + 0x39]
mov byte [edi + 0x35], al
mov cl, byte [esi + 0x3a]
mov byte [edi + 0x36], cl
pop edi
pop esi
mov byte [esp + 0x14], bl
pop ebp
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x66c5e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x7d47ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044a3d0
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x58], al
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov cl, byte [esp + 0xb]
mov eax, 1
mov byte [esp + 0x18], al
mov byte [esi + 0x6c], cl
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 2
xor edx, edx
mov dword [esi], 0x7ed36c
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
lea ecx, [esi + 0x4c]
mov dword [esi + 0x4c], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [esi + 0x114], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x88], eax
call dword [sym.imp.winmm.dll_timeGetTime]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x80], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x120], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x6729c0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x7d4ba7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044a3d0
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x34], al
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov cl, byte [esp + 0xb]
mov byte [esp + 0x18], 1
push 0xc
mov byte [esi + 0x44], cl
call fcn.007a2d8d
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dl, byte [esp + 0xf]
mov byte [esp + 0x1c], 2
push 0xc
mov byte [esi + 0x50], dl
call fcn.007a2d8d
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov al, byte [esp + 0xb]
mov byte [esp + 0x18], 3
mov byte [esi + 0x40074], al
mov dword [esi + 0x40078], edi
mov dword [esi + 0x4007c], edi
mov dword [esi + 0x40080], edi
push fcn.00404b60
push 0x4c8ff0
push 3
lea ecx, [esi + 0x40084]
push 0x10
push ecx
mov byte [esp + 0x2c], 4
call fcn.007a3333
push fcn.00404b60
push 0x4c8ff0
push 3
lea edx, [esi + 0x400b4]
push 0x10
push edx
mov byte [esp + 0x2c], 5
call fcn.007a3333
mov byte [esp + 0x18], 6
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x6c], edi
mov ecx, 0x10000
xor eax, eax
lea edi, [esi + 0x70]
mov dword [esi], 0x7ed3d8
mov dword [esi + 0x40070], 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x678216
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d4e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x7ed3f8
mov ecx, dword [0x8b1a48]
lea eax, [esi + 0x58]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.0045e880
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0x67824a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00440640
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x679430
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7d4f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebp
test eax, eax
mov dword [esp + 4], ecx
je 0x679558
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x679558
push esi
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push ebp
call esi
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
push ebp
call esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x679550
push ebx
push edi
push 0x188
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x6794e4
mov ecx, eax
call fcn.0044cdf0
mov ebx, eax
jmp 0x6794e6
xor ebx, ebx
mov edx, dword [ebx]
push ebp
mov ecx, ebx
mov dword [esp + 0x30], 0xffffffff
call dword [edx + 0xc]
test ebx, ebx
je 0x679539
mov eax, dword [esp + 0x10]
push 0xc
mov esi, dword [eax + 0x1c]
mov edi, dword [esi + 4]
call fcn.007a2d8d
add esp, 4
mov ecx, esi
test esi, esi
jne 0x679516
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x67951e
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x679532
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
inc dword [eax + 0x20]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x6794bc
pop edi
pop ebx
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0x18]
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x67c880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d50c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0044a3d0
mov cl, byte [esp + 7]
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x40], cl
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x14], 1
mov dword [esi], 0x7ed4a0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x694cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d628e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov al, byte [esp + 0xb]
push esi
mov esi, ecx
push edi
mov cl, byte [esp + 0x13]
xor ebx, ebx
lea edi, [esi + 4]
push 1
push ebx
mov dword [esp + 0x24], esi
mov byte [edi + 1], cl
mov ecx, edi
mov dword [esp + 0x28], edi
mov byte [edi], al
mov byte [edi + 8], bl
call fcn.006d8c30
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.007a04d4
mov eax, dword [0x9e818c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x694d67
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [0x9e818c], eax
mov dword [eax], ebx
mov edx, dword [0x9e818c]
mov dword [edx + 8], ebx
mov edx, dword [0x9e8188]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x9e8188], edx
mov dword [esp + 0x2c], 0xffffffff
call fcn.007a0570
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x694d96
push eax
call fcn.007a02e0
add esp, 4
mov eax, dword [0x9e818c]
push ebx
push eax
mov ecx, edi
call fcn.006d8c30
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea ebp, [esi + 0x14]
mov dword [esp + 0x2c], 2
mov ecx, ebp
mov dword [esp + 0x20], ecx
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], 1
call fcn.00648d70
mov byte [esp + 0x2c], 4
mov dword [esi], 0x7eda70
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.006481a0
mov eax, dword [ebp + 4]
lea edx, [esp + 0x20]
push eax
mov ecx, dword [eax]
push ecx
push edx
mov ecx, ebp
call fcn.00647a10
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], eax
mov dword [esp + 0x2c], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x6acbb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d75f6
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 eax, dword [esi + 0x64]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x6acbf8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6acbef
cmp al, 0xff
je 0x6acbef
dec al
mov byte [ecx], al
jmp 0x6acbf8
push ecx
call fcn.007a02e0
add esp, 4
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x28]
cmp eax, ebx
mov dword [esp + 0x14], 0xffffffff
je 0x6acc2d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6acc24
cmp al, 0xff
je 0x6acc24
dec al
mov byte [ecx], al
jmp 0x6acc2d
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x6d5240
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x21c], ebx
je 0x6d5267
mov byte [0x8b16c9], bl
mov ecx, dword [esi + 0x21c]
push ebx
call fcn.00759960
mov eax, dword [0x8b1a48]
cmp eax, ebx
je 0x6d5273
mov byte [eax + 0x29], bl
mov eax, dword [0x8b1a40]
push 1
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [0x8b1a40]
push ecx
call dword [sym.imp.user32.dll_SetForegroundWindow]
mov dl, byte [0x870c08]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov ecx, dword [esi + 0x3e4]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.kernel32.dll_lstrcatA]
mov edi, dword [esi + 0x3e4]
mov ecx, 0x41
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x3e4]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov edx, dword [esi + 0x3e4]
mov dword [edx + 0x10c], ebx
mov eax, dword [esi + 0x3e4]
mov dword [eax + 0x108], ebx
mov ecx, dword [esi + 0x3e4]
push ecx
mov ecx, esi
call fcn.006d55c0
test eax, eax
jge 0x6d5328
mov ecx, esi
call fcn.006d5340
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x104
ret
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x104
ret
Function at 0x6d5a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d8e31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
mov ecx, dword [esp + 0x248]
push ebx
lea eax, [esp + 0x250]
push edi
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.007a38f8
mov al, byte [esp + 0x17]
mov edi, 0x832694
mov byte [esp + 0x28], al
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
push ecx
push 0x832694
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00404eb0
mov cl, byte [esp + 0xb]
mov dword [esp + 0x244], ebx
mov byte [esp + 0xc], cl
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00404eb0
push ebx
push 1
lea eax, [esp + 0x24]
push ebx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0x25c], 1
call fcn.00763d10
add esp, 0x18
mov eax, dword [esp + 0x30]
mov byte [esp + 0x244], 1
cmp eax, ebx
je 0x6d5b16
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6d5b0d
cmp al, 0xff
je 0x6d5b0d
dec al
mov byte [ecx], al
jmp 0x6d5b16
push ecx
call fcn.007a02e0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
cmp eax, ebx
mov byte [esp + 0x244], bl
je 0x6d5b4e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6d5b45
cmp al, 0xff
je 0x6d5b45
dec al
mov byte [ecx], al
jmp 0x6d5b4e
push ecx
call fcn.007a02e0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0x244], 0xffffffff
je 0x6d5b9f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6d5b96
cmp al, 0xff
je 0x6d5b96
dec al
pop edi
mov byte [ecx], al
pop ebx
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x23c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret