joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59215f
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x66fd3c
call fcn.006313fc
sub esp, 0x244
push ebx
xor ebx, ebx
inc ebx
cmp byte [ebp + 0xc], 0
push esi
mov dword [ebp - 0x10], ebx
je 0x5921b2
call fcn.00490a4b
push eax
lea eax, [ebp - 0x28]
push str._s_Updater
push eax
call fcn.00472228
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x59219c
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a0e9
push 0x104
lea eax, [ebp - 0x250]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push ebx
push 0x746e74
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x592214
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 0xc], ebx
je 0x592214
push dword [ebp + 0xc]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x592214
push 0x1d4c0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x592214
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.00490a09
push eax
lea eax, [ebp - 0x28]
push str._s__BRINGTOFRONT
push eax
call fcn.0047224d
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x592236
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00598517
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
xor esi, esi
mov bl, al
push 0
inc esi
push esi
call fcn.0042341c
test bl, bl
jne 0x59228f
call fcn.00576144
test al, al
jne 0x59228b
push 0x6a7c50
push 0x7d1
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x10
call fcn.00582370
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00583334
add esp, 0xc
mov byte [ebp - 0x10], 0
call fcn.005931b2
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x592f4e
Capabilities:
Create process on windows
Get common file path
Get comspec environment variable
Get startup folder
Query environment variable

Disassembly:
mov eax, 0x67b04c
call fcn.006313fc
sub esp, 0x4c0
lea eax, [esp + 0x2b8]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x59319a
xor ebp, ebp
lea eax, [esp + 0xc0]
push ebp
push 0x25
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ping.exe
lea ecx, [esp + 0x34]
call fcn.004249e7
push 1
lea eax, [esp + 0x34]
mov dword [esp + 0x4dc], ebp
push eax
sub esp, 0x18
lea eax, [esp + 0xe0]
mov ecx, esp
push eax
call fcn.004249e7
lea eax, [esp + 0x98]
push eax
call fcn.0045dbfb
push ebp
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x4e0], 2
call fcn.0042341c
sub esp, 0x18
lea eax, [esp + 0xa8]
lea esi, [esp + 0x90]
push 6
pop ecx
mov edi, esp
push str._s__n_2_127.0.0.1_r_n
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0047224d
add esp, 0x20
lea eax, [esp + 0x90]
mov byte [esp + 0x4d8], 3
push eax
lea ecx, [esp + 0x4c]
call fcn.00422efb
push dword [esp + 0x4e4]
mov byte [esp + 0x4dc], 4
call fcn.004236bc
pop ecx
push eax
push dword [esp + 0x4e8]
lea ecx, [esp + 0x50]
call fcn.004234f9
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
call fcn.0045ddbc
mov esi, str..bat
mov byte [esp + 0x4d8], 5
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004234f9
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x593084
lea eax, [esp + 0x14]
push 0x80
push 7
push eax
call fcn.0045eeaa
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x4d8], 6
jb 0x5930b4
mov eax, dword [eax]
push dword [esp + 0x58]
push eax
push dword [esp + 0x18]
call fcn.0045f311
xor edi, edi
mov byte [esp + 0x4d8], 5
push ebp
inc edi
lea ecx, [esp + 0x34]
push edi
call fcn.0040a0e9
lea eax, [esp + 0x10]
push eax
call fcn.0045ee3a
lea eax, [esp + 0x2c8]
push eax
lea ecx, [esp + 0x64]
call fcn.004249e7
mov esi, str.__C
mov byte [esp + 0x4d8], 7
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.004234f9
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x6c]
call fcn.00423462
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
jb 0x59313d
mov eax, dword [eax]
push ebp
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
cmp eax, 0x1f
lea ecx, [esp + 0xa8]
push ebp
push edi
seta bl
call fcn.0040a0e9
push ebp
push edi
lea ecx, [esp + 0x68]
call fcn.0042341c
push ebp
push edi
lea ecx, [esp + 0x1c]
call fcn.0042341c
push ebp
push edi
lea ecx, [esp + 0x50]
call fcn.0042341c
push ebp
push edi
lea ecx, [esp + 0x98]
call fcn.0042341c
push ebp
push edi
lea ecx, [esp + 0x80]
call fcn.0042341c
mov al, bl
jmp 0x59319c
xor al, al
mov ecx, dword [esp + 0x4d0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x59852f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00635a30
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x54], esi
test edi, edi
je 0x598593
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp + 0x14]
push 2
push 1
push ebx
push eax
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov ecx, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x18], edi
sbb eax, eax
or ecx, 0x100
and eax, dword [ebp + 0x14]
or ecx, 1
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
xor eax, eax
test edi, edi
push ebx
push ebx
setne al
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x5985da
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x5985d0
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x5985d5
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
test edi, edi
je 0x5985e3
push dword [ebp - 0x14]
call esi
xor eax, eax
test ebx, ebx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x59875c
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x67b807
call fcn.006313fc
push ecx
push esi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00422efb
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00422efb
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x30], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x32], al
mov eax, esi
mov byte [esi + 0x31], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x59a37c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67ba64
call fcn.006313fc
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x78]
push edi
mov edi, ebx
test ebx, ebx
je 0x59a4fe
push ebp
push esi
mov esi, dword [esp + 0x88]
mov eax, edi
sub eax, ebx
add eax, esi
push eax
push 0x59a5bb
push edi
call fcn.0059a564
mov ebp, eax
test ebp, ebp
je 0x59a4fc
sub eax, ebx
add eax, esi
push eax
push 0x59a5ae
push ebp
call fcn.0059a564
mov esi, eax
test esi, esi
je 0x59a4fc
mov edi, esi
sub edi, ebx
add edi, dword [esp + 0x88]
push edi
push 0x59a5bb
push esi
call fcn.0059a564
mov dword [esp + 0x84], eax
test eax, eax
je 0x59a4fc
push edi
push 0x59a5a1
push eax
call fcn.0059a564
mov edi, eax
test edi, edi
jne 0x59a419
mov edi, dword [esp + 0x88]
add edi, ebx
push 0xf
xor eax, eax
pop ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
sub esi, ebp
mov byte [esp + 0x78], 1
push esi
push ebp
lea ecx, [esp + 0x18]
call fcn.00409b2f
mov ecx, dword [esp + 0x84]
mov eax, edi
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00409b2f
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x59a471
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004804be
lea eax, [esp + 0x58]
mov byte [esp + 0x78], 2
push eax
call fcn.0048bff5
push str.init_data
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.00409ba7
lea eax, [esp + 0x28]
mov byte [esp + 0x78], 3
push eax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.004f2b74
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.0040a0e9
test edi, edi
je 0x59a4c8
cmp byte [edi], 0
je 0x59a4c8
inc edi
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.0042341c
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0040a0e9
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.0040a0e9
test edi, edi
jne 0x59a39b
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x59c09d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x67bdf0
call fcn.006313fc
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x6db030
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov word [esi + 0x1c], ax
mov byte [esi + 0x1e], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 1
call fcn.0059c85d
mov ecx, esi
call fcn.0059dc97
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x59c321
Capabilities:
Delete file

Disassembly:
mov eax, 0x66d28b
call fcn.006313fc
sub esp, 0x18
push ebx
push esi
push edi
push 0x6db5c4
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
call fcn.0046e937
mov edi, str.sua_pmr
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.004236bc
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004234f9
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x59c368
lea eax, [ebp - 0x24]
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp byte [esi + 0x25], bl
jne 0x59c384
cmp eax, 0xffffffff
je 0x59c3a5
mov bl, 1
cmp eax, 0xffffffff
je 0x59c3a5
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x59c39e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x24]
mov byte [esi + 0x25], 0
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x59c85d
Capabilities:
Create directory

Disassembly:
mov eax, 0x66d28b
call fcn.006313fc
sub esp, 0x18
push 0x6db5c4
lea eax, [ebp - 0x24]
push eax
call fcn.0046e937
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x59c888
lea eax, [ebp - 0x24]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x59c8c0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x59c8c0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x59c8af
lea eax, [ebp - 0x24]
push eax
push str.Failed_to_create_directory:__S_n
call fcn.00408ce1
pop ecx
pop ecx
xor bl, bl
jmp 0x59c8c2
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x59cdd8
Capabilities:
Get number of processors

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x67bf6c
call fcn.006313fc
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
mov dword [ebp + 0x5c], 7
xor eax, eax
mov dword [ebp + 0x60], ebx
push edi
mov esi, ecx
mov dword [ebp + 0x58], ebx
mov word [ebp + 0x48], ax
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x64]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp + 0x64], 0x75
call fcn.0043c659
cmp eax, 0xffffffff
je 0x59ce42
push dword [esi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0043d03a
push eax
lea ecx, [ebp + 0x48]
call fcn.0044dbe6
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.0042341c
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.0059d062
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x59ce59
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x30]
call fcn.00409ba7
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x59ce7f
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.00409ba7
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp]
push eax
call fcn.004c1da0
mov edi, eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004c1da0
mov ecx, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x59ceba
mov edi, dword [edi]
cmp dword [ecx + 0x14], 0x10
jb 0x59cec2
mov ecx, dword [ecx]
movzx eax, byte [esi + 0x35]
push edi
push eax
push dword [esi + 0x38]
movzx eax, byte [esi + 0x34]
push eax
push dword [esi + 0x30]
push ecx
push str._path_:__s___version_:__d___blacklisted_:__d___crash_count_:__d___opt_out_:__d___running_:__s_
push dword [ebp + 0x70]
call fcn.00472228
add esp, 0x20
lea ecx, [ebp - 0x3c]
push ebx
push 1
call fcn.0040a0e9
push ebx
push 1
lea ecx, [ebp]
call fcn.0040a0e9
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040a0e9
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0040a0e9
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.0040a0e9
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040a0e9
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 4
Function at 0x59e60c
Capabilities:
Delete file

Disassembly:
mov eax, 0x67c21d
call fcn.006313fc
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov byte [esp + 0xb], 1
call fcn.00475044
and dword [esp + 0x2c], 0
lea eax, [edi + 0x44]
mov esi, dword [eax]
cmp esi, dword [edi + 0x48]
je 0x59e6c7
push ebx
push ebp
mov ebp, dword [esp + 0x40]
and ebp, 0x1ffeffff
mov ecx, dword [esi]
mov eax, dword [ecx + 0x30]
and eax, 0x1ffeffff
sub eax, ebp
test eax, eax
jle 0x59e6bd
lea eax, [esp + 0x14]
push eax
call fcn.0059cd6b
push eax
mov byte [esp + 0x38], 1
call fcn.0045e925
push 0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0
mov bl, al
call fcn.0042341c
test bl, bl
je 0x59e6ab
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
call fcn.0059cd6b
cmp dword [eax + 0x14], 8
jb 0x59e697
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.0042341c
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [edi + 0x44]
call fcn.004b6c1b
mov esi, dword [eax]
jmp 0x59e6c0
add esi, 4
cmp esi, dword [edi + 0x48]
jne 0x59e646
pop ebp
pop ebx
mov ecx, edi
call fcn.0059f2b1
or dword [esp + 0x2c], 0xffffffff
call fcn.00475085
mov ecx, dword [esp + 0x24]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x59e6eb
Capabilities:
Delete file

Disassembly:
mov eax, 0x66d28b
call fcn.006313fc
mov eax, dword [esp + 0x14]
sub esp, 0x18
push edi
mov edi, ecx
test eax, eax
jne 0x59e707
xor al, al
jmp 0x59e732
push ebp
push esi
mov esi, dword [edi + 0x44]
cmp esi, dword [edi + 0x48]
je 0x59e72e
mov ecx, dword [eax + 0x30]
mov edx, 0x1ffeffff
and ecx, edx
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
and eax, edx
sub eax, ecx
je 0x59e742
add esi, 4
cmp esi, dword [edi + 0x48]
jne 0x59e71b
xor al, al
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
pop edi
mov dword fs:[0], ecx
leave
ret 4
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.0059cd6b
and dword [esp + 0x30], 0
push eax
call fcn.0045e925
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
push 0
push 1
mov bl, al
call fcn.0042341c
test bl, bl
pop ebx
je 0x59e79b
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
call fcn.0059cd6b
cmp dword [eax + 0x14], 8
jb 0x59e787
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0042341c
push esi
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edi + 0x44]
call fcn.004b6c1b
mov ecx, edi
call fcn.0059f2b1
mov al, 1
jmp 0x59e730
Function at 0x5a245a
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x67c4be
call fcn.006313fc
sub esp, 0xa0
xor eax, eax
push ebp
push edi
push 8
pop ecx
xor ebp, ebp
lea edi, [esp + 0x30]
push ebp
rep stosd dword es:[edi], eax
push 0x80
push 3
lea edi, [esp + 0x30]
stosd dword es:[edi], eax
push ebp
push 3
push SysReAllocString
push dword [esp + 0xd4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5a24ab
or eax, eax
jmp 0x5a2605
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_ReadFile]
lea eax, [esp + 0x14]
push eax
push 0x20
lea eax, [esp + 0x40]
or ebx, 0xffffffff
push eax
push edi
call ebp
test eax, eax
je 0x5a25fb
and dword [esp + 0x1c], 0
cmp dword [esp + 0x3c], 0
push esi
mov esi, dword [esp + 0x44]
jbe 0x5a25f8
push 0
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [esp + 0x18]
add esi, 0xc
push eax
push 0xc
lea eax, [esp + 0x38]
mov dword [esp + 0x28], esi
push eax
push edi
call ebp
test eax, eax
je 0x5a25fa
cmp dword [esp + 0x2c], 5
jne 0x5a25e5
xor esi, esi
push esi
push esi
push dword [esp + 0x3c]
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push esi
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push edi
call ebp
test eax, eax
je 0x5a25fa
mov eax, dword [esp + 0x18]
shl eax, 4
push eax
call fcn.0045d923
mov esi, eax
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
shl eax, 4
push eax
push esi
push edi
call ebp
test eax, eax
je 0x5a261d
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x5a25cd
lea eax, [esi + 0xc]
mov dword [esp + 0x28], eax
cmp dword [eax - 4], 0x58
jb 0x5a25bd
push 0
push 0
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x58
lea eax, [esp + 0x64]
push eax
push edi
call ebp
test eax, eax
je 0x5a261d
cmp dword [esp + 0x58], 0x464e4956
je 0x5a2619
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
inc edx
add eax, 0x10
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
cmp edx, ecx
jb 0x5a257f
or dword [esp + 0xb8], 0xffffffff
test esi, esi
je 0x5a25e1
push 1
push esi
call fcn.0045d916
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x40]
jb 0x5a24e2
xor ebx, ebx
pop esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
mov dword fs:[0], ecx
leave
ret 4
mov ebx, dword [esp + 0x64]
or dword [esp + 0xb8], 0xffffffff
test esi, esi
je 0x5a25fa
push 1
push esi
call fcn.0045d916
jmp 0x5a25fa
Function at 0x5aa26d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67d21f
call fcn.006313fc
sub esp, 0x54
push ebx
mov ebx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x70]
push edi
mov edi, dword [ebx + 0xe0]
add edi, 0x40
mov dword [esp + 0x10], ebx
mov byte [ebp], 0
mov dword [esp + 0x14], edi
mov byte [esp + 0x74], 0
mov dword [esp + 0xc], eax
cmp dword [edi + 0x10], eax
jbe 0x5aa406
push esi
mov esi, dword [esp + 0x7c]
push eax
mov ecx, edi
call fcn.0041f637
mov ecx, dword [ebx + 0xe0]
push dword [eax]
call fcn.005ded62
mov edx, eax
test edx, edx
je 0x5aa3bf
cmp byte [ebp], 0
mov cl, byte [edx + 0x28]
jne 0x5aa2e7
cmp cl, 0x11
je 0x5aa2e7
cmp cl, 0xa
je 0x5aa2e7
xor eax, eax
jmp 0x5aa2ea
xor eax, eax
inc eax
mov byte [ebp], al
cmp cl, 0x11
jne 0x5aa312
cmp byte [edx + 0x48], 0
mov cl, byte [esp + 0x78]
je 0x5aa307
and dword [esi], 0xffffff7f
jmp 0x5aa3c3
and dword [esi], 0xfffffeff
jmp 0x5aa3c3
cmp cl, 0xa
jne 0x5aa418
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0048de1c
push dword [esp + 0x10]
and dword [esp + 0x70], 0
mov ecx, edi
call fcn.0041f637
mov ecx, dword [ebx + 0xe0]
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.005e72e2
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
je 0x5aa3a3
mov edi, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x20]
call fcn.0041f637
mov ecx, dword [edi + 0xe0]
push dword [eax]
call fcn.005ded62
mov byte [ebp], 1
mov al, byte [eax + 0x48]
test al, al
je 0x5aa392
and dword [esi], 0xffffff7f
jmp 0x5aa398
and dword [esi], 0xfffffeff
inc ebx
cmp ebx, dword [esp + 0x2c]
jne 0x5aa368
mov edi, dword [esp + 0x18]
or dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0041fd99
push dword [esp + 0x1c]
call fcn.0040a313
mov ebx, dword [esp + 0x18]
pop ecx
mov cl, byte [esp + 0x78]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x10]
jb 0x5aa2b1
cmp byte [ebp], 0
pop esi
jne 0x5aa3e0
test cl, cl
je 0x5aa406
push 3
pop eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x22c]
push 0xffffffffffffffff
push 0x102b
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov cl, 1
mov byte [esp + 0x78], cl
jmp 0x5aa3c3

Function at 0x5ad7fe
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x7928a4]
test eax, eax
je 0x5ad818
cmp dword [eax + 0x18], 0
je 0x5ad818
push 0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x5b2c0c
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x5b2ccb
cmp edi, dword [esi + 0x1f0]
je 0x5b2ccb
mov ecx, dword [esi + 0x1d4]
xor eax, eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, ecx
push 0
sete al
push eax
push 0x8098
push ecx
call ebp
mov ecx, dword [esi + 0x1d8]
xor eax, eax
cmp edi, ecx
push 0
sete al
push eax
push 0x809a
push ecx
call ebp
mov edx, dword [esi + 0x1f0]
cmp edx, dword [esi + 0x1f4]
jne 0x5b2c83
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x5b2c83
cmp dword [ecx + 0x18], edi
je 0x5b2c83
call fcn.006631c5
jmp 0x5b2cbb
mov eax, dword [esi + 0x1d0]
cmp edx, eax
jne 0x5b2cad
cmp edi, eax
je 0x5b2cad
call fcn.005e4ee6
test al, al
je 0x5b2cad
push 0
push 0
push 0x8077
push dword [esi + 0x1d0]
call ebp
jmp 0x5b2cbb
push 0
push dword [esi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x1f0], edi
pop ebp
pop edi
pop esi
ret 4