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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 2
push 0x20019
mov eax, dword [ebp + 0xc]
push eax
call sym.vtvbtoyx.dll__SetupDiOpenClassRegKeyExW_20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x10007578
mov ecx, dword [ebp + 0x14]
and ecx, 4
je 0x10007552
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x1000744c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 0
jne 0x10007550
lea eax, [ebp - 0x74]
push eax
call 0x10000000
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000754b
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x74]
cmp ecx, 0x7b
jne 0x1000754b
mov edx, 2
imul eax, edx, 0x25
movzx ecx, word [ebp + eax - 0x74]
cmp ecx, 0x7d
jne 0x1000754b
mov edx, 2
imul eax, edx, 0x25
xor ecx, ecx
mov word [ebp + eax - 0x74], cx
lea edx, [ebp - 0x24]
push edx
mov eax, 2
shl eax, 0
lea ecx, [ebp + eax - 0x74]
push ecx
call dword [0x10000000]
mov edx, 2
imul eax, edx, 0x25
mov ecx, 0x7d
mov word [ebp + eax - 0x74], cx
mov edx, 2
imul eax, edx, 0x26
xor ecx, ecx
mov word [ebp + eax - 0x74], cx
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000754b
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100071b0
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10007443
jmp 0x1000756e
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100071b0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10007580
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x100075a2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x1000772c
lea ecx, [ebp - 0x410]
push ecx
call 0x10000000
add esp, 4
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10007727
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10007720
mov dword [ebp - 0xc], 0x50
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x10009314
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10007716
cmp dword [ebp - 0x14], 1
jne 0x10007716
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x78]
cmp eax, 0x7b
jne 0x10007716
mov ecx, 2
imul edx, ecx, 0x25
movzx eax, word [ebp + edx - 0x78]
cmp eax, 0x7d
jne 0x10007716
mov ecx, 2
imul edx, ecx, 0x25
xor eax, eax
mov word [ebp + edx - 0x78], ax
lea ecx, [ebp - 0x28]
push ecx
mov edx, 2
shl edx, 0
lea eax, [ebp + edx - 0x78]
push eax
call dword [0x10000000]
mov ecx, dword [ebp + 0x1c]
and ecx, 4
jne 0x100076c5
push 0x10
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x18]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10007716
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str._s_s_s
lea ecx, [ebp - 0x208]
push ecx
call 0x10000000
add esp, 4
push eax
lea edx, [ebp - 0x208]
push edx
call sub.MSVCRT.dll_swprintf
add esp, 0x18
cmp eax, 0xffffffff
je 0x10007716
push 0
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10006ee0
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
jmp 0x10007599
mov esp, ebp
pop ebp
ret
Function at 0x10007730
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x10007758
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0
jne 0x100077fc
lea edx, [ebp - 0x21c]
push edx
call 0x10000000
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100077f7
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100077f0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.10007580
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
jmp 0x1000774f
mov esp, ebp
pop ebp
ret
Function at 0x10007800
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SystemCurrentControlSetEnum
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100079d5
cmp dword [ebp + 0x10], 0
je 0x10007912
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000790d
push 0x5c
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MSVCRT.dll_wcschr
add esp, 8
test eax, eax
jne 0x10007899
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10007730
add esp, 0x14
jmp 0x10007903
mov ecx, dword [ebp + 0x10]
push ecx
call 0x10000000
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10007903
push 0x5c
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCRT.dll_wcschr
add esp, 8
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10007580
add esp, 0x18
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100079cb
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x1000792b
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 4], 0
jne 0x100079cb
lea eax, [ebp - 0x228]
push eax
call 0x10000000
add esp, 4
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100079c6
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100079bf
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10007730
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
jmp 0x10007922
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10007a10
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
lea eax, [ebp - 8]
push eax
push 0x104
lea ecx, [ebp - 0x418]
push ecx
push 0x10009314
push 0x100093c8
mov edx, dword [ebp + 8]
push edx
push 0
call dword [0x10000000]
test eax, eax
jne 0x10007a4b
or eax, 0xffffffff
jmp 0x10007b49
push str.SystemCurrentControlSetControlClass
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10009158
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x210]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10007b01
lea eax, [ebp - 8]
push eax
push 0x104
lea ecx, [ebp - 0x418]
push ecx
push 0x10009328
push 0x100093c8
mov edx, dword [ebp + 8]
push edx
push 0
call dword [0x10000000]
test eax, eax
jne 0x10007ad3
or eax, 0xffffffff
jmp 0x10007b49
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10007b01
or eax, 0xffffffff
jmp 0x10007b49
mov edx, dword [ebp - 8]
shl edx, 1
push edx
lea eax, [ebp - 0x418]
push eax
push 1
push 0
push 0x10009328
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10007b46
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
or eax, 0xffffffff
jmp 0x10007b49
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10007f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [str.Properties_]
mov dword [ebp - 0x88], eax
mov ecx, dword [0x1000d8e0]
mov dword [ebp - 0x84], ecx
mov edx, dword [0x1000d8e4]
mov dword [ebp - 0x80], edx
mov eax, dword [0x1000d8e8]
mov dword [ebp - 0x7c], eax
mov ecx, dword [0x1000d8ec]
mov dword [ebp - 0x78], ecx
mov edx, dword [0x1000d8f0]
mov dword [ebp - 0x74], edx
push 0x56
push 0
lea eax, [ebp - 0x70]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
jne 0x10007faa
mov eax, 0xd
jmp 0x100080ff
cmp dword [ebp + 0x10], 0
je 0x10007fbc
cmp dword [ebp + 0x14], 0
jne 0x10007fc6
cmp dword [ebp + 0x18], 0
je 0x10007fc6
mov eax, 0x6f8
jmp 0x100080ff
cmp dword [ebp + 0x20], 0
je 0x10007fd6
mov eax, 0x3ec
jmp 0x100080ff
lea ecx, [ebp - 0x72]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10006110
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
push str._04X
lea edx, [ebp - 0x88]
push edx
call 0x10000000
add esp, 4
sub eax, 0x31
push eax
lea eax, [ebp - 0x26]
push eax
call sub.MSVCRT.dll_swprintf
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10008063
mov edx, dword [ebp + 0x18]
mov dword [ebp - 8], edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x10008080
cmp dword [ebp - 0xc], 2
je 0x100080b4
cmp dword [ebp - 0xc], 0xea
je 0x10008080
jmp 0x100080cd
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp - 4], 0xea
je 0x100080a5
cmp dword [ebp + 0x14], 0
je 0x100080a5
mov dword [ebp - 0x14], 0
jmp 0x100080ac
mov dword [ebp - 0x14], 0x7a
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x100080ee
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x490
jmp 0x100080ee
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
push str.Unhandled_error__x_n
call 0x10000000
add esp, 8
cmp dword [ebp + 0x1c], 0
je 0x100080fc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10008140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x20
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x100081f9
mov ecx, dword [ebp - 0xc]
push ecx
call 0x10000000
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
push 0x20
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x100081ed
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x100081b9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x100081ed
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x100081eb
mov ecx, dword [ebp - 8]
push ecx
call 0x10000000
add esp, 4
mov eax, 1
jmp 0x100081fb
jmp 0x100081a5
mov edx, dword [ebp - 8]
push edx
call 0x10000000
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xf5b9fe
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0xf5ba04
pop ebp
sub ebp, 0x10
sub ebp, 0xb5b9f4
jmp 0xf5ba1a
mov eax, 0xb5b9f4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bc
mov edx, 0xf7450fcf
xor byte [eax], dl
inc eax
dec ecx
jne 0xf5ba31
jmp 0xf5ba44
inc esp
add al, byte [esi + eax*2 - 0xd]
iretd
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x431340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x1d000]
push edi
or ebp, 0xffffffff
jmp 0x431362
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x431369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431358
mov eax, 1
add ebx, ebx
jne 0x43137b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x431370
jne 0x43138c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431370
xor ecx, ecx
sub eax, 3
jb 0x4313a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x431412
mov ebp, eax
add ebx, ebx
jne 0x4313ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4313b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4313dc
inc ecx
add ebx, ebx
jne 0x4313c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4313bd
jne 0x4313d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4313bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4313fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4313ed
jmp 0x43135e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4313fc
add edi, ecx
jmp 0x43135e
pop esi
mov edi, esi
mov ecx, 0xc2e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43141a
cmp byte [edi], 0xa
jne 0x43141a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43141f
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x431497
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31400]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x314b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43144c
mov ecx, edi
jns 0x43147b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x314b8]
or eax, eax
je 0x431491
mov dword [ebx], eax
add ebx, 4
jmp 0x431469
call dword [esi + 0x314bc]
popal
jmp 0x41795f
Function at 0x2e4142
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x38]
push eax
push dword [esp + 0x38]
push edx
push ecx
call fcn.002e6dc3
mov ecx, dword [eax]
lea ebp, [eax + 4]
mov edi, dword [ebp]
add esp, 0x14
mov dword [esp + 0x1c], 0x92889
xor edi, ecx
mov dword [esp + 0x20], 0xe27f2
add ebp, 4
mov dword [esp + 0x24], 0x2967a
mov dword [esp + 0x28], 0x68e00
mov dword [esp + 0x10], 0x2b5038
xor dword [esp + 0x10], 0xf8623106
or dword [esp + 0x10], 0x188404b8
add dword [esp + 0x10], 0xe4a8
xor dword [esp + 0x10], 0xf8ce4a67
mov dword [esp + 0x34], 0xd36d71
or dword [esp + 0x34], 0x65ec4c62
imul eax, dword [esp + 0x34], 0x5c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], eax
xor dword [esp + 0x34], 0xb1a6b198
xor dword [esp + 0x34], 0x166de4c8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add ecx, edi
mov esi, dword [esp + 0x10]
dec eax
add esi, edi
test eax, ecx
je 0x2e4208
mov eax, dword [esp + 0x34]
dec eax
not eax
and esi, eax
add esi, dword [esp + 0x34]
mov dword [esp + 0x34], 0xdbb4d4
mov edx, esi
add dword [esp + 0x34], 0x8a88
shl dword [esp + 0x34], 0xd
shl dword [esp + 0x34], 0xd
xor dword [esp + 0x34], 0x700abd10
mov dword [esp + 0x10], 0x5bec98
shr dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x4f107
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
push ecx
call fcn.002e32c0
mov ebx, eax
mov dword [esp + 0x14], ebx
pop ecx
test ebx, ebx
je 0x2e42bc
and dword [esp + 0x34], 0
xor eax, eax
shr esi, 2
mov edx, ebx
lea ecx, [esi*4]
add ecx, ebp
mov esi, ecx
sub esi, ebp
add esi, 3
shr esi, 2
cmp ebp, ecx
cmova esi, eax
test esi, esi
je 0x2e42b8
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp]
lea ebp, [ebp + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc edi
mov byte [edx - 1], cl
cmp edi, esi
jb 0x2e428a
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov byte [ebx + edi], 0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret
Function at 0x2e7834
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push dword [esp + 0x30]
mov ebp, ecx
push ebx
push dword [esp + 0x30]
push edx
push ebp
call fcn.002e6dc3
and dword [esp + 0x30], 0
add esp, 0x14
and dword [esp + 0x20], 0
xor edx, edx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x18], 0xeded2
add ecx, ebx
mov dword [esp + 0xc], 0xa6709b
mov eax, dword [esp + 0xc]
push 0x1a
pop esi
div esi
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x666cf
mov eax, dword [esp + 0xc]
sub ebp, dword [ecx + 0x34]
mov dword [esp + 0xc], ebp
mov edx, dword [ecx + eax*8 + 0x78]
mov ebp, dword [ecx + eax*8 + 0x7c]
add edx, ebx
add ebp, edx
mov dword [esp + 0x14], ebp
cmp edx, ebp
jae 0x2e78f1
push edi
mov edi, dword [edx + 4]
lea esi, [edx + 8]
add edi, edx
cmp esi, edi
jae 0x2e78e9
mov ebp, dword [esp + 0x10]
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x14], 0x3000
and ecx, 0xfff
and eax, 0xf000
add ecx, dword [edx]
add ecx, ebx
cmp ax, word [esp + 0x14]
jne 0x2e78de
add dword [ecx], ebp
add esi, 2
cmp esi, edi
jb 0x2e78b9
mov ebp, dword [esp + 0x18]
add edx, dword [edx + 4]
cmp edx, ebp
jb 0x2e78a9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x2e9319
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
push dword [esp + 0x3c]
push ebp
push dword [esp + 0x3c]
push edx
push ecx
call fcn.002e6dc3
mov eax, dword [ebp + 0x3c]
xor esi, esi
mov dword [esp + 0x3c], 0xd9fc2
add eax, ebp
mov dword [esp + 0x40], esi
add esp, 0x14
mov dword [esp + 0x38], 0x1e8e79
mov edi, esi
or dword [esp + 0x38], 0x8c620c89
xor dword [esp + 0x38], 0x8c7e8ef9
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ebx, dword [eax + ecx*8 + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, ebp
mov dword [esp + 0x1c], eax
add ecx, ebp
mov eax, dword [ebx + 0x24]
add eax, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x18], esi
jbe 0x2e941a
mov eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x34]
add eax, ebp
mov dword [esp + 0x10], 0xa37fae
shl dword [esp + 0x10], 0xd
xor dword [esp + 0x10], 0x6ff08ee6
mov dword [esp + 0x38], 0x7490db
or dword [esp + 0x38], 0xbbfffefa
xor dword [esp + 0x38], 0xbbf8104b
push dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push eax
call fcn.002f7fe1
pop ecx
pop ecx
test eax, eax
je 0x2e93f0
mov ecx, dword [esp + 0x14]
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x2e939a
jmp 0x2e941a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
movzx eax, word [eax + edi*2]
mov esi, dword [esi + eax*4]
add esi, ebp
cmp esi, ebx
jb 0x2e941a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*8 + 0x7c]
xor eax, eax
add ecx, ebx
cmp esi, ecx
cmovb esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret