joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10197c5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1005dd8
push 0x80000002
mov dword [ebp - 8], 0xd3d
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101981d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1005dbc
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x1019c90
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x138c
call fcn.01017ee0
mov eax, dword [0x101f128]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x138c]
push eax
call sub.msvcrt.dll_vswprintf
lea eax, [ebp - 0x138c]
push 0x100624c
push eax
call sub.ntdll.dll_wcscat
mov eax, dword [0x101f1e8]
mov ecx, dword [ebp + 8]
and eax, 0xf
and ecx, 0xf
add esp, 0x14
cmp cl, al
jl 0x1019d22
test byte [ebp + 8], 0x10
je 0x1019cf4
lea eax, [ebp - 0x138c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x101fba0], 0
je 0x1019d22
lea eax, [ebp - 0x138c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [ebp - 0x138c]
push eax
push dword [0x101fba0]
call sub.msvcrt.dll__write
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.0101793c
leave
ret 0xc
Function at 0x101ae29
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 0xc], 0
mov eax, dword [0x101f128]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov eax, 0x1007788
jne 0x101ae56
mov eax, 0x1007780
push esi
push edi
push eax
push 0x1007760
call fcn.01019d33
mov esi, dword [sym.imp.WS2_32.dll_htons]
xor eax, eax
mov edi, 0x101fb60
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
push 0x8ba
mov word [0x101fb60], 2
call esi
mov word [0x101fb62], ax
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
mov word [ebp - 0x14], 2
call esi
cmp dword [ebp + 0xc], edi
mov word [ebp - 0x12], ax
je 0x101aec0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0x7f000001
call esi
push edi
mov dword [0x101fb64], eax
call esi
jmp 0x101aed3
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x101fb64], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push edi
push 2
push 2
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_socket]
or esi, 0xffffffff
cmp eax, esi
mov dword [0x101fb78], eax
jne 0x101aef4
push 0x10076f0
jmp 0x101af3b
push 4
lea ecx, [ebp - 0x20]
push ecx
push 0x20
push 0xffff
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, esi
jne 0x101af20
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x10076b4
jmp 0x101af3b
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [0x101fb78]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x101af43
push 0x1007650
call fcn.01019d67
pop ecx
jmp 0x101af56
mov dword [0x101fb34], 0x30d4
call fcn.0101a7e2
test eax, eax
je 0x101af6f
mov eax, dword [0x101fb78]
cmp eax, esi
mov dword [ebp - 0x18], edi
je 0x101af6f
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x101fb78], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
call fcn.0101793c
leave
ret 8
Function at 0x101b005
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101f128]
and dword [ebp - 0x38], 0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0x10078b0
mov dword [ebp - 0x40], eax
call fcn.01019d33
pop ecx
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
je 0x101b19f
mov esi, dword [sym.imp.WS2_32.dll_htonl]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x7f000001
mov word [ebp - 0x14], 2
call esi
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push 0x8ba
mov dword [ebp - 0x10], eax
call ebx
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x101b09a
push 0x100788c
mov dword [ebp - 0x38], 1
call fcn.01019d33
pop ecx
push dword [ebp - 0x3c]
call dword [sym.imp.WS2_32.dll_closesocket]
xor edi, edi
cmp dword [ebp - 0x38], edi
je 0x101b19f
push edi
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
jne 0x101b0d4
push 0x1007870
mov dword [ebp - 0x38], edi
call fcn.01019d33
pop ecx
jmp 0x101b185
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
mov word [ebp - 0x14], 2
call esi
push edi
mov dword [ebp - 0x10], eax
call ebx
push 0x10
pop esi
mov word [ebp - 0x12], ax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x101b117
push 0x1007844
call fcn.01019d33
pop ecx
mov dword [ebp - 0x38], edi
jmp 0x101b185
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x48], esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x101b136
push 0x1007818
jmp 0x101b10c
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.0101ae29
test eax, eax
jne 0x101b14c
push 0x10077ec
jmp 0x101b10c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x32]
push edi
call fcn.0101a95a
test eax, eax
je 0x101b173
push 0x1005f10
mov dword [ebp - 0x38], edi
call fcn.01019d67
jmp 0x101b0ce
mov edi, dword [ebp - 0x40]
push dword [ebp - 0x44]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0101acaf
cmp dword [ebp - 0x3c], 0xffffffff
je 0x101b194
push dword [ebp - 0x3c]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 0x38], 0
mov eax, 0x1007788
jne 0x101b1a4
mov eax, 0x1007780
push eax
push 0x1007790
call fcn.01019d33
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101793c
leave
ret 4
Function at 0x101b546
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
call fcn.0101b4c6
mov esi, eax
cmp esi, edi
jne 0x101b5ed
call fcn.0101b4f6
cmp eax, edi
mov dword [ebp - 8], eax
je 0x101b58b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 8]
push 0x10078f8
call fcn.0101b209
jmp 0x101b591
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0101b4e4
cmp esi, edi
jne 0x101b5ed
lea eax, [ebp - 4]
push eax
push 0x2001b
push edi
push 0x1001c30
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x101b5df
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push edi
push 0x1007988
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp dword [ebp - 4], edi
je 0x101b5ed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x101b5fc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x101b607
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
call fcn.0101b4c6
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x101b681
push edi
push edi
push 0x10078f8
call fcn.0101b209
mov esi, eax
call fcn.0101b4e4
cmp esi, edi
jne 0x101b681
lea eax, [ebp - 4]
push eax
push 0x2001b
push edi
push 0x1001c30
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x101b673
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x1007988
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp dword [ebp - 4], edi
je 0x101b681
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x101b68c
Capabilities:
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x101b75f
cmp dword [0x101fb20], ebx
je 0x101b75f
cmp dword [ebp + 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x101b6f9
push dword [ebp + 8]
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
add edi, eax
lea eax, [edi + edi + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x101b767
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x8003
push dword [0x101fb20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x101b757
cmp edi, ebx
push ebx
je 0x101b722
push edi
call esi
shl eax, 1
push eax
push edi
jmp 0x101b72d
push dword [ebp + 0xc]
call esi
shl eax, 1
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, ebx
je 0x101b757
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push 0x6801
push dword [0x101fb20]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x101b767
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101b767
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 4], ebx
je 0x101b775
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp edi, ebx
je 0x101b780
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x101b78f
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call fcn.0101b4c6
test eax, eax
mov dword [ebp - 4], eax
jne 0x101b7ee
cmp dword [0x101fb20], eax
jne 0x101b7e9
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
push eax
push 1
push 0x10079d0
mov ebx, 0x10079a0
push ebx
mov edi, 0x101fb20
push edi
call esi
test eax, eax
jne 0x101b7e6
push 8
push 1
push 0x10079d0
push ebx
push edi
call esi
test eax, eax
jne 0x101b7e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
pop edi
pop esi
pop ebx
call fcn.0101b4e4
mov eax, dword [ebp - 4]
leave
ret
Function at 0x101bb41
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push edi
push 1
push ebx
mov dword [ebp - 4], edi
call esi
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x101bb75
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bbc5
push eax
push 0x40
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x101bb92
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bbba
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edi
push 1
push ebx
call esi
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
jne 0x101bbba
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esi, eax
test edi, edi
je 0x101bbc5
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x101bc07
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0xf0000000
xor ebx, ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x101bc81
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8004
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x101bc81
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x101bc81
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop eax
push ebx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x101bc8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x101bd3e
push esi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call esi
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x101bcb4
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x101bcbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x101bd2f
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.0101c0bf
mov edi, eax
cmp edi, ebx
jne 0x101bd2f
mov eax, dword [ebp - 4]
inc eax
push eax
push 0x40
call esi
mov esi, eax
cmp esi, ebx
jne 0x101bced
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x101bd24
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.0101c0bf
mov edi, eax
cmp edi, ebx
jne 0x101bd24
mov eax, dword [ebp - 4]
add eax, esi
cmp byte [eax - 1], 0xa
jne 0x101bd1b
cmp byte [eax - 2], 0xd
jne 0x101bd1b
mov byte [eax - 2], bl
sub dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0100b21d
cmp esi, ebx
je 0x101bd2f
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 0xc], ebx
pop esi
je 0x101bd3e
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], ebx
je 0x101bd4c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x10], ebx
je 0x101bd5b
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop ebx
leave
ret 0xc
Function at 0x101c0bf
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push 3
xor edx, edx
pop ecx
lea eax, [esi + 2]
div ecx
mov ecx, dword [ebp + 0x10]
shl eax, 2
test ecx, ecx
jne 0x101c0eb
lea ecx, [eax + 0x3f]
shr ecx, 6
lea ecx, [eax + ecx*2]
jmp 0x101c1bc
and dword [ebp - 4], 0
test esi, esi
jle 0x101c1b4
push ebx
push edi
cmp dword [ebp - 4], 0x10
jne 0x101c10b
and dword [ebp - 4], 0
mov byte [ecx], 0xd
inc ecx
mov byte [ecx], 0xa
inc ecx
inc dword [ebp - 4]
xor eax, eax
lea edi, [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp esi, 1
mov al, byte [eax]
jbe 0x101c140
mov edx, dword [ebp + 8]
mov dl, byte [edx]
inc dword [ebp + 8]
cmp esi, 2
mov byte [ebp + 0xd], dl
jbe 0x101c140
mov edx, dword [ebp + 8]
mov bl, byte [edx]
inc dword [ebp + 8]
mov byte [ebp + 0xe], bl
jmp 0x101c143
mov bl, byte [ebp + 0xe]
movzx eax, al
mov edx, eax
shr edx, 2
mov dl, byte [edx + 0x1007c88]
mov byte [ecx], dl
movzx edx, byte [ebp + 0xd]
shl eax, 4
mov edi, edx
shr edi, 4
or edi, eax
and edi, 0x3f
mov al, byte [edi + 0x1007c88]
inc ecx
mov byte [ecx], al
inc ecx
cmp esi, 1
jbe 0x101c18a
movzx eax, bl
shr eax, 6
shl edx, 2
or eax, edx
and eax, 0x3f
movzx eax, byte [eax + 0x1007c88]
jmp 0x101c18d
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
cmp esi, 2
jbe 0x101c1a1
and ebx, 0x3f
movzx eax, byte [ebx + 0x1007c88]
jmp 0x101c1a4
push 0x3d
pop eax
mov byte [ecx], al
sub esi, 3
inc ecx
test esi, esi
jg 0x101c0f9
pop edi
pop ebx
mov byte [ecx], 0xd
inc ecx
mov byte [ecx], 0xa
inc ecx
sub ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x10001bc2
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x1003d099
movzx edx, word [ecx + 0x32]
mov eax, edx
push esi
cmp edx, 0x46
jne 0x1003d0c0
mov eax, dword [ecx]
and eax, 8
or eax, 0
jne 0x1003d20d
mov dword [ecx + 0x1c], 7
pop esi
jmp fcn.10002f68
cmp edx, 0x4e
jne 0x1003d0ec
mov eax, dword [ecx]
push 8
pop edx
and eax, edx
or eax, 0
jne 0x1003d20d
mov dword [ecx + 0x1c], edx
call fcn.10004412
mov dword [eax], 0x16
call fcn.10004534
xor al, al
pop esi
ret
cmp dword [ecx + 0x2c], 0
jne 0x1003d0d8
push 0x6a
pop esi
cmp ax, si
ja 0x1003d1c3
je 0x1003d1ba
cmp eax, 0x49
je 0x1003d154
cmp eax, 0x4c
je 0x1003d148
cmp eax, 0x54
je 0x1003d13c
push 0x68
pop edx
cmp ax, dx
jne 0x1003d20d
mov eax, dword [ecx + 0x10]
cmp word [eax], dx
jne 0x1003d135
add eax, 2
mov dword [ecx + 0x10], eax
xor eax, eax
inc eax
jmp 0x1003d20a
push 2
jmp 0x1003d209
mov dword [ecx + 0x2c], 0xd
jmp 0x1003d20d
mov dword [ecx + 0x2c], 8
jmp 0x1003d20d
mov edx, dword [ecx + 0x10]
movzx eax, word [edx]
cmp eax, 0x33
jne 0x1003d178
cmp word [edx + 2], 0x32
jne 0x1003d178
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xa
mov dword [ecx + 0x10], eax
jmp 0x1003d20d
cmp eax, 0x36
jne 0x1003d193
cmp word [edx + 2], 0x34
jne 0x1003d193
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xb
mov dword [ecx + 0x10], eax
jmp 0x1003d20d
cmp eax, 0x64
je 0x1003d1b1
cmp eax, 0x69
je 0x1003d1b1
cmp eax, 0x6f
je 0x1003d1b1
cmp eax, 0x75
je 0x1003d1b1
cmp eax, 0x78
je 0x1003d1b1
cmp eax, 0x58
jne 0x1003d20d
mov dword [ecx + 0x2c], 9
jmp 0x1003d20d
mov dword [ecx + 0x2c], 5
jmp 0x1003d20d
push 0x6c
pop esi
cmp ax, si
je 0x1003d1f5
cmp eax, 0x74
je 0x1003d1ec
cmp eax, 0x77
je 0x1003d1e3
cmp edx, 0x7a
jne 0x1003d20d
mov dword [ecx + 0x2c], 6
jmp 0x1003d20d
mov dword [ecx + 0x2c], 0xc
jmp 0x1003d20d
mov dword [ecx + 0x2c], 7
jmp 0x1003d20d
mov eax, dword [ecx + 0x10]
cmp word [eax], si
jne 0x1003d207
add eax, 2
mov dword [ecx + 0x10], eax
push 4
jmp 0x1003d209
push 3
pop eax
mov dword [ecx + 0x2c], eax
mov al, 1
pop esi
ret

Function at 0x10002875
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
inc esp
or byte [eax], bl
jbe fcn.100028b0

Function at 0x10002a27
Capabilities:
Enumerate pe sections

Disassembly:
xor ebx, ebx
cmp eax, ebx
je 0x1000302e
test ch, bh
invalid
add byte [eax], al
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.10002835
push dword [ecx + 0xf1ac007]
mov bh, 0x47
push es
lea eax, [eax + eax*4]

Function at 0x10002a2c
Capabilities:
Enumerate pe sections

Disassembly:
xor ebx, ebx
cmp eax, ebx
je 0x1000302e
test ch, bh
invalid
add byte [eax], al
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.10002835
push dword [ecx + 0xf1ac007]
mov bh, 0x47
push es
lea eax, [eax + eax*4]

Function at 0x10002b8a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10002835
xchg esp, eax
Function at 0x10002b99
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, byte [0x458db2b7]
call 0x60e8892b

Function at 0x10002bf8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
cwde
pop ss

Function at 0x10002c02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cwde
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x10002c57
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
inc ebp
salc
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67

Function at 0x10002c66
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
mov byte [di - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x10002cd0
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52

Function at 0x10002c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
mov byte [di - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
invalid

Function at 0x10002c7f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x10002cd0
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
jns 0x10002cab
inc ebp
invalid
invalid

Function at 0x10002ce8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esi
inc ebp
adc byte [ecx - 0x3a], 0x45
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
jns 0x10002cab
inc ebp
test dword [edx - 0x3a], esi
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
invalid

Function at 0x10002eb9
Capabilities:
Inspect section memory permissions

Disassembly:
jne 0x10002ece
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
cmp edx, ebx
jne 0x10003024