joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ced
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
cmp eax, edi
jl 0x402d11
mov ecx, dword [0x42fc18]
add ecx, eax
push ecx
call fcn.00402cd6
push 4
lea eax, [ebp + 8]
push eax
call fcn.00402ca4
test eax, eax
jne 0x402d28
push 0xfffffffffffffffd
pop eax
jmp 0x402e5e
test dword [ebp + 8], 0x80000000
push ebx
push esi
je 0x402e73
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x42acf0
mov dword [ebp - 0xc], eax
call fcn.00406149
and dword [ebp + 8], 0x7fffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
jle 0x402e59
mov ebx, 0x41ecf0
mov esi, 0x422cf0
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x402d74
mov edi, dword [ebp + 8]
push edi
push ebx
call fcn.00402ca4
test eax, eax
je 0x402eca
sub dword [ebp + 8], edi
mov dword [0x42ad08], ebx
mov dword [0x42ad0c], edi
mov ecx, 0x42acf0
mov dword [0x42ad10], esi
mov dword [0x42ad14], 0x8000
call fcn.00406169
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x402e6f
mov edi, dword [0x42ad10]
sub edi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x42fcb4], 1
mov dword [ebp - 0x14], eax
je 0x402e17
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402de1
cmp dword [ebp + 8], 0
jne 0x402e17
push dword [ebp - 8]
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x5c]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push 0
call fcn.0040487d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x402e63
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push esi
call fcn.004060fc
add esp, 0x10
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402ece
cmp dword [ebp - 0x18], edi
jne 0x402ece
add dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 1
jne 0x402d92
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret 8
cmp dword [ebp + 8], 0
jg 0x402d67
jmp 0x402e59
push 0xfffffffffffffffc
jmp 0x402ed0
cmp dword [ebp + 8], edi
jle 0x402e59
mov ebx, 0x41ecf0
mov esi, 0x8000
cmp dword [ebp + 8], esi
jge 0x402e8a
mov esi, dword [ebp + 8]
push esi
push ebx
call fcn.00402ca4
test eax, eax
je 0x402eca
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push ebx
call fcn.004060fc
add esp, 0x10
push edi
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402ece
cmp esi, dword [ebp - 0x1c]
jne 0x402ece
add dword [ebp - 4], esi
sub dword [ebp + 8], esi
cmp dword [ebp + 8], edi
jg 0x402e7d
jmp 0x402e59
push 0xfffffffffffffffd
jmp 0x402ed0
push 0xfffffffffffffffe
pop eax
jmp 0x402e5c
Function at 0x402ed3
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402ef0
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402eff
mov ebx, 0x40ece8
mov eax, dword [ebp + 8]
test eax, eax
js 0x402f14
mov ecx, dword [0x42fc18]
add ecx, eax
push ecx
call fcn.00402cd6
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00402ca4
test eax, eax
jne 0x402f2b
push 0xfffffffffffffffd
pop eax
jmp 0x403084
test dword [ebp + 0x14], 0x80000000
je 0x403063
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x42acf0
mov dword [ebp - 0xc], eax
call fcn.00406149
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403081
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f6b
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40ace8
push edi
call fcn.00402ca4
test eax, eax
je 0x402f23
sub dword [ebp + 0x14], esi
mov dword [0x42ad08], edi
mov dword [0x42ad0c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x42acf0
mov dword [0x42ad10], ebx
mov dword [0x42ad14], eax
call fcn.00406169
mov dword [ebp - 0x14], eax
test eax, eax
js 0x403055
mov esi, dword [0x42ad10]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x42fcb4], 1
mov edi, eax
je 0x403009
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402fd6
cmp dword [ebp + 0x14], 0
jne 0x403009
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.0040487d
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x40304a
cmp dword [ebp + 0x10], eax
jne 0x403032
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40305c
cmp dword [ebp - 0x10], esi
jne 0x40305c
add dword [ebp - 4], esi
jmp 0x40303e
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x42ad10]
cmp dword [ebp - 0x14], 1
jne 0x402f8a
jmp 0x403081
cmp dword [ebp + 0x14], eax
jg 0x402f5e
jmp 0x403081
push 0xfffffffffffffffc
jmp 0x402f25
push 0xfffffffffffffffe
jmp 0x402f25
test edi, edi
je 0x4030ca
cmp dword [ebp + 0x14], esi
jge 0x40306f
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00402ca4
test eax, eax
je 0x402f23
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x403096
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40ace8
push edi
call fcn.00402ca4
test eax, eax
je 0x402f23
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40305c
cmp esi, dword [ebp + 0x10]
jne 0x40305c
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x40308b
jmp 0x403081
Function at 0x4054ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x42d1c0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x42d1c0], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4054f5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x40563c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405659
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x40565c
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [eax + 1]
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x40568b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4056cf
test edi, edi
jne 0x405696
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4056c9

Function at 0x4056d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405744
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x400
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405733
cmp dword [ebp + 0x14], 1
je 0x405735
cmp dword [ebp + 0x14], 2
je 0x405735
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40599d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42d208
push esi
call fcn.004057ea
push esi
call fcn.004055c5
mov edi, eax
test edi, edi
jne 0x4059be
xor eax, eax
jmp 0x405a16
push edi
call fcn.0040581e
test byte [0x42fc28], 0x80
je 0x4059d7
mov al, byte [edi]
test al, al
je 0x4059ba
cmp al, 0x5c
je 0x4059ba
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x4059f7
push esi
call fcn.004058b9
test eax, eax
je 0x4059f1
test byte [eax], 0x10
je 0x405a1b
push esi
call fcn.00405976
push esi
call ebx
cmp eax, edi
jg 0x4059e2
push esi
call fcn.00405949
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x405a15

Function at 0x405a75
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.004058e0
mov esi, dword [esp + 0x18]
test eax, eax
je 0x405a99
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405bd0
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x42d608], 0x4c554e
mov edi, 0x400
mov ebp, 0x42d608
test esi, esi
je 0x405add
push 1
push 0
push esi
call fcn.0040565c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405bd6
cmp eax, edi
jg 0x405bd6
push edi
mov esi, 0x42df48
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405bd6
cmp eax, edi
jg 0x405bd6
push esi
push ebp
push str._s_s_r_n
push 0x42da08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x42fbcc]
push 0
push dword [eax + 0x128]
push esi
call fcn.00405c0a
push 4
push 0xc0000000
push esi
call fcn.0040565c
mov ebp, eax
cmp ebp, 0xffffffff
je 0x405bd0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405bc9
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405bc9
cmp edi, dword [esp + 0x18]
jne 0x405bc9
push str._Rename__r_n
push esi
call fcn.00405a1f
test eax, eax
jne 0x405bdd
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.004057ea
add edi, 0xa
mov eax, edi
push ebx
push 0x42da08
add eax, esi
push eax
call fcn.00405618
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x42fc90]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x407614
add eax, 0xa
push eax
call fcn.00405a1f
test eax, eax
je 0x405b94
inc eax
lea edx, [esi + edi]
mov ecx, eax
cmp eax, edx
jae 0x405c06
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
lea edx, [esi + edi]
cmp ecx, edx
jb 0x405bf9
sub eax, esi
jmp 0x405b96
Function at 0x405ec0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0040599d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
test cl, 8
je 0x405ef5
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42fc88], eax
jmp 0x406086
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x405f10
test eax, eax
je 0x406031
test cl, 2
je 0x406031
push edi
push ebx
mov esi, 0x42e348
push esi
call fcn.004057ea
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x405f33
push str..
push esi
call edi
jmp 0x405f39
push ebx
call fcn.00405976
cmp byte [ebx], 0
jne 0x405f47
cmp byte [0x42e348], 0x5c
jne 0x405f4f
push 0x407290
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebx + eax]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x406026
lea esi, [ebp - 0x11c]
push 0x3f
mov eax, esi
push eax
call fcn.00405581
cmp byte [eax], 0
je 0x405f91
cmp byte [ebp - 0x18], 0
je 0x405f91
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405fa7
mov al, byte [esi + 1]
test al, al
je 0x406005
cmp al, 0x2e
jne 0x405fa7
cmp byte [esi + 2], 0
je 0x406005
push esi
push edi
call fcn.004057ea
test byte [ebp - 0x148], 0x10
je 0x405fcc
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x406005
push dword [ebp + 0xc]
push ebx
call fcn.00405ec0
jmp 0x406005
push ebx
call fcn.0040563c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405ffd
test byte [ebp + 0xc], 4
je 0x405ff5
push ebx
push 0xfffffffffffffff1
call fcn.0040487d
push 0
push ebx
call fcn.00405a75
jmp 0x406005
inc dword [0x42fc88]
jmp 0x406005
push ebx
push 0xfffffffffffffff2
call fcn.0040487d
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405f73
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x406030
mov byte [edi - 1], 0
pop edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406085
cmp dword [ebp - 8], esi
je 0x406075
push ebx
call fcn.004058b9
test eax, eax
je 0x406085
push ebx
call fcn.00405949
push ebx
call fcn.0040563c
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40607d
test byte [ebp + 0xc], 4
je 0x406075
push ebx
push 0xfffffffffffffff1
call fcn.0040487d
push esi
push ebx
call fcn.00405a75
jmp 0x406085
inc dword [0x42fc88]
jmp 0x406085
push ebx
push 0xffffffffffffffe5
call fcn.0040487d
pop esi
pop ebx
leave
ret 8
Function at 0x40608b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42e74c], 0
jne 0x4060c9
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40609f
mov dword [ecx*4 + 0x42e748], eax
inc ecx
cmp ecx, 0x100
jl 0x40609a
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4060f6
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42e748]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4060d7
not eax
pop ebp
ret 0xc

Function at 0x4060fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, str.z
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x406135
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
sub esi, ecx
mov edx, dword [eax]
and edx, 7
mov dl, byte [ebp + edx - 0xc]
xor dl, byte [esi + ecx]
mov byte [ecx], dl
inc ecx
inc dword [eax]
dec edi
jne 0x406121
pop edi
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10030249
Capabilities:
Terminate process

Disassembly:
jmp 0x1008a430
jmp fcn.1008ba30
cmp ecx, dword [0x100ca590]
jne 0x1008a43a
repz ret
jmp 0x10030bf4

Function at 0x10030f82
Capabilities:
Get process image filename

Disassembly:
jmp 0x100873c2
jmp dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]

Function at 0x1003bbb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x53c]
mov ecx, 0x14f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x100ca590]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 0x10097578
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.10031afe
mov esi, esp
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.10031afe
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
jne 0x1003bc30
jmp 0x1003bd02
mov eax, dword [ebp - 0x25c]
and eax, 0x10
jne 0x1003bc75
mov esi, esp
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
lea edx, [ebp - 0x370]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp esi, esp
call fcn.10031afe
lea eax, [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.10031d1f
jmp 0x1003bcdd
push 0x1009756c
lea eax, [ebp - 0x230]
push eax
call fcn.10030d93
add esp, 8
test eax, eax
je 0x1003bcdd
push 0x10097568
lea eax, [ebp - 0x230]
push eax
call fcn.10030d93
add esp, 8
test eax, eax
je 0x1003bcdd
mov esi, esp
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s_
lea edx, [ebp - 0x478]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp esi, esp
call fcn.10031afe
lea eax, [ebp - 0x478]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.100314c8
mov esi, esp
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.10031afe
test eax, eax
jne 0x1003bc30
push edx
mov ecx, ebp
push eax
lea edx, [0x1003bd34]
call fcn.10030aeb
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030249
add esp, 0x53c
cmp ebp, esp
call fcn.10031afe
mov esp, ebp
pop ebp
ret 4
Function at 0x1004da40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
jmp 0x1004da83
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 4]
jge 0x1004db38
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.10030028
mov ecx, eax
call fcn.100313f1
mov esi, esp
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp esi, esp
call fcn.10031afe
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1004daea
mov eax, dword [0x100c5ab8]
add eax, 6
mov esi, esp
push eax
push str.c:usershannahbieldesktop_antihackhackclienthackclientinstancelimit.cpp
push 0x10098098
call dword [sym.imp.MSVCR100D.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.10031afe
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10031afe
cmp eax, 0xb7
jne 0x1004db15
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10031afe
jmp 0x1004db33
mov eax, dword [ebp - 0x2c]
add eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x20], ecx
mov dword [ebp - 0x14], 0
jmp 0x1004db38
jmp 0x1004da7a
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.10031afe
mov esp, ebp
pop ebp
ret

Function at 0x10053720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
cmp dword [0x101fdcd0], 0
jne 0x1005374e
jmp 0x100537a7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
push 8
push 0
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
call fcn.100309a1
add esp, 0xc
push 8
push 0
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
call fcn.100309a1
add esp, 0xc
mov eax, 0x1020a6d4
mov esi, esp
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x10032201
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10031afe
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.10031afe
mov esp, ebp
pop ebp
ret 4
Function at 0x100874a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100876a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10087564
cmp dword [ebp - 4], 0x50000000
jb 0x100874e1
cmp dword [ebp - 4], 0x80000000
ja 0x100874e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100874ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100309a1
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10087507
jmp 0x10087564
cmp dword [ebp - 0x14], 0x10000
jne 0x1008754a
cmp dword [ebp - 0x18], 0x10000
jb 0x1008754a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008753d
mov eax, dword [ebp - 8]
jmp 0x10087566
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1008755f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100876a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100874ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100875a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100876d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1008765c
cmp dword [ebp - 4], 0x50000000
jb 0x100875dc
cmp dword [ebp - 4], 0x80000000
ja 0x100875dc
mov dword [ebp - 4], 0x80010000
jmp 0x100875b5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100309a1
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10087602
jmp 0x1008765c
cmp dword [ebp - 0x14], 0x10000
jne 0x10087645
cmp dword [ebp - 0x18], 0x10000
jb 0x10087645
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10087638
mov eax, dword [ebp - 8]
jmp 0x1008765e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10087657
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100876d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100875b5
xor eax, eax
mov esp, ebp
pop ebp
ret