joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7550
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.0052c8c0
mov eax, dword [0x5ed284]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], edx
push ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x10], ebp
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xac]
mov eax, dword [esi]
test ebx, ebx
je 0x4c75bc
cmp ebx, eax
je 0x4c75b3
test ebp, ebp
je 0x4c7739
test edi, edi
js 0x4c7739
mov ecx, 1
mov dword [esi], ebx
jmp 0x4c75c6
test eax, eax
je 0x4c7739
mov ebx, eax
test ebp, ebp
je 0x4c7730
push ebx
call fcn.00494ff0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x4c75fa
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.00494a80
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
jge 0x4c764b
push dword [esp + 0x10]
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.00491510
add esp, 0xc
test eax, eax
je 0x4c7739
push edi
push dword [esp + 0x1c]
push ebp
call fcn.004916b0
add esp, 0xc
test eax, eax
je 0x4c7739
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.00491470
add esp, 0xc
test eax, eax
je 0x4c7739
mov edi, dword [esi + 0x4c]
jmp 0x4c7668
cmp edi, 0x80
ja 0x4c7739
push edi
lea eax, [esi + 0x50]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x4c], edi
cmp edi, 0x80
je 0x4c7688
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x50]
add eax, edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
nop
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x4c7690
push edx
lea edi, [esi + 0x1c]
push ebx
push edi
call fcn.00491510
add esp, 0xc
test eax, eax
je 0x4c7739
push ebx
call fcn.00494ff0
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004916b0
add esp, 0x10
test eax, eax
je 0x4c7739
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x4c76d4
push dword [esp + 0x10]
lea edi, [esi + 0x34]
push ebx
push edi
call fcn.00491510
add esp, 0xc
test eax, eax
je 0x4c7739
push ebx
call fcn.00494ff0
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004916b0
add esp, 0x10
test eax, eax
je 0x4c7739
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.004918c0
add esp, 8
test eax, eax
je 0x4c7739
mov eax, 1
jmp 0x4c773b
test ecx, ecx
je 0x4c7715
jmp 0x4c768c
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052bfb9
add esp, 0x90
ret
Function at 0x4c78c0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x4c78d2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.00494ab0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x4c7995
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x4c7926
test esi, esi
jle 0x4c7974
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x4c7910
jmp 0x4c7974
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x4c794a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
jle 0x4c7974
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x4c7960
push esi
push ebp
push ebp
push edi
call fcn.00494fb0
add esp, 0x10
pop ebx
test eax, eax
jne 0x4c7995
push esi
push ebp
call fcn.004944b0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x4d2cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.0052c8c0
mov eax, dword [0x5ed284]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.00491a60
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.004918c0
add esp, 0xc
test eax, eax
je 0x4d2dd2
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00491470
add esp, 0xc
test eax, eax
je 0x4d2dd2
lea eax, [esp + 0x20]
push eax
call fcn.004916c0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x4d2df0
push edi
call fcn.00491ec0
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.00495280
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4d2dd2
push esi
call fcn.004a4760
add esp, 4
test eax, eax
jle 0x4d2dd2
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00495030
add esp, 0x18
test eax, eax
jle 0x4d2dd2
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.004a4680
add esp, 0x14
test eax, eax
jle 0x4d2dd2
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.00495220
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0052bfb9
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x4d2e08
cmp dword [edi], edx
je 0x4d2e32
inc eax
add ecx, 4
cmp eax, 4
jl 0x4d2df5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.00494060
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0052bfb9
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4d2e66
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.00494060
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0052bfb9
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052bfb9
add esp, 0x6c
ret
Function at 0x4de270
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x4efc30
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004efe40
add esp, 0xc
test eax, eax
js 0x4efe39
mov eax, dword [ebp + 0xf0]
push ebx
push esi
push edi
lea edi, [eax*4]
xor ebx, ebx
test edi, edi
jle 0x4efcb6
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x4efc70
mov eax, dword [ebp + 0xf0]
mov edi, 1
cmp eax, edi
jle 0x4efe34
lea esi, [ebp + 4]
movzx eax, byte [esi + 0xd]
lea esi, [esi + 0x10]
mov edx, dword [esi - 4]
inc edi
movzx ecx, byte [eax*4 + 0x59b888]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x59cc88]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59c488]
movzx eax, byte [esi - 2]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59c888]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59d088]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x59b888]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x59c888]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59cc88]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59c488]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59d088]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x59b888]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x59c888]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59cc88]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59c488]
movzx eax, dl
mov edx, dword [esi + 8]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59d088]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax*4 + 0x59b888]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x59c888]
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59cc88]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59c488]
movzx eax, dl
movzx eax, byte [eax*4 + 0x59b888]
xor ecx, dword [eax*4 + 0x59d088]
mov dword [esi + 8], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x4efcc6
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4e4150
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x4e4179
mov eax, edi
jmp 0x4e4183
push eax
push edi
call fcn.004a2910
add esp, 8
test eax, eax
jne 0x4e418b
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x4e41a9
mov eax, dword [ebp]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x4e4193
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x4e41c2
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x4e41b0
mov dword [edi + 4], eax
pop esi
test eax, eax
jle 0x4e41e3
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x4e41e0
dec eax
test eax, eax
jg 0x4e41d2
mov dword [edi + 4], eax
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4f2cd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.0052c8c0
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4f2d19
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x4f2d19
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x14], edi
jne 0x4f2d00
mov ecx, dword [esp + 0x2c]
movzx edx, byte [ecx + 0xc]
movzx eax, byte [ecx + 0xd]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xe]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xf]
shl edx, 8
or edx, eax
mov dword [esp + 0x24], edx
cmp esi, 0x10
jb 0x4f2de8
mov edi, ecx
nop dword [eax + eax]
mov ecx, esi
shr ecx, 4
push edi
push dword [esp + 0x2c]
lea eax, [ecx + edx]
neg edx
cmp eax, ecx
cmovae edx, ecx
mov dword [esp + 0x18], edx
xor edx, edx
push dword [esp + 0x18]
cmp eax, ecx
push ebx
cmovae edx, eax
push ebp
mov dword [esp + 0x38], edx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0x14
mov eax, edx
mov byte [edi + 0xf], dl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xe], al
test edx, edx
jne 0x4f2dc6
mov edx, 0xc
mov eax, 1
nop dword [eax]
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x4f2db0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x4f2d50
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
test esi, esi
je 0x4f2e56
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
push ecx
push dword [esp + 0x2c]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x4f2e37
push edx
call fcn.004f2ea0
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x4f2e44
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4f3470
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0052c8c0
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x38]
or eax, dword [ebp + 0x3c]
je 0x4f348f
mov eax, 0xfffffffe
pop ebp
pop ecx
ret
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, esi
add eax, dword [ebp + 0x30]
adc ecx, dword [ebp + 0x34]
cmp ecx, 0x20000000
ja 0x4f3559
jb 0x4f34b4
test eax, eax
jne 0x4f3559
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, dword [ebp + 0x16c]
mov dword [ebp + 0x34], ecx
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x30], eax
test edi, edi
je 0x4f3505
nop dword [eax]
test esi, esi
je 0x4f34ea
mov al, byte [ebx]
lea ecx, [ebp + 0x40]
xor byte [ecx + edi], al
inc ebx
inc edi
mov dword [esp + 0x18], ecx
dec esi
and edi, 0xf
jne 0x4f34d0
jmp 0x4f34f2
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x4f354b
lea eax, [ebp + 0x60]
push eax
push ecx
call fcn.004f48f0
mov ecx, dword [esp + 0x20]
add esp, 8
jmp 0x4f3509
mov dword [esp + 0x18], ecx
mov eax, esi
lea edx, [ebp + 0x60]
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x4f352b
push eax
push ebx
push edx
push ecx
call fcn.004f46c0
add ebx, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x4f354b
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x4f354b
mov edx, dword [esp + 0x18]
nop dword [eax + eax]
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x4f3540
mov dword [ebp + 0x16c], edi
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
pop esi
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x4f40b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0052c8c0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
shld esi, eax, 3
shld edi, ecx, 3
shl eax, 3
shl ecx, 3
cmp dword [ebx + 0x168], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ecx
jne 0x4f40fe
cmp dword [ebx + 0x16c], 0
je 0x4f4116
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.004f48f0
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], ecx
mov ecx, eax
mov dword [ebx + 0x34], esi
mov eax, esi
shrd ecx, eax, 8
mov dword [ebx + 0x3c], edi
shr eax, 8
movzx eax, cl
cdq
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov ebp, edx
movzx eax, cl
cdq
shld edx, eax, 8
shl eax, 8
or ebp, edx
or ebx, eax
mov eax, esi
shrd ecx, eax, 0x10
shld ebp, ebx, 8
shr eax, 0x10
shl ebx, 8
movzx eax, cl
mov ecx, dword [esp + 0x14]
cdq
or ebx, eax
or ebp, edx
shld ebp, ebx, 8
mov eax, esi
shrd ecx, eax, 0x18
shl ebx, 8
shr eax, 0x18
movzx eax, cl
mov ecx, dword [esp + 0x1c]
cdq
or ebx, eax
or ebp, edx
shld ebp, ebx, 8
movzx eax, cl
cdq
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
cdq
shld ebp, ebx, 8
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
cdq
shld ebp, ebx, 8
shr ecx, 0x18
shl ebx, 8
or ebp, edx
or ebx, eax
mov eax, edi
shld ebp, ebx, 8
shl ebx, 8
or ebx, ecx
mov ecx, dword [esp + 0x10]
shrd ecx, eax, 8
shr eax, 8
movzx eax, cl
mov ecx, dword [esp + 0x10]
cdq
mov esi, eax
mov edi, edx
movzx eax, cl
cdq
shld edx, eax, 8
shl eax, 8
or edi, edx
or esi, eax
shld edi, esi, 8
mov eax, dword [esp + 0x18]
shrd ecx, eax, 0x10
shl esi, 8
shr eax, 0x10
movzx eax, cl
mov ecx, dword [esp + 0x10]
cdq
or esi, eax
or edi, edx
mov eax, dword [esp + 0x18]
shrd ecx, eax, 0x18
shld edi, esi, 8
shr eax, 0x18
shl esi, 8
movzx eax, cl
mov ecx, dword [esp + 0x18]
cdq
or esi, eax
or edi, edx
shld edi, esi, 8
movzx eax, cl
cdq
shl esi, 8
or edi, edx
or esi, eax
mov eax, ecx
shld edi, esi, 8
shr eax, 8
movzx eax, al
cdq
shl esi, 8
or edi, edx
or esi, eax
mov eax, ecx
shld edi, esi, 8
shr eax, 0x10
movzx eax, al
shl esi, 8
cdq
or esi, eax
shr ecx, 0x18
or edi, edx
shld edi, esi, 8
shl esi, 8
or esi, ecx
mov ecx, dword [esp + 0x24]
add ecx, 0x40
xor dword [ecx], ebx
mov ebx, dword [esp + 0x24]
xor dword [ecx + 4], ebp
xor dword [ebx + 0x48], esi
lea eax, [ebx + 0x60]
xor dword [ebx + 0x4c], edi
push eax
push ecx
call fcn.004f48f0
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x40]
xor dword [ecx], eax
add esp, 8
mov eax, dword [ebx + 0x24]
xor dword [ecx + 4], eax
mov eax, dword [ebx + 0x28]
xor dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x2c]
xor dword [ebx + 0x4c], eax
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x4f42d0
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
ja 0x4f42d0
add esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp fcn.004947b0
or eax, 0xffffffff
add esp, 0x10
ret
Function at 0x4ff0f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x18
test ecx, ecx
jne 0x4ff112
push str.FDBReadBinaryField:_Null_file_object
push ecx
push ecx
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4ff130
push str.FDBReadBinaryField:_File_not_open
push esi
push esi
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x60]
test al, 1
jne 0x4ff14f
push str.FDBReadBinaryField:_File_not_open_for_reading
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
test al, 0x20
je 0x4ff16b
push str.FDBReadBinaryField:_Current_record_was_returned_by_FDBReturnProem
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x4ff188
push str.FDBReadBinaryField:_Prior_call_to_FDBReadProem_unsuccessful
push edx
push edx
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
inc dword [ecx + 0x5c]
mov eax, dword [edx + 0x94]
mov al, byte [eax + 0x40]
cmp al, 0x52
je 0x4ff1b4
cmp al, 0x50
je 0x4ff1b4
push str.FDBReadBinaryField:_Function_called_for_reading_data_other_than_a_binary_field
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edx + 0x88], 1
je 0x4ff1d5
push str.FDBReadBinaryField:_Should_not_be_called_for_reading_a_record_that_contains_more_than_one_field
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp al, 0x50
mov eax, dword [ebp + 0xc]
jne 0x4ff20e
movups xmm0, xmmword [0x59fd18]
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], esi
movq xmm0, qword [0x59fd28]
movq qword [ebp - 8], xmm0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0051a9f0
add esp, 4
jmp 0x4ff230
test eax, eax
je 0x4ff224
push esi
push 1
push dword [ebp + 0x10]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
jmp 0x4ff230
push dword [ebp + 0x10]
push ecx
call fcn.0051b5e0
add esp, 8
test eax, eax
jne 0x4ff24a
push str.FDBReadBinaryField:_Error_reading_file.
push eax
push eax
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ff260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4ff27d
push str.FDBReadBinaryFieldSize:_Null_file_object
push eax
push eax
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [eax + 8]
test esi, esi
jne 0x4ff299
push str.FDBReadBinaryFieldSize:_File_not_open
push esi
push esi
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [eax + 0x60]
test cl, 1
jne 0x4ff2b7
push str.FDBReadBinaryFieldSize:_File_not_open_for_reading
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
test cl, 0x20
je 0x4ff2d2
push str.FDBReadBinaryFieldSize:_Current_record_was_returned_by_FDBReturnProem
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x4ff2ed
push str.FDBReadBinaryFieldSize:_Prior_call_to_FDBReadProem_unsuccessful
push edx
push edx
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [edx + 0x94]
mov al, byte [eax + 0x40]
cmp al, 0x52
je 0x4ff314
cmp al, 0x50
je 0x4ff314
push str.FDBReadBinaryFieldSize:_Function_called_for_reading_data_other_than_a_binary_field
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
cmp dword [edx + 0x88], 1
je 0x4ff333
push str.FDBReadBinaryFieldSize:_Should_not_be_called_for_reading_a_record_that_contains_more_than_one_field
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
lea eax, [ebp + 8]
test cl, 0x10
je 0x4ff372
push esi
push 1
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x4ff3a8
lea edx, [ebp + 8]
lea esi, [ebp + 0xb]
mov al, byte [esi]
mov cl, byte [edx]
mov byte [edx], al
inc edx
mov byte [esi], cl
dec esi
cmp edx, esi
jb 0x4ff354
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
ret
push eax
push 0x5a0100
push esi
call fcn.004feff0
add esp, 0xc
test eax, eax
je 0x4ff3a8
cmp eax, 0xffffffff
je 0x4ff3a8
push 0x5c5ae0
push esi
call fcn.004feff0
mov ecx, dword [ebp + 0xc]
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, 1
pop esi
pop ebp
ret
push str.FDBReadBinaryFieldSize:_Error_reading_file.
push 0
push 0
call sym.FLAMESLauncher.exe_FMHAnnounceError
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret