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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47f820]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c202
cmp word [esi], dx
jne 0x41c202
or byte [edi + eax + 0x28], 4
jmp 0x41c207
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c35a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c33a
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c249
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c27f
cmp eax, edx
jae 0x41c28b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c221
jmp 0x41c35a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c336
cmp dword [ebp - 0x14], 0
je 0x41c336
mov eax, dword [ebx*4 + 0x47f820]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c30e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c2d7
mov word [esi], cx
jmp 0x41c30a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47f820]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47f820]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47f820]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c35a
pop ebx
cmp word [ebp - 4], bx
jne 0x41c31f
cmp esi, dword [ebp + 0xc]
jne 0x41c31f
mov word [esi], bx
jmp 0x41c357
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cbf3
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c35a
push 0xd
jmp 0x41c353
mov ecx, dword [ebx*4 + 0x47f820]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c351
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c35a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f66d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47d880]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41f6b8
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041f80c
test al, al
jne 0x41f6b2
sub edx, 2
cmp edx, edi
jne 0x41f698
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41f6da
lea eax, [edi + 2]
cmp edx, eax
je 0x41f6da
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041f5b9
add esp, 0x10
jmp 0x41f7d4
push esi
lea ecx, [ebp - 0x255]
call fcn.0041f80c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f71d
push dword [ebp - 0x25c]
jmp 0x41f6ca
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41f75a
cmp word [ebp - 0x226], 0
je 0x41f77b
cmp word [ebp - 0x226], ax
jne 0x41f75a
cmp word [ebp - 0x224], 0
je 0x41f77b
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041f5b9
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41f7c7
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41f734
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41f7af
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41f7d4
push 0x41f3e9
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00425900
add esp, 0x10
jmp 0x41f7a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ab49
leave
ret

Function at 0x427250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42727d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42727d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40ba70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4e93c0]
test esi, esi
jle 0x40bb80
mov edi, dword [0x4e93c4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x40baa4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x40bb25
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x40ba90
mov dword [esp], eax
mov ebx, eax
call sym.___mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x40bba7
mov eax, dword [0x4e93c4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
add eax, dword [edi + 0xc]
mov edx, dword [0x4e93c4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40bb87
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40bb1e
sub eax, 4
and eax, 0xfffffffb
jne 0x40bb30
add dword [0x4e93c0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4e93c4]
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
jne 0x40bb1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
xor esi, esi
jmp 0x40baae
mov eax, dword [0x4e93c4]
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 sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
mov esi, esi
lea edi, [edi]

Function at 0x40bfe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4e93d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4e93d0]
sub esp, 4
test ebx, ebx
je 0x40c035
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
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 0x40c02e
test esi, esi
je 0x40c02e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40c010
mov dword [esp], 0x4e93d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41c860
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x4a20ac], eax
je 0x41c877
add esp, 0xc
ret
call sym._abort
lea esi, [esi]

Function at 0x41cd70
Capabilities:
Print debug messages

Disassembly:
test eax, eax
je 0x41cda0
push edi
push esi
push ebx
mov ebx, eax
add esp, 0xffffff80
mov dword [esp], eax
call sym._pthread_spin_destroy
cmp eax, 1
je 0x41cda2
mov dword [ebx], 0xffffffff
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
ret
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 0x41cdf5
jmp 0x41ce12
cmp eax, 0x6a
je 0x41ce03
add eax, 1
cmp byte [ebx + eax], 0
jne 0x41cdf0
cmp eax, 0x6a
jne 0x41ce12
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call sym._abort
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + eax + 0x16], 0
jmp 0x41ce03
Function at 0x41ceb0
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 [0x4e9e24], 1
je 0x41cec5
call sym.__pthread_once_raw.part.5.constprop.11
mov eax, dword [0x4a20ac]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x41cef0
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._pop_pthread_mem
mov esi, eax
mov eax, dword [entry3]
test eax, eax
je 0x41cedc
test esi, esi
je 0x41cedc
mov dword [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 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 [esi + 0x18], eax
lea eax, [esi + 0x38]
sub esp, 0x10
mov dword [esi + 0x1c], 0xffffffff
call sym._replace_spin_keys.constprop.10
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x64], 0
mov dword [esi + 0x14], 0
call ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, eax
call ebx
lea edx, [esi + 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 0x41cff2
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi + 0x6c], eax
movzx eax, byte [esi + 0x20]
sub esp, 4
mov dword [esi + 0x68], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [esi + 0x20], al
mov eax, dword [0x4a20ac]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x41cff2
add esp, 0x2c
mov ebx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._abort
mov esi, esi
lea edi, [edi]
Function at 0x41d130
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41d160
mov edi, dword [esp + 0x28]
test edi, edi
je 0x41d201
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret 0xc
cmp eax, 1
je 0x41d230
cmp eax, 3
jne 0x41d14a
mov eax, dword [0x4a20ac]
cmp eax, 0xffffffff
je 0x41d14a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x41d14a
test byte [eax + 0x20], 0x30
je 0x41d252
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x41d354
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41d1d4
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 0x41d1c6
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 sym._pthread_mutex_destroy
lea eax, [ebx + 0x38]
call sym._replace_spin_keys.constprop.10
mov esi, dword [ebx + 0xb0]
test esi, esi
jne 0x41d2d9
mov eax, ebx
call sym._push_pthread_mem.part.2
jmp 0x41d2d9
mov eax, dword [0x4e9e00]
test eax, eax
je 0x41d14a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x4e9e00], 0
sub esp, 4
jmp 0x41d14a
mov dword [esp + 4], sym._SetThreadName_VEH_4
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x4e9e00], eax
jmp 0x41d14a
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x41d300
test eax, eax
je 0x41d270
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 0x41d330
test byte [ebx + 0x24], 4
lea edi, [ebx + 0x1c]
lea esi, [ebx + 0x38]
je 0x41d340
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41d2b5
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], edi
call sym._pthread_mutex_destroy
mov eax, esi
call sym._replace_spin_keys.constprop.10
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x41d1f5
mov eax, dword [0x4a20ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x41d14a
test eax, eax
je 0x41d310
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x18], 0
mov dword [esp], eax
call sym._pthread_mutex_destroy
lea eax, [ebx + 0x38]
call sym._replace_spin_keys.constprop.10
jmp 0x41d14a
call sym.__pthread_cleanup_dest.part.8
jmp 0x41d28c
mov dword [esp], edi
call sym._pthread_mutex_destroy
mov eax, esi
call sym._replace_spin_keys.constprop.10
jmp 0x41d14a
call sym.__pthread_cleanup_dest.part.8
jmp 0x41d1a2
Function at 0x41d36a
Capabilities:
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov eax, dword [ecx]
mov dword [esp], 0x4a20a4
mov esi, eax
mov dword [ebp - 0x1c], eax
lea ebx, [esi + 0x1c]
call sym._pthread_mutex_lock
mov dword [esp], ebx
call sym._pthread_mutex_lock
cmp dword [0x4e9e24], 1
je 0x41d3a0
call sym.__pthread_once_raw.part.5.constprop.11
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x4a20ac]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3c], eax
mov dword [esp], ebx
call sym._pthread_mutex_unlock
lea eax, [esi + 0x70]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.__setjmp3
test eax, eax
je 0x41d473
mov dword [esp], 0x4a20a4
call sym._pthread_mutex_lock
mov esi, dword [ebp - 0x1c]
lea ebx, [esi + 0x1c]
mov dword [esp], ebx
call sym._pthread_mutex_lock
mov eax, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x41d413
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
je 0x41d4bd
mov dword [esp], ebx
call sym._pthread_mutex_unlock
mov dword [esp], ebx
call sym._pthread_mutex_destroy
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x68], 1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41d45a
mov dword [esp], 0
call ebx
push eax
mov dword [esp], 0x4a20a4
call sym._pthread_mutex_unlock
test eax, eax
je 0x41d450
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov dword [esp], 0x4a20a4
call sym._pthread_mutex_unlock
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
test eax, eax
je 0x41d508
mov edx, dword [edx + 4]
mov dword [esp], edx
call eax
mov ebx, eax
mov dword [esp], 0x4a20a4
call sym._pthread_mutex_lock
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ebx
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41d3ef
call sym.__pthread_cleanup_dest.part.8
jmp 0x41d3ef
mov edi, dword [ebp - 0x1c]
mov dword [edi], 0xdeadbeef
mov dword [esp], ebx
call sym._pthread_mutex_unlock
mov dword [esp], ebx
call sym._pthread_mutex_destroy
test edi, edi
je 0x41d4eb
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xb0], 0
jne 0x41d4eb
call sym._push_pthread_mem.part.2
mov eax, dword [0x4a20ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x41d448
mov ebx, pe_nt_image_headers32
jmp 0x41d493
Function at 0x49c494
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
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 sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
nop
nop
nop
Function at 0x6d67113f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x6d67114e
pop dword [ebp - 0x10]
mov eax, 0xcf7b76c7
add eax, 0x9deb9a87
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x2aa1ab4
add dword [ebp - 0x20], 0x4ba82a97
mov dword [ebp - 0x1c], 0x39ac083a
sub dword [ebp - 0x1c], 0x778bbf5
mov dword [ebp - 0x18], 0xb3ecb2ad
sub dword [ebp - 0x18], 0x67a06e7f
mov dword [ebp - 0x14], 0xb7918c5c
add dword [ebp - 0x14], 0x486e73a4
lea eax, [ebp - 0x20]
push eax
mov eax, 0xe6751473
add eax, 0x86f21bd5
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xa8b3b198
sub dword [ebp - 0x20], 0x34414842
mov dword [ebp - 0x1c], 0x60af2a1
add dword [ebp - 0x1c], 0x3b616ed4
mov dword [ebp - 0x18], 0x3217d48c
sub dword [ebp - 0x18], 0xcea86820
mov dword [ebp - 0x14], 0x66ee2e0d
add dword [ebp - 0x14], 0x9911d1f3
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x8e608b7c
sub eax, 0x20f95b7c
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a97e
push 0
call eax
mov ecx, 0x26b09c2
sub ecx, 0x26ab165
mov edx, eax
mov esi, 0x6d676200
add esi, dword [ebp - 0x10]
mov ebx, 0xaf083d3c
sub ebx, 0x2aeacea3
sub dword [ebp - 4], ebx
mov edi, dword [esi]
sub dword [ebp - 0xc], 0x37816688
sub edi, ebx
add dword [ebp - 4], ebx
mov dword [edx], edi
xor dword [ebp - 4], 0xe5ed7eb0
add edx, 4
add esi, 0x54234643
sub esi, 0x5423463f
loop 0x6d67126a
add eax, 0x8a04ab9e
sub eax, 0x8a035757
mov ebx, eax
add eax, 0xc54b3cdb
add eax, 0x3ab4c32a
mov ecx, 0x843b214c
sub ecx, 0x16d4214c
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x6d6717f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d6717fb
repz ret
jmp fcn.6d671b91
Function at 0x10002360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x100070b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x10002520
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x100070b4]
movzx eax, al
bt eax, esi
jae 0x10002580
mov ecx, dword [0x100070a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x10002425
test byte [0x10003030], 8
jne 0x100024c0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10003040], 8
jne 0x10002470
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100023f4
cmp esi, 3
jbe 0x10002430
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100057c8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x100023f4
mov ecx, dword [0x100070b4]
test ecx, ecx
je 0x10002560
mov dword [esp], 0x10003040
call dword [0x100070b4]
test al, 8
je 0x100023cb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x100023cb
mov ebx, dword [0x100070b4]
test ebx, ebx
je 0x10002540
mov dword [esp], 0x10003030
call dword [0x100070b4]
test al, 8
je 0x100023b6
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x100023be
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x100070b4
call sym._load_func.part.0
jmp 0x1000237d
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x100070b4
call sym._load_func.part.0
jmp 0x100024ca
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x100070b4
call sym._load_func.part.0
jmp 0x1000247e
mov eax, 0xffffffff
jmp 0x10002425
Function at 0x60d070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x170000]
push edi
jmp 0x60d08a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x60d091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60d080
mov eax, 1
add ebx, ebx
jne 0x60d0a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60d0b4
jne 0x60d0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60d0d3
dec eax
add ebx, ebx
jne 0x60d0c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x60d098
add ebx, ebx
jne 0x60d0cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x60d125
xor ecx, ecx
sub eax, 3
jb 0x60d0eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60d15a
sar eax, 1
mov ebp, eax
jmp 0x60d0f6
add ebx, ebx
jne 0x60d0f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60d0c4
inc ecx
add ebx, ebx
jne 0x60d104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60d0c4
add ebx, ebx
jne 0x60d111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60d106
jne 0x60d122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60d106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x60d144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x60d136
jmp 0x60d086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x60d144
add edi, ecx
jmp 0x60d086
pop esi
mov edi, esi
mov ecx, 0x4a4b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x60d162
cmp byte [edi], 0x1e
jne 0x60d162
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x60d167
lea edi, [esi + 0x20a000]
mov eax, dword [edi]
or eax, eax
je 0x60d1df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x254754]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2548a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60d194
mov ecx, edi
jns 0x60d1c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2548ac]
or eax, eax
je 0x60d1d9
mov dword [ebx], eax
add ebx, 4
jmp 0x60d1b1
call dword [esi + 0x2548bc]
mov ebp, dword [esi + 0x2548b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x60d213
sub esp, 0xffffff80
jmp 0x487dda