joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044ef0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x100ea080]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.1003fed0
mov esi, eax
mov ecx, eax
push 0x100d0da5
call fcn.10040320
test al, al
jne 0x10044f2e
mov ecx, esi
push str.vmodule
call fcn.10040320
test al, al
je 0x10044fc0
cmp dword [0x100eb834], 0
jne 0x1004508b
mov eax, dword [0x100eb838]
mov dword [0x100eb834], eax
push 0x10
call fcn.100a6594
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], str.vmodule
push str.vmodule
call fcn.100bb360
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.10040390
mov dword [ebp - 0x38], 0x100d0da5
push 0x100d0da5
call fcn.100bb360
add esp, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov ecx, esi
push eax
push ebx
call fcn.10040390
mov ecx, edi
push 0x100eb83c
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.10063030
mov dword [0x100eb838], edi
cmp byte [ebp - 0x25], 0
js 0x10045001
cmp byte [ebp - 0x11], 0
js 0x10045012
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x100e9240], eax
mov bl, 1
test al, 1
je 0x10045077
mov eax, dword [0x100eb850]
test eax, eax
je 0x1004501f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100eb850], 0
mov ecx, dword [0x100eb840]
test ecx, ecx
jne 0x1004504e
and byte [0x100e9240], 0xfe
jmp 0x10045029
push dword [ebp - 0x30]
call fcn.100a6614
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x10044fc0
push dword [ebp - 0x1c]
call fcn.100a6614
add esp, 4
jmp 0x10044fc0
mov ecx, dword [0x100eb840]
test ecx, ecx
jne 0x1004504e
push 0xc
call fcn.100a6594
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x100eb840], eax
push dword [esi + 4]
call fcn.1003e086
cmp dword [esi + 0xc], 0
jne 0x10045070
mov eax, dword [0x100eb840]
cmp byte [eax + 0xb], 0
jns 0x10045069
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.10045090
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6651
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x10045090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x100ea080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x100eb850], 0
jne 0x100452e6
mov esi, dword [0x100eb840]
test esi, esi
je 0x100450d1
test byte [0x100e9240], 1
jne 0x100451cb
jmp 0x100452e6
push 0xc
call fcn.100a6594
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.100aa900
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.100bb9dd
add esp, 4
cmp eax, 0x7ffffff0
jae 0x100452fd
mov ebx, eax
cmp eax, 5
jae 0x1004513e
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x1004516a
jmp 0x1004517d
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x10045304
lea eax, [edi + edi]
push eax
call fcn.100a6594
add esp, 4
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
lea edi, [ebp - 0x218]
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.100a9e00
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1004518e
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.1003e27a
cmp eax, 0xffffffff
mov bl, 1
je 0x100451ac
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.1003e19c
mov ecx, esi
push 0x100d0f54
call fcn.1003df02
mov dword [0x100eb840], esi
test byte [0x100e9240], 1
je 0x100452e6
cmp byte [esi + 0xb], 0
jns 0x100451d3
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x100d0ec0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x100eb850], eax
add eax, 1
cmp eax, 1
ja 0x100452e6
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.100aa900
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x100452e4
cmp eax, 0x104
ja 0x100452e4
mov ecx, dword [0x100eb840]
push esi
call fcn.1003e086
mov ecx, dword [0x100eb840]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x10045271
mov edx, ecx
jmp 0x10045276
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x1004528e
push 0x100d0f50
call fcn.1003df02
mov ecx, dword [0x100eb840]
push 0x100d0f54
call fcn.1003df02
mov eax, dword [0x100eb840]
cmp byte [eax + 0xb], 0
jns 0x100452a5
mov eax, dword [eax]
movaps xmm0, xmmword [0x100d0ec0]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x100eb850], eax
add eax, 1
cmp eax, 1
ja 0x100452e6
mov dword [0x100eb850], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6651
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.1003cec4
call fcn.100b6de7
int3
Function at 0x10046140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x10046162
cmp dword [esi], edi
jne 0x1004616e
jmp 0x1004618d
call fcn.10044ee0
mov eax, dword [ebp + 8]
cmp dword [esi], edi
je 0x1004618d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x100461a9
cmp ebx, 2
jae 0x100461c9
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax + 4]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi + 4], xmm0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10044ee0
push dword [esi]
call int.1004b450
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x10046183
mov dword [esi], edi
mov edi, eax
call fcn.10044ee0
mov eax, edi
jmp 0x10046183
Function at 0x10047640
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.100a6ae0
mov eax, dword [0x100ea080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x100e9248]
cmp eax, 0xffffffff
je 0x100477a6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x100477a6
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.100a9e00
add esp, 0xc
mov ecx, dword [0x100e9248]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.1006d1c0
add esp, 8
push ebx
call fcn.100a664c
add esp, 4
lea edi, [ebp - 0x1410]
push 0xc00
push 0xff
push edi
call fcn.100aa900
add esp, 0xc
mov eax, dword [0x100ec484]
mov ecx, dword [0x100ed790]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100477c7
mov esi, dword [0x100ec480]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x100477bb
push 0xc00
push 0x100eb880
push edi
call fcn.100a9e00
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ebx, 0x100
jmp 0x1004773a
lea ecx, [ebx - 1]
cmp ebx, 2
mov ebx, ecx
jb 0x10047796
test al, 1
je 0x10047796
xor edi, edi
lea esi, [ebp - 0x1408]
xor eax, eax
jmp 0x1004775e
add edi, 1
add esi, 0xc
cmp edi, 0x100
je 0x10047730
mov ecx, dword [ebp + edi*8 - 0x810]
test ecx, ecx
je 0x10047750
cmp dword [esi - 8], 0
je 0x10047750
mov edx, dword [ebp + edi*8 - 0x80c]
cmp edx, dword [esi]
jne 0x10047750
mov edx, dword [esi - 4]
test edx, edx
je 0x10047750
mov dword [ebp + edi*8 - 0x810], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x10047750
push 2
push dword [ebp - 0x1414]
call fcn.1006d1c0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6651
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.1004a7e0
jmp 0x10047706
push 0x100ec484
call fcn.100a6697
add esp, 4
cmp dword [0x100ec484], 0xffffffff
jne 0x100476f1
push 4
call fcn.100a6594
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.1000d450
mov dword [0x100ec480], esi
push 0x100ec484
call fcn.100a670d
add esp, 4
jmp 0x100476f1

Function at 0x10047810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100e9248]
cmp eax, 0xffffffff
je 0x10047832
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10047840
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x100e9248]
cmp eax, 0xffffffff
je 0x1004785d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x10047862
call fcn.10047980
mov eax, dword [0x100ec484]
mov ecx, dword [0x100ed790]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10047935
mov edi, dword [0x100ec480]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10047929
mov ecx, dword [0x100eb87c]
add ecx, 1
mov edx, 0x100
nop word cs:[eax + eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x100eb880], 0
je 0x100478dd
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x100eb880], 0
je 0x100478dd
add ecx, 2
add edx, 0xfffffffe
jne 0x100478b0
jmp 0x1004790d
lea ecx, [eax*4 + 0x100eb880]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x100eb884], ecx
mov dword [0x100eb87c], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x100eb888]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1004797a
cmp eax, 0x100
jge 0x1004797d
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.1004a7e0
jmp 0x10047898
push 0x100ec484
call fcn.100a6697
add esp, 4
cmp dword [0x100ec484], 0xffffffff
jne 0x10047883
push 4
call fcn.100a6594
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.1000d450
mov dword [0x100ec480], edi
push 0x100ec484
call fcn.100a670d
add esp, 4
jmp 0x10047883
int3
int3

Function at 0x10047980
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x100ea080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov eax, dword [0x100e9248]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x10047a28
lea esi, [ebp - 0x810]
push esi
call fcn.1006d190
add esp, 4
test al, al
je 0x10047aa9
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x100479ff
push esi
call fcn.1006d190
add esp, 4
test al, al
je 0x10047aac
cmp dword [ebp - 0x810], 0xffffffff
je 0x10047aac
push 0xffffffffffffffff
call fcn.1006d1b0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x100e9248], ecx
mov eax, dword [ebp - 0x810]
je 0x10047a28
push eax
call fcn.1006d1b0
add esp, 4
mov eax, dword [0x100e9248]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x10047aa6
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.100aa900
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.1006d1c0
add esp, 8
push 0x800
call fcn.100a6643
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.100a9e00
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.1006d1c0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100a6651
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x10047b70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push dword [0x100e9248]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and eax, 3
cmp eax, 2
jne 0x10047b96
call fcn.100430f0
xor eax, eax
jmp 0x10047bab
xor eax, eax
and ecx, 0xfffffffc
je 0x10047bab
mov edx, dword [esi]
mov edi, dword [ecx + edx*8 + 4]
cmp edi, dword [esi + 4]
jne 0x10047bab
mov eax, dword [ecx + edx*8]
pop esi
pop edi
pop ebp
ret

Function at 0x10049990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
call fcn.1006d0b0
mov byte [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0x100d11e0
mov dword [esi + 0xc], 0
lea eax, [esi + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
movaps xmm0, xmmword [0x100d1030]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
cmp dword [esi + 0xc], eax
je 0x10049a29
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
add eax, 1
cmp eax, 2
jb 0x10049a0d
call fcn.10044ee0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call int.1004b450
mov dword [esi + 0xc], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x10049a1d
mov dword [esi + 0xc], edi
call fcn.10044ee0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1004a840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
sete al
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
push 0
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], 0
test eax, eax
je 0x1004a8c9
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x1004a899
call fcn.10044ee0
push dword [esi]
call int.1004b450
add esp, 4
mov dword [esi], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x1004a8a8
mov dword [esi], edi
call fcn.10044ee0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
add eax, 1
cmp eax, 1
jbe 0x1004a8c6
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
mov byte [esi + 4], 1
int3

Function at 0x1004b470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.1004b0e9
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1004b124
cmpsb byte [esi], byte es:[edi]
in eax, dx
lodsd eax, dword [esi]
cld
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
Function at 0x1004b4b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
invalid
arpl sp, di
invalid

Function at 0x1004b520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.1004b134
push eax
push esi
push dword [ebp + 8]
call fcn.1004b0e9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
dec edi
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1004b134
push eax
push esi
push dword [ebp + 8]
call fcn.1004b0e9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1004b124
invalid
jmp [ebx + ebp*4 - 0x627779e5]
jl 0x1004b5a9
invalid
Function at 0x1004b840
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1004b7fb
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1004b819
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1004b877
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1004b85e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1004b867
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1004b871
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1004b853
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1004b7dd
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1004b8c4
dec eax
je 0x1004b8bb
sub eax, 3
je 0x1004b8b2
mov dword [ebp - 4], 0x40
jmp 0x1004b8e1
mov dword [ebp - 4], 4
jmp 0x1004b8c7
mov dword [ebp - 4], 0x20
jmp 0x1004b8c7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1004b913
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1004b893
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1004b124
push ss
push cs
mov cl, 0xae
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x1004b91f

Function at 0x1004d120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 1], al
mov ch, 0x60
cld
invalid

Function at 0x1004dd10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x100ea080]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x1004ddb3
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.100a6594
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.1004dc20
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.1004cb70
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x1004dd9d
mov ecx, edi
call fcn.1004cbc0
push edi
call fcn.100a6614
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x1004ddb0
push dword [esp + 8]
call fcn.100a6614
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.100a6651
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10053230
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x1005329d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x10053270
cmp edx, 1
jne 0x100532a6
jmp 0x100532c2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x100532c2
cmp edx, 2
je 0x100532b9
cmp edx, 3
jne 0x100532cd
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x10053428
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x10053334
lea edx, [edi - 1]
and edx, ebx
jmp 0x10053340
mov edx, ebx
cmp ebx, edi
jb 0x10053340
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10053428
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x10053428
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x10053396
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x10053426
mov ebx, dword [ebx]
test ebx, ebx
je 0x10053426
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x100533f0
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x100533ab
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1005338c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x10053408
cmp dword [ebp - 0x10], 0
je 0x10053422
cmp byte [esi], dl
jne 0x1005338c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x10053422
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x100533d0
jmp 0x1005338c
cmp dword [ebp - 0x28], 1
jbe 0x10053380
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x10053383
xor edx, edx
div ecx
mov eax, edx
jmp 0x10053383
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10053422
push eax
push esi
push ecx
call fcn.100a8eed
add esp, 0xc
test eax, eax
jne 0x1005338c
mov ecx, ebx
jmp 0x10053428
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8