joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ff60
Capabilities:
Initialize iwebbrowser2

Disassembly:
sub esp, 0x20
push edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x1000ff75
xor al, al
pop edi
add esp, 0x20
ret 0xc
push ebx
push ebp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x38]
push eax
push 0x1003d1cc
push 0x17
push 0
push 0x10046020
mov dword [esp + 0x4c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, eax
test ebp, ebp
js 0x10010044
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x64]
push edi
push esi
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
push 0
push edi
push esi
call ecx
lea edx, [esp + 0x10]
push edx
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
push ebx
lea ecx, [esp + 0x24]
mov word [esp + 0x24], ax
call fcn.10028240
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push edx
push edx
push edx
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2a8]
push ebx
push edi
push esi
mov ebp, eax
call edx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call ebx
test edi, edi
je 0x10010043
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push edi
push esi
call eax
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x38]
test ebp, ebp
setns bl
test eax, eax
je 0x1001005f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
mov al, bl
pop ebx
pop edi
add esp, 0x20
ret 0xc

Function at 0x10010cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x10010cd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10010d12
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10010d0e
lea ebx, [ebx]
cmp esi, eax
jae 0x10010d12
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10010d00
cmp esi, eax
jb 0x10010d18
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x100157a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
push 0
push 0
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.10005c00
test eax, eax
jne 0x10015819
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 8]
push edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x10015811
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x10015828
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret

Function at 0x10015830
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push 0x2001f
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.10003190
mov esi, eax
test esi, esi
je 0x10015880
mov eax, dword [esp + 4]
test eax, eax
je 0x100158bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 8]
test esi, esi
jne 0x10015894
mov esi, 0xd
jmp 0x100158b3
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x20]
push edx
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x100158be
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x10015950
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10015a27
cmp eax, 0x104
ja 0x10015a27
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call sub.MSVCR100.dll_memset
push esi
lea edx, [esp + 0x14]
push edx
push str._s_s
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf_s]
add esp, 0x24
test eax, eax
jg 0x100159ef
push str.LoadSystemLibrary:__snprintf_failed.
jmp 0x10015a2c
lea ecx, [esp + 0x20c]
push ecx
call fcn.10028240
mov esi, eax
test esi, esi
jne 0x10015a0f
push str.LoadSystemLibrary:_LoadLibrary___failed.
call fcn.10004ff0
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1003779c
add esp, 0x414
ret
push str.LoadSystemLibrary:_GetSystemDirectory_failed.
call fcn.10004ff0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x414
ret
Function at 0x1001a9e0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.10003310
test eax, eax
je 0x1001aa26
call fcn.100035c0
test eax, eax
je 0x1001aa18
call fcn.10003580
test eax, eax
je 0x1001aa18
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0xc
mov dword [esp + 0x10], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
push str.__get_system_dir__
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10028240
push 0xc
mov dword [esi], eax
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push ebx
mov dword [esi + 4], 0
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x1001aa9b
push 0x8007000e
call fcn.10028240
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.10004760
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
push edi
call ebx
test eax, eax
jne 0x1001aae0
mov eax, dword [esi]
test eax, eax
je 0x1001aac7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aad7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push 0x1003ecc8
mov dword [esi + 4], 0
mov dword [edi], 1
call fcn.10028240
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.10004760
push edi
call ebx
test eax, eax
jne 0x1001ab4b
mov eax, dword [esi]
test eax, eax
je 0x1001ab32
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ab42
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x1001ab62
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
test edi, edi
setne cl
movzx edx, cl
push edx
call fcn.10019f50
add esp, 8
test esi, esi
je 0x1001abab
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x1001abab
mov eax, dword [esi]
test eax, eax
je 0x1001ab92
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aba2
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10027fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 0x201
xor edi, edi
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028012
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ITCONFIG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [esp + 0x10]
test esi, esi
pop esi
je 0x10028014
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x20c
ret

Function at 0x10028050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.10027fa0
test al, 0x10
jne 0x10028081
call fcn.10026eb0
test eax, eax
jne 0x1002809c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 0x201
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028124
mov eax, dword [esp + 0xc]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.EnableAutoUpdateCheck
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
pop esi
jne 0x10028124
mov dword [esp + 8], edi
call fcn.10027cf0
test eax, eax
je 0x10028116
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10028240
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x1002811a
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x10028126
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret

Function at 0x10028140
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x202
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028179
mov ecx, dword [esp]
push str.EnableAutoUpdateCheck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x10028180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002822a
call fcn.10027cf0
test eax, eax
je 0x100281fb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.10028240
add esp, 0x10
jmp 0x10028203
mov edx, dword [esp + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 8]
mov edx, dword [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.EnableAutoUpdateCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1003779c
add esp, 0x214
ret

Function at 0x10028240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1002824f
pop dword [ebp - 0x10]
mov eax, 0x141eeb84
sub eax, 0x41c6935
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x49a4e9c5
sub dword [ebp - 0x20], 0xfb52a47a
mov dword [ebp - 0x1c], 0x244338d8
add dword [ebp - 0x1c], 0xdf0136d
mov dword [ebp - 0x18], 0x21882fd5
add dword [ebp - 0x18], 0x2ac41459
mov dword [ebp - 0x14], 0xb0f7b7ac
add dword [ebp - 0x14], 0x4f084854
lea eax, [ebp - 0x20]
push eax
mov eax, 0x2115b04
sub eax, 0xf20dba88
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x4b010e06
sub dword [ebp - 0x20], 0xd68ea4b0
mov dword [ebp - 0x1c], 0x1b73fa69
add dword [ebp - 0x1c], 0x25f8670c
mov dword [ebp - 0x18], 0x7d619bb6
sub dword [ebp - 0x18], 0x19f22f4a
mov dword [ebp - 0x14], 0x1fe079a0
add dword [ebp - 0x14], 0xe01f8660
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3abb3
push 0
call eax
mov ecx, 0x39cb910f
add ecx, 0xc634bd63
xor edx, edx
add edx, eax
mov edi, 0xdf210d40
sub edi, 0xcf1a1740
add edi, dword [ebp - 0x10]
mov esi, 0xb41adc47
add esi, 0x56968072
add dword [ebp - 0xc], ebx
mov ebx, dword [edi]
mov dword [ebp - 4], 0xa9572c51
add ebx, esi
add dword [ebp - 8], edi
mov dword [edx], ebx
xor dword [ebp - 8], ebx
add edx, 0xe8ac94ef
sub edx, 0xe8ac94eb
add edi, 4
loop 0x1002836e
add eax, 0x12c9b
mov ebx, eax
add eax, 0xad70d2fd
sub eax, 0xad70d2f8
mov ecx, 0x2bdfe425
sub ecx, 0x1bdfe425
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10036740
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x202c
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0x203c]
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x800
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
push 0x82
xor ebp, ebp
push 0x1003bb30
mov dword [esp + 0x20], ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push eax
call ebx
push 0x800
lea ecx, [esp + 0x103c]
push ecx
push 0x8b
push 0x1003bb30
call edi
push eax
call ebx
lea edx, [esp + 0x38]
lea eax, [esp + 0x1038]
push 0x1003bb30
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x12083
mov dword [esp + 0x2c], 0x3ec
call edi
mov dword [esp + 0x18], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x100366e0
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
lea ecx, [esp + 0x10]
push ecx
mov dword [0x1004fde4], eax
mov dword [0x1004fde8], ebp
call fcn.10028240
mov edx, dword [0x1004fde4]
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi], 2
mov dword [esi + 4], ebp
mov dword [esi + 0x18], ebp
cmp edi, 6
jne 0x10036858
mov dword [esi], 1
jmp 0x10036865
xor eax, eax
cmp edi, 2
sete al
add eax, 2
mov dword [esi], eax
mov eax, esi
cmp dword [0x1004fde8], ebp
je 0x10036876
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x2038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x202c
ret 4
Function at 0x4a80f020
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4a80f01a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4a80f038
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4a80f096
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4a80f07d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4a80f086
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4a80f090
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4a80f072
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4a80effc
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4a80f0e3
dec eax
je 0x4a80f0da
sub eax, 3
je 0x4a80f0d1
mov dword [ebp - 4], 0x40
jmp 0x4a80f100
mov dword [ebp - 4], 4
jmp 0x4a80f0e6
mov dword [ebp - 4], 0x20
jmp 0x4a80f0e6
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4a80f132
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4a80f0b2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.4a80e943
xor al, 0x4d
dec ebx
mov ecx, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4a80f13e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a80fde0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec eax
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.4a80e943
pushfd
lodsb al, byte [esi]
mov byte [edx - 0x72b7a73], cl
invalid

Function at 0x4a8106b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.4a80e8b4
add esp, 0xc
jmp fcn.4a8108bb
Function at 0x4a827e20
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
push ebx
call fcn.4a8274e0
mov eax, dword [esp + 0x14]
add esp, 4
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a827e58
pop edi
xor al, al
pop ebx
ret
push esi
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
test esi, esi
je 0x4a827e92
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebx + 4], eax
jne 0x4a827e98
push esi
call edi
pop esi
pop edi
xor al, al
pop ebx
ret
mov dword [ebx + 0x14], esi
pop esi
pop edi
mov al, 1
pop ebx
ret

Function at 0x4a8362b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a86f08e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a89c5b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.icu_3_0::CanonicalIterator.0
call sym.icuuc30.dll_public:_void___thiscall_icu_3_0::UnicodeString::constructor_void_
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call sym.icuuc30.dll_public:_void___thiscall_icu_3_0::UnicodeString::constructor_void_
mov eax, dword [esp + 0x24]
cmp dword [eax], edi
mov byte [esp + 0x18], 2
jg 0x4a836323
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call sym.icuuc30.dll_public:_void___thiscall_icu_3_0::CanonicalIterator::setSource_class_icu_3_0::UnicodeString_const___enum_UErrorCode__
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4a846600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi - 4]
mov edx, dword [eax + 0x60]
push edi
lea edi, [esi - 4]
mov ecx, edi
mov dword [esp + 0x10], esi
xor ebp, ebp
call edx
test eax, eax
mov bl, byte [esp + 0x18]
jle 0x4a846674
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
push ebp
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push ebp
mov ecx, edi
call edx
mov ecx, eax
xor ecx, esi
and esi, 0xff
test ecx, 0xffffff00
movzx ecx, bl
jne 0x4a846653
cmp esi, ecx
jg 0x4a846660
jmp 0x4a846657
cmp esi, ecx
jle 0x4a8466b8
and eax, 0xff
cmp ecx, eax
jle 0x4a8466b8
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
add ebp, 1
call eax
cmp ebp, eax
jl 0x4a846622
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4a8466ae
xor esi, esi
test eax, eax
jle 0x4a8466ae
movzx edi, bl
push esi
call sym.icuuc30.dll_public:_void____thiscall_icu_3_0::UVector::elementAt_int_const
push 0
mov ecx, eax
call sym.icuuc30.dll_public:_int___thiscall_icu_3_0::UnicodeString::char32At_int_const
and eax, 0xff
cmp eax, edi
je 0x4a8466b8
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x18]
add esi, 1
cmp esi, dword [ecx + 4]
jl 0x4a846687
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4

Function at 0x4a84aa20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a86fa13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a89c5b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi + 4], vtable.icu_3_0::UnicodeMatcher.0
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.icu_3_0::UnicodeSet.1.0
mov dword [esi + 4], vtable.icu_3_0::UnicodeSet.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x10
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call sym.icuuc30.dll_public:_void___thiscall_icu_3_0::UnicodeString::constructor_void_
mov ebx, dword [esp + 0x30]
cmp dword [ebx], edi
mov byte [esp + 0x1c], 1
jg 0x4a84aacc
mov eax, dword [esi + 0xc]
add eax, eax
add eax, eax
push eax
call sym.icuuc30.dll_uprv_malloc_3_0
add esp, 4
cmp eax, edi
mov dword [esi + 0x14], eax
jne 0x4a84aaae
mov dword [ebx], 7
jmp 0x4a84aacc
mov ecx, esi
call sym.icuuc30.dll_private:_signed_char___thiscall_icu_3_0::UnicodeSet::allocateStrings_void_
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ebx
push ecx
push edx
push eax
mov ecx, esi
call sym.icuuc30.dll_public:_class_icu_3_0::UnicodeSet____thiscall_icu_3_0::UnicodeSet::applyPattern_class_icu_3_0::UnicodeString_const___unsigned_int__class_icu_3_0::SymbolTable_const___enum_UErrorCode__
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10