joyce8/EMBER2024-capa huggingface dataset:
Function at 0x541930
Capabilities:
Suspend thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x541940
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x10], 0
lea eax, [ebx + 0x10]
push esi
push edi
mov dword [ebp - 4], eax
jne 0x541973
push dword [ebx + 8]
push dword [ebx + 4]
push ebx
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push eax
call fcn.004509c0
mov eax, dword [ebp - 4]
add esp, 0x18
mov byte [ebx + 0x2f], 0
push eax
push str.WARNING__CThread::Terminate:__s_n
call fcn.0053b630
add esp, 8
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x54199c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
push eax
mov dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx + 8], 0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x542170
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6dd5bc
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push esi
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x54219b
mov eax, dword [esi + 8]
jmp 0x54219d
xor eax, eax
push eax
lea ecx, [ebp - 0x468]
call fcn.005420a0
mov dword [ebp - 4], 0
test esi, esi
je 0x5421b9
mov eax, dword [esi + 0xc]
jmp 0x5421bb
xor eax, eax
push ebx
push edi
push eax
lea ecx, [ebp - 0x25c]
call fcn.005420a0
mov byte [ebp - 4], 1
xor ebx, ebx
test esi, esi
je 0x54224d
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x1a], ax
lea ebx, [ebp - 0x50]
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x20], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x10], eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xa8c]
call fcn.005420a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x880]
push dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.005420a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
push dword [ebp + 8]
mov edi, dword [eax]
call fcn.005420a0
mov byte [ebp - 4], 4
push dword [ebp + 0x2c]
push ebx
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x674]
lea ecx, [ebp - 0x670]
pop edi
pop ebx
cmp eax, ecx
je 0x5422c5
push eax
call fcn.005519fa
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x87c]
mov eax, dword [ebp - 0x880]
cmp eax, ecx
je 0x5422e2
push eax
call fcn.005519fa
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa88]
mov eax, dword [ebp - 0xa8c]
cmp eax, ecx
je 0x5422ff
push eax
call fcn.005519fa
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
cmp eax, ecx
je 0x54231c
push eax
call fcn.005519fa
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
mov eax, dword [ebp - 0x468]
cmp eax, ecx
je 0x54233c
push eax
call fcn.005519fa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x544b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.00544740
test al, al
je 0x544d01
push ebx
push edi
call fcn.00544720
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.00554100
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 0x82c904
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x544c9a
lea esp, [esp]
push 0
push dword [0x82c93c]
lea eax, [ebp - 0x118]
push dword [0x82c938]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x82c920]
test eax, eax
je 0x544c9a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x544c9a
cmp edi, dword [ebp + 0x10]
jle 0x544c95
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x544c95
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 0x544c30
push 0x82c904
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 0x544cff
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 0x544cd0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x544e10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd6ad
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.00534740
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x544e96
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 0x545001
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.005519b3
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 0x544efc
fadd dword [0x6eda00]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test ebx, ebx
jns 0x544f12
fadd dword [0x6eda00]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x544f92
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.0056b5f0
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 0x544f74
cmp ebx, 0x200
jae 0x544f72
shl ebx, 3
cmp ebx, ecx
jae 0x544f74
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.005453f0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00534740
mov edx, dword [eax]
jmp 0x544f99
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 0x544fcb
mov dword [ecx + eax*8], esi
jmp 0x544fda
cmp edi, edx
jne 0x544fd4
mov dword [ecx + eax*8], esi
jmp 0x544fde
cmp dword [ecx + eax*8 + 4], ebx
jne 0x544fde
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.00551173
int3
Function at 0x545200
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6dd753
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x85d678]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x82c968]
cmp eax, dword [edx + 0x480]
jg 0x54537d
mov dword [ebp - 0x10], 0x82c948
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x82c948
cmp edx, dword [0x82c948]
je 0x545278
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x545278
pause
push edx
mov ecx, esi
call fcn.00541460
jmp 0x54527f
lock inc dword [0x82c94c]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x545297
mov eax, dword [edi + 0x24]
jmp 0x54534f
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.00534740
mov eax, dword [eax + 4]
test eax, eax
je 0x545301
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x545307
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x54534f
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 0x545310
sub esi, ecx
inc esi
push esi
call fcn.0056e687
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.00553b80
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.00544e10
mov eax, dword [esi]
mov esi, 0x82c948
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x82c94c]
cmp dword [0x82c94c], 0
pop ebx
jne 0x54536b
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 0x82c968
call fcn.00551dda
add esp, 4
cmp dword [0x82c968], 0xffffffff
jne 0x54523f
mov dword [ebp - 4], 0
mov ecx, 0x82c950
mov dword [0x82c948], 0
mov dword [0x82c94c], 0
call fcn.00540eb0
mov byte [ebp - 4], 0
push 0x6e6270
call fcn.00551c49
mov dword [ebp - 4], 0xffffffff
push 0x82c968
call fcn.00551d89
add esp, 8
jmp 0x54523f
Function at 0x5453f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd76d
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 0x545581
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.00539f80
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 0x54553c
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 0x5454c2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x545532
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x5454fc
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x5454f4
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 0x54552f
cmp edi, edx
je 0x54550c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x54555d
cmp edi, edx
jne 0x545500
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 0x545471
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 0x54552f
push str.invalid_hash_bucket_count
call fcn.00551173
int3
Function at 0x545590
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dce4d
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 0x54573d
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.005519e3
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x54567e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x545640
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x54572d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x54572d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x545690
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x545693
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x54572d
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.005519e3
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x545711
cmp edi, esi
je 0x545728
mov eax, dword [ebp + 0xc]
jmp 0x5456e7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x54572d
mov edx, dword [ebp - 0x10]
jmp 0x5456a0
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 0x5466d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.00540680
add esp, 4
test al, al
jne 0x5468b5
push str._nocrashdialog
call fcn.00540680
add esp, 4
test al, al
jne 0x5468b5
call fcn.00541ec0
test al, al
jne 0x54671b
call fcn.0053b650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.00540680
add esp, 4
test al, al
je 0x546735
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x7d108c], 0
je 0x5468b5
mov esi, dword [0x82c974]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x82c974
test esi, esi
je 0x5467e6
lea ebx, [ebx]
mov edi, dword [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.00570b44
add esp, 8
test eax, eax
jne 0x5467d3
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x546791
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
cmp ebx, ecx
jl 0x54679d
cmp ebx, dword [esi + 0x204]
jle 0x5467a1
test al, al
jne 0x5467d3
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x5468b5
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x5468b5
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.005519e3
add esp, 8
jmp 0x5467dc
lea eax, [esi + 0x20c]
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jne 0x546760
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x82c978], edi
mov dword [0x82c97c], ebx
mov dword [0x82c980], esi
mov byte [0x82c96e], 0
mov dword [0x82c984], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x546690
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x82c984]
test eax, eax
jne 0x546893
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.004509c0
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 0x54687b
pop edi
pop esi
mov byte [0x82c96e], 1
mov al, byte [0x82c96e]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x5468a9
mov al, byte [0x82c96e]
pop edi
pop esi
mov byte [0x7d108c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x5462f0
push eax
push 0x65
push dword [0x82c970]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x82c96e]
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 0x547af0
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 0x547b0c
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.00547bc0
add esp, 4
test eax, eax
jne 0x547b36
push str.AuthenticAMD
call fcn.00547bc0
add esp, 4
test eax, eax
jne 0x547b36
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 0x547bb6
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x547b81
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x547b7e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x547bb5
cmp eax, 1
jbe 0x547bb5
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 0x547bb3
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 0x548440
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 0x54845b
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 0x548470
test al, cl
jne 0x54847a
dec dl
shr cl, 1
jne 0x548470
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x548490
dec cl
shr al, 1
jne 0x548486
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 0x54d230
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 8
mov ecx, dword [0x85d678]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x82cac8]
cmp eax, dword [ecx + 0x480]
jg 0x54d315
push ebx
mov ebx, dword [0x82cac4]
test ebx, ebx
je 0x54d30e
cmp byte [ebx + 0x18], 0
jne 0x54d30e
lea eax, [ebp - 4]
push eax
call fcn.00540890
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, eax
test edx, edx
je 0x54d2bf
test ecx, ecx
je 0x54d2bf
cmp dword [ecx], 0
je 0x54d2bf
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
mov eax, dword [eax]
cmp eax, fcn.0054c450
jne 0x54d2a3
call fcn.0054c450
jmp 0x54d2a5
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x54d2c9
push 0x6e7a86
lea ecx, [ebx + 4]
call fcn.004a0550
mov eax, dword [0x82cac4]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 4
push 0
push 0
push eax
call fcn.0054dd70
mov esi, eax
push esi
call fcn.005519f1
push 0
mov edi, eax
push esi
push edi
push dword [ebp - 8]
call fcn.0054dd70
add esp, 0x24
lea ecx, [ebx + 4]
push edi
call fcn.004a0550
push edi
call fcn.005519fa
mov eax, dword [0x82cac4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x82cac8
call fcn.00551dda
add esp, 4
cmp dword [0x82cac8], 0xffffffff
jne 0x54d256
push 0x6e62b0
mov dword [0x82cac4], 0x7d1098
call fcn.00551c49
push 0x82cac8
call fcn.00551d89
add esp, 8
jmp 0x54d256

Function at 0x576c81
Capabilities:
Read file on windows

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

Function at 0x57b2e2
Capabilities:
Print debug messages

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