joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4de0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x61cc60
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
call fcn.004a8c20
test eax, eax
jne 0x4a500e
mov ebp, dword [0x74cbe4]
test ebp, ebp
je 0x4a4e4e
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4a4fe0
mov eax, dword [0x74cbe0]
test eax, eax
je 0x4a4e46
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov ebp, dword [0x74cbe4]
mov dword [0x74cbe0], 0
mov dword [esp], ebp
call fcn.004defc0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea ebp, [eax + 1]
mov dword [esp], ebp
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [0x74cbe4], eax
je 0x4a4fc2
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [esp], ebx
mov dword [esp + 4], 0x668bcf
call sub.msvcrt.dll_fopen
test eax, eax
mov ebx, eax
mov dword [0x74cbe0], eax
je 0x4a4fc2
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str.domain
call sub.msvcrt.dll_fwrite
mov dword [esp], edi
call sub.msvcrt.dll_strlen
lea ecx, [edi + eax]
mov edx, edi
mov eax, ebx
call fcn.004a4d10
mov dword [esp + 4], 4
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
mov edi, eax
je 0x4a4f15
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._nmsgctxt
call sub.msvcrt.dll_fwrite
mov edx, esi
lea esi, [edi + 1]
mov ecx, edi
mov eax, ebx
call fcn.004a4d10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str._nmsgid
call sub.msvcrt.dll_fwrite
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea ecx, [esi + eax]
mov edx, esi
mov eax, ebx
call fcn.004a4d10
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
test eax, eax
je 0x4a4ff0
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
mov dword [esp], str._nmsgid_plural
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov eax, ebx
call fcn.004a4d10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
mov dword [esp], str._nmsgstr_0_____n
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_putc
mov dword [esp], 0x61cc60
call fcn.004a8d10
test eax, eax
jne 0x4a500e
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x74cbe0]
jmp 0x4a4e9d
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str._nmsgstr____n
call sub.msvcrt.dll_fwrite
jmp 0x4a4fb2
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4c0d70
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x61cd54], eax
je 0x4c0d87
add esp, 0xc
ret
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4c1190
Capabilities:
Print debug messages

Disassembly:
test eax, eax
je 0x4c11b5
push edi
push esi
push ebx
mov ebx, eax
add esp, 0xffffff80
mov dword [esp], eax
call fcn.004c0b60
cmp eax, 1
je 0x4c11b7
mov dword [ebx], 0xffffffff
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
repz ret
lea ebx, [esp + 0x15]
mov esi, str.Error_cleaning_up_spin_keys_for_thread
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x3d]
mov ecx, 0x43
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.msvcrt.dll__ultoa]
cmp byte [esp + 0x3c], 0
mov eax, 0x27
jne 0x4c1208
jmp 0x4c1216
cmp eax, 0x6a
je 0x4c1220
add eax, 1
cmp byte [ebx + eax], 0
jne 0x4c1203
cmp eax, 0x6a
je 0x4c1220
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + eax + 0x16], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call sub.msvcrt.dll_abort
nop

Function at 0x4c12c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp dword [0x74cc64], 1
je 0x4c12d5
call fcn.004c1230
mov eax, dword [0x61cd54]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4c12f2
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004c10e0
mov ebx, eax
mov eax, dword [entry3]
test eax, eax
je 0x4c13f7
test ebx, ebx
je 0x4c13f7
mov dword [ebx + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x38]
sub esp, 0x10
mov dword [ebx + 0x1c], 0xffffffff
call fcn.004c1190
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x14], 0
call esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, eax
call esi
lea edx, [ebx + 0x14]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x4c13fe
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebx + 0x6c], eax
movzx eax, byte [ebx + 0x20]
sub esp, 4
mov dword [ebx + 0x68], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [ebx + 0x20], al
mov eax, dword [0x61cd54]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4c13fe
mov eax, ebx
jmp 0x4c12ea
xor eax, eax
jmp 0x4c12ea
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x4c1550
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4c1580
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4c1640
add esp, 0x14
mov eax, 1
pop ebx
pop esi
ret 0xc
cmp eax, 1
je 0x4c1700
cmp eax, 3
jne 0x4c1569
mov eax, dword [0x61cd54]
cmp eax, 0xffffffff
je 0x4c1569
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x4c1569
test byte [eax + 0x20], 0x30
je 0x4c1670
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4c1722
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c15f4
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x4c15e6
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.004c0980
lea eax, [ebx + 0x38]
call fcn.004c1190
mov edx, dword [ebx + 0xb0]
test edx, edx
je 0x4c1740
mov eax, dword [0x61cd54]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
mov eax, 1
add esp, 0x14
pop ebx
pop esi
ret 0xc
mov eax, dword [0x74cc40]
test eax, eax
je 0x4c1569
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x74cc40], 0
sub esp, 4
jmp 0x4c1569
mov eax, dword [eax + 0x68]
test eax, eax
mov eax, dword [ebx + 0x18]
jne 0x4c16d0
test eax, eax
je 0x4c168a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
jne 0x4c1730
test byte [ebx + 0x24], 4
je 0x4c16e7
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4c15ed
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x4c15ed
test eax, eax
je 0x4c16e0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.004c0980
lea eax, [ebx + 0x38]
call fcn.004c1190
jmp 0x4c1569
mov dword [esp + 4], 0x4c0bc0
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x74cc40], eax
jmp 0x4c1569
call fcn.004c1450
jmp 0x4c15c2
call fcn.004c1450
jmp 0x4c16a6
mov eax, ebx
call fcn.004c0f70
jmp 0x4c1615
Function at 0x4cdd30
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004df680
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004df680
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4cdd90
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x74cfdc]
test esi, esi
jle 0x4cde83
mov edi, dword [0x74cfe0]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x4cddc4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x4cde7c
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x4cddb0
mov dword [esp], eax
mov ebx, eax
call fcn.004ce6b0
test eax, eax
mov edi, eax
je 0x4cdec0
lea ebx, [esi + esi*4]
mov esi, dword [0x74cfe0]
shl ebx, 2
add esi, ebx
mov dword [esi + 0x10], eax
mov dword [esi], 0
call fcn.004ce7e0
add eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x74cfe0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4cdea0
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4cde75
sub eax, 4
and eax, 0xfffffffb
je 0x4cde75
add ebx, dword [0x74cfe0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x4cde8a
add dword [0x74cfdc], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x4cddce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004cdd30
mov eax, dword [0x74cfe0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004cdd30
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004cdd30
Function at 0x4ce330
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x74cff8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x74cff0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x4ce385
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4ce37e
test esi, esi
je 0x4ce37e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4ce360
mov dword [esp], 0x74cff8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4cfa10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov ebx, dword [esp + 0x150]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x4cfb9e
cmp byte [ebx], 0
je 0x4cfb60
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x4cfb80
test al, 0x10
je 0x4cfb60
lea edi, [esp + 0x2c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], edi
mov esi, edi
call sub.msvcrt.dll__fullpath
mov edx, dword [esi]
add esi, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x4cfa74
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [esi + 2]
mov ecx, eax
cmove esi, edx
add cl, al
sbb esi, 3
sub esi, edi
lea eax, [esi + 0x233]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x4cfb8f
lea edx, [esi + 1]
lea ebp, [eax + 0x22c]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], ebp
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
cmp byte [ebx + 0x22c], 0
je 0x4cfb04
movzx eax, byte [ebx + esi + 0x22b]
cmp al, 0x2f
je 0x4cfb04
cmp al, 0x5c
je 0x4cfb04
mov edx, dword [esp + 0x1c]
mov edi, 0x5c
mov word [ebp + esi], di
mov esi, edx
mov eax, 0x2a
xor edx, edx
xor ecx, ecx
mov word [ebp + esi], ax
mov word [ebx + 0x11c], dx
lea edx, [ebx + 0x120]
mov word [ebx + 0x11e], cx
xor eax, eax
mov ecx, 0x41
mov edi, edx
mov dword [ebx + 0x224], 0xffffffff
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x118], 0
rep stosd dword es:[edi], eax
mov eax, ebx
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
add esp, 0x13c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 2
xor eax, eax
jmp 0x4cfb51
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0x4cfb51
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0x4cfb51

Function at 0x4d0940
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], ebx
pop ebx
jmp fcn.004d02d0
Function at 0x4e0330
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
mov eax, 7
push esi
push ebx
mov esi, 0x745268
mov ebx, str.file:__
sub esp, 0x12c
mov edi, dword [esp + 0x140]
mov ebp, dword [esp + 0x144]
jmp 0x4e0376
add esi, 4
mov ebx, dword [esi - 4]
test ebx, ebx
je 0x4e03f5
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x4e0360
test ebp, ebp
je 0x4e03ad
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.open__s
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0060b840
mov dword [esp + 8], edi
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], str.open
mov dword [esp], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
sub esp, 0x18
cmp eax, 0x20
seta al
add esp, 0x12c
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
test ebp, ebp
je 0x4e0435
lea ebx, [esp + 0x21]
mov dword [esp + 4], str._254_:_
mov dword [esp], edi
mov dword [esp + 8], ebx
call sub.msvcrt.dll_sscanf
cmp eax, 1
je 0x4e0442
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.Bad_URI___s_
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0060b840
xor eax, eax
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.URI_scheme___s__not_supported.
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0060b840
xor eax, eax
jmp 0x4e0437

Function at 0x4e0d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
test ebx, ebx
mov dword [esp + 0x28], eax
js 0x4e0db0
mov eax, dword [0x633120]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call fcn.004e8740
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x4e0db0
mov dword [esp + 0x2c], ecx
call fcn.00555c10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp], ecx
mov ecx, esi
call fcn.004f4ac0
mov edx, dword [eax]
mov ebx, dword [eax + 0x1c]
mov ecx, eax
mov dword [eax + 0x20], 0
call dword [edx + 4]
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edi
mov edx, esi
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x28]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004f3ce0
Function at 0x4e6da0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [0x6211a4]
test eax, eax
je 0x4e6e82
mov eax, dword [eax + 8]
test eax, eax
je 0x4e6e82
push esi
push ebx
sub esp, 0x14
mov eax, dword [eax + 0x68]
test eax, eax
je 0x4e6e84
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
test eax, eax
je 0x4e6e7d
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x633110]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x633100]
mov dword [esp], eax
call fcn.0060aa20
lea ebx, [eax + 1]
mov dword [esp], 0x42
lea eax, [ebx + ebx]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
sub esp, 8
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [esp + 8], eax
mov eax, dword [0x633110]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [0x633100]
mov dword [esp], eax
call fcn.0060aa20
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
sub esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov byte [0x6330a1], 1
add esp, 0x14
pop ebx
pop esi
repz ret
xor eax, eax
jmp 0x4e6dca
Function at 0x4fd960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
cmp byte [0x61fc80], 0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jne 0x4fd9f8
test ebx, ebx
je 0x4fd989
cmp byte [ebx], 0
jne 0x4fda00
mov eax, dword [0x61fe20]
test eax, eax
je 0x4fd9f8
mov dword [esp + 4], 0
mov dword [esp], fcn.004f2250
mov dword [0x61fe20], 0
call fcn.0053aa00
mov dword [esp + 4], 0
mov dword [esp], 0x4f0c40
call fcn.0053aa00
mov ecx, dword [0x61ec54]
test ecx, ecx
je 0x4fd9d8
test byte [ecx + 0x40], 2
je 0x4fdb30
cmp byte [0x61e50c], 0
je 0x4fd9f8
test dword [0x621170], 0x7f000000
je 0x4fdb40
mov byte [0x61e50c], 0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 3
call fcn.0053db90
test al, al
je 0x4fd989
cmp dword [0x61fe20], esi
je 0x4fdae0
mov dword [esp + 4], 0
mov dword [esp], fcn.004f2250
call fcn.0053aa00
mov dword [esp + 4], 0
mov dword [esp], 0x4f0c40
call fcn.0053aa00
cmp byte [0x61e50c], 0
mov dword [0x61fe20], esi
mov dword [0x61e56c], edi
mov dword [0x61e568], ebp
mov dword [0x61e640], ebx
je 0x4fdaa0
mov ecx, dword [0x61ec54]
test ecx, ecx
je 0x4fda78
mov eax, dword [ecx]
call dword [eax + 0x18]
fld dword [0x61fe04]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], fcn.004f2250
fstp qword [esp + 0x30]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00539720
fld dword [0x61fe1c]
mov ecx, dword [0x61ec54]
fld qword [0x666710]
fucompi st(1)
jbe 0x4fdaf1
fstp st(0)
test ecx, ecx
je 0x4fdac7
test byte [ecx + 0x40], 2
jne 0x4fdac7
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [esp + 0x30], 0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004f2250
cmp ebx, dword [0x61e640]
jne 0x4fda20
jmp 0x4fd9f8
test ecx, ecx
je 0x4fdb08
test byte [ecx + 0x40], 2
jne 0x4fdb08
fstp st(0)
mov eax, dword [ecx]
call dword [eax + 0x18]
fld dword [0x61fe1c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], fcn.004f2250
fstp qword [esp + 0x30]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00539720
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4fd9d8
fld dword [0x61fe04]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x4f0c40
fstp qword [esp + 0x30]
jmp 0x4fda92
Function at 0x522ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x40]
test ecx, ecx
je 0x522ad1
mov dword [esp], ebx
call fcn.00522ab0
sub esp, 4
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [esp + 4], str._n__s__n_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x522c0e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
lea eax, [eax + ecx*8]
mov ebp, dword [eax + 4]
mov eax, dword [eax]
test ebp, ebp
mov dword [esp + 8], eax
je 0x522be8
mov dword [esp + 4], 0x6664a4
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov edx, ebp
xor eax, eax
jmp 0x522b43
add eax, 1
add edx, 1
cmp eax, 0x3c
je 0x522c37
cmp byte [edx], 0
jne 0x522b34
mov esi, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
cmp byte [esi], 0
je 0x522bf8
nop
lea esi, [esi]
mov eax, esi
xor ebp, ebp
jmp 0x522b9b
add ebp, 1
add eax, 1
cmp ebp, 0x50
je 0x522be3
cmp byte [eax], 0
jne 0x522b90
mov edi, eax
mov dword [esp + 4], ebx
mov dword [esp], 0x2b
call sub.msvcrt.dll_fputc
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], ebp
mov dword [esp], esi
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
cmp byte [edi], 0
je 0x522bf8
mov esi, edi
jmp 0x522b80
lea edi, [esi + 0x50]
jmp 0x522ba2
mov dword [esp + 4], 0x6664a8
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
cmp dword [ecx + 0x14], eax
jg 0x522aff
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x522c27
mov dword [esp], ebx
call fcn.00522ab0
sub esp, 4
mov eax, dword [esp + 0x1c]
and byte [eax + 0x1c], 0xfe
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea esi, [ebp + 0x3c]
jmp 0x522b4a