joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40efa8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x34], esp
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x413df0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x40f151
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov dword [ebp - 0x64], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40f0b8
mov edi, dword [ebp + 0xc]
test edi, edi
js 0x40f0ac
mov esi, dword [0x41410c]
test esi, esi
je 0x40f108
mov eax, dword [ebp + 0xc]
add eax, eax
cmp eax, 0x80
mov dword [ebp - 0x68], eax
ja 0x40f0d8
cmp dword [0x41410c], 1
je 0x40f0d8
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [ebp - 0x58], 0xffffffff
call method.__gnu_cxx::__pool_alloc_base._M_get_free_list_unsigned_int_
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call method.__gnu_cxx::__pool_alloc_base._M_get_mutex__
mov dword [ebp - 0x28], eax
mov edx, dword [0x414020]
test edx, edx
jne 0x40f144
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
test edx, edx
je 0x40f188
mov eax, dword [edx]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40f1af
mov esi, dword [0x414020]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x40f0b8
mov dword [esp], eax
mov dword [ebp - 0x58], 1
call sym.___gthr_win32_mutex_unlock
jmp 0x40f0b8
mov dword [ebp - 0x58], 0xffffffff
call method.std.__throw_bad_alloc__
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x68]
mov dword [esp], ecx
mov dword [ebp - 0x58], 0xffffffff
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
call sym._getenv
test eax, eax
je 0x40f139
mov ebx, 1
mov dword [esp + 4], ebx
mov dword [esp], 0x41410c
mov dword [ebp - 0x58], 0xffffffff
call method.__gnu_cxx.__atomic_add_int_volatile__int_
jmp 0x40f014
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
jmp 0x40f121
mov dword [esp], eax
call sym.___gthr_win32_mutex_lock
jmp 0x40f06c
mov eax, dword [ebp - 0x68]
add eax, 7
and eax, 0xfffffff8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov dword [ebp - 0x58], 3
call method.__gnu_cxx::__pool_alloc_base._M_refill_unsigned_int_
mov dword [ebp - 0x64], eax
jmp 0x40f083
mov dword [ebp - 0x58], 3
call method.std.__throw_bad_alloc__
jmp 0x40f08e
Function at 0x404dc0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41478d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
lea ecx, [esp + 8]
mov dword [esp + 0x220], 3
call sub.MFC42u.DLL_CString::CString_3
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x230]
lea ecx, [esp + 8]
push eax
push 0x41b790
push str._s_s
push ecx
mov byte [esp + 0x230], 4
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x23c]
add esp, 0x10
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x238]
push 0x104
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, dword [esp + 0x22c]
add esp, 4
test eax, eax
je 0x404e87
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0xc], 1
jmp 0x404e9e
lea edx, [esp + 0x22c]
mov ecx, esi
push edx
call fcn.00413b0a
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x220], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov byte [esp + 0x220], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x230]
mov byte [esp + 0x220], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x234]
mov byte [esp + 0x220], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x408d20
Capabilities:
Terminate process

Disassembly:
push esi
push str.Skin_Player.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x408d41
call sub.MFC42u.DLL_AfxGetModuleState
mov dword [eax + 0xc], esi
mov eax, 1
pop esi
ret
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
Function at 0x40f5b0
Capabilities:
Check if file exists
Get common file path
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x415356
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x23e]
mov word [esp + 0x23c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x44]
lea ecx, [esp + 0x23c]
push eax
push 0x41b640
push ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea edx, [esp + 0x23c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f68f
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x41b63c
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov dword [esp + 0x454], ebp
mov ecx, esp
mov dword [esp + 0x38], esp
push str.JNVRCfg.ini
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x458], 1
mov ecx, esp
mov dword [esp + 0x34], esp
push str.MemCurrentDisk
call sub.MFC42u.DLL_CString::CString_2
lea eax, [esp + 0x28]
mov dword [esp + 0x458], 0xffffffff
push eax
call fcn.00404dc0
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 0x14
lea ecx, [esp + 0x1c]
mov dword [esi + 0x25c], eax
call sub.MFC42u.DLL_CString::CString
cmp dword [esi + 0x25c], ebp
jge 0x40f74c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push 0x104
push ecx
mov dword [esp + 0x18], ebp
stosw word es:[edi], ax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x34]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x34], bp
lea esi, [esp + 0x34]
je 0x40f74c
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
call ebx
cmp eax, 3
je 0x40f706
cmp eax, 2
je 0x40f706
cmp eax, 4
jne 0x40f730
lea eax, [esp + 0x20]
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp word [esi], di
je 0x40f730
cmp dword [esp + 0x14], 1
ja 0x40f73a
jb 0x40f730
cmp dword [esp + 0x10], 0x40000000
ja 0x40f73a
add esi, 8
cmp word [esi], bp
jne 0x40f6f4
jmp 0x40f74c
mov eax, dword [esp + 0x18]
xor edx, edx
mov dx, word [esi]
sub edx, 0x43
mov dword [eax + 0x25c], edx
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x440
ret

Function at 0x40ff00
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x40ff0a
xor eax, eax
ret
lea eax, [ecx + 4]
mov dword [ecx + 0x24], 1
push eax
push 0
push ecx
push 0x40ff40
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x40ff2f
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret
Function at 0x100018a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov al, byte [edi]
mov esi, ecx
cmp al, 1
je 0x10013b73
cmp al, 3
je 0x10013b73
cmp al, 4
jne 0x100018d2
mov ecx, edi
call sym.Ac1st19.dll_public:_wchar_t_const____thiscall_AcString::kwszPtr_void_const
push eax
mov ecx, esi
call sym.Ac1st19.dll_public:_int___thiscall_AcString::compare_wchar_t_const__const
pop edi
pop esi
ret 4
cmp al, 2
je 0x100018be
test al, al
je 0x100018be
jmp 0x10013b87
sar ch, 1
invalid
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10012c91
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10012cc3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10012c78
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10012cb3
inc ebx
inc esp
out dx, eax
mov dword [eax + 4], ebp
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x10001be0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
test eax, eax
jle 0x10001bfe
nop
cmp word [esi], 0
je 0x10001bfe
dec eax
add esi, 2
test eax, eax
jg 0x10001bf0
test esi, esi
je 0x1001339c
cmp word [esi], 0
je 0x1001339c
mov eax, esi
xor edi, edi
cmp ecx, edi
je 0x10001c24
cmp word [eax], 0
je 0x10001c29
add eax, 2
inc edi
jmp 0x10001c14
cmp ecx, 0xffffffff
je 0x10001c18
test edi, edi
je 0x1001339c
cmp edi, 3
jge 0x10001c67
lea eax, [ebx + 2]
mov byte [ebx], 2
test edi, edi
jle 0x10001c7d
mov ecx, eax
sub esi, eax
mov edx, edi
mov ebx, edi
jmp 0x10001c50
mov di, word [esi + ecx]
mov word [ecx], di
add ecx, 2
dec edx
jne 0x10001c50
mov word [eax + ebx*2], dx
pop edi
pop esi
pop ebx
ret 8
lea ecx, [edi + edi + 2]
push ecx
call dword [0x10039f88]
add esp, 4
mov dword [ebx + 4], eax
mov byte [ebx], 4
jmp 0x10001c3c
pop edi
xor ebx, ebx
xor edx, edx
pop esi
mov word [eax + ebx*2], dx
pop ebx
ret 8
add byte [eax], al
Function at 0x10001f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
movzx eax, word [esi]
movzx ecx, word [edi]
cmp ax, cx
jne 0x10001f67
test ax, ax
je 0x10001f5f
add esi, 2
add edi, 2
jmp 0x10001f47
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
test ax, ax
je 0x10012cdc
test cx, cx
je 0x10012ce4
lea ebp, [eax - 0x20]
cmp bp, 0x5f
ja 0x10012cf6
lea edx, [ecx - 0x20]
cmp dx, 0x5f
ja 0x10012cf6
cmp byte [esp + 0x10], 0
je 0x10012cee
cmp eax, 0x61
jae 0x10012cba
cmp ecx, 0x61
jae 0x10012ccb
cmp ax, cx
je 0x10001f57
sbb eax, eax
pop edi
and eax, 0xfffffffe
pop esi
inc eax
pop ebp
ret 4
add al, 0x50
inc edx
add eax, dword [ecx]
or byte [esi + 0x57], dl
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10012d2e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10012d15
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10012d26
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10012d30
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10012d0b
xor eax, eax
pop edi
pop esi
ret

Function at 0x10001fd0
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10013153
cmp word [esi], 0
je 0x10013153
mov al, byte [ecx]
test al, al
je 0x10013130
cmp al, 1
je 0x10013137
cmp al, 3
je 0x10013137
push 1
call sym.Ac1st19.dll_public:_wchar_t_const____thiscall_AcString::kwszPtr_void_const
mov ecx, eax
mov eax, esi
call fcn.10001f40
pop esi
ret 4
invalid
inc ebp
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x10002310
Capabilities:
Inspect section memory permissions

Disassembly:
push ecx
mov ecx, dword [eax + 4]
push ebp
push esi
push edi
mov edi, dword [ecx + 4]
cmp byte [edi + 0x15], 0
mov ebp, ecx
jne 0x10002376
mov ecx, dword [esp + 0x18]
push ebx
mov ebx, dword [ecx]
lea esp, [esp]
mov edx, dword [edi + 0xc]
mov esi, ebx
jmp 0x10002340
mov cx, word [edx]
cmp cx, word [esi]
jne 0x100023d9
test cx, cx
je 0x10002366
mov cx, word [edx + 2]
cmp cx, word [esi + 2]
jne 0x100023d9
add edx, 4
add esi, 4
test cx, cx
jne 0x10002340
xor ecx, ecx
test ecx, ecx
jns 0x100023d3
mov edi, dword [edi + 8]
cmp byte [edi + 0x15], 0
je 0x10002330
pop ebx
mov edi, dword [eax + 4]
mov dword [esp + 0xc], ebp
cmp ebp, edi
je 0x100023bc
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0xc]
mov edx, dword [edx]
lea ebx, [ebx]
mov cx, word [edx]
cmp cx, word [esi]
jne 0x100023e0
test cx, cx
je 0x100023b2
mov cx, word [edx + 2]
cmp cx, word [esi + 2]
jne 0x100023e0
add edx, 4
add esi, 4
test cx, cx
jne 0x10002390
xor ecx, ecx
test ecx, ecx
jns 0x100133d3
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x18]
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
pop ecx
ret 8
mov ebp, edi
mov edi, dword [edi]
jmp 0x1000236f
sbb ecx, ecx
sbb ecx, 0xffffffff
jmp 0x10002368
sbb ecx, ecx
sbb ecx, 0xffffffff
jmp 0x100023b4
jge 0x100133e5
Function at 0x100024e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10037018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov al, byte [edi]
mov byte [ebp - 0xa], 0
cmp al, 4
jne 0x100025ff
test al, al
je 0x100132ab
cmp al, 2
je 0x1000260c
cmp al, 4
jne 0x100132b5
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
cmp word [eax], 0
mov ecx, 1
je 0x1000253a
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x10002530
mov al, byte [edi]
lea ebx, [ecx - 1]
mov dword [ebp - 0x10], ebx
cmp al, 2
je 0x10002552
mov byte [ebp - 0xa], 1
cmp al, 5
je 0x10013384
cmp word [esi], 0
mov edi, 1
je 0x1000256a
mov eax, esi
nop
add eax, 2
inc edi
cmp word [eax], 0
jne 0x10002560
add edi, ebx
cmp edi, 3
setbe dl
mov byte [ebp - 9], dl
test dl, dl
jne 0x10002617
lea ecx, [edi + edi]
push ecx
call dword [0x10039f88]
mov edx, dword [ebp + 8]
mov byte [edx], 4
mov dl, byte [ebp - 9]
add esp, 4
test ebx, ebx
je 0x100025b6
mov edx, dword [ebp - 8]
mov ecx, eax
sub edx, eax
mov esi, ebx
mov bx, word [edx + ecx]
mov word [ecx], bx
add ecx, 2
dec esi
jne 0x100025a0
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 9]
cmp ebx, edi
jae 0x100025cf
mov ecx, ebx
lea esp, [esp]
mov bx, word [esi]
mov word [eax + ecx*2], bx
inc ecx
add esi, 2
cmp ecx, edi
jb 0x100025c0
test dl, dl
jne 0x100025d9
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp byte [ebp - 0xa], 0
je 0x100025e9
mov edx, dword [ebp - 8]
push edx
call dword [0x10039f90]
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001032e
mov esp, ebp
pop ebp
ret 8
cmp al, 2
je 0x10002507
jmp 0x1001325b
lea eax, [edi + 2]
mov dword [ebp - 8], eax
jmp 0x10002525
mov eax, dword [ebp + 8]
cmp byte [eax], 2
jne 0x10013392
xor cl, cl
add eax, 2
test cl, cl
je 0x100025b6
jmp 0x10002593
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x100132e9
adc byte [ebx + 0x74c33b00], cl
aaa
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x100132c4
add byte [eax + 0x74300c8d], al
or byte [0xffff], ah
and eax, 0xffff
push eax
jmp 0x100132c8
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10012c78
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x100134a2
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x100132a9
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x1001324a
add byte [eax], al
add byte [eax - 0x15], ah
push ds
mov dword [ecx + eax], 0x948b0000
invalid
Function at 0x10002640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x1000265e
cmp word [edi], 0
je 0x1000265e
cmp byte [esi], 0
je 0x10002665
push edi
push esi
call fcn.100024e0
pop edi
mov eax, esi
pop esi
ret 4
push ebx
mov eax, edi
xor ebx, ebx
lea ebx, [ebx]
cmp word [eax], 0
je 0x1000267c
add eax, 2
inc ebx
jmp 0x10002670
test ebx, ebx
je 0x10013baa
cmp ebx, 3
jge 0x10013bbc
lea eax, [esi + 2]
mov byte [esi], 2
push ebp
test ebx, ebx
jle 0x100026ba
mov ecx, eax
sub edi, eax
mov edx, ebx
mov ebp, ebx
mov bx, word [edi + ecx]
mov word [ecx], bx
add ecx, 2
dec edx
jne 0x100026a0
mov word [eax + ebp*2], dx
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret 4
xor ebp, ebp
xor edx, edx
mov word [eax + ebp*2], dx
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret 4
ror byte [ebp - 0x65243], 0xff
add byte [edx + 0x40], ch
Function at 0x10002ad0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esi + 8]
push ebp
mov ebp, dword [esp + 0x14]
cmp ecx, 0x1ffffffe
jae 0x100133bd
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esi + 8], ecx
mov dword [ebp + 4], eax
mov ecx, dword [esi + 4]
push ebx
mov ebx, dword [esp + 0xc]
cmp eax, ecx
je 0x10002c0e
cmp byte [esp + 0x10], 0
je 0x10002b9b
mov dword [eax], ebp
mov ecx, dword [esi + 4]
cmp eax, dword [ecx]
je 0x10002c07
mov edx, dword [ebp + 4]
cmp byte [edx + 0x14], 0
jne 0x10002b5b
push edi
mov edi, ebp
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
cmp eax, dword [ecx]
je 0x10002b6e
mov ecx, dword [ecx]
cmp byte [ecx + 0x14], 0
jne 0x10002bcc
mov byte [eax + 0x14], 1
mov byte [ecx + 0x14], 1
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x14], 0
mov edx, dword [edi + 4]
mov edi, dword [edx + 4]
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x14], 0
je 0x10002b23
pop edi
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov byte [eax + 0x14], 1
mov dword [ebx], ebp
mov eax, ebx
pop ebx
pop ebp
ret 0x10
mov ecx, dword [ecx + 8]
cmp byte [ecx + 0x14], 0
je 0x10002bb2
cmp edi, dword [eax + 8]
je 0x10002bfa
mov ecx, dword [edi + 4]
mov byte [ecx + 0x14], 1
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov byte [eax + 0x14], 0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
push esi
call fcn.10001b80
jmp 0x10002b51
mov dword [eax + 8], ebp
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 8]
jne 0x10002b17
mov dword [ecx + 8], ebp
jmp 0x10002b17
mov byte [eax + 0x14], 1
mov byte [ecx + 0x14], 1
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov byte [edx + 0x14], 0
mov eax, dword [edi + 4]
mov edi, dword [eax + 4]
jmp 0x10002b51
cmp edi, dword [eax]
jne 0x10002bd8
push esi
mov edi, eax
call fcn.10001b80
mov eax, dword [edi + 4]
mov byte [eax + 0x14], 1
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov byte [edx + 0x14], 0
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
push esi
call fcn.10001a90
jmp 0x10002b51
push esi
mov edi, eax
call fcn.10001a90
jmp 0x10002b7c
mov dword [ecx], ebp
jmp 0x10002b17
mov dword [ecx + 4], ebp
mov eax, dword [esi + 4]
mov dword [eax], ebp
mov ecx, dword [esi + 4]
mov dword [ecx + 8], ebp
jmp 0x10002b17
push esp
invalid
Function at 0x100037b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10037018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
test ax, ax
je 0x100038c6
mov word [ebp - 0x14], ax
mov al, byte [edi]
xor ecx, ecx
mov dword [ebp - 0xc], edi
mov word [ebp - 0x12], cx
test al, al
je 0x100038f1
mov byte [ebp - 6], cl
cmp al, 4
jne 0x100038de
cmp al, 2
je 0x100038e6
cmp al, 4
jne 0x10013ca1
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
cmp word [eax], 0
mov ecx, 1
je 0x1000381f
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x10003815
mov al, byte [edi]
lea ebx, [ecx - 1]
cmp al, 2
je 0x10003834
mov byte [ebp - 6], 1
cmp al, 5
je 0x10013d61
lea eax, [ebp - 0x14]
mov ecx, 1
lea esp, [esp]
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x10003840
lea esi, [ecx + ebx]
mov dword [ebp - 0x18], esi
cmp esi, 3
jbe 0x10003934
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
jne 0x1000393d
lea eax, [esi + esi]
push eax
call sym.Ac1st19.dll_void____stdcall___acMalloc_unsigned_int_
mov byte [edi], 4
test ebx, ebx
je 0x10003893
mov edx, dword [ebp - 0x10]
mov ecx, eax
sub edx, eax
mov esi, ebx
mov di, word [edx + ecx]
mov word [ecx], di
add ecx, 2
dec esi
jne 0x10003880
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
cmp ebx, esi
jae 0x100038ae
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
shr ecx, 1
lea edi, [eax + ebx*2]
lea esi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0xc]
cmp byte [ebp - 5], 0
jne 0x100038b7
mov dword [edi + 4], eax
cmp byte [ebp - 6], 0
je 0x100038c6
mov ecx, dword [ebp - 0x10]
push ecx
call sym.Ac1st19.dll_void___stdcall___acFree_void__
mov eax, edi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001032e
mov esp, ebp
pop ebp
ret 4
cmp al, 2
jne 0x10013c58
lea eax, [edi + 2]
mov dword [ebp - 0x10], eax
jmp 0x1000380a
or edx, 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003000
test eax, eax
je 0x10013c31
mov ebx, eax
cmp ebx, 3
jge 0x10013c43
lea eax, [edi + 2]
mov byte [edi], 2
test ebx, ebx
jle 0x10003958
mov ecx, ebx
shr ecx, 1
lea esi, [ebp - 0x14]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0xc]
xor edx, edx
mov word [eax + ebx*2], dx
jmp 0x100038c6
mov byte [ebp - 5], 1
jmp 0x1000385d
cmp byte [edi], 2
jne 0x10013d6f
xor cl, cl
lea eax, [edi + 2]
test cl, cl
je 0x10003893
jmp 0x10003873
xor ecx, ecx
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100038c6
test dword [eax + 0x38fffffc], esp
invalid
push dword [esi]
test dword [esp + edi*8], ebp
invalid
mov al, 0xfa
invalid
pop esp
jne 0x10013d7f
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp 0x10013d9c