joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a4c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x412250], 0
push esi
push edi
jne 0x40a436
call fcn.0040a3a2
test eax, eax
je 0x40a47b
mov eax, dword [0x412250]
cmp eax, 1
jne 0x40a457
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a47b
jmp 0x40a4bd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40a4bd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a47f
xor eax, eax
jmp 0x40a4bd
mov eax, dword [esi]
push dword [0x412250]
call edi
mov edi, eax
test edi, edi
je 0x40a4a1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a4bd
lea edi, [esi + 0xff0]
push esi
push dword [0x412250]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40a4a7
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a422

Function at 0x40a788
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412120]
jne 0x40a792
repz ret
jmp fcn.0040adba

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x63997be8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5a8f4d74
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0xc4d21d4
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4ac92a72
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416505

Function at 0x423cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x423cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423cc0
mov eax, 1
add ebx, ebx
jne 0x423ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423cd8
jne 0x423cf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423cd8
xor ecx, ecx
sub eax, 3
jb 0x423d08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423d7a
mov ebp, eax
add ebx, ebx
jne 0x423d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423d20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423d44
inc ecx
add ebx, ebx
jne 0x423d30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423d25
jne 0x423d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423d25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423d64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423d55
jmp 0x423cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423d64
add edi, ecx
jmp 0x423cc6
pop esi
mov edi, esi
mov ecx, 0x225
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423d82
cmp byte [edi], 5
jne 0x423d82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x423d87
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423dff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23fec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423db4
mov ecx, edi
jns 0x423de3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24030]
or eax, eax
je 0x423df9
mov dword [ebx], eax
add ebx, 4
jmp 0x423dd1
call dword [esi + 0x2402c]
mov ebp, dword [esi + 0x24034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x423e33
sub esp, 0xffffff80
jmp 0x402bf0
Function at 0x424e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
jmp 0x424e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424e60
mov eax, 1
add ebx, ebx
jne 0x424e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424e78
jne 0x424e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424e78
xor ecx, ecx
sub eax, 3
jb 0x424ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x424f1a
mov ebp, eax
add ebx, ebx
jne 0x424eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x424ee4
inc ecx
add ebx, ebx
jne 0x424ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x424ec5
jne 0x424ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x424f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x424ef5
jmp 0x424e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x424f04
add edi, ecx
jmp 0x424e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x424f22
cmp byte [edi], 9
jne 0x424f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x424f27
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x424f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ae70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2af50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x424f54
mov ecx, edi
jns 0x424f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2af58]
or eax, eax
je 0x424f99
mov dword [ebx], eax
add ebx, 4
jmp 0x424f71
call dword [esi + 0x2af54]
mov ebp, dword [esi + 0x2af5c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x424fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x601b3b90
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x54
push ebx
push esi
call sym.nspr4.dll_PR_NewLock
push str.NSPR_LOG_MODULES
mov dword [0x601d280c], eax
call sym.nspr4.dll_PR_GetEnv
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x601b3d64
cmp byte [ebx], 0
je 0x601b3d64
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
mov dword [esp + 0x18], 0x4000
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
test ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
jle 0x601b3cf5
push ebp
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [edi + ebx]
mov ebp, 1
push str._63_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____n:_d_n
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
mov edx, dword [esp + 0x28]
add esp, 0x18
add edi, edx
test eax, eax
je 0x601b3cf0
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x24]
push str.sync
push edx
call esi
add esp, 8
test eax, eax
jne 0x601b3c4d
mov dword [esp + 0x18], ebp
jmp 0x601b3cc4
lea eax, [esp + 0x24]
push str.bufsize
push eax
call esi
add esp, 8
test eax, eax
jne 0x601b3c71
mov eax, dword [esp + 0x14]
cmp eax, 0x200
jl 0x601b3cc4
mov dword [esp + 0x1c], eax
jmp 0x601b3cc4
mov ebp, dword [0x601d2808]
lea ecx, [esp + 0x24]
push 0x601cb44c
push ecx
call esi
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
inc esi
test ebp, ebp
je 0x601b3cc4
test esi, esi
je 0x601b3c9e
mov edx, dword [esp + 0x14]
mov dword [ebp + 4], edx
jmp 0x601b3cb4
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x601b3cbd
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x601b3c91
jmp 0x601b3cc4
mov edx, dword [esp + 0x14]
mov dword [ebp + 4], edx
lea eax, [esp + 0x10]
lea ecx, [edi + ebx]
push eax
push str.____n
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edi, edx
cmp eax, 0xffffffff
je 0x601b3cf0
cmp edi, dword [esp + 0x20]
jl 0x601b3be9
mov edx, dword [esp + 0x18]
pop ebp
mov ebx, dword [esp + 0x18]
neg edx
sbb edx, edx
and edx, ebx
push edx
call sym.nspr4.dll_PR_SetLogBuffering
push str.NSPR_LOG_FILE
call sym.nspr4.dll_PR_GetEnv
add esp, 8
mov esi, eax
test esi, esi
pop edi
je 0x601b3d55
cmp byte [esi], 0
je 0x601b3d55
push esi
call sym.nspr4.dll_PR_SetLogFile
add esp, 4
test eax, eax
jne 0x601b3d64
push esi
push str.Unable_to_create_nspr_log_file__s_n
call sym.nspr4.dll_PR_smprintf
mov esi, eax
add esp, 8
test esi, esi
je 0x601b3d64
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call sym.nspr4.dll_PR_smprintf_free
add esp, 4
pop esi
pop ebx
add esp, 0x54
ret
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x40
mov dword [0x601d2814], edx
pop esi
pop ebx
add esp, 0x54
ret
Function at 0x601b4030
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov eax, dword [0x601d3208]
sub esp, 0x200
test eax, eax
jne 0x601b4044
call fcn.601bba70
mov eax, dword [0x601d2814]
test eax, eax
je 0x601b41c1
call sym.nspr4.dll_PR_GetCurrentThread
test eax, eax
je 0x601b4062
mov ecx, dword [eax + 0xd8]
jmp 0x601b4064
xor ecx, ecx
push ebx
push ebp
push esi
push eax
push ecx
push str._ld__p_:
lea eax, [esp + 0x18]
push 0x1ff
push eax
call sym.nspr4.dll_PR_snprintf
mov edx, dword [esp + 0x224]
mov ebp, eax
lea ecx, [esp + 0x228]
mov eax, 0x1ff
push ecx
sub eax, ebp
push edx
lea ecx, [esp + ebp + 0x28]
push eax
push ecx
call sym.nspr4.dll_PR_vsnprintf
add esp, 0x24
add ebp, eax
je 0x601b40ba
cmp byte [esp + ebp + 0xb], 0xa
je 0x601b40ba
mov byte [esp + ebp + 0xc], 0xa
inc ebp
mov byte [esp + ebp + 0xc], 0
mov edx, dword [0x601d280c]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x601d2810]
test eax, eax
jne 0x601b411e
mov eax, dword [0x601d2814]
cmp eax, 0xfffffffe
jne 0x601b40fa
mov bl, byte [esp + ebp + 0xc]
lea esi, [esp + ebp + 0xc]
lea eax, [esp + 0xc]
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [esi], bl
jmp 0x601b41a2
push eax
push ebp
lea ecx, [esp + 0x14]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [0x601d2814]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
jmp 0x601b41a2
mov edx, dword [0x601d2800]
push edi
mov edi, dword [0x601d2804]
lea ecx, [edi + ebp]
cmp ecx, edx
jbe 0x601b4181
mov ecx, dword [0x601d2814]
cmp ecx, 0xfffffffe
jne 0x601b4158
mov bl, byte [edi]
mov byte [edi], 0
mov edx, dword [0x601d2810]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x601d2804]
mov byte [eax], bl
jmp 0x601b4175
sub edi, eax
push ecx
push edi
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ecx, dword [0x601d2814]
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
mov edi, dword [0x601d2810]
mov dword [0x601d2804], edi
mov ecx, ebp
lea esi, [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x601d2804]
pop edi
add eax, ebp
mov dword [0x601d2804], eax
mov eax, dword [0x601d280c]
add eax, 0x1c
push eax
call sym.nspr4.dll__PR_MD_UNLOCK
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x200
jmp sym.nspr4.dll_PR_LogFlush
add esp, 0x200
ret
Function at 0x601b41d0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov eax, dword [0x601d2810]
test eax, eax
je 0x601b4265
mov eax, dword [0x601d2814]
test eax, eax
je 0x601b4265
mov eax, dword [0x601d280c]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x601d2804]
mov ecx, dword [0x601d2810]
cmp eax, ecx
jbe 0x601b4255
mov edx, dword [0x601d2814]
cmp edx, 0xfffffffe
jne 0x601b422d
push ebx
mov bl, byte [eax]
mov byte [eax], 0
mov ecx, dword [0x601d2810]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [0x601d2804]
mov byte [edx], bl
pop ebx
jmp 0x601b4249
sub eax, ecx
push edx
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov eax, dword [0x601d2814]
push eax
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
mov ecx, dword [0x601d2810]
mov dword [0x601d2804], ecx
mov edx, dword [0x601d280c]
add edx, 0x1c
push edx
call sym.nspr4.dll__PR_MD_UNLOCK
pop ecx
ret

Function at 0x601b4320
Capabilities:
Get system information on windows

Disassembly:
jmp 0x601c6bb0
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
add esp, 0x24
ret
Function at 0x601b6560
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push ebx
mov ebx, 1
shl ebx, cl
push ebp
push esi
push edi
mov eax, ebx
shl eax, 4
push eax
push 1
call sym.nspr4.dll_PR_Calloc
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x601b6593
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
xor esi, esi
test ebx, ebx
jbe 0x601b65af
lea edi, [ebp + 8]
call sym.nspr4.dll_PR_NewMonitor
test eax, eax
mov dword [edi], eax
je 0x601b65af
add edi, 0x10
inc esi
cmp esi, ebx
jb 0x601b659c
cmp esi, ebx
je 0x601b65e9
test esi, esi
jne 0x601b65cb
push ebp
call sym.nspr4.dll_PR_Free
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, esi
shl ecx, 4
push ecx
push ebp
call sym.nspr4.dll_PR_Realloc
add esp, 8
test eax, eax
jne 0x601b65e9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
lea ecx, [esi - 1]
mov eax, ebp
test ecx, ecx
jbe 0x601b65fe
mov edx, ecx
lea ecx, [eax + 0x10]
dec edx
mov dword [eax], ecx
mov eax, ecx
jne 0x601b65f4
mov edx, dword [0x601d2834]
mov dword [eax], edx
mov dword [0x601d2834], ebp
mov ebp, dword [0x601d2840]
lea eax, [ebx*4]
add ebp, esi
push eax
push 1
mov dword [0x601d2840], ebp
call sym.nspr4.dll_PR_Calloc
add esp, 8
test eax, eax
jne 0x601b6657
mov ecx, dword [0x601d3330]
cmp dword [ecx + 4], 3
jl 0x601b66f1
push str.unable_to_grow_monitor_cache_hash_buckets
call sym.nspr4.dll_PR_LogPrint
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [0x601d2844]
mov esi, dword [0x601d2828]
lea edx, [ebx - 1]
xor ebp, ebp
test ecx, ecx
mov dword [0x601d2838], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
jbe 0x601b66b3
mov edx, dword [esi + ebp*4]
test edx, edx
je 0x601b66aa
mov edi, dword [edx + 4]
mov esi, dword [edx]
mov ecx, edi
shr ecx, 8
xor ecx, edi
mov edi, dword [0x601d2838]
shr ecx, 2
and ecx, edi
test esi, esi
mov edi, dword [eax + ecx*4]
mov dword [edx], edi
mov dword [eax + ecx*4], edx
mov edx, esi
jne 0x601b6681
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc ebp
cmp ebp, ecx
jb 0x601b667a
mov dword [0x601d2828], eax
mov eax, dword [esp + 0x1c]
push esi
mov dword [0x601d2844], ebx
mov dword [0x601d2830], eax
call sym.nspr4.dll_PR_Free
mov ecx, dword [0x601d3330]
add esp, 4
cmp dword [ecx + 4], 4
jl 0x601b66f1
mov edx, dword [0x601d2840]
push ebx
push edx
push str.expanded_monitor_cache_to__d__buckets__d_
call sym.nspr4.dll_PR_LogPrint
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x601b7040
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x601d3208]
push edi
xor edi, edi
test eax, eax
jne 0x601b7051
call fcn.601bba70
mov eax, dword [0x601d2854]
push esi
push eax
call sym.nspr4.dll_PR_EnterMonitor
mov eax, dword [0x601d2860]
mov esi, dword [sym.imp.MSVCRT.dll__strdup]
add esp, 4
test eax, eax
jne 0x601b7095
push str.LD_LIBRARY_PATH
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
jne 0x601b7086
mov eax, str.._lib
push eax
call esi
add esp, 4
mov dword [0x601d2860], eax
test eax, eax
je 0x601b709d
push eax
call esi
add esp, 4
mov edi, eax
mov ecx, dword [0x601d2854]
push ecx
call sym.nspr4.dll_PR_ExitMonitor
add esp, 4
test edi, edi
pop esi
jne 0x601b70c0
push 0
push 0xffffe890
call sym.nspr4.dll_PR_SetError
add esp, 8
mov eax, edi
pop edi
ret

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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x601b7b31
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push 0xffffe8da
call sym.nspr4.dll_PR_SetError
add esp, 8
call esi
push eax
call fcn.601b7430
add esp, 4
xor eax, eax
pop esi
add esp, 0x104
ret
lea ecx, [esp + 4]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x601b7b5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.601c9470
add esp, 4
xor eax, eax
pop esi
add esp, 0x104
ret
push edi

Function at 0x601b7b60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
mov eax, 0x2002c
call fcn.601b8670
mov edi, dword [0x601d2372]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov edx, dword [ebx]
cmp edx, ebx
je 0x601b7bd3
xor ebp, ebp
mov esi, dword [edx + 0x30]
mov ecx, ebp
movzx eax, word [esi]
test eax, eax
je 0x601b7bc5
mov dword [esp + 4], ebx
mov eax, ebp
mov dword [esp], edi
movzx edi, word [esi + eax*2]
cmp edi, 0x41
jl sym.nspr4.dll_PR_Calloc
cmp edi, 0x5a
lea ebx, [edi + 0x20]
jg sym.nspr4.dll_PR_Calloc
mov edi, ebx
cmp edi, ecx
je 0x601b8604
mov edx, dword [edx]
cmp edx, ebx
sal dword [ebp - 0x4b], cl
xor ebp, ebp
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
mov esi, dword [0x601d238a]
mov ebp, dword [edx + 0x18]
jmp 0x601b7bd5

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

Disassembly:
inc eax
movzx ebx, di
add ecx, ebx
movzx edi, word [esi + eax*2]
test edi, edi
jne 0x601b7b9d
mov ebx, dword [esp + 4]
mov edi, dword [esp]

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

Disassembly:
inc eax
movzx ebx, di
add ecx, ebx
movzx edi, word [esi + eax*2]
test edi, edi
jne 0x601b7b9d
mov ebx, dword [esp + 4]
mov edi, dword [esp]
Function at 0x601b7be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [0x601d2396]
mov ecx, dword [0x601d2386]
mov eax, dword [ebx + esi*8 + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [eax + ebp + 0x20]
mov ebx, dword [eax + ebp + 0x1c]
add ecx, ebp
mov esi, dword [eax + ebp + 0x24]
add ebx, ebp
mov edx, dword [eax + ebp + 0x18]
add esi, ebp
test edx, edx
jbe 0x601b7cb2
mov dword [esp + 4], esi
xor eax, eax
mov dword [esp + 0x20028], ebp
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 8]

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

Disassembly:
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20028]
add edi, dword [edx + eax*4]
cmp byte [edi], 0
je 0x601b7c98
xor ebp, ebp
inc ebp
cmp byte [ebp + edi], 0
jne 0x601b7c47
test ebp, ebp
je 0x601b7c98
mov ebx, ebp
xor ecx, ecx
shr ebx, 1
je 0x601b84d3
mov dword [esp + 8], eax
xor edx, edx
imul ecx, esi
movzx eax, byte [edi + edx*2]
add ecx, eax
imul ecx, esi
movzx eax, byte [edi + edx*2 + 1]
inc edx
add ecx, eax
cmp edx, ebx
jb 0x601b7c65
mov eax, dword [esp + 8]
lea ebx, [edx + edx + 1]
lea edx, [ebx - 1]
cmp edx, ebp
jae 0x601b7c9a
imul ecx, esi
movzx edx, byte [ebx + edi - 1]
add ecx, edx
jmp 0x601b7c9a
xor ecx, ecx
cmp ecx, dword [esp + 0x10]
je 0x601b85e8
inc esp
or dword [eax], eax
invalid
inc esp
or dword [eax], eax
add byte [eax + 0x3b], al
inc esp
and al, 0xc
inc eax
cmp eax, dword [esp + 0xc]
jb 0x601b7c32
mov ebp, dword [esp + 0x20028]
xor eax, eax
lea edx, [esp]
push 0x104
push edx
push 0
invalid

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

Disassembly:
ror byte [ebx + 0x2382a1d0], 1
sbb eax, 0xa21d8b60
and ebx, dword [0x4cb70f60]
push esp
invalid

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

Disassembly:
fisttp qword [ebx + 0x3242a74]
lds ecx, [ebx + 0x3182a4c]
cmc

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

Disassembly:
xchg dh, al
add byte [eax], al
add byte [ecx + 0x424b4], cl
add al, byte [eax]
xor edx, edx
mov dword [esp + 0x20028], ebp
mov dword [esp + 0x2000c], ecx
mov dword [esp + 0x20000], eax
add byte [edx], al
add byte [ecx + 0x14249c], cl
add al, byte [eax]
mov dword [esp + 0x20010], edi
mov esi, dword [esp + 0x20008]

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

Disassembly:
add byte [edx], al
add byte [ecx + 0x14249c], cl
add al, byte [eax]

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

Disassembly:
mov esp, 0x2002824
add byte [ebx], al
cmp al, 0x90

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

Disassembly:
inc ebp
cmp byte [ebp + edi], 0
jne sym.nspr4.dll_PR_ImportFileMapFromString
test ebp, ebp
je 0x601b7de7
mov ebx, ebp
xor ecx, ecx

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

Disassembly:
shr ebx, 1
je 0x601b84dd
mov dword [esp + 0x20008], edx
xor eax, eax
imul ecx, esi
movzx edx, byte [edi + eax*2]
add ecx, edx
imul ecx, esi
invalid
mov dh, 0x54
Function at 0x601b8000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx ecx, byte [edi + eax*2 + 1]
inc eax
add edx, ecx
cmp eax, ebx
jb 0x601b7ff4
mov ecx, dword [esp + 0x20010]
lea ebx, [eax + eax + 1]