joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ec20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1002ec51
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1002ec40
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x1002f030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x1002f061
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1002f050
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10037f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x10037fbb
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10037fa4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x1003fa72
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1003fa99
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1003fa9c
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1003fa4e
pop esi
leave
ret 8

Function at 0x10057314
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.1006fe22
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x10057353
sub eax, 1
je 0x1005734e
sub eax, 1
je 0x1005734a
xor eax, eax
leave
ret
push 3
jmp 0x10057355
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x1005a0a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a32a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x44
mov dword [ebp - 4], 0
mov dword [ebx], vtable.boost::archive::detail::basic_iarchive.0
call fcn.1005739c
mov edi, eax
mov dword [ebp - 0x14], edi
push edi
mov byte [ebp - 4], 1
call fcn.1005bbe0
mov ecx, dword [ebp + 8]
mov dword [edi + 4], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
push 0x18
mov byte [ebp - 4], 2
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005739c
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [ebx + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b8d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a56d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.10041686
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x1008cb3c
push eax
call fcn.10041514
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.1004188c
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
call fcn.1004155f
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1005b9b0
push eax
call fcn.10066f4c
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1005b9cb
push eax
call fcn.10066f4c
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1005b9e6
push eax
call fcn.10066f4c
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1005ba01
push eax
call fcn.10066f4c
add esp, 4
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1005ba1c
push eax
call fcn.10066f4c
add esp, 4
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x1005ba37
push eax
call fcn.10066f4c
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.100416de
mov dword [esi], vtable.boost::archive::codecvt_null_wchar_t_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10073168
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100731a7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100731a7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100731a7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100731a7
cmp dword [ecx + 0x74], 0xe
jbe 0x100731a7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100761fb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100912bc
push 0x100912b4
push str.FlsAlloc
push 0x1f
call fcn.10076026
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007622f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1008b3dc]
call esi
jmp 0x10076235
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10076279
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100912cc
push 0x100912c4
push str.FlsGetValue
push 0x21
call fcn.10076026
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100762b0
push dword [ebp + 8]
mov ecx, esi
call dword [0x1008b3dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100762b8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100912d4
push 0x100912cc
push str.FlsSetValue
push 0x22
call fcn.10076026
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100762f2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1008b3dc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1007b0ab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1007b148
push ebx
push esi
call fcn.1007b074
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1007998c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1007b0f5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007b147
push edi
push eax
call fcn.10075cd6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1007b115
call fcn.10075c9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007b146
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1007998c
add esp, 0x20
test eax, eax
jne 0x1007b134
push edi
call fcn.10075c9c
jmp 0x1007b13c
push ebx
call fcn.10075c9c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1007b14b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1007b15c
pop esi
ret
push ebx
push edi
push esi
call fcn.1007b074
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10075cd6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1007b184
push ebx
push esi
push edi
call fcn.1005cfe0
add esp, 0xc
push 0
call fcn.10075c9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1007b554
Capabilities:
Set environment variable

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

Function at 0x1007d76c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100742ec
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007d7db
cmp esi, dword [ebp - 4]
je 0x1007d7d6
cmp dword [ebp + 0xc], 0
je 0x1007d7d6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1007d7b3
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1007d2be
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1007d7dd
xor eax, eax
inc eax
jmp 0x1007d7dd
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1007d842
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100742ec
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100742ec
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1007d8b9
cmp word [ecx], dx
je 0x1007d8b9
mov eax, dword [0x100919ac]
push edi
dec eax
push eax
push 0x10091898
call fcn.1007d7e1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1007d92c
cmp word [eax], dx
je 0x1007d92c
mov eax, dword [edi]
test eax, eax
je 0x1007d8dd
cmp word [eax], dx
je 0x1007d8dd
lea eax, [ebp - 0x10]
push eax
call fcn.1007d1c4
jmp 0x1007d8e6
lea eax, [ebp - 0x10]
push eax
call fcn.1007d25f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1007d956
mov eax, dword [0x10091894]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10091588
call fcn.1007d7e1
add esp, 0xc
test al, al
je 0x1007d956
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1007d921
cmp word [eax], di
je 0x1007d921
lea eax, [ebp - 0x10]
push eax
call fcn.1007d1c4
pop ecx
jmp 0x1007d958
lea eax, [ebp - 0x10]
push eax
call fcn.1007d25f
jmp 0x1007d91e
mov eax, dword [edi]
test eax, eax
je 0x1007d943
cmp word [eax], dx
je 0x1007d943
lea eax, [ebp - 0x10]
push eax
call fcn.1007d179
pop ecx
jmp 0x1007d956
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1007da21
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1007d666
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1007da21
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1007da21
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1007da21
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007d9ae
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10076494
test ebx, ebx
je 0x1007da1c
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10076494
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007da21
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007da21
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1008166e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1007da23
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005735d
leave
ret
Function at 0x100838c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100838ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100838ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 0xf8c7f3
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x68f00000], 0x5a4d
jne 0xf8c818
mov ecx, dword [0x68f0003c]
cmp dword [ecx + 0x68f00000], 0x4550
lea edx, [ecx + 0x68f00000]
je 0xf8c823
ret
cmp word [ecx + 0x68f00018], 0x10b
jne 0xf8c818
push esi
movzx eax, word [ecx + 0x68f00014]
push ebx
movzx esi, word [ecx + 0x68f00006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x68f00000
test esi, esi
je 0xf8c86b
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf8c861
add edx, dword [eax + 8]
cmp ebx, edx
jb 0xf8c86d
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0xf8c853
xor eax, eax
pop ebx
pop esi
ret

Function at 0xf98b93
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call dword [0x69aba2b4]
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x69aba3e8]
cmp byte [esp + 0x3c], 0
je 0xf98c6e
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0xf98c40
cmp eax, 0x6a
je 0xf98c5d
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0xf98c3b
cmp eax, 0x6a
je 0xf98c5d
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call dword [0x69aba314]
sub esp, 4
call fcn.00fa0b63
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0xf98c53
Function at 0x103969d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x2c
push 0x40f948
call fcn.01039c6b
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x1c], eax
mov ebx, dword [eax + 0x78]
mov dword [ebp - 0x30], ebx
mov edx, dword [ebx + esi + 0x1c]
add edx, esi
mov dword [ebp - 0x28], edx
mov edi, dword [ebx + esi + 0x24]
add edi, esi
mov dword [ebp - 0x38], edi
mov edx, dword [ebx + esi + 0x20]
add edx, esi
mov dword [ebp - 0x2c], edx
mov edx, dword [ebx + esi + 0x18]
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + esi + 0x14]
mov dword [ebp - 0x24], edx
mov edx, ecx
mov dword [ebp - 0x34], edx
cmp edx, dword [ebp - 0x20]
jae 0x103977c
movsx edi, word [edi + edx*2]
cmp edi, dword [ebp - 0x24]
jae 0x1039765
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + edi*4]
cmp edi, ebx
mov eax, dword [ebp - 0x1c]
jb 0x1039715
mov eax, dword [eax + 0x7c]
add eax, ebx
cmp edi, eax
jb 0x103975f
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + edx*4]
add eax, esi
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
cmp cl, byte [ebx]
push 0
pop ecx
jne 0x103974e
cmp byte [ebp + 0xb], cl
je 0x103974a
mov cl, byte [eax + 1]
mov byte [ebp + 0xb], cl
cmp cl, byte [ebx + 1]
push 0
pop ecx
jne 0x103974e
add eax, 2
add ebx, 2
cmp byte [ebp + 0xb], cl
jne 0x1039720
mov eax, ecx
jmp 0x1039753
sbb eax, eax
or eax, 1
test eax, eax
jne 0x103975c
lea ecx, [edi + esi]
jmp 0x1039779
mov ebx, dword [ebp - 0x30]
inc edx
mov edi, dword [ebp - 0x38]
jmp 0x10396ea
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x1039785
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.01039cb0
ret 8

Function at 0x108b723
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push dword [esi + 0x14]
call dword [0x1002e08c]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
test ebx, ebx
jg 0x108b764
lea eax, [ebp - 0x30]
push eax
call dword [0x1002e088]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
mov eax, 1
cmove ebx, eax
test ebx, ebx
jle 0x108b7eb
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x100016e0
push 0
push 0
call fcn.0109a3c4
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x108b7e3
cmp edi, 0xffffffff
je 0x108b7e3
mov eax, dword [esi + 8]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x108b7c5
mov ecx, dword [esi + 4]
lea edx, [ebp - 4]
cmp ecx, edx
ja 0x108b7c5
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0xc]
jne 0x108b7b4
push ecx
lea ecx, [esi + 4]
call fcn.01092463
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x108b7dc
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x108b7dc
cmp eax, dword [esi + 0xc]
jne 0x108b7d3
push ecx
lea ecx, [esi + 4]
call fcn.01092463
mov eax, dword [esi + 8]
test eax, eax
je 0x108b7dc
mov dword [eax], edi
add dword [esi + 8], 4
mov esi, dword [ebp - 8]
dec ebx
jne 0x108b765
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x108ef73
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x1003b180
mov esi, ecx
call dword [0x1002e0a8]
cmp dword [0x1003a178], 0xffffffff
je 0x108eff2
cmp dword [0x1003a17c], 0xffffffff
jne 0x108eff2
test esi, esi
je 0x108eff2
push dword [0x1003a16c]
mov dword [0x1003b064], esi
mov esi, dword [0x1002e08c]
call esi
push dword [0x1003a168]
call esi
push dword [0x1003a164]
call esi
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x100037a0
push 0
push 0
call fcn.0109a3c4
add esp, 0x18
test eax, eax
jne 0x108f007
push dword [0x1003a168]
call dword [0x1002e084]
mov dword [0x1003a17c], 0xffffffff
push 0x1003b180
or esi, 0xffffffff
call dword [0x1002e0a0]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [0x1003a164]
mov dword [0x1003a17c], eax
call dword [0x1002e080]
push 0x1003b180
xor esi, esi
call dword [0x1002e0a0]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1993444
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x100ec008]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
push edi
test edx, edx
jne 0x1993467
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push edx
mov edx, ecx
mov dword [esp + 0xc], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.01992b54
mov ecx, dword [esp + 8]
mov eax, 0x78
shr ecx, 3
mov edi, 0x38
and ecx, 0x3f
sub eax, ecx
sub edi, ecx
cmp ecx, 0x38
lea ecx, [esp + 9]
cmovae edi, eax
xor edx, edx
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [esp + edx + 0x64], al
movzx eax, byte [ecx - 4]
mov byte [esp + edx + 0x65], al
movzx eax, byte [ecx - 3]
mov byte [esp + edx + 0x66], al
movzx eax, byte [ecx - 2]
mov byte [esp + edx + 0x67], al
add edx, 4
cmp edx, 8
jb 0x19934c7
push edi
mov edx, 0x100ec8b0
lea ecx, [esp + 0xc]
call fcn.01992b54
push 8
lea edx, [esp + 0x68]
lea ecx, [esp + 0xc]
call fcn.01992b54
lea edx, [esi + 1]
mov esi, 4
lea eax, [esp + 0x11]
nop dword [eax + eax]
movzx ecx, byte [eax - 1]
lea eax, [eax + 4]
mov byte [edx - 1], cl
lea edx, [edx + 4]
movzx ecx, byte [eax - 4]
mov byte [edx - 4], cl
movzx ecx, byte [eax - 3]
mov byte [edx - 3], cl
movzx ecx, byte [eax - 2]
mov byte [edx - 2], cl
sub esi, 1
jne 0x1993524
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.019e322c
mov esp, ebp
pop ebp
ret 4