joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483890
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.00476ee0
add esp, 4
test al, al
jne 0x483a75
push str._nocrashdialog
call fcn.00476ee0
add esp, 4
test al, al
jne 0x483a75
call fcn.00482780
test al, al
jne 0x4838db
call fcn.00477fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.00476ee0
add esp, 4
test al, al
je 0x4838f5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x62851c], 0
je 0x483a75
mov esi, dword [0x6a8c28]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x6a8c28
test esi, esi
je 0x4839a6
lea ebx, [ebx]
mov edi, dword [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.0057df36
add esp, 8
test eax, eax
jne 0x483993
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x483951
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
cmp ebx, ecx
jl 0x48395d
cmp ebx, dword [esi + 0x204]
jle 0x483961
test al, al
jne 0x483993
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x483a75
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x483a75
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.0056bda5
add esp, 8
jmp 0x48399c
lea eax, [esi + 0x20c]
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jne 0x483920
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x6a8c2c], edi
mov dword [0x6a8c30], ebx
mov dword [0x6a8c34], esi
mov byte [0x6a8c22], 0
mov dword [0x6a8c38], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x483850
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6a8c38]
test eax, eax
jne 0x483a53
push esi
push ebx
push edi
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00464230
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x483a3b
pop edi
pop esi
mov byte [0x6a8c22], 1
mov al, byte [0x6a8c22]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x483a69
mov al, byte [0x6a8c22]
pop edi
pop esi
mov byte [0x62851c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x4834b0
push eax
push 0x65
push dword [0x6a8c24]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6a8c22]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.00484b20
test al, al
je 0x4850e1
push ebx
push edi
call fcn.00484b00
mov edi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0056d800
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x6a8f1c
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x48507a
lea esp, [esp]
push 0
push dword [0x6a8f54]
lea eax, [ebp - 0x118]
push dword [0x6a8f50]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6a8f38]
test eax, eax
je 0x48507a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x48507a
cmp edi, dword [ebp + 0x10]
jle 0x485075
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x485075
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, ebx
jl 0x485010
push 0x6a8f1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x4850df
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x4850b0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485120
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5922ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0047a1d0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4851a6
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x485311
lea eax, [edi + 4]
mov dword [ebp - 0x24], 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.0056bd75
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 4]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
fld dword [edi]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x48520c
fadd dword [0x5b37d0]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test ebx, ebx
jns 0x485222
fadd dword [0x5b37d0]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x4852a2
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.0057d990
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ecx, 8
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
cmova ecx, eax
fldcw word [ebp + 0xe]
cmp ebx, ecx
jae 0x485284
cmp ebx, 0x200
jae 0x485282
shl ebx, 3
cmp ebx, ecx
jae 0x485284
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00485700
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a1d0
mov edx, dword [eax]
jmp 0x4852a9
mov edx, dword [ebp - 0x18]
fstp st(0)
fstp st(0)
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x4852db
mov dword [ecx + eax*8], esi
jmp 0x4852ea
cmp edi, edx
jne 0x4852e4
mov dword [ecx + eax*8], esi
jmp 0x4852ee
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4852ee
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0056bcd8
int3
Function at 0x485510
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x592353
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x6abc50]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6a8f84]
cmp eax, dword [edx + 4]
jg 0x48568d
mov dword [ebp - 0x10], 0x6a8f64
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6a8f64
cmp edx, dword [0x6a8f64]
je 0x485588
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x485588
pause
push edx
mov ecx, esi
call fcn.00481dd0
jmp 0x48558f
lock inc dword [0x6a8f68]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x4855a7
mov eax, dword [edi + 0x24]
jmp 0x48565f
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a1d0
mov eax, dword [eax + 4]
test eax, eax
je 0x485611
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x485617
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x48565f
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x485620
sub esi, ecx
inc esi
push esi
call fcn.0057adb9
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.0056db20
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00485120
mov eax, dword [esi]
mov esi, 0x6a8f64
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6a8f68]
cmp dword [0x6a8f68], 0
pop ebx
jne 0x48567b
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6a8f84
call fcn.0056c116
add esp, 4
cmp dword [0x6a8f84], 0xffffffff
jne 0x48554f
mov dword [ebp - 4], 0
mov ecx, 0x6a8f6c
mov dword [0x6a8f64], 0
mov dword [0x6a8f68], 0
call fcn.00481930
mov byte [ebp - 4], 0
push 0x592c50
call fcn.0056c085
mov dword [ebp - 4], 0xffffffff
push 0x6a8f84
call fcn.0056c0c5
add esp, 8
jmp 0x48554f
Function at 0x485700
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59236d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x485891
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0047f9b0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x48584c
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x14], edx
cmp edi, esi
jne 0x4857d2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x485842
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x48580c
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x485804
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
jmp 0x48583f
cmp edi, edx
je 0x48581c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x48586d
cmp edi, edx
jne 0x485810
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x485781
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x48583f
push str.invalid_hash_bucket_count
call fcn.0056bcd8
int3
Function at 0x4858a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591fdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x485a4d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056bda5
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x48598e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x485950
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x485a3d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x485a3d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x4859a0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x4859a3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x485a3d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056bda5
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x485a21
cmp edi, esi
je 0x485a38
mov eax, dword [ebp + 0xc]
jmp 0x4859f7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x485a3d
mov edx, dword [ebp - 0x10]
jmp 0x4859b0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x487810
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x48782c
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.004878e0
add esp, 4
test eax, eax
jne 0x487856
push str.AuthenticAMD
call fcn.004878e0
add esp, 4
test eax, eax
jne 0x487856
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x4878d6
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x4878a1
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x48789e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x4878d5
cmp eax, 1
jbe 0x4878d5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x4878d3
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x488190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x4881ab
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x4881c0
test al, cl
jne 0x4881ca
dec dl
shr cl, 1
jne 0x4881c0
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x4881e0
dec cl
shr al, 1
jne 0x4881d6
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x56cfdd
Capabilities:
Parse pe header

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

Function at 0x58650a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00586380

Function at 0x590890
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5908bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5908bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4e87c5
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 1]
jmp 0x4e8804
mov byte [esp + 2], dl
push esp
mov dword [esp + 8], edi
lea esp, [esp + 8]
jmp 0x4e882a
jle 0x4e87cf
mov byte [esp + 2], dl
push esp
jmp 0x4e87ee

Function at 0x5b5be0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x5b5bf7
push 0x57
call fcn.005aa320
jmp 0x5b5c54
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x5b5c1a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x5b5c52
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x5b5c47
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x5b5c47
mov eax, dword [ebp - 4]
jmp 0x5b5c54
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x5b5c11
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x622120
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
push edi
je 0x622168
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp + 8]
mov esi, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
movzx edi, word [eax + ecx*4 + 6]
lea eax, [eax + ecx*4]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
lea ecx, [edi + edi*4 - 5]
mov eax, dword [eax + ecx*8 + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x622195
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test eax, 0xfffffff8
je 0x622195
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x62219c
mov dword [ebp - 4], reloc.KERNEL32.dll_LockFile
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
mov ebx, dword [esi + 0x10]
xor edi, edi
call eax
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
test edx, edx
je 0x62220c
mov dword [ebp - 8], edi
cmp edi, dword [ebp + 8]
je 0x622218
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx + 0x10]
lea eax, [edx + ebx - 1]
lea edx, [ebx - 1]
not edx
and eax, edx
add dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
add ecx, 0x14
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
inc edi
call edx
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
cmp edi, edx
jb 0x6221c2
pop ebx
pop edi
or eax, reloc.KERNEL32.dll_LockFile
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x631ed0
Capabilities:
Encrypt data using rc4 ksa
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
or eax, reloc.KERNEL32.dll_LockFile
mov ecx, 0x18
lea edx, [ebp - 0x20]
lea esp, [esp]
movzx ebx, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, ebx
shr eax, 8
xor eax, dword [esi*4 + reloc.KERNEL32.dll_LockFile]
inc edx
dec ecx
jne 0x631f10
xor edx, edx
div dword [edi + 4]
mov eax, dword [edi + 0x1c]
shl eax, 5
mov dword [ebp - 4], reloc.KERNEL32.dll_LockFile
mov dword [ebp - 8], eax
mov ebx, edx
mov esi, ebx
cmp esi, eax
jae 0x631f89
mov edx, dword [edi + 0x18]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov ecx, esi
shr ecx, 5
test dword [edx + ecx*4], eax
je 0x631f89
mov edx, dword [edi]
lea eax, [ebp + 8]
lea ecx, [esi + esi*2]
push eax
lea ecx, [edx + ecx*8]
call int.00769625
test al, al
je 0x631fb5
mov eax, dword [ebp + 0x20]
pop edi
mov dword [eax], esi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp - 4], reloc.KERNEL32.dll_LockFile
jne 0x631f92
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x28]
shl eax, 5
cmp esi, eax
jae 0x631fc9
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x24]
mov eax, esi
shr eax, 5
test dword [ecx + eax*4], edx
je 0x631fc9
inc esi
cmp esi, dword [edi + 4]
sbb edx, edx
and esi, edx
cmp esi, ebx
je 0x631fc9
mov eax, dword [ebp - 8]
jmp 0x631f44
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], edx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c