joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034f9
Capabilities:
Terminate process

Disassembly:
jmp 0x451679
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45168a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405727
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403616
Capabilities:
Query environment variable

Disassembly:
jmp 0x498490
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4984a1
pop esi
ret
push ebx
push edi
push esi
call fcn.00498377
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403e95
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4984c9
push ebx
push esi
push edi
call fcn.00405529
add esp, 0xc
push 0
call fcn.00406032
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4055e2
Capabilities:
Parse pe header

Disassembly:
jmp 0x4407ab
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4407ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4407ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4407ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4407ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4407ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43e660
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00403670
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x43e69f
sub eax, 1
je 0x43e69a
sub eax, 1
je 0x43e696
xor eax, eax
leave
ret
push 3
jmp 0x43e6a1
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x48e139
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d48
mov eax, dword [0x4c9040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405c59
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x48e17b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x48e2d7
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405da8
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4cc930]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004031ac
mov ecx, dword [esi*4 + 0x4cc930]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x48e2d0
cmp eax, dword [edi + ecx + 0x24]
jne 0x48e2d0
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48e2d0
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004031ac
add esp, 0x14
test edx, edx
jl 0x48e2d0
jg 0x48e246
test eax, eax
jb 0x48e2d0
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x48e2d0
jl 0x48e260
cmp dword [ebp - 0x1008], eax
ja 0x48e2d0
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x48e27e
test ebx, ebx
je 0x48e2b7
cmp ecx, edi
jae 0x48e2b7
mov al, byte [ecx]
cmp al, 0xd
jne 0x48e298
lea eax, [edi - 1]
cmp ecx, eax
jae 0x48e2a4
cmp byte [ecx + 1], 0xa
jne 0x48e2a4
inc ecx
jmp 0x48e2a4
movzx eax, al
movsx eax, byte [eax + 0x4c9390]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x48e27e
cmp edx, ebx
jne 0x48e27e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x48e2d5
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402f90
leave
ret
Function at 0x48ea16
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 + 0x4cc930]
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 0x48ea56
cmp byte [ebx], 0xa
jne 0x48ea56
or byte [eax + edi + 0x28], 4
jmp 0x48ea5b
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x48eb59
mov al, byte [edx]
cmp al, 0x1a
je 0x48eb3b
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x48ea8a
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x48eaaf
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x48eab9
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 0x48ea6c
jmp 0x48eb59
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 0x48eb36
cmp dword [ebp - 0xc], 0
je 0x48eb36
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4cc930]
test byte [eax + edi + 0x28], 0x48
je 0x48eb10
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48eafb
mov byte [esi], dl
jmp 0x48eb0c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4cc930]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48eb59
cmp byte [ebp - 1], 0xa
jne 0x48eb1f
cmp esi, ebx
jne 0x48eb1f
mov byte [esi], 0xa
jmp 0x48eb58
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004018f7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48eb59
mov byte [esi], 0xd
jmp 0x48eb58
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4cc930]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48eb55
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48eb59
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48ebb5
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 + 0x4cc930]
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 0x48ebf8
cmp word [esi], dx
jne 0x48ebf8
or byte [edi + eax + 0x28], 4
jmp 0x48ebfd
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 0x48ed50
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 0x48ed30
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x48ec3f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48ec75
cmp eax, edx
jae 0x48ec81
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 0x48ec17
jmp 0x48ed50
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 0x48ed2c
cmp dword [ebp - 0x14], 0
je 0x48ed2c
mov eax, dword [ebx*4 + 0x4cc930]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x48ed04
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x48eccd
mov word [esi], cx
jmp 0x48ed00
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4cc930]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4cc930]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4cc930]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x48ed50
pop ebx
cmp word [ebp - 4], bx
jne 0x48ed15
cmp esi, dword [ebp + 0xc]
jne 0x48ed15
mov word [esi], bx
jmp 0x48ed4d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004018f7
add esp, 0x10
cmp word [ebp - 4], bx
je 0x48ed50
push 0xd
jmp 0x48ed49
mov ecx, dword [ebx*4 + 0x4cc930]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48ed47
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48ed50
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 0x496a2f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4c9040]
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 0x496a7a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00496ef1
test al, al
jne 0x496a74
sub edx, 2
cmp edx, edi
jne 0x496a5a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x496a9c
lea eax, [edi + 2]
cmp edx, eax
je 0x496a9c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00496628
add esp, 0x10
jmp 0x496b96
push esi
lea ecx, [ebp - 0x255]
call fcn.00496ef1
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 0x496adf
push dword [ebp - 0x25c]
jmp 0x496a8c
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 0x496b1c
cmp word [ebp - 0x226], 0
je 0x496b3d
cmp word [ebp - 0x226], ax
jne 0x496b1c
cmp word [ebp - 0x224], 0
je 0x496b3d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00496628
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x496b89
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x496af6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x496b71
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x496b96
push 0x496010
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405394
add esp, 0x10
jmp 0x496b66
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.00402f90
leave
ret
Function at 0x403240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fbad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43d140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00424ff3
mov edi, eax
add esp, 4
test edi, edi
je 0x4032dd
push 1
mov dword [ebp - 4], 0
call fcn.00424094
add esp, 4
mov dword [edi + 4], eax
jmp 0x4032df
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00401460
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x40333a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x40333a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x403356
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x403379
cmp byte [ebp + 0xc], 0
je 0x403365
push esi
call fcn.0042452a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x403385
mov esi, str.ios_base::badbit_set
jmp 0x403395
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00403880
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00401d30
push 0x4394b0
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x403640
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fc3b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x43d140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
mov dword [ebp - 0x244], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x240], esi
test esi, esi
je 0x40385c
lea eax, [ebp - 0x234]
push eax
push 4
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x40385c
mov eax, dword [ebp - 0x234]
xor ecx, ecx
shr eax, 2
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x23c], ecx
call fcn.00425031
mov edi, eax
add esp, 4
test edi, edi
je 0x403700
push dword [ebp - 0x23c]
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x403702
xor edi, edi
mov dword [ebp - 0x23c], edi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x234]
push edi
push esi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x40384f
xor esi, esi
test dword [ebp - 0x234], 0xfffffffc
jbe 0x40384f
nop dword [eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [edi + esi*4]
push dword [ebp - 0x240]
call sub.KERNEL32.dll_K32GetModuleFileNameExW
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403797
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00401230
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
push 0
mov byte [ebp - 4], 1
lea ecx, [eax + eax]
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x238]
push eax
call fcn.00404290
mov ecx, dword [ebp - 0x238]
push 0
push 2
push 0x4325ac
call fcn.00404290
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x40383d
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403833
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403877
push ecx
push edx
call fcn.00425023
add esp, 8
mov eax, dword [ebp - 0x234]
inc esi
shr eax, 2
cmp esi, eax
jb 0x403740
test edi, edi
je 0x40385c
push edi
call fcn.0042503a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042503f
mov esp, ebp
pop ebp
ret
call fcn.00426470
int3
Function at 0x404cb0
Capabilities:
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x43d140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push str.RshFileMap000
push 0x34
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404d2b
push 0x34
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x10]
add eax, 0x14
push eax
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x404d54
mov dword [esi], 0
mov dword [esi + 4], 0x3a4
mov dword [esi + 8], 0x411
mov dword [esi + 0xc], 0xfffffde4
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x14], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x404e9b
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404da6
pop edi
pop esi
mov eax, 0xffffd8ed
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042503f
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x40c]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404e85
mov eax, 0x5a4d
cmp word [ebp - 0x404], ax
jne 0x404e85
push edi
call ebx
lea edi, [ebp - 0x404]
mov ebx, 0x14c
add edi, dword [ebp - 0x3c8]
movzx eax, word [edi + 4]
cmp ax, bx
je 0x404e19
mov ecx, 0x8664
cmp ax, cx
je 0x404e19
pop edi
pop esi
mov eax, 0xffffd8e5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042503f
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x34]
push str.RcpEvent000
push 0
push 0
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x28]
push 0
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.RcpFileMap000
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
mov dword [esi + 0x3c], eax
cmp word [edi + 4], bx
mov eax, 0xffffd8ef
pop edi
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042503f
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffd8e6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042503f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffd8ec
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042503f
mov esp, ebp
pop ebp
ret
Function at 0x405970
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x43d140]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push esi
mov esi, dword [ebp + 0xc]
push str.RcpInternalMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4059cf
push 0
push str.NT_Locale_Emulator_Advance
push str.Err:_NTLEAS_could_not_startup_two_instances_at_one_time.
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
mov eax, 0xffffd8ee
pop esi
xor ecx, ebp
pop edi
call fcn.0042503f
mov esp, ebp
pop ebp
ret
push 0x4c
lea eax, [ebp - 0x50]
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [esi + 4]
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.00404cb0
add esp, 0x14
mov dword [ebp - 0x50], 4
mov esi, eax
mov dword [ebp - 0x4c], 0x3a4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x48], 0x411
push str.MS_PGothic
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
jns 0x405a26
push esi
call fcn.00405630
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x40
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa4], 0x44
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x60], xmm0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x405a76
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404ec0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
mov esi, eax
push dword [ebp - 0x5c]
call edi
test esi, esi
jns 0x405ab3
push esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.00405630
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x60]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406250
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
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
imul eax, ecx, 0x1000193
pop ebp
ret 4