joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10108b20
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101af8d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10108b81
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
jmp 0x10108b9f
push 0x101d90b8
mov ecx, dword [ebp + 8]
call fcn.10005d80
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
jmp 0x10108c7e
lea ecx, [ebp - 0x1c]
call fcn.10005d40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x10108bf2
push 0x101d90bc
mov ecx, dword [ebp + 8]
call fcn.10005d80
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp + 8]
jmp 0x10108c7e
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02x_02x_02x_02x_02x_02x
lea edx, [ebp - 0x1c]
push edx
call fcn.10005660
add esp, 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10170335
add esp, 4
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1010ada0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.MiniBrowserOLOLO
lea ecx, [ebp - 8]
call fcn.10005d80
push 0
lea ecx, [ebp - 8]
call fcn.10004390
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1010ae07
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1010adeb
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [ebp - 8]
call fcn.10004390
push eax
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
jmp 0x1010adcb
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.10005e00
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10120e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b114e
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x83c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10004400
movzx eax, al
test eax, eax
je 0x10120ea8
mov byte [ebp - 0x835], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov al, byte [ebp - 0x835]
jmp 0x1012107c
mov dword [ebp - 0x828], 0
lea ecx, [ebp - 0x820]
push ecx
call fcn.100adfd0
add esp, 4
mov byte [ebp - 4], 1
push 0x101dc8a0
lea ecx, [ebp - 0x820]
call fcn.10025620
lea edx, [ebp - 0x828]
push edx
lea eax, [ebp - 0x824]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [ebp - 0x820]
call fcn.100043a0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x824], 0
jne 0x10120f40
mov byte [ebp - 0x836], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov al, byte [ebp - 0x836]
jmp 0x1012107c
lea ecx, [ebp - 0x81c]
call fcn.10020e50
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.10020ee0
mov dword [ebp - 0x82c], 0x400
mov dword [ebp - 0x830], 0
jmp 0x10120f90
mov edx, dword [ebp - 0x830]
add edx, 1
mov dword [ebp - 0x830], edx
mov dword [ebp - 0x82c], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x814]
push ecx
mov edx, dword [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0x103
je 0x10121037
lea ecx, [ebp + 8]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp - 0x83c]
call fcn.10128f90
test eax, eax
je 0x10121032
lea ecx, [ebp - 0x81c]
call fcn.10020fd0
mov byte [ebp - 0x837], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x81c]
call fcn.10020e80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov al, byte [ebp - 0x837]
jmp 0x1012107c
jmp 0x10120f77
lea ecx, [ebp - 0x81c]
call fcn.10020fd0
mov byte [ebp - 0x838], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x81c]
call fcn.10020e80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov al, byte [ebp - 0x838]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 4
Function at 0x10122750
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x101227a6
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebp + 8]
push ecx
push 0x101f1918
push 4
push 0
push 0x101f1958
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x101227a6
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0xa4]
call edx
mov eax, 1
jmp 0x101227a8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10129390
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b176e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x12c], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.1016f6c0
add esp, 0xc
mov dword [ebp - 0x12c], 0x114
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x128], 5
jne 0x1012940f
cmp dword [ebp - 0x124], 0
jne 0x1012940f
jmp 0x10129510
cmp dword [ebp + 8], 0
jne 0x101294b7
push 0
lea ecx, [ebp - 0x130]
call fcn.100120c0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x130]
call fcn.1013beb0
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x1d4]
add eax, 1
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 0x1d4], eax
mov edx, dword [ebp - 0x134]
cmp dword [edx + 0x1d4], 1
jne 0x101294a3
mov eax, dword [ebp - 0x134]
mov byte [eax + 0x1a8], 1
push 0
lea ecx, [ebp - 0x130]
call fcn.10012110
push eax
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.100cb650
push 0
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.100eeed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.100120e0
jmp 0x10129510
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x1d4]
sub edx, 1
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x1d4], edx
mov ecx, dword [ebp - 0x134]
cmp dword [ecx + 0x1d4], 0
jg 0x10129510
push 1
push 0
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.100cb650
push 1
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.100eeed0
mov edx, dword [ebp - 0x134]
mov byte [edx + 0x1a8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 4
Function at 0x101319a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b1f5e
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
call fcn.10005d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10005d40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.10121d70
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x24]
call fcn.10004400
movzx edx, al
test edx, edx
je 0x10131a38
lea ecx, [ebp - 0x18]
call fcn.10004400
movzx eax, al
test eax, eax
jne 0x10131a8b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.101222e0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10131a8b
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x1c], 1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
je 0x10131b0a
push 0x17
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.CLIPBRDWNDCLASS
lea eax, [ebp - 0x74]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x10131ae4
lea ecx, [ebp - 0x24]
call fcn.10004400
movzx ecx, al
test ecx, ecx
je 0x10131adb
lea ecx, [ebp - 0x18]
call fcn.10004400
movzx edx, al
test edx, edx
jne 0x10131ae4
mov byte [0x10232fd0], 1
jmp 0x10131aeb
mov byte [0x10232fd0], 0
movzx eax, byte [0x10232fd0]
cmp eax, 1
jne 0x10131b08
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x1c], 1
jmp 0x10131b11
mov byte [0x10232fd0], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10005e00
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10133330
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b2174
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x298], 0
je 0x10133372
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0x424]
test edx, edx
jne 0x10133377
jmp 0x101334fb
mov dword [ebp - 0x10], 0
jmp 0x10133389
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x298]
add ecx, 0x114
call fcn.1002e0a0
cmp dword [ebp - 0x10], eax
jae 0x101334fb
mov dword [ebp - 0x14], 0
push 4
call fcn.1017072e
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x101333cd
mov ecx, dword [ebp - 0x20]
call fcn.1010c140
mov dword [ebp - 0x2c], eax
jmp 0x101333d4
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
push 0xfde9
push 0x21
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x298]
add ecx, 0x114
call fcn.1002e0c0
mov edx, dword [eax]
add edx, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.10005d60
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.1011d720
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
push 0x101de500
lea ecx, [ebp - 0x18]
call fcn.10005e60
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100043a0
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1013347c
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x298]
add ecx, 0x114
call fcn.1002e0c0
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1013349b
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xc4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc4]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x298]
add ecx, 0x114
call fcn.1002e0c0
mov edx, dword [eax]
cmp dword [edx + 0x28], 0
je 0x101334ce
cmp dword [0x10232fdc], 1
jg 0x101334ce
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10170e80
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
jmp 0x10133380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1014c080
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
mov eax, dword [0x1022ed80]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x1022ed80]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1022ed80], 0
movzx edx, word [ebp + 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.1014c450
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1014c470
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x1014c48a
mov eax, dword [ebp - 0x40]
sub eax, 0x20
mov dword [ebp - 0x44], eax
jmp 0x1014c491
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x1014c51d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1001d280
mov ecx, eax
call fcn.10004cb0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100be360
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1014c50c
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.10005e80
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x1014c51b
mov dword [ebp - 4], 0
jmp 0x1014c538
mov ecx, dword [ebp + 0xc]
call fcn.10004390
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.100eef30
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1014c553
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.1014c640
jmp 0x1014c5b6
cmp dword [ebp + 0x14], 0
je 0x1014c5b6
cmp dword [ebp + 0x18], 0
je 0x1014c5b6
mov ecx, dword [ebp + 0xc]
call fcn.10005e60
cmp eax, dword [ebp + 0x1c]
jle 0x1014c5b6
mov dword [ebp - 0x38], 1
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.10005e60
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.1014c6a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10156c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jl 0x10156ca8
cmp dword [ebp + 0xc], 8
jg 0x10156ca8
mov byte [ebp - 5], 1
jmp 0x10156cac
mov byte [ebp - 5], 0
push str.bad_pack_level
movzx eax, byte [ebp - 5]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10154820
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x10156cf5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af78], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x4af70
push ecx
call fcn.1016f6c0
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x101e131a]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x101e1318]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x101e131c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x101e131e]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x10156d82
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x10156d97
cmp dword [ebp + 0xc], 8
jl 0x10156d97
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6af90], 0
je 0x10156dfd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x10156e19
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af8c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], 0
jmp 0x10156e91
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6af90], 0x106
jae 0x10156e41
mov edx, dword [ebp + 8]
push edx
call fcn.10157220
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 4], 0
jmp 0x10156e60
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jae 0x10156e91
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1af70]
xor eax, edx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x10156e57
mov esp, ebp
pop ebp
ret
Function at 0x10158c10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x10158c20
xor eax, eax
jmp 0x10158dbd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x10158d7e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x101e1660]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x101e1660]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101e1660]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x101e1660]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x101e1660]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101e1660]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x101e1660]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x101e1660]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x10158c29
cmp dword [ebp + 0x10], 0
je 0x10158db7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x101e1660]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x10158d84
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10158dc0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x101e1660]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x101e1660]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret