joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419980
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
inc ecx
test eax, eax
mov dword [edi + 4], ecx
jne 0x419acc
push 0x45ebf0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45ebf0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4199d2
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x419a98
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StackWalk
push esi
call ebx
test eax, eax
mov dword [edi + 8], eax
je 0x419a98
push str.SymFunctionTableAccess
push esi
call ebx
test eax, eax
mov dword [edi + 0xc], eax
je 0x419a98
push str.SymGetLineFromAddr
push esi
call ebx
test eax, eax
mov dword [edi + 0x10], eax
je 0x419a98
push str.SymGetModuleBase
push esi
call ebx
test eax, eax
mov dword [edi + 0x14], eax
je 0x419a98
push str.SymGetModuleInfo
push esi
call ebx
test eax, eax
mov dword [edi + 0x18], eax
je 0x419a98
push str.SymGetOptions
push esi
call ebx
test eax, eax
mov dword [edi + 0x1c], eax
je 0x419a98
push str.SymGetSymFromAddr
push esi
call ebx
test eax, eax
mov dword [edi + 0x20], eax
je 0x419a98
push str.SymInitialize
push esi
call ebx
test eax, eax
mov dword [edi + 0x24], eax
je 0x419a98
push str.SymCleanup
push esi
call ebx
test eax, eax
mov dword [edi + 0x28], eax
je 0x419a98
push str.SymSetOptions
push esi
call ebx
test eax, eax
mov dword [edi + 0x2c], eax
je 0x419a98
push str.SymEnumerateModules
push esi
call ebx
test eax, eax
mov dword [edi + 0x30], eax
je 0x419a98
push str.SymEnumerateSymbols
push esi
call ebx
test eax, eax
mov dword [edi + 0x34], eax
jne 0x419ab4
push 0x45ebf0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x45ebf0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push str.MiniDumpWriteDump
push esi
call ebx
push 0x45ebf0
mov dword [edi + 0x38], eax
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x419dc0
Capabilities:
Check for sandbox and av modules
Link many functions at runtime

Disassembly:
mov ecx, 0x45ec08
jmp fcn.00419980

Function at 0x419ff0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov ebx, edx
mov dword [ebp - 8], 0x101
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x41a045
push esi
push edi
or ecx, 0xffffffff
mov edi, str._unknown_
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edx, [ebp - 0x10c]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea ecx, [ebp - 0x10c]
push ecx
push str.User:
push str.__10s_s
push ebx
call dword [ebp - 4]
add esp, 0x10
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ad80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
push 0x45ec48
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x41ae09
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push str.psapi.dll
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x41add7
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea edx, [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x41ae20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x41ae09
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
push 0x45ec48
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425f20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x38]
mov dl, byte [eax + 0x34]
push ebx
push ebp
push esi
xor esi, esi
test ecx, ecx
push edi
jle 0x425f5a
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebx, ecx
shr ebx, 0x18
xor ebx, edi
mov ebp, dword [ebx*4 + 0x458d80]
shl ecx, 8
xor ecx, ebp
mov dword [eax + 0x260], ecx
mov ecx, dword [eax + 0x38]
inc esi
cmp esi, ecx
jl 0x425f33
mov ecx, dword [eax + 0x34]
mov bl, 1
mov byte [eax + ecx + 0x58], bl
mov ecx, dword [eax + 0x38]
mov esi, ecx
dec esi
je 0x425ffe
dec esi
je 0x425fda
dec esi
je 0x425fce
mov byte [ecx + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ecx
mov dword [eax + 0x44], ecx
mov byte [ecx + esi], dl
mov ebp, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebp
mov dword [eax + 0x44], ebp
mov ecx, ebp
mov byte [ecx + esi], dl
mov ebx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebx
mov dword [eax + 0x44], ebx
mov ecx, ebx
mov byte [ecx + esi], dl
mov edi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x24]
inc edi
mov dword [eax + 0x44], edi
mov ecx, edi
sub dl, 4
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
inc dword [eax + 0x44]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov ecx, esi
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
Function at 0x436bd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
shr ecx, 2
mov edx, ecx
dec ecx
test edx, edx
push esi
mov esi, dword [esp + 8]
mov eax, 0xeeeeeeee
je 0x436c34
push ebx
push edi
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x18]
mov edx, ecx
and edx, 0xff
add eax, dword [edx*4 + 0x4674e8]
mov ebx, dword [esi]
lea edx, [eax + ecx]
xor ebx, edx
mov dword [esi], ebx
mov edx, ebx
mov ebx, eax
shl ebx, 5
add edx, ebx
lea eax, [eax + edx + 3]
mov edx, ecx
xor edx, 0x7ff
shl edx, 0x15
add edx, 0x11111111
shr ecx, 0xb
add esi, 4
or ecx, edx
dec edi
jne 0x436bf1
pop edi
pop ebx
pop esi
ret

Function at 0x436c40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
shr ecx, 2
mov edx, ecx
dec ecx
test edx, edx
push esi
mov esi, dword [esp + 8]
mov eax, 0xeeeeeeee
je 0x436ca2
mov edx, dword [esp + 0x10]
push ebx
push edi
lea edi, [ecx + 1]
mov ecx, dword [esi]
mov ebx, edx
and ebx, 0xff
add eax, dword [ebx*4 + 0x4674e8]
lea ebx, [eax + edx]
xor ebx, ecx
mov dword [esi], ebx
mov ebx, eax
shl ebx, 5
add ecx, ebx
lea eax, [eax + ecx + 3]
mov ecx, edx
xor ecx, 0x7ff
shl ecx, 0x15
add ecx, 0x11111111
shr edx, 0xb
add esi, 4
or edx, ecx
dec edi
jne 0x436c61
pop edi
pop ebx
pop esi
ret

Function at 0x436ef0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x437a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x437a0d
mov eax, dword [edi]
push ebx
mov bl, byte [esp + 0x18]
test bl, 1
push esi
je 0x437a1b
or eax, 0xffffffff
test bl, 2
je 0x437a52
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, edx
dec edx
test esi, esi
je 0x437a52
push ebp
lea esi, [edx + 1]
xor edx, edx
mov dl, byte [ecx]
mov ebp, eax
and ebp, 0xff
shr eax, 8
xor ebp, edx
mov edx, dword [ebp*4 + 0x459b94]
xor eax, edx
inc ecx
dec esi
jne 0x437a33
pop ebp
pop esi
test bl, 4
pop ebx
je 0x437a5b
not eax
test edi, edi
je 0x437a61
mov dword [edi], eax
pop edi
ret
Function at 0x100036a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [eax + 0x70], 0
mov dword [eax + 0x4c], ecx
jne 0x100036b3
mov dword [eax + 0x70], 1
mov dword [eax + 0x54], ecx
mov edx, ecx
sub edx, dword [eax + 0x54]
cmp edx, 0x2710
jge 0x100036c8
cmp edx, 0xffffd8f0
jge 0x100036cd
mov dword [eax + 0x54], ecx
jmp 0x100036d1
test edx, edx
js 0x100036ec
mov edx, dword [eax + 0x50]
add dword [eax + 0x54], edx
push esi
push edi
mov edi, ecx
sub edi, dword [eax + 0x54]
pop edi
pop esi
js 0x100036e7
add edx, ecx
mov dword [eax + 0x54], edx
jmp fcn.100030b0
ret

Function at 0x10004100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x198]
xor ebx, ebx
cmp eax, ebx
jne 0x10004122
mov dword [esi + 0x1b8], 0x598
jmp 0x10004139
cmp eax, 0x598
jbe 0x10004133
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x1b8], eax
push edi
mov dword [esi + 0x64], ebx
call fcn.10004260
mov edi, dword [0x4e7224c]
mov eax, 1
push 0x4e81f0c
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 5
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov dword [ebp - 8], ebx
call edi
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x10004178
push 0x4e81f0c
call edi
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x40]
mov edi, dword [0x4e72354]
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
mov ebx, 0x40000
push ecx
mov dword [ebp - 4], ebx
call edi
mov eax, dword [esi + 0x40]
push 4
lea edx, [ebp - 4]
push edx
push 0x1002
push 0xffff
push eax
mov dword [ebp - 4], ebx
call edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.100042f0
test eax, eax
je 0x1000420d
lea eax, [esi + 0x58]
push eax
push 0
push esi
push 0x4e53870
push 0
push 0
call fcn.10010629
add esp, 0x18
mov dword [esi + 0x54], eax
test eax, eax
je 0x100041ff
mov ecx, dword [esi + 0x2c]
push ecx
mov edi, 1
call dword [0x4e721ec]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x5c], 8
push 0x65f
jmp 0x1000421b
call dword [0x4e72370]
mov dword [esi + 0x5c], 0xb
push eax
mov ebx, dword [0x4e72200]
call ebx
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 5
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
call dword [0x4e72214]
mov edi, eax
mov eax, esi
call fcn.10004b60
push edi
call ebx
mov edi, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e210
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x3c]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x1000e253
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1000e24c
mov esi, dword [eax + 0x20]
jmp 0x1000e253
test bl, bl
jns 0x1000e253
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x1000e320
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x3c]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x1000e2a8
mov ecx, dword [ebx]
test cl, 0x40
je 0x1000e2a1
mov edi, dword [eax + 0x20]
jmp 0x1000e2a8
test cl, cl
jns 0x1000e2a8
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x1000e2d7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x1000e2d7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.1000e160
test eax, eax
je 0x1000e33e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x1000e2ff
mov eax, dword [ebx]
test eax, 0x2000000
je 0x1000e2ee
test dword [ebp - 0x10], 0x2000000
je 0x1000e2ee
or dword [ebp - 0x10], eax
jmp 0x1000e2f9
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x1000e280
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.1000e160
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402050
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x40209b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402094
test esi, esi
je 0x402094
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402070
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402280
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4022d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4023a8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40230e
cmp eax, 4
jne 0x402330
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40231e
cmp edx, 4
je 0x40231e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402280
Function at 0x406758
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40677c
xor eax, eax
test eax, eax
je 0x40678e
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40678e
xor ecx, ecx
jmp 0x406791
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40687d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43d2e4], 0
push esi
jne 0x4068b4
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 0x40688e
mov dword [ecx*4 + 0x43d2e0], eax
inc ecx
cmp ecx, 0x100
jl 0x406889
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4068e5
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 + 0x43d2e0]
xor eax, esi
inc ecx
dec edx
jne 0x4068c7
pop edi
not eax
pop esi
ret 0xc

Function at 0x600590
Capabilities:
Encode data using xor

Disassembly:
inc ebx
add bl, bl
sbb dword [ebx - 0x4fd2f4f], 0x16e1415
push 0xa
invalid

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
lea esp, [ebx - 0x66]
mov esp, 0x375063cf
mov dl, 0xdd
mov edi, 0xa89b22c6
pop esi
pop esp
adc dword [edx + 0x33], edx
mov byte [edx], dh
test al, 0x24
push ebp
cmpsd dword [esi], dword es:[edi]
pop ebx
fcmovne st(0), st(1)
leave
leave
in al, dx
mov dl, 0x1d
cdq
test dword [esi], esi
lcall 0x2e1e, 0xb3f649c
push edi
mov cl, 0x6a
lea ecx, [0x79a6267]
xor ebx, dword [eax]
fsubr dword [ecx - 0x89adadc]
nop
pushfd
fist word [ebx + 0x7b]
xlatb
out dx, eax
wait
in al, dx
and al, 0x57
xor ecx, esp
lcall 0x24a8, 0x3e7424a8
arpl bp, bx
ja 0x4153c3
frstor dword [ebp - 0x41]
sub ah, cl
lcall 0xdb57, 0x655f12a8
pushfd
push edi
fistp dword [ebp + 0x659cdb57]
push edi
invalid
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
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 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b02c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b1a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
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 + 0x21b1ac]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b1bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b1b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x401090
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4fff83
mov eax, dword fs:[0]
mov eax, dword [pe_dos_header]
Function at 0x402680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4070a1
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret

Function at 0x413110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5025e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi]
push 4
call dword [sym.imp.QtCore4.dll_public:_void____thiscall_QHashData::allocateNode_int_]
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, eax
je 0x413165
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
mov ecx, dword [edi]
inc dword [ecx + 0xc]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10

Function at 0x417430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x502d81
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.imfc0.dll_public:_static_class_regLib____cdecl_regLib::instance_void_]
mov ecx, eax
call dword [sym.imp.imfc0.dll_public:_class_QVariant___thiscall_regLib::Action_class_QStringList_const__]
mov ecx, eax
mov byte [esp + 0x28], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QVariant::toBool_void_const]
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
test eax, eax
je 0x4174ed
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4174ed
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00409cf0
mov ecx, dword [esi]
test ecx, ecx
jne 0x4174ed
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret