joyce8/EMBER2024-capa huggingface dataset:
Function at 0x155cf384
Capabilities:
Execute syscall

Disassembly:
sti
or eax, 0x53374b37
aaa
outsb dx, byte [esi]
aaa
nop
aaa
mov eax, 0x937d037
cmp byte [ebx], ah
cmp byte [ecx], ch
cmp byte [ecx], bh
cmp byte [ebx + 0x38], dl
xchg edi, eax
cmp byte [ebx - 0x2dc73fc8], ah
cmp byte [edx], dh
cmp dword [esi], edi
cmp edx, esp
cmp edx, esi
cmp eax, edi
cmp dword [eax], esp
cmp ebx, dword [ebx + 0x3e]
jnp 0x155cf3f4
lea edi, [esi]
sar dword [esi], cl
fdivr dword [esi]
lock adc edi, dword ds:[edi]
cmp bh, byte [edi]
push ebp
aas
invalid
sysenter
adc eax, 0x3f342534
xor al, 0x86
xor al, 0xa6
xor al, 0xbc
xor al, 0x73
xor eax, 0x372c3706
push esp
aaa
aaa
stosb byte es:[edi], al
aaa
ret 0xe937

Function at 0x155eb255
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xfdfe04c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], edx
stosd dword es:[edi], eax
call fcn.155eb199
cmp eax, esi
jl 0x155eb360
push 0x10
pop edx
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x14]
cmp ebx, edx
jbe 0x155eb2da
mov esi, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
lea eax, [ebp - 0x30]
push eax
push edx
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
push edx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 4]
call 0x15609e0a
cmp eax, esi
jl 0x155eb360
add dword [ebp - 0x28], 0x10
sub ebx, 0x10
jmp 0x155eb358
jne 0x155eb2ff
mov esi, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ecx, ecx
sub esi, eax
lea eax, [ebp + ecx - 0x14]
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, edx
jb 0x155eb2ed
xor esi, esi
jmp 0x155eb336
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push dword [ebp - 0x28]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.155d38d1
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
mov byte [ebp + ebx - 0x14], 0x80
sub edi, eax
lea eax, [ebp + ecx - 0x14]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, 0x10
jb 0x155eb324
push 0x10
pop edx
push esi
lea eax, [ebp - 0x30]
push eax
push edx
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push esi
push esi
push esi
push edx
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 4]
call 0x15609e0a
cmp eax, esi
jl 0x155eb360
xor ebx, ebx
cmp ebx, esi
ja 0x155eb296
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.155d38dc
leave
ret 0x14
Function at 0x15600e69
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.1560298d
test eax, eax
jg 0x15600e8b
xor eax, eax
jmp 0x15600ed0
push esi
xor eax, eax
push edi
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0xfdf7ed8]
jne 0x15600eb2
mov edi, dword [eax + 0xfdf7edc]
mov esi, dword [ebp - 0x10]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x15600eae
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x15600ebf
add eax, 0xc
inc ebx
cmp eax, 0xcc
jae 0x15600ecb
jmp 0x15600e8f
imul ebx, ebx, 0xc
mov eax, dword [ebx + 0xfdf7ee0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x423f25
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d9cc
and dword [ebp - 4], 0
cmp dword [0x44b370], 0
mov ebx, eax
jne 0x423fd6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424087
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x424087
push eax
call fcn.0041d95a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b370], eax
call esi
push eax
call fcn.0041d95a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b374], eax
call esi
push eax
call fcn.0041d95a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b378], eax
call esi
push eax
call fcn.0041d95a
pop ecx
mov dword [0x44b380], eax
test eax, eax
je 0x423fd6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d95a
pop ecx
mov dword [0x44b37c], eax
mov eax, dword [0x44b37c]
cmp eax, ebx
je 0x42402e
cmp dword [0x44b380], ebx
je 0x42402e
push eax
call fcn.0041d9d5
push dword [0x44b380]
mov esi, eax
call fcn.0041d9d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42402e
test edi, edi
je 0x42402e
call esi
test eax, eax
je 0x424025
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424025
test byte [ebp - 0xc], 1
jne 0x42402e
or dword [ebp + 0x10], 0x200000
jmp 0x424067
mov eax, dword [0x44b374]
cmp eax, ebx
je 0x424067
push eax
call fcn.0041d9d5
pop ecx
test eax, eax
je 0x424067
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424067
mov eax, dword [0x44b378]
cmp eax, ebx
je 0x424067
push eax
call fcn.0041d9d5
pop ecx
test eax, eax
je 0x424067
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b370]
call fcn.0041d9d5
pop ecx
test eax, eax
je 0x424087
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424089
xor eax, eax
pop edi
pop esi
pop ebx
leave
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
Function at 0x44c6e4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4ce600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x44c72f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044cbef
test al, al
jne 0x44c729
sub edx, 2
cmp edx, edi
jne 0x44c70f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44c751
lea eax, [edi + 2]
cmp edx, eax
je 0x44c751
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044c2dd
add esp, 0x10
jmp 0x44c84b
push esi
lea ecx, [ebp - 0x255]
call fcn.0044cbef
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44c794
push dword [ebp - 0x25c]
jmp 0x44c741
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44c7d1
cmp word [ebp - 0x226], 0
je 0x44c7f2
cmp word [ebp - 0x226], ax
jne 0x44c7d1
cmp word [ebp - 0x224], 0
je 0x44c7f2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044c2dd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44c83e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x44c7ab
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44c826
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44c84b
push 0x44bbc3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403e36
add esp, 0x10
jmp 0x44c81b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025cc
leave
ret
Function at 0x460744
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d0df0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x460784
cmp byte [ebx], 0xa
jne 0x460784
or byte [eax + edi + 0x28], 4
jmp 0x460789
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x460887
mov al, byte [edx]
cmp al, 0x1a
je 0x460869
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4607b8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4607dd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4607e7
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46079a
jmp 0x460887
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460864
cmp dword [ebp - 0xc], 0
je 0x460864
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4d0df0]
test byte [eax + edi + 0x28], 0x48
je 0x46083e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x460829
mov byte [esi], dl
jmp 0x46083a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d0df0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x460887
cmp byte [ebp - 1], 0xa
jne 0x46084d
cmp esi, ebx
jne 0x46084d
mov byte [esi], 0xa
jmp 0x460886
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401613
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x460887
mov byte [esi], 0xd
jmp 0x460886
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4d0df0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x460883
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x460887
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4608e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4d0df0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x460926
cmp word [esi], dx
jne 0x460926
or byte [edi + eax + 0x28], 4
jmp 0x46092b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x460a7e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x460a5e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46096d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4609a3
cmp eax, edx
jae 0x4609af
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x460945
jmp 0x460a7e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460a5a
cmp dword [ebp - 0x14], 0
je 0x460a5a
mov eax, dword [ebx*4 + 0x4d0df0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x460a32
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4609fb
mov word [esi], cx
jmp 0x460a2e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d0df0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d0df0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d0df0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x460a7e
pop ebx
cmp word [ebp - 4], bx
jne 0x460a43
cmp esi, dword [ebp + 0xc]
jne 0x460a43
mov word [esi], bx
jmp 0x460a7b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401613
add esp, 0x10
cmp word [ebp - 4], bx
je 0x460a7e
push 0xd
jmp 0x460a77
mov ecx, dword [ebx*4 + 0x4d0df0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x460a75
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x460a7e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
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
Function at 0x10001822
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000182c
repz ret
jmp fcn.10001bc2

Function at 0x1000187f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000188e
pop dword [ebp - 0x48]
mov eax, 0x5b713a69
sub eax, 0x4b7121db
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xfafca5d6
add dword [ebp - 0x58], 0x53559f75
mov dword [ebp - 0x54], 0x2a3364c0
sub dword [ebp - 0x54], 0xf800187b
mov dword [ebp - 0x50], 0xf4cb194e
sub dword [ebp - 0x50], 0xa87ed520
mov dword [ebp - 0x4c], 0x17c11a03
add dword [ebp - 0x4c], 0xe83ee5fd
lea eax, [ebp - 0x58]
push eax
mov eax, 0x7f04ed27
sub eax, 0x6f04bcdf
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xb445481e
sub dword [ebp - 0x58], 0x3fd2dec8
mov dword [ebp - 0x54], 0x3be4146e
sub dword [ebp - 0x54], 0xfa77b2f9
mov dword [ebp - 0x50], 0x4a60d454
add dword [ebp - 0x50], 0x190e9818
mov dword [ebp - 0x4c], 0xd3aec526
sub dword [ebp - 0x4c], 0xd3aec526
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x39013
push 0
call eax
mov ecx, 0xa85e2b31
add ecx, 0x57a226c1
mov esi, eax
mov edi, 0x10006200
add edi, dword [ebp - 0x48]
mov edx, 0x499b186d
add edx, 0x3ef113d7
xor dword [ebp - 0x2c], 0xca5797c4
mov ebx, dword [edi]
xor dword [ebp - 0x34], 0x2167378e
add ebx, edx
xor dword [ebp - 0x18], edi
mov dword [esi], ebx
add dword [ebp - 0x14], ebx
add esi, 4
add edi, 0xf4d42f23
add edi, 0xb2bd0e1
loop 0x100019a5
add eax, 0xec0c67f
add eax, 0xf140741c
mov ebx, eax
add eax, 0xb8ac1136
add eax, 0x4753eecf
mov ecx, 0x45937c7b
sub ecx, 0x35937c7b
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4137d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4136f0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x413740
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x7530
call esi
jmp 0x4137c0
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.00408c60
call fcn.00407130
mov ecx, 1
call fcn.00408850
mov ecx, 1
call fcn.00408290
sub esp, 0x18
mov ecx, esp
call fcn.00405500
call fcn.00409090
add esp, 0x18
call fcn.00410fe0
jmp 0x413790

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
Function at 0x401000
Capabilities:
Parse pe header

Disassembly:
push esi
mov eax, dword [0x4f600c]
mov dword [eax], 1
mov eax, dword [0x4f6010]
mov dword [eax], 1
mov eax, dword [0x4f6014]
adc al, 0x60
dec edi
add bh, al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
mov eax, dword [sym.firefox.exe_Ordinal_0]

Function at 0x401020
Capabilities:
Parse pe header

Disassembly:
adc al, 0x60
dec edi
add bh, al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
mov eax, dword [sym.firefox.exe_Ordinal_0]
movzx ecx, word [eax]
cmp ecx, 0x5a4d

Function at 0x401028
Capabilities:
Parse pe header

Disassembly:
adc al, 0x60
dec edi
add bh, al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
mov eax, dword [sym.firefox.exe_Ordinal_0]
movzx ecx, word [eax]
cmp ecx, 0x5a4d

Function at 0x401110
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4f6008]
mov dword [eax], 1
jmp fcn.00401120
Function at 0x401480
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x14
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x4f62d0]
mov eax, dword [eax]
xor eax, ebp
mov dword [esp + 0x10], eax
push 0
push 0
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x401536
mov edi, eax
add eax, edi
mov ecx, 0xffffffff
cmovae ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
mov ebx, edi
add ebx, 0xffffffff
push edi
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp ebx, eax
jne 0x40152a
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x40152a
mov ebx, eax
add eax, ebx
mov ecx, 0xffffffff
cmovae ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401521
push edi
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
call sub.mozglue.dll_free
add esp, 4
push esi
call sub.mozglue.dll_free
add esp, 4
mov ebx, dword [ebp + 0xc]
push 0x4f604c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea eax, [ebp + 8]
lea ecx, [esp + 8]

Function at 0x4016c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov edi, dword [ebp + 8]
mov eax, dword [0x4f62d0]
mov eax, dword [eax]
xor eax, ebp
mov dword [esp + 0x158], eax
lea eax, [esp + 0x38]
push 1
push eax
call dword [method.mozilla::TimeStamp.Now_bool_]
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [method.mozilla::baseprofiler.profiler_init_void_]
add esp, 4
call dword [method.mozilla::baseprofiler::AutoProfilerLabel.GetProfilingStack__]
mov dword [esp + 0xc], eax
test eax, eax
je 0x401748
mov esi, eax
mov ebx, dword [eax + 8]
cmp ebx, dword [eax]
jae 0x401c27
mov eax, dword [esi + 4]
shl ebx, 5
mov ecx, str.nsBrowserApp_main
mov dword [eax + ebx], ecx
mov dword [eax + ebx + 4], 0
lea ecx, [esp + 0xc]
mov dword [eax + ebx + 8], ecx
mov dword [eax + ebx + 0x1c], 0x10001
add dword [esi + 8], 1
mov ebx, dword [ebp + 0xc]
cmp edi, 2
jl 0x40178e
mov eax, dword [ebx + 4]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x401774
cmp cl, 0x2d
jne 0x40178e
lea ecx, [eax + 1]
lea edx, [eax + 2]
cmp byte [eax + 1], 0x2d
cmove ecx, edx
push str.contentproc
push ecx
jmp 0x40177d
add eax, 1
push str.contentproc
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
add al, 0xa6
inc eax
add byte [edi*2 - 0x4ffa38f4], cl
movsd dword es:[edi], dword [esi]
inc eax
add byte [edi], al
Function at 0x402680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4070a1
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret

Function at 0x40bd90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x2c
mov esi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [0x4f62d0]
mov eax, dword [ecx]
xor eax, ebp
mov dword [esp + 0x28], eax
xor edi, edi
test ebx, ebx
je 0x40be81
cmp dword [esi], 0
je 0x40be81
cmp dword [esi + 0xc], 0
je 0x40bdd0
mov edi, dword [esi + 0x10]
jmp 0x40be81
mov al, byte [0x5178d8]
test al, al
je 0x40be9e
mov ecx, dword [0x518b48]
xor edi, edi
mov eax, ebx
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebx
mov dword [esi + 0x10], ecx
sub esp, 0x18
mov dword [esp + 0x10], ecx
movaps xmm0, xmmword [0x4f64f0]
movups xmmword [esp], xmm0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x40be6b
sub esp, 0x14
movaps xmm0, xmmword [0x4f6500]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x40be73
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov dword [esp + 4], ecx
mov dword [esp], ecx
mov edx, esp
lea edi, [esp + 4]
mov ecx, esi
push eax
push edx
push edi
push dword [esi + 0x10]
push dword [esi]
call fcn.0040bee0
mov dword [esi + 0xc], eax
test eax, eax
je 0x40be79
mov edi, dword [esi + 0x10]
jmp 0x40be7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40be7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov ecx, dword [0x4f62d0]
mov eax, dword [esp + 0x28]
xor eax, ebp
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x40be99
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.00468008
push 0x5178d8
call fcn.004c3610
add esp, 4
test eax, eax
je 0x40bddd
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x518b48], eax
push 0x5178d8
call fcn.004c3768
add esp, 4
jmp 0x40bddd