joyce8/EMBER2024-capa huggingface dataset:
Function at 0x601268e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x210]
push esi
push 1
push 0
push 0x25
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x6014fba0
push esi
call ebx
push esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.stera.exe
lea ecx, [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6012694c
mov dword [edi + 4], 0
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
add esp, 0x208
ret
mov ecx, edi
call fcn.60126660
test eax, eax
jne 0x6012695e
mov dword [edi + 4], 1
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x60126c10
Capabilities:
List user accounts for group

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea ecx, [ecx]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
push 2
push ecx
push esi
call sub.NETAPI32.dll_NetLocalGroupGetMembers
mov ebx, eax
cmp ebx, esi
je 0x60126c61
cmp ebx, 0xea
jne 0x60126c8e
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
jbe 0x60126c8e
jmp 0x60126c70
mov edx, dword [esp + 0x10]
lea eax, [esi + edx]
push eax
push ebp
call dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add esp, 8
inc edi
add esi, 0xc
cmp edi, eax
jb 0x60126c70
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x60126ca0
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [esp + 0x10], esi
cmp ebx, 0xea
je 0x60126c30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x60126cb0
Capabilities:
List user account groups

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
push esi
push esi
call sub.NETAPI32.dll_NetLocalGroupEnum
mov edi, eax
cmp edi, esi
je 0x60126cfc
cmp edi, 0xea
jne 0x60126d1d
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x60126d1b
mov ecx, dword [esp + 0x10]
lea edx, [ecx + esi*4]
push edx
push ebx
call ebp
mov eax, dword [esp + 0x1c]
add esp, 8
inc esi
cmp esi, eax
jb 0x60126d04
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x60126d2f
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [esp + 0x10], esi
cmp edi, 0xea
je 0x60126cd1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x60127260
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x60149ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0xc], esi
mov eax, dword [0x6015b6f8]
push edi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
mov esi, pe_nt_image_headers32
mov eax, dword [edi - 4]
add esi, esi
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
lea edx, [esi - 1]
sub eax, edx
or eax, ecx
jge 0x601272c9
push edx
lea ecx, [esp + 0x14]
call fcn.601042f0
mov edi, dword [esp + 0x10]
push ebp
push esi
push edi
push 0x6014e22d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esi - 2]
cmp eax, ecx
jae 0x601272a3
cmp eax, 0xffffffff
jne 0x601272fc
test edi, edi
jne 0x601272ee
xor eax, eax
jmp 0x60127300
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x601272f3
sub eax, edx
test eax, eax
jl 0x60127368
cmp eax, dword [edi - 8]
jg 0x60127368
push 0xa
mov dword [edi - 0xc], eax
push 0
lea ecx, [esp + 0x18]
mov byte [eax + edi], 0
call fcn.6010a350
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.60109070
mov edi, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x60127351
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push 0x80070057
call fcn.601040a0
int3

Function at 0x601275c0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 8], 0x101
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x6012760c
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x601275e8
mov ecx, dword [esp + 0x10c]
sub eax, edx
push eax
lea edx, [esp + 8]
push edx
call fcn.60104370
xor eax, eax
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
call fcn.601041b0
call fcn.601180b0
add esp, 0x108
ret
Function at 0x60127960
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x60149f9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push edi
push 0x104
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push str.system.ini
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0
call fcn.60126fd0
mov ecx, dword [esp + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x12c]
push edx
call fcn.60126970
push str.Password_Lists
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x12c]
call fcn.60127260
lea ecx, [esp + 0x10]
push ecx
push 0x6014fbac
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 1
mov dword [esp + 0x1c], 0
call fcn.60109f20
mov edi, dword [esp + 4]
mov eax, dword [edi - 0xc]
test eax, eax
mov byte [esp + 0x230], 2
je 0x60127af0
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.6010a900
lea edx, [esp + 0x1c]
push edx
push 0x6014fbac
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.60109f20
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x23c], 3
je 0x60127abc
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x60127aaa
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x60127aaa
push eax
call fcn.60109070
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x60127aa1
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebp + 0x10]
mov dword [esp + 0x10], edi
jmp 0x60127abc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.60104370
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60127ae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi - 0xc]
test eax, eax
jne 0x60127a35
pop esi
pop ebp
pop ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x230], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x60127b13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60127b39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60127b62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x60128d50
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6014a148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [0x6015b6f8]
push edi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
add esi, 0x30
push esi
push 0
push 0
push ecx
push 0
mov dword [esp + 0x28], 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jl 0x60128dc8
test esi, esi
jne 0x60128daf
xor eax, eax
jmp 0x60128dbd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x60128db4
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.60104370
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.60109070
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x60128e00
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x60128e20
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6014a148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
lea ebp, [ecx + 0x30]
push ebp
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x60128f94
cmp eax, 0x104
ja 0x60128f94
mov eax, dword [0x6015b6f8]
push esi
push edi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov edi, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, edi
mov edi, 0x208
sub eax, edi
or eax, ecx
mov dword [esp + 0x18], 0
jge 0x60128ea5
push edi
lea ecx, [esp + 0x10]
call fcn.601042f0
mov esi, dword [esp + 0xc]
cmp dword [esi - 8], edi
jl 0x60128f8a
mov dword [esi - 0xc], edi
mov byte [esi + 0x208], 0
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x60128ed1
mov ecx, edi
push ecx
lea ecx, [esp + 0x10]
call fcn.60104220
mov esi, dword [esp + 0xc]
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x60128f3c
cmp eax, 0x208
ja 0x60128f3c
push 0x5c
lea ecx, [esp + 0x10]
call fcn.60128cf0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.601097e0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60128f26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60128f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
push 0x80070057
call fcn.601040a0
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x18]
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 8]
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x60129690
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6014a148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x1a
lea eax, [esp + 0xc]
xor edi, edi
push eax
mov dword [esp + 0x10], edi
call fcn.60128d50
mov esi, dword [esp + 8]
cmp dword [esi - 0xc], edi
mov dword [esp + 0x14], edi
je 0x6012973a
push 0x5c
lea ecx, [esp + 0xc]
call fcn.60128cf0
push 0x29
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [esp + 0x10]
call fcn.601044e0
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x6012973a
add esi, 0xfffffff0
push esi
call fcn.60109070
mov edi, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60129773
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [edx + 0xc]
mov edi, dword [esp + 0x1c]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60129773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x6012be30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x600]
lea ecx, [esi + 0x600]
call dword [eax]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x6012be56
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
push 0
push 0
push esi
push 0x6012bca0
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x24], eax
setne al
test al, al
mov byte [esi + 0x11], al
je 0x6012be8e
mov al, byte [esi + 0xc]
test al, al
je 0x6012be8e
lea ecx, [esi + 0x118]
call fcn.6012ec90
mov al, byte [esi + 0x11]
pop esi
ret
Function at 0x6012e1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6014a840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6015b6f8]
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
mov edx, dword [0x6015b6f8]
add eax, 0x10
mov ecx, 0x6015b6f8
mov dword [esp + 0x1c], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x38]
or ebp, 0xffffffff
test ecx, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 4
jne 0x6012e265
xor eax, eax
jmp 0x6012e279
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6012e270
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.601044e0
push 1
push 0x6014df50
lea ecx, [esp + 0x24]
call fcn.601044e0
mov esi, dword [esp + 0x3c]
push esi
lea ecx, [esp + 0x10]
call fcn.601045b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.6012e170
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.601044e0
push 7
push 0x6015018c
lea ecx, [esp + 0x28]
call fcn.60104370
mov eax, dword [edi + 0xc]
test eax, eax
je 0x6012e2ef
mov edx, dword [eax + 0x1c4]
lea ecx, [eax + 0x1c4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [edx]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6012e311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x30], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6012e332
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6012e34f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
pop edi
pop esi
test ebp, ebp
pop ebp
jg 0x6012e36d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x6012ec90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x6012eca0
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x6012ecbf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x6012ebf0
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
xor edx, edx
add esp, 0x18
test eax, eax
setne dl
mov dword [esi + 4], eax
pop esi
mov eax, edx
pop ecx
ret
Function at 0x60130de0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0xc], eax
ja 0x60130e1c
jb 0x60130e10
cmp eax, ebx
jae 0x60130e1c
mov eax, ebx
mov edx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x28]
push 0
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 8], eax
jne 0x60130e43
call fcn.601180b0
pop edi
pop esi
pop ebx
add esp, 8
ret 0x18
test ebx, ebx
mov edx, dword [esp + 0x20]
jne 0x60130e56
mov ecx, dword [esp + 0xc]
sub ecx, edx
mov dword [esi + 4], ecx
jmp 0x60130e59
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x24]
push 0
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push ecx
push eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x60130ea9
call fcn.601180b0
mov edi, eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
add esp, 8
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x18

Function at 0x60131040
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x60131053
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x6013105e
or ecx, 0x40
shr eax, 1
test al, 1
je 0x60131067
or ecx, 0x20
shr eax, 1
test al, 1
je 0x60131070
or ecx, 0x10
shr eax, 1
test al, 1
je 0x60131079
or ecx, 8
shr eax, 1
test al, 1
je 0x60131082
or ecx, 4
shr eax, 1
test al, 1
je 0x6013108b
or ecx, 2
test al, 2
je 0x60131092
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [esi + ebx*4], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
lea ecx, [ecx]
test al, 1
je 0x6013115d
mov edi, 1
shl edi, cl
or edx, edi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x60131150
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0xff
jle 0x60131047
pop edi
pop esi
pop ebx
ret
Function at 0x601314c0
Capabilities:
Get file size

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x44]
push ebp
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
push SysReAllocStringLen
push ecx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x60131527
call fcn.601180b0
test eax, eax
jl 0x60131645
push ebx
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x6013152f
call fcn.601180b0
test eax, eax
jge 0x6013152b
mov ebx, eax
jmp 0x60131637
mov ebp, eax
jmp 0x60131501
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x48]
cmp ecx, edi
jb 0x60131630
mov esi, dword [esp + 0x44]
ja 0x6013154f
cmp eax, esi
jbe 0x60131630
mov ebx, dword [esp + 0x4c]
mov edx, esi
add edx, ebx
mov ecx, edi
adc ecx, dword [esp + 0x50]
cmp dword [esp + 0x18], ecx
jb 0x60131630
ja 0x60131571
cmp eax, edx
jb 0x60131630
push 4
push 2
push edi
push esi
xor eax, eax
push ebx
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
call fcn.60130de0
mov ebx, eax
test ebx, ebx
jge 0x601315cc
mov eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
je 0x601315ae
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x601315ae
call fcn.601180b0
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x60131635
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x60131635
test esi, esi
jl 0x60131635
call fcn.601180b0
jmp 0x60131635
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push 0
push eax
push esi
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], 0xffffffff
call fcn.60130f10
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
not edx
xor edi, edi
test esi, esi
mov dword [eax], edx
je 0x60131612
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x60131612
call fcn.601180b0
mov edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x60131635
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x60131635
test edi, edi
jl 0x60131635
call fcn.601180b0
jmp 0x60131635
mov ebx, 0x80070057
pop edi
pop esi
test ebp, ebp
je 0x60131642
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop ebp
add esp, 0x2c
ret 0x18