joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e270
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 0x46e2a0
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x46e370
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret 0xc
cmp eax, 1
je 0x46e3a0
cmp eax, 3
jne 0x46e28a
mov eax, dword [0x495c8c]
cmp eax, 0xffffffff
je 0x46e28a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x46e28a
test byte [eax + 0x20], 0x30
je 0x46e3d0
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x46e2e3
call sym.__pthread_cleanup_dest.part.0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46e315
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 0x46e307
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 dbg.pthread_mutex_destroy
lea eax, [ebx + 0x38]
mov dword [esp], eax
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x46e450
mov ecx, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test ecx, ecx
je 0x46e4c0
mov eax, dword [0x495c8c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x46e28a
mov eax, dword [0x25d04f0]
test eax, eax
je 0x46e28a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x25d04f0], 0
sub esp, 4
jmp 0x46e28a
mov dword [esp + 4], dbg.SetThreadName_VEH
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x25d04f0], eax
mov eax, 1
add esp, 0x10
pop ebx
pop esi
pop edi
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x46e458
test eax, eax
je 0x46e3ea
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
je 0x46e407
call sym.__pthread_cleanup_dest.part.0
lea edi, [ebx + 0x1c]
lea esi, [ebx + 0x38]
test byte [ebx + 0x24], 4
je 0x46e4a0
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x46e430
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], edi
call dbg.pthread_mutex_destroy
mov dword [esp], esi
call dbg.pthread_spin_destroy
cmp eax, 1
jne 0x46e334
call sym._replace_spin_keys.part.0
lea esi, [esi]
test eax, eax
je 0x46e468
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 dbg.pthread_mutex_destroy
lea eax, [ebx + 0x38]
mov dword [esp], eax
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x46e450
mov dword [ebx + 0x38], 0xffffffff
jmp 0x46e28a
mov dword [esp], edi
call dbg.pthread_mutex_destroy
mov dword [esp], esi
call dbg.pthread_spin_destroy
cmp eax, 1
jne 0x46e48a
jmp 0x46e450
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x46e349
Function at 0x46ed90
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x25d0514], 1
je 0x46eda1
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x46edc0
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call sym.___pthread_self_lite.part.0
test eax, eax
jne 0x46edb6
add esp, 0x1c
ret

Function at 0x46ee20
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x25d0514], 1
je 0x46ee31
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x46ee50
add eax, 0xc
add esp, 0x1c
ret
call sym.___pthread_self_lite.part.0
test eax, eax
jne 0x46ee46
jmp 0x46ee49

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

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x46eea2
call sym.__pthread_cleanup_dest.part.0
test byte [ebx + 0x20], 0x30
jne 0x46eebc
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x46eeff
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x46ef43
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x46eef2
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x46ef08
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [ebx + 0x14], 0
mov eax, ebx
call sym._push_pthread_mem
mov eax, dword [0x495c8c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x46eeff
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x46ef57
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jmp 0x46ef22

Function at 0x46ef70
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x25d051c]
test eax, eax
jne 0x46ef80
xor eax, eax
ret
sub esp, 0x1c
cmp dword [0x25d0514], 1
je 0x46ef91
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x46efd0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x46efb8
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x46efad
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x46efaf
call sym.___pthread_self_lite.part.0
test eax, eax
je 0x46efad
jmp 0x46efa6
Function at 0x46efe0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x25d0514], 1
je 0x46eff1
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x46f030
mov edx, dword [esp + 0x20]
add eax, 0x10
test edx, edx
jle 0x46f020
lock add dword [eax], 1
add esp, 0x1c
ret
lock sub dword [eax], 1
add esp, 0x1c
ret
call sym.___pthread_self_lite.part.0
test eax, eax
jne 0x46f006
add esp, 0x1c
ret

Function at 0x46f130
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
cmp dword [0x25d0514], 1
je 0x46f143
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x46f1a0
test byte [ebx + 0x20], 0xc
jne 0x46f169
mov eax, dword [0x25d051c]
test eax, eax
jne 0x46f170
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call dbg.pthread_mutex_lock
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x46f192
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x46f192
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x46f1b1
mov dword [esp], esi
call dbg.pthread_mutex_unlock
add esp, 0x14
pop ebx
pop esi
ret
call sym.___pthread_self_lite.part.0
mov ebx, eax
test eax, eax
jne 0x46f15a
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46f1d1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call dbg.pthread_mutex_unlock
call dbg._pthread_invoke_cancel
nop
Function at 0x46fc50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x24
mov esi, dword [esp + 0x30]
test esi, esi
je 0x46fd88
mov dword [esp], 0x495c84
call dbg.pthread_mutex_lock
mov eax, esi
call dbg.__pthread_get_pointer
mov dword [esp], 0x495c84
mov ebx, eax
call dbg.pthread_mutex_unlock
test ebx, ebx
je 0x46fd88
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46fd88
lea edx, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
sub esp, 8
test eax, eax
je 0x46fd88
test byte [ebx + 0x24], 4
jne 0x46fd98
cmp dword [0x25d0514], 1
je 0x46fcc9
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x495c8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x46fda8
cmp esi, dword [eax + 0xb4]
je 0x46fdc0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x14]
test ecx, ecx
je 0x46fd00
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x46fd17
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x14]
sub esp, 8
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 0x46fd34
mov dword [esp], eax
call esi
sub esp, 4
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x18], 0
test edx, edx
je 0x46fd4c
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dbg.pthread_mutex_destroy
lea eax, [ebx + 0x38]
mov dword [esp], eax
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x46fdc7
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
xor esi, esi
test eax, eax
jne 0x46fd8d
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x46fd8d
mov esi, 3
add esp, 0x24
mov eax, esi
pop ebx
pop esi
ret
mov esi, 0x16
add esp, 0x24
mov eax, esi
pop ebx
pop esi
ret
call sym.___pthread_self_lite.part.0
test eax, eax
je 0x46fcee
jmp 0x46fce2
mov esi, 0x24
jmp 0x46fd8d
call sym._replace_spin_keys.part.0
lea esi, [esi]

Function at 0x473460
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__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 dbg.__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
lea esi, [esi]
Function at 0x4734c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x25d0560]
test esi, esi
jle 0x4735e0
mov eax, dword [0x25d0564]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4734f4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x473577
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4734e0
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x473607
mov eax, dword [0x25d0564]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x25d0564]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4735e7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x473570
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x473580
add dword [0x25d0560], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x25d0564]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x473570
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4734fe
mov eax, dword [0x25d0564]
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 dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x473ac0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x25d057c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x25d0574]
sub esp, 4
test ebx, ebx
je 0x473b15
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 0x473b0e
test esi, esi
je 0x473b0e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x473af0
mov dword [esp], 0x25d057c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x473e40
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x473e65
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x473e70
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x473e65
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x473eb8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x473eae
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x473eba
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x473ea0
xor eax, eax
pop ebx
pop esi
ret

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x12c
mov ebx, dword [esp + 0x140]
call sym.__errno
mov dword [eax], 0
test ebx, ebx
je 0x474850
cmp byte [ebx], 0
je 0x474830
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x474860
test al, 0x10
je 0x474830
lea esi, [esp + 0x1c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x104
mov dword [esp], esi
call sym.__fullpath
mov dword [esp], esi
call sym._strlen
mov ebp, eax
lea eax, [eax + 0x233]
mov dword [esp], eax
call sym._malloc
mov ebx, eax
test eax, eax
je 0x474872
lea edx, [ebp + 1]
lea eax, [eax + 0x22c]
cmp edx, 4
jb 0x4747e0
mov ecx, dword [esi + edx - 4]
mov edi, eax
mov dword [eax + edx - 4], ecx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x22c], 0
jne 0x474800
add ebp, eax
mov eax, 0x2a
lea edx, [ebx + 0x120]
mov ecx, 0x41
mov word [ebp], ax
mov edi, edx
xor eax, eax
mov dword [ebx + 0x224], 0xffffffff
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
rep stosd dword es:[edi], eax
add esp, 0x12c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x474783
movzx ecx, byte [esi]
mov byte [eax], cl
test dl, 2
je 0x474783
movzx ecx, word [esi + edx - 2]
mov word [eax + edx - 2], cx
jmp 0x474783
movzx ecx, byte [ebx + ebp + 0x22b]
add ebp, eax
cmp cl, 0x5c
je 0x47478e
cmp cl, 0x2f
je 0x47478e
mov ecx, 0x5c
mov word [ebp], cx
lea ebp, [eax + edx]
jmp 0x47478e
call sym.__errno
xor ebx, ebx
mov dword [eax], 0x14
add esp, 0x12c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym.__errno
mov dword [eax], 0xe
jmp 0x4747d0
call sym.__errno
xor ebx, ebx
mov dword [eax], 2
jmp 0x4747d0
call sym.__errno
mov dword [eax], 0xc
jmp 0x4747d0
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

Function at 0x44dba6
Capabilities:
Encode data using xor

Disassembly:
retf
push eax
sar byte [ebx - 1], cl
sub edi, esp
mov dh, 0x93
mov cl, byte [ebx + 0x48]
push 0xffffffffffffffcb
mov dword [0xf7885739], eax
sub byte [ebx - 0x7b], ch
mov edx, 0xce8b0282
stc
wait
arpl word [edx + 0x7ddcc26e], di
push ecx
scasd eax, dword es:[edi]
inc ebx
xor byte [eax - 0x61], cl
pop ecx
adc byte [ebx - 0x90799be], bh
xchg esi, eax
jg 0x44dba4
sbb cl, dl
sub dh, ah
sbb al, 0x7b
cmp eax, 0x33ebe4da
mov bl, byte [esi - 0x45e0dff8]
sub byte [edx + 0x3e], bl
pop ss

Function at 0x44dbf2
Capabilities:
Encode data using xor

Disassembly:
in al, 0xeb
xor ecx, dword [edx + 0x1f20089e]
mov edx, 0x173e5a28
lock or ah, byte gs:[esi + 0xb]
cli
stosd dword es:[edi], eax
inc esi
dec ebx
cmp eax, 0xb8c9445e
insb byte es:[edi], dx
out 0x61, eax
cmpsd dword [esi], dword es:[edi]
in al, dx
cld
jp 0x44dbe0
popfd
int3

Function at 0x4bad41
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5390
cmp edx, dword [eax]
je 0x4bad63
add eax, 8
inc ecx
cmp eax, 0x4c5420
jl 0x4bad54
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5390]
jne 0x4bae91
mov eax, dword [0x4c9d28]
cmp eax, 1
je 0x4bae6b
test eax, eax
jne 0x4bad94
cmp dword [0x4c52b8], 1
je 0x4bae6b
cmp edx, 0xfc
je 0x4bae91
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4badcb
lea eax, [ebp - 0x1a4]
push 0x4c0d50
push eax
call fcn.004bb720
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bbbb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bae0e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bbbb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0d4c
push edi
call fcn.004bda80
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0d30
push eax
call fcn.004bb720
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb730
lea eax, [ebp - 0xa0]
push 0x4c0d2c
push eax
call fcn.004bb730
push dword [esi + 0x4c5394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb730
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c0d04
push eax
call fcn.004bd9f4
add esp, 0x2c
pop edi
jmp 0x4bae91
lea eax, [ebp + 8]
lea esi, [esi + 0x4c5394]
push 0
push eax
push dword [esi]
call fcn.004bbbb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x48f0fd
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x48f120
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x48f10e
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x49d47e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004b3f2e
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x49d4bd
sub eax, 1
je 0x49d4b8
sub eax, 1
je 0x49d4b4
xor eax, eax
leave
ret
push 3
jmp 0x49d4bf
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x49eaf0
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000adef
pop dword [ebp - 0x20]
mov eax, 0x875ef2ef
sub eax, 0x775e4500
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xda2d950e
add dword [ebp - 0x30], 0x7424b03d
mov dword [ebp - 0x2c], 0x7a464a02
sub dword [ebp - 0x2c], 0x4812fdbd
mov dword [ebp - 0x28], 0xf565853e
add dword [ebp - 0x28], 0x56e6bef0
mov dword [ebp - 0x24], 0x3238b49b
add dword [ebp - 0x24], 0xcdc74b65
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5a0102d6
sub eax, 0x49fb42b6
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x6a9e1e96
add dword [ebp - 0x30], 0x9d44ac0
mov dword [ebp - 0x2c], 0x9ea8371d
add dword [ebp - 0x2c], 0xa2c42a58
mov dword [ebp - 0x28], 0xe2e2dea5
sub dword [ebp - 0x28], 0x7f737239
mov dword [ebp - 0x24], 0x45553f76
sub dword [ebp - 0x24], 0x45553f76
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x164f9d86
sub eax, 0x649dd6a
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x52e7b
push 0
call eax
mov ecx, 0x32dc7edf
sub ecx, 0x32dc3850
xor ebx, ebx
add ebx, eax
mov esi, 0x487c1d81
sub esi, 0x38730181
add esi, dword [ebp - 0x20]
mov edx, 0xca9c9556
mov dword [ebp - 0x1c], 0x6e6f851a
mov edi, dword [esi]
sub dword [ebp - 0x18], eax
add edi, edx
xor dword [ebp - 0x14], 0xaae53f28
mov dword [ebx], edi
add ebx, 0x6ae59367
sub ebx, 0x6ae59363
add esi, 0x5c058ac6
add esi, 0xa3fa753e
loop 0x1000af0d
add eax, 0x5f15f627
add eax, 0xa0eb16e8
mov ebx, eax
add eax, 0x5111191e
sub eax, 0x51111919
mov ecx, 0xad41e9c1
sub ecx, 0x9d41e9c1
add ecx, dword [ebp - 0x20]
call ebx
leave
ret