joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ee61
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
push di
add esp, 0
rdtsc
xchg word [esp], dx
jmp 0x48ee6e
mov ebp, dword [esp]
mov cl, 0x69
stc
rdtsc
xchg dword [esp], ebp
jmp 0x48ee4b
lea esp, [esp + 2]
lea ebp, [ebp + 0x16]
cpuid
btc eax, edx
bsr dx, ax
setb bl
jmp 0x48ee97
xchg dword [esp], ebp
cmp ah, 0x1e
xchg ecx, ebx
mov ax, word [esp]
push dword [esp]
ret 4

Function at 0x493845
Capabilities:
Encode data using xor

Disassembly:
call 0x49381e
dec edi
jo 0x493878
outsb dx, byte [esi]
xor al, 0xca
jmp 0x49380b
mov ecx, dword [esp + 4]
call fcn.00493860
in eax, dx
jae 0x493834
xchg byte [ebp - 0x4a], dh
cmc
je 0x493841
lea edi, [ebp + ecx*8 - 0x1f]
loope 0x4938d2
lcall 0xfe9f, 0xdee8e4f5
invalid
popfd
invalid

Function at 0x4972a5
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x47caaf
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x47cac9
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x47cab8
pop esi
jmp 0x47cad4
ret 4
jmp 0x47caa2

Function at 0x4aedbd
Capabilities:
Encrypt data using speck

Disassembly:
cmp edi, 0x34
jae 0x47a843
jb 0x4aee9d
inc esi
add eax, dword [eax]
dec eax
jmp 0x47a81c
mul byte [edi]
call 0x16b230b
add byte [edx + edx - 0x79], bh
imul edx, dword [edi - reloc.mscoree.dll__CorExeMain], 0x343ae
xchg ecx, eax
adc byte [ebx + 0x4359650a], dl
cmp eax, dword [ecx + edi*4 + reloc.mscoree.dll__CorExeMain]
fsubr qword [edi]
call fcn.004aedfe
call fcn.004aedfe
movsd dword es:[edi], dword [esi]
aam 0x47
jo 0x47a8b7
push ds
xor al, bh
cmpsb byte [esi], byte es:[edi]
loopne 0x47a814
lahf
xchg esi, eax
jbe 0x47a8b8
mov al, byte [0x24a88e3]
pop eax
sti
jae 0x47a80c
lea ecx, [edx + edx]
push di
lea esp, [esp + 2]
jmp 0x4aedc4
push eax
lea esp, [esp + 8]
jmp 0x4aeda7
lea ecx, [edi + 0x41]
jmp 0x47a859

Function at 0x4c606a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov bh, 0xc6
cmc
jmp 0x4c5f67
movzx edx, byte [eax + 1]
sbb bx, 0x6eb8
jmp 0x4c5f85
lea eax, [esi + 0x1a]
jmp 0x47b818
movzx ebx, byte [eax]
cmc
cmc
shl edx, 8
jmp 0x4c5f93
or edx, ebx
btc ebx, ecx
jmp 0x4c5fcd
jne 0x47b773
dec al
xor ecx, ecx
jmp 0x4c5f7d
movzx ebx, byte [edi]
pop edi
push ebx
cmc
add esp, 2
lea esp, [esp + 2]
jmp 0x4c5ff9
push edi
mov edi, eax
add edi, reloc.mscoree.dll__CorExeMain
jmp 0x4c5fb5
or edx, ebx
sub esp, 0xf
lea esp, [esp + 3]
push edi
jmp 0x4c601e
shl edx, 8
sub esp, 0xb
pop dword [esp]
lea esp, [esp + 3]
jmp 0x4c5fd8
shl edx, 8
call fcn.004c6043
inc esp
neg esi
sub dword [edi], ebx
adc esi, dword [ebx]
xor eax, dword [esi + ebx*2 + reloc.mscoree.dll__CorExeMain]
mov edi, eax
add edi, 0xfffffffe
movzx ebx, byte [edi]
pop edi
cmc
jmp 0x4c6008
lea esp, [esp + 4]
cmp eax, 0x40
jmp 0x4c5fa9
Function at 0x52fb7c
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x52fbe7
sub esp, 0x1f
not dh
mov dh, ah
lea ebx, [edi + 0xc5]
rdtsc
cpuid
jmp 0x52fbd1
pop word [esp + 3]
mov ch, 0x8a
add esp, 3
mov bx, word [esp + 0x23]
jmp 0x52fc24
pop dword [esp]
mov edi, edx
btc bp, bp
cld
neg ebp
stc
jmp 0x52fb7e
btr bp, sp
stc
xchg word [esp + 0x15], ax
mov word [esp], si
push word [esp + 0xa]
push word [esp + 0xc]
jmp 0x52fc0e

Function at 0x530683
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dh, 0xf7
push dword [esp + 4]
mov bx, 0x797b
mov word [esp + 0xd], di
mov word [esp + 3], ax
jmp 0x5306f9
pop dword [esp + 3]
bsf edx, edx
add ecx, 0xa9729b63
setl ah
setbe al
pop dword [esp + 9]
jmp 0x5306b5
mov bh, 0x2a
xchg al, dl
mov bp, word [esp + 1]
mov dword [esp + 0xf], ecx
rdtsc
rdtsc
jmp 0x5306cb

Function at 0x530ce1
Capabilities:
Access peb ldr_data

Disassembly:
lea esp, [esp + 0x20]
pushfd
mov word [esp], ax
mov word [esp], ax
mov dword [esp], ecx
pushal
mov dword [esp + 0x20], edi
jmp 0x530b83
mov byte [esp + 1], bl
pop word [esp]
lea esp, [esp + 2]
mov dword [esp], esi
jmp 0x530bc0
Function at 0x10573000
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov al, byte [0x1055e158]
test eax, eax
je 0x1057301d
mov cl, byte [0x1055e608]
or cl, 1
mov byte [0x1055e608], cl
cmp dword [0x1055e130], 0
je 0x10573035
mov dl, byte [0x1055e608]
or dl, 8
mov byte [0x1055e608], dl
xor eax, eax
mov al, byte [0x1055e608]
test eax, eax
je 0x1057309f
cmp dword [0x1055e13c], 0
je 0x10573059
push 0x10560dfc
push 0x10560e00
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [0x1056d454]
push ecx
mov dl, byte [0x1055e608]
push edx
push 0x1055e3b0
push 0x1055e158
mov eax, dword [0x1055e140]
push eax
mov ecx, dword [0x1055e13c]
push ecx
mov edx, dword [0x1055e138]
push edx
mov eax, dword [0x1055e134]
push eax
mov ecx, dword [0x1055e130]
push ecx
push 0x1055e128
call fcn.10576498
add esp, 0x28
pop ebp
ret
Function at 0x1057475f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov word [ebp - 8], 0
call fcn.10575a78
mov word [ebp - 4], ax
cmp dword [0x1056d570], 0
je 0x10574789
mov dword [0x1056db44], 0
jmp 0x10574793
mov dword [0x1056db44], 1
cmp dword [0x1056db44], 0
je 0x10574993
cmp dword [0x10560df8], 1
je 0x105747ba
mov eax, dword [0x10560df4]
cmp eax, dword [0x10560df0]
jne 0x1057492c
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
idiv ecx
add edx, 1
mov dword [0x10560df0], edx
mov dword [0x10560df4], 1
mov edx, dword [0x1056f818]
and edx, 0x1f3
mov dword [0x1056d550], edx
mov eax, dword [0x1056d550]
mov ecx, dword [eax*4 + 0x1055d010]
xor ecx, 0xfd0699d6
mov dword [0x1056d540], ecx
mov dword [0x1056d544], 0
push 4
push 0
push 0x1056d544
push 0x1056d540
movzx dx, byte [0x1055d00d]
push edx
push 0x1056d6ac
call fcn.10577480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x10574876
mov ecx, dword [0x1056d544]
xor ecx, 0x7b2309a7
mov edx, dword [0x1056d550]
xor ecx, dword [edx*4 + 0x1055d7e0]
test ecx, ecx
je 0x10574920
xor eax, eax
mov al, byte [0x1055ff6a]
cmp eax, 0x31
jne 0x10574888
mov word [ebp - 4], 3
xor ecx, ecx
mov cl, byte [0x1055ff6a]
cmp ecx, 0x32
je 0x105748a2
xor edx, edx
mov dl, byte [0x1055ff6a]
cmp edx, 0x33
jne 0x105748a8
mov word [ebp - 4], 0
mov dword [0x10560df8], 1
cmp dword [0x1056d594], 0
jne 0x1057491e
xor eax, eax
mov al, byte [0x1055ff6a]
cmp eax, 0x32
je 0x105748d4
xor ecx, ecx
mov cl, byte [0x1055ff6a]
cmp ecx, 0x33
jne 0x1057491e
mov edx, dword [0x1056d69c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x1056d54c], 0xc
push 0x2010
call fcn.105730a1
push eax
call fcn.105758db
add esp, 8
mov dword [0x1056d54c], 0
mov eax, dword [0x1056d69c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x1056d594], 1
jmp 0x1057492a
mov dword [0x10560df8], 0
jmp 0x10574991
mov ecx, dword [0x10560df4]
add ecx, 1
mov dword [0x10560df4], ecx
mov edx, dword [0x1056f818]
mov dword [0x1056d540], edx
mov dword [0x1056d544], 0
push 4
push 0
push 0x1056d544
push 0x1056d540
push 0
push 0x1056d6ac
call fcn.10577480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x1057498b
mov ecx, dword [0x1056d544]
xor ecx, dword [0x1056f818]
test ecx, ecx
je 0x10574991
mov word [ebp - 4], 3
jmp 0x105749f7
mov edx, dword [0x10560df4]
add edx, 1
mov dword [0x10560df4], edx
mov eax, dword [0x1056f818]
mov dword [0x1056d540], eax
mov dword [0x1056d544], 0
push 4
push 0
push 0x1056d544
push 0x1056d540
push 0
push 0x1056d6ac
call fcn.10577480
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
test ecx, ecx
jne 0x105749f1
mov edx, dword [0x1056d544]
xor edx, dword [0x1056f818]
test edx, edx
je 0x105749f7
mov word [ebp - 4], 3
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10574ec1
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x1056f800
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x10574f3e
mov eax, dword [ebp - 8]
cmp dword [eax*4 + 0x1056f820], 0
je 0x10574f2d
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1056f820]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x10574f2d
cmp dword [ebp - 4], 0x103
je 0x10574f2d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x1056f820]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x1056f820], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.10575116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x10574ed9
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x10574f7a
mov edx, dword [ebp - 8]
cmp dword [edx*4 + 0x1056f820], 0
je 0x10574f69
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x1056f820]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp - 8]
push edx
call fcn.10575116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x10574f45
mov esp, ebp
pop ebp
ret

Function at 0x10574f7e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x64
jge 0x10574fbe
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x1056f820], 0
je 0x10574fad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x1056f820]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
push eax
call fcn.10575116
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10574f89
push 0x1056f800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret

Function at 0x10576cf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x10576d65
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x10576d3c
mov word [0x1056db50], cx
call fcn.105791a0
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x10576d29
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x10576d29
mov word [0x1056db50], ax
call fcn.10576a40
call fcn.10576bd0
call fcn.105791a0
add esp, 0x94
ret
Function at 0x10577a40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.10583160
test eax, eax
jne 0x10577a70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x10577a85
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x10577ac9
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x10577aa9
cmp eax, 0x102
jne 0x10577ab6
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x10577ac0
jmp 0x10577a8f
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.10577b40
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x10577ae0
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.10583160
test eax, eax
jne 0x10577af8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x10577b01
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x10577b14
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10577b2b
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x1057b380
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push ebx
mov bx, word [esp + 0x220]
neg bx
push ebp
mov ebp, dword [esp + 0x21c]
sbb ebx, ebx
push esi
mov al, byte [ebp]
and ebx, 0xfffffffe
add ebx, 4
push edi
test al, al
je 0x1057b3ce
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x1056c504
mov byte [ebp], 0
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x1057b3f6
jbe 0x1057b3f6
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x1057b3fe
mov dword [esp + 0x14], 0xa
mov ecx, dword [esp + 0x21c]
cmp word [ecx + 0x74], 4
jne 0x1057b411
mov ebx, 2
mov edx, dword [esp + 0x228]
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0xc8]
push eax
push ecx
push edx
push ebx
call fcn.1057fc20
test ax, ax
jne 0x1057b586
cmp word [esp + 0x14], ax
mov dword [esp + 0x10], 0x46
mov dword [esp + 0x1c], 0
jbe 0x1057b59b
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea esi, [esp + 0xc4]
mov dword [esp + 0x18], esi
cmp word [esi + 0x20], 0
jbe 0x1057b560
mov ecx, 0x10
xor eax, eax
mov edi, ebp
push 0x1056c4e4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
push eax
call ebx
mov ecx, dword [esp + 0x224]
push esi
push ecx
call fcn.1057a850
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x1056c4e4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x74]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x78]
push 0x1056c4e4
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x40]
push 0x1056b6d0
push edx
call esi
add esp, 0x28
test eax, eax
je 0x1057b50c
lea eax, [esp + 0x20]
push 0x1056b704
push eax
call esi
add esp, 8
test eax, eax
jne 0x1057b51b
push 0x1056b6c0
push ebp
call esi
add esp, 8
test eax, eax
je 0x1057b55c
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x220]
push edx
push ebp
push eax
push ecx
call fcn.1057acd0
add esp, 0x14
mov dword [esp + 0x10], eax
test ax, ax
je 0x1057b582
lea edx, [esp + 0x60]
push 0x1056c4e4
push edx
call ebx
add esp, 8
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
and ecx, 0xffff
add esi, 0x22
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jl 0x1057b479
mov eax, dword [esp + 0x10]
cmp ax, 0x45
jne 0x1057b59f
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x1057b5b0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x1057b641
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.10584560
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1057b637
mov eax, dword [0x1056c4dc]
mov cx, word [0x1056c4e0]
mov dl, byte [0x1056c4e2]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x1057b688
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x1057b66b
mov dx, word [0x1056c4e0]
mov ecx, dword [0x1056c4dc]
mov al, byte [0x1056c4e2]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.10582fd0
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.10584560
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x1057b720
mov edx, dword [0x1056c558]
mov eax, dword [0x1056c55c]
mov ecx, dword [0x1056c560]
mov dword [esp + 0xd0], edx
mov dx, word [0x1056c564]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x1057b74b
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.10582ef0
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x1056dba8], eax
add esp, 0x4c8
ret
Function at 0x1057bb80
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x1057bdbe
mov esi, dword [esp + 0x44]
cmp si, bp
jbe 0x1057bdbe
cmp si, 0xffff
jne 0x1057bbbf
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x2c
ret 0xc
push edi
call fcn.1057a550
mov ebx, eax
add ebx, 0x18
cmp word [ebx], 0x7242
jne 0x1057bdb0
test byte [ebx + 0x12], 4
jne 0x1057bbee
mov eax, 2
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push esi
push edi
call fcn.10585b30
cmp ax, bp
jne 0x1057bdc2
push edi
call fcn.1057bb30
add esp, 4
test ax, ax
je 0x1057bc25
push edi
call fcn.10585c90
cmp ax, bp
jne 0x1057bbb1
push edi
call fcn.1057bb30
add esp, 4
test ax, ax
jne 0x1057bc0c
push edi
call fcn.1057b7a0
mov ecx, dword [0x1056faa8]
push ecx
push eax
call fcn.1057ba10
mov esi, eax
add esp, 0xc
cmp word [esi + 0x76], bp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x1057bc67
push 0x1000
call ebp
test eax, eax
je 0x1057bc67
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
cmp word [esp + 0x48], 1
jne 0x1057bda3
cmp word [0x1056dbba], 0
jne 0x1057bcf5
lea edx, [esp + 0x18]
push edx
call fcn.10583180
add esp, 4
test eax, eax
je 0x1057bca1
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x1056dbc0], eax
jne 0x1057bccc
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0x10578880
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x1056dbc4], eax
mov word [0x1056dbba], 1
cmp word [esi + 0x76], 0
je 0x1057bd1a
push 0x1000
call ebp
test eax, eax
je 0x1057bd1a
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push edi
call fcn.1057b960
add esp, 0xc
test eax, eax
jne 0x1057bd44
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov si, word [esp + 0x10]
mov ecx, dword [0x1056dba8]
neg si
sbb esi, esi
and esi, ecx
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.10585710
mov dx, word [ebx + 0x38]
mov ax, word [ebx + 0x36]
push 0
push 0
push 0
push esi
push 1
push 1
push edx
push eax
push ebx
call fcn.1057c4f0
add esp, 0x24
test ax, ax
je 0x1057bda3
push 0x404
push edi
call fcn.10585890
push edi
call fcn.10585970
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x2c
ret 0xc
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x1057c4f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push 0
push esi
push ecx
push edx
push eax
call fcn.10577ed0
add esp, 0x24
test ax, ax
je 0x1057c538
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [ecx + 6], ax
pop ebx
ret
cmp word [0x1056dbb8], 0
jne 0x1057c5ca
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push 0
push eax
push 0x10577e00
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x1056dbb4], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1057c5ca
mov ax, word [esp + 0x34]
cmp ax, 2
jne 0x1057c5d2
cmp dword [esp + 0x20], 0xffffffff
jne 0x1057c59e
test esi, esi
jge 0x1057c59e
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 0xffffffffffffffff
jmp 0x1057c5ab
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.10577ed0
mov ecx, dword [0x1056dbb4]
add esp, 0x24
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x1057c5ec
mov edx, dword [0x1056dbb4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x1057c606
test esi, esi
jle 0x1057c606
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 1
jmp 0x1057c613
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 0xffffffffffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.10577ed0
mov eax, dword [esp + 0x38]
add esp, 0x24
mov word [eax + 6], 0x46
mov ecx, dword [0x1056dbb4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret