joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba8f0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ba928
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b89a4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b897c
jmp 0x4ba934
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4bbfe7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4bc029
call fcn.004c1a97
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4bc029
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bc020
xor eax, eax
jmp 0x4bc031
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bc037
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c1fc7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c1ff5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c2013
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c1f2d
jmp 0x4c2013
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c2013
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c1f2d
test edi, edi
mov eax, edi
jne 0x4c1ffd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x401bd7
pop dword [ebp - 0x20]
mov eax, 0x28644162
add eax, 0xd7dbda75
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x6b8e7c13
add dword [ebp - 0x30], 0xe2c3c938
mov dword [ebp - 0x2c], 0x459ade3a
add dword [ebp - 0x2c], 0xec986e0b
mov dword [ebp - 0x28], 0x778af349
sub dword [ebp - 0x28], 0x2b3eaf1b
mov dword [ebp - 0x24], 0xa180a15
add dword [ebp - 0x24], 0xf5e7f5eb
lea eax, [ebp - 0x30]
push eax
mov eax, 0xc190872f
add eax, 0x3eafe931
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x646bba26
sub dword [ebp - 0x30], 0xeff950d0
mov dword [ebp - 0x2c], 0x543d57d7
add dword [ebp - 0x2c], 0xed2f099e
mov dword [ebp - 0x28], 0x71108247
add dword [ebp - 0x28], 0xf25eea25
mov dword [ebp - 0x24], 0x2873a195
add dword [ebp - 0x24], 0xd78c5e6b
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xdb059649
add eax, 0x253adab7
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3931f
push 0
call eax
mov ecx, 0xd534a13e
add ecx, 0x2acbb13d
mov edx, eax
mov ebx, 0x57cc7372
add ebx, 0xa8748c8e
add ebx, dword [ebp - 0x20]
mov edi, 0x28ac576
sub edi, 0x6fb6e73f
mov esi, dword [ebx]
sub dword [ebp - 0x18], esi
add esi, edi
xor dword [ebp - 4], 0x137eefd5
mov dword [edx], esi
xor dword [ebp - 0x10], eax
add edx, 0x140b998d
add edx, 0xebf46677
add ebx, 4
loop 0x401cf9
add eax, 0x4fea56ec
add eax, 0xb016e5d3
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40aebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40af03
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40aed2
jmp 0x40af03
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40aef3
pop esi
pop ebp
ret

Function at 0x40bc9d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40bcd2
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40bcfc
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40bcfc
test edi, edi
je 0x40bcc9
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40bcc9
test edi, edi
je 0x40bd04
mov eax, edi
jmp 0x40bccb
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40bccb
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040f12a
add esp, 0xc
int3
Function at 0x40f15e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestRollingMean.exe_gMozillaPoisonSize], eax
call fcn.0040bc9d
pop ecx
mov ecx, dword [sym.TestRollingMean.exe_gMozillaPoisonSize]
mov dword [sym.TestRollingMean.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40f196
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestRollingMean.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x100126bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100127c7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10012735
mov dword [ebp - 0xc], 1
jmp 0x10012739
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x10012751
mov dword [ebp - 0x10], 1
jmp 0x10012755
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x10012768
mov dword [ebp - 0x3c], 1
jmp 0x1001276c
and dword [ebp - 0x3c], 0
mov eax, 0x8af80453
test eax, eax
jne 0x1001277e
mov dword [ebp - 0x40], 1
jmp 0x10012782
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0xfffffff7
mov eax, 0xf544
cmp eax, 0xfffffff7
jg 0x100127a6
mov dword [ebp - 0x18], 1
jmp 0x100127aa
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 7
jbe 0x100127b9
mov dword [ebp - 0x1c], 1
jmp 0x100127bd
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x100127e2
push 0x6ed
push 0
push 0x913
push 0x1faf
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x10014259
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1001427d
xor eax, eax
jmp 0x100143a7
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1001405d
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100142a5
xor eax, eax
jmp 0x100143a7
push 1
push 0x51ba
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100140b9
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x100142c9
xor eax, eax
jmp 0x100143a7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10014129
add esp, 0x18
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x1325
lea eax, [ebp + 8]
push eax
push 1
push 0x51fb
call fcn.100141b8
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1001432a
push dword [ebp - 4]
push dword [ebp - 0x14]
push 0x24b6
push 1
call fcn.1000c429
add esp, 0x10
push dword [ebp - 4]
call fcn.100128b2
pop ecx
test eax, eax
jne 0x1001433b
xor eax, eax
jmp 0x100143a7
push 0x31ac
push 0
push dword [ebp - 4]
call fcn.100116c7
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1001438f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1001436c
xor eax, eax
jmp 0x100143a7
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10014385
xor eax, eax
jmp 0x100143a7
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100143a0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100143a4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10043dc4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10043f80
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10043e11
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jl 0x10043f7e
mov dword [ebp - 4], 0x244c3f4
mov dword [ebp - 0x10], 0xfc24489b
mov dword [ebp - 0x24], 6
mov dword [ebp - 4], 0
jmp 0x10043e42
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x10043f79
mov eax, 0xffff
test eax, eax
je 0x10043eb0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 4], eax
jle 0x10043e68
mov dword [ebp - 0x14], 1
jmp 0x10043e6c
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
sub eax, 0xffff
cmp eax, 0x6e85fcb4
jl 0x10043e84
mov dword [ebp - 0x18], 1
jmp 0x10043e88
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x18], eax
jle 0x10043e99
mov dword [ebp - 0x3c], 1
jmp 0x10043e9d
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10014565
push 0
mov ecx, dword [ebp - 8]
call fcn.10014565
mov esi, eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10014565
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x10043eda
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x10043eda
and dword [ebp - 0x1c], 0
jmp 0x10043ee1
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10014565
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10014565
cmp dword [eax], 0
jne 0x10043f14
cmp dword [ebp - 0x10], 0
jne 0x10043f14
and dword [ebp - 0x20], 0
jmp 0x10043f1b
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jge 0x10043f34
mov dword [ebp - 0x28], 1
jmp 0x10043f38
and dword [ebp - 0x28], 0
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10014565
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jle 0x10043f53
mov dword [ebp - 0x2c], 1
jmp 0x10043f57
and dword [ebp - 0x2c], 0
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10014565
mov esi, dword [ebp - 0x2c]
add esi, dword [eax]
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10014565
mov dword [eax], esi
jmp 0x10043e3b
jmp 0x10043e06
jmp 0x10043f9b
push 0x6ed
push 0
push 0x913
push 0x1faf
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10052301
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1005240c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1005237a
mov dword [ebp - 0xc], 1
jmp 0x1005237e
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x10052396
mov dword [ebp - 0x10], 1
jmp 0x1005239a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x100523ad
mov dword [ebp - 0x3c], 1
jmp 0x100523b1
and dword [ebp - 0x3c], 0
mov eax, 0x8af80453
test eax, eax
jne 0x100523c3
mov dword [ebp - 0x40], 1
jmp 0x100523c7
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0xfffffff7
mov eax, 0xf544
cmp eax, 0xfffffff7
jg 0x100523eb
mov dword [ebp - 0x18], 1
jmp 0x100523ef
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 7
jbe 0x100523fe
mov dword [ebp - 0x1c], 1
jmp 0x10052402
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x1005242c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1005242c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esp, ebp
pop ebp
ret
Function at 0x100622f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10060bb0
movzx eax, al
test eax, eax
je 0x10062321
push 0x100017a4
push 0x1067cbc0
call fcn.10054f80
add esp, 8
push 0
call fcn.10072038
mov ecx, dword [ebp - 4]
call fcn.10062600
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.10062430
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10084b25
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009038c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10076c8a
mov dword [ebp - 0x14], eax
cmp dword [0x1067dd10], esi
jne 0x10084c18
push 0x800
push esi
push 0x10007f24
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10084ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10084cf8
push esi
push esi
push 0x10007f24
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10084cf8
push 0x10007f3c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10084cf8
push eax
call ebx
push 0x10007f48
push edi
mov dword [0x1067dd10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007f58
push edi
mov dword [0x1067dd14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007f6c
push edi
mov dword [0x1067dd18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067dd20], eax
test eax, eax
je 0x10084c15
push 0x10007f88
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067dd1c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10084c3d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10084c30
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10084c52
push 4
pop eax
jmp 0x10084cfa
cmp dword [ebp - 0x14], esi
je 0x10084c52
push dword [0x1067dd10]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10084c37
mov eax, dword [0x1067dd1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10084cb0
cmp dword [0x1067dd20], edi
je 0x10084cb0
push eax
call ebx
push dword [0x1067dd20]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10084cb0
test eax, eax
je 0x10084cb0
call ecx
test eax, eax
je 0x10084ca5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10084ca5
test byte [ebp - 8], 1
jne 0x10084cb0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10084ce0
mov eax, dword [0x1067dd14]
cmp eax, edi
je 0x10084cdd
push eax
call ebx
test eax, eax
je 0x10084cdd
call eax
mov esi, eax
test esi, esi
je 0x10084cdd
mov eax, dword [0x1067dd18]
cmp eax, edi
je 0x10084cdd
push eax
call ebx
test eax, eax
je 0x10084cdd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067dd10]
call ebx
test eax, eax
je 0x10084cf8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10084cfa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071385
mov esp, ebp
pop ebp
ret
Function at 0x4bd350
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.0042f7c0
mov eax, dword [0x50ad20]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
test edi, edi
je 0x4bd39f
mov eax, 1
mov dword [esi], edi
jmp 0x4bd3a1
mov edi, dword [esi]
test ebp, ebp
je 0x4bd529
push edi
call fcn.0047d120
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x4bd3d5
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.00454c00
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0xac]
cmp eax, ebx
jge 0x4bd42d
push dword [esp + 0x10]
lea ebp, [esi + 4]
push edi
push ebp
call fcn.004806c0
add esp, 0xc
test eax, eax
je 0x4bd525
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.00480860
add esp, 0xc
test eax, eax
je 0x4bd525
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 4]
push eax
call fcn.00480620
add esp, 0xc
test eax, eax
je 0x4bd525
jmp 0x4bd461
test ebx, ebx
js 0x4bd439
cmp ebx, 0x80
jle 0x4bd44d
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.00454c00
add esp, 0xc
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.0042d8d0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x4bd484
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.0042b420
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x4bd490
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.004806c0
add esp, 0xc
test eax, eax
je 0x4bd525
push edi
call fcn.0047d120
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00480860
add esp, 0x10
test eax, eax
je 0x4bd525
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x4bd4d0
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.004806c0
add esp, 0xc
test eax, eax
je 0x4bd525
push edi
call fcn.0047d120
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00480860
add esp, 0x10
test eax, eax
je 0x4bd525
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.00480930
add esp, 8
test eax, eax
jne 0x4bd532
xor eax, eax
jmp 0x4bd537
test eax, eax
je 0x4bd511
jmp 0x4bd488
mov eax, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042a77e
add esp, 0x90
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx