joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597eaf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x633d10], 0
je 0x40913f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x30
call fcn.00406b5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x409171
push 0x30
push 0
push esi
call fcn.0056aed0
add esp, 0xc
mov ecx, esi
push 0
call fcn.004091d0
jmp 0x409173
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x633d10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
sub esp, 8
xor ecx, ecx
mov edx, esp
mov dword [edx], eax
test eax, eax
je 0x4091a1
cmp word [eax], cx
je 0x4091a1
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x409197
mov dword [edx + 4], ecx
mov ecx, dword [0x633d10]
call fcn.00409450
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b4b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59823c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6359c4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x633d68]
cmp eax, dword [ecx + 4]
jg 0x40b505
mov eax, 0x633d44
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x633d68
call fcn.0040b37e
add esp, 4
cmp dword [0x633d68], 0xffffffff
jne 0x40b4f1
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 0
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
push 0x633d68
movups xmmword [0x633d44], xmm0
mov dword [0x633d64], eax
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [0x633d54], xmm0
call fcn.0040b56b
add esp, 4
jmp 0x40b4f1
Function at 0x415930
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x62bcac]
mov dword [ebp - 0x808], eax
cmp eax, 0xffffffff
jne 0x4159bb
lea eax, [ebp - 0x808]
push eax
call fcn.00415ba0
mov ecx, dword [ebp - 0x808]
add esp, 4
cmp ecx, 0xffffffff
jne 0x415989
lea eax, [ebp - 0x808]
push eax
call fcn.00415ba0
push 0xffffffffffffffff
call fcn.004a27b0
mov ecx, dword [ebp - 0x808]
add esp, 8
mov edx, 0x62bcac
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x4159b5
push dword [ebp - 0x808]
call fcn.004a27b0
mov eax, dword [0x62bcac]
add esp, 4
mov dword [ebp - 0x808], eax
jmp 0x4159bb
mov eax, dword [ebp - 0x808]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0056aed0
lea eax, [ebp - 0x804]
or eax, 3
push eax
push dword [ebp - 0x808]
call fcn.00415bc0
push 0x800
call fcn.00415d06
mov ebx, eax
lea esi, [ebp - 0x804]
mov ecx, 0x200
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
or ecx, 3
push ecx
push dword [ebp - 0x808]
call fcn.00415bc0
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x418a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x418a75
cmp eax, 0x104
jae 0x418a75
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418a46
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00409db0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4297c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
xor al, al
test edi, edi
je 0x42983c
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42983b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42981e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x4ace70
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
test eax, eax
jne 0x429824
pop ebx
mov al, 1
pop edi
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
pop ebx
pop edi
pop ebp
ret

Function at 0x42db20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x105
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42dbb9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x42dbb9
cmp byte [ebp + 0xc], 0
je 0x42db84
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.004471d0
test eax, eax
js 0x42dbb9
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dba0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
jmp 0x42dbd2
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x5b6ea8
mov ecx, esi
call fcn.00409db0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x45bbf0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x101
ja 0x45bc54
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x45bc54
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x463400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x418], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6359c4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x635324]
cmp eax, dword [ecx + 4]
jg 0x46352a
cmp byte [0x635320], 0
jne 0x46350d
lea eax, [ebp - 0x420]
mov byte [0x635320], 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push 0x80000002
mov dword [ebp - 0x420], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46350d
push 0x410
push eax
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x414]
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x41c], 0x410
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.Debugger
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x463501
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4634e0
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
mov ecx, 0x62c700
call fcn.00409db0
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x62c700
mov ecx, esi
call fcn.0040b170
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret
push 0x635324
call fcn.0040b37e
add esp, 4
cmp dword [0x635324], 0xffffffff
jne 0x46343d
push 0x5af790
call fcn.004060ec
push 0x635324
call fcn.0040b56b
add esp, 8
jmp 0x46343d
Function at 0x465d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
cmp dword [esi + 0x10], 0
je 0x465ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465d7d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465d96
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x465ea8
push 0
push str.ime_shared
lea eax, [ebp - 0x40]
push 0x25
push eax
call fcn.00447330
push 0
push str.ime_shared
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x24
push eax
call fcn.00447330
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push ebx
push edi
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00465ed0
add esp, 0x30
test al, al
jne 0x465e10
push ebx
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00465ed0
add esp, 0x10
test al, al
jne 0x465e10
push ebx
push edi
push esi
call fcn.004678c0
add esp, 0xc
test al, al
jne 0x465e10
xor bl, bl
jmp 0x465e12
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x465e50
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x465e46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ec6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x465ea8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x465e9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ec6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
int3

Function at 0x46b2f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x46b32d
je case.0x46b326.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x46b326.1032
movzx eax, byte [eax + 0x46b380]
jmp dword [eax*4 + 0x46b378]
cmp esi, 0xc0a
je case.0x46b326.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46b366
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x46b335
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x46b32d
je case.0x46b326.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x46b326.1032
movzx eax, byte [eax + 0x46b380]
jmp dword [eax*4 + 0x46b378]
cmp esi, 0xc0a
je case.0x46b326.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46b366
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x46c630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x28], 0
mov dword [ebp - 4], 0
jne 0x46c6f9
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov byte [edi + 0x2a], al
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x28], 1
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
test ecx, ecx
je 0x46c6f9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
je 0x46c6f9
test eax, eax
je 0x46c6f9
cmp byte [edi + 0x2a], 0
lea esi, [edi + 0x20]
push esi
push 0
push edi
mov ecx, 0x51d950
mov dword [esi], 0
mov eax, 0x46c820
cmovne eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x24], eax
je 0x46c6f9
test eax, eax
je 0x46c6f9
mov byte [edi + 0x29], 1
mov bl, byte [edi + 0x29]
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x499180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x633594], 0
jne 0x4991fd
push 0x104
push 0
push 0x633490
call fcn.0056aed0
add esp, 0xc
mov eax, 1
mov word [0x633594], ax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push str.SOFTWAREAdobeAcroPerf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4991fd
push 0x62bc70
push 0x633490
lea ecx, [ebp - 8]
push ecx
push 0
push str.tOutputDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x633490], 0
je 0x499219
push dword [0x62bc70]
push 0x633490
call fcn.0049a430
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x49f760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov al, 1
mov byte [ebp - 9], al
mov dword [ebp - 8], ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push edi
mov edi, dword [ebp + 0x14]
test edx, edx
jle 0x49f8d8
lfence
push esi
nop word [eax + eax]
movzx eax, byte [ebx + ecx]
lea esi, [ecx + 1]
mov dword [ebp - 8], esi
test al, al
jns 0x49f85b
cmp eax, 0xe0
jb 0x49f81d
cmp eax, 0xf0
jae 0x49f81d
lea ecx, [esi + 1]
cmp ecx, edx
jge 0x49f81d
movzx ebx, byte [ebx + esi]
mov ecx, eax
and ecx, 0xf
mov edx, 1
mov dword [ebp - 0x14], ecx
mov ecx, ebx
shr ecx, 5
shl edx, cl
mov ecx, dword [ebp - 0x14]
movsx ecx, byte [ecx + str._000000000000]
test ecx, edx
je 0x49f817
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + esi + 1]
sub cl, 0x80
cmp cl, 0x3f
ja 0x49f817
mov eax, dword [ebp - 0x14]
and ebx, 0x3f
shl eax, 6
or eax, ebx
movzx ecx, cl
shl eax, 6
or eax, ecx
lea ecx, [esi + 2]
mov dword [ebp - 8], ecx
jmp 0x49f85b
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [eax - 0xc2]
cmp ecx, 0x1d
ja 0x49f84a
cmp esi, edx
je 0x49f84a
mov cl, byte [ebx + esi]
sub cl, 0x80
cmp cl, 0x3f
ja 0x49f84a
and eax, 0x1f
movzx ecx, cl
shl eax, 6
or eax, ecx
lea ecx, [esi + 1]
mov dword [ebp - 8], ecx
jmp 0x49f85b
push 0xffffffffffffffff
push eax
push edx
lea eax, [ebp - 8]
push eax
push ebx
call fcn.004a0ae0
add esp, 0x14
cmp eax, 0xd800
jb 0x49f879
cmp eax, 0xe000
jb 0x49f870
cmp eax, 0x10ffff
jbe 0x49f879
xor bl, bl
mov eax, 0xfffd
jmp 0x49f87b
mov bl, 1
movzx ecx, byte [ebp - 9]
xor edx, edx
test bl, bl
cmovne edx, ecx
mov ecx, dword [edi]
mov byte [ebp - 9], dl
movzx edx, ax
cmp eax, 0xffff
ja 0x49f89e
mov eax, dword [ebp - 0x18]
mov word [eax + ecx*2], dx
jmp 0x49f8c1
mov ebx, dword [ebp - 0x18]
and edx, 0x3ff
shr eax, 0xa
sub eax, 0x2840
mov word [ebx + ecx*2], ax
inc dword [edi]
or edx, 0xdc00
mov eax, dword [edi]
mov word [ebx + eax*2], dx
inc dword [edi]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
cmp ecx, edx
jl 0x49f7a0
mov al, byte [ebp - 9]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x49fb80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x100000
test edi, edi
push 0xc
cmove edi, eax
call fcn.00406b5e
mov ecx, dword [ebp + 0xc]
add esp, 4
mov esi, dword [ebp + 0x10]
mov ebx, eax
test esi, esi
push 0
push 0x10000
push ebx
mov dword [ebx], ecx
setne cl
push 0x49fd90
push edi
mov byte [ebx + 4], cl
mov ecx, dword [ebp + 0x14]
push 0
mov dword [ebx + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x49fc01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x49fbe6
cmp eax, 0xe
je 0x49fbe6
cmp eax, 0x5af
jne 0x49fbef
push edi
call fcn.004a0d90
add esp, 4
push 0xc
push ebx
call fcn.0040a1a2
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
test esi, esi
je 0x49fc0e
pop edi
mov dword [esi], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
Function at 0x4a5e20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x3c]
xor esi, esi
add ebx, eax
mov dword [ebp - 4], eax
xor edi, edi
movzx ecx, word [ebx + 6]
cmp esi, ecx
jae 0x4a5e7c
movzx eax, word [ebx + 0x14]
lea edx, [ebx + 0x18]
add eax, edi
add edx, eax
je 0x4a5e7c
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
cmp eax, dword [ebp + 8]
ja 0x4a5e68
mov ecx, dword [edx + 8]
add ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x4a5e6e
inc esi
add edi, 0x28
jmp 0x4a5e36
pop edi
pop esi
lfence
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8fa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e8c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.004a1a70
mov esi, dword [eax + 4]
test esi, esi
je 0x4f907f
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4f903b
cmp eax, esi
jne 0x4f9033
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4f9043
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4f9043
cmp eax, esi
jne 0x4f9043
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0xc]
call fcn.00414ed0
push 0x18
push esi
call fcn.0040a1a2
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5072b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9a01
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov ebx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x18], edi
call fcn.0040b170
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.0040b170
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.0040b170
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x48]
call fcn.0040b170
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x50738b
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [edi + 0x60]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
push esi
call fcn.00409320
lea edx, [edi + 0x60]
mov dword [edx], eax
lea ecx, [esi + esi*2]
mov dword [edx + 4], eax
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], edx
mov dword [edx + 8], eax
push dword [edx]
mov ecx, edx
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0049b160
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x6c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x546d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], ebx
cmp dword [str.alnum], ebx
je 0x546ddd
mov edx, dword [ebp + 0xc]
push esi
mov esi, edx
sub esi, edi
sar esi, 1
xor ecx, ecx
mov dword [ebp - 0x20], esi
nop dword [eax + eax]
mov eax, dword [ecx + 0x5f21c8]
add eax, eax
sar eax, 1
cmp esi, eax
jne 0x546e1c
mov eax, dword [ecx + 0x5f21c4]
mov esi, edi
mov dword [ebp - 0x10], eax
cmp edi, edx
je 0x546ddc
mov ebx, dword [ebp - 0xc]
movzx eax, word [eax]
movzx edx, word [esi]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 4]
push edx
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x5b1854]
mov ecx, ebx
call edi
push dword [ebp - 0x14]
movzx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x5b1854]
mov ecx, ebx
call edi
cmp word [ebp - 0x18], ax
jne 0x546e10
mov eax, dword [ebp - 0x10]
add esi, 2
add eax, 2
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp + 0xc]
jne 0x546d81
mov ebx, dword [ebp - 8]
pop esi
shl ebx, 4
xor eax, eax
cmp dword [ebx + 0x5f21c4], eax
je 0x546df1
movzx eax, word [ebx + 0x5f21cc]
cmp byte [ebp + 0x10], 0
pop edi
pop ebx
je 0x546e00
test al, 3
je 0x546e00
or eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc ebx
mov ecx, ebx
mov dword [ebp - 8], ebx
shl ecx, 4
cmp dword [ecx + 0x5f21c4], 0
jne 0x546d60
jmp 0x546ddc