joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498700
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa4f758
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.00626140
xor ecx, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x7f8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0xc], eax
mov dword [eax + edx], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0xc], eax
mov dword [eax + edx], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0xc], eax
mov dword [eax + edx], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov cx, word [esp + 0x36]
add eax, 4
mov dword [esp + 0xc], eax
add eax, edx
mov dx, word [esp + 0x34]
mov word [eax], dx
mov dl, byte [esp + 0x38]
mov word [eax + 2], cx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
add eax, 4
mov dword [esp + 0xc], eax
mov byte [eax + ecx], dl
inc dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x4b1
mov ecx, 0xd3a24c
call fcn.00589870
mov ecx, dword [esp + 4]
push ecx
mov dword [esp + 0x20], 0xffffffff
call fcn.00626120
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret

Function at 0x498800
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0xa4c368
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.00626140
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x7f8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov dx, word [ecx]
mov cx, word [ecx + 2]
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov word [eax], dx
mov eax, dword [esp + 0x10]
mov dx, word [ecx]
mov esi, dword [esp + 8]
mov cx, word [ecx + 2]
add eax, 4
mov dword [esp + 0x10], eax
add eax, esi
mov word [eax], dx
mov dl, byte [esp + 0x30]
mov word [eax + 2], cx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
add eax, 4
mov dword [esp + 0x10], eax
mov byte [eax + ecx], dl
inc dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push 0x18
mov ecx, 0xd3a24c
call fcn.00589870
mov ecx, dword [esp + 8]
push ecx
mov dword [esp + 0x24], 0xffffffff
call fcn.00626120
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x4988d0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa6eb78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
call fcn.00626140
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x7f8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x2c]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + edx], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov dword [ecx + edx + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dx, word [esp + 0x38]
add eax, 8
mov dword [esp + 0x14], eax
mov word [eax + ecx], dx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov dx, word [ecx]
mov edi, dword [esp + 0xc]
mov cx, word [ecx + 2]
add eax, 2
mov dword [esp + 0x14], eax
add eax, edi
mov word [eax], dx
mov word [eax + 2], cx
add dword [esp + 0x14], 4
mov ecx, dword [0xce1d00]
mov eax, dword [ecx + 0x568]
cmp dword [eax + 0x1c], 0xa
mov ecx, dword [ecx + 0x570]
jne 0x4989ab
mov ecx, dword [ecx + 0x1664]
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0083d470
jmp 0x4989bd
mov ecx, dword [ecx + 0x1638]
lea edx, [esp + 0xc]
push edx
push 0x43
call fcn.00484050
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00626120
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x498c90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa4c368
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.00626140
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x7f8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [0xce1d00]
mov ecx, dword [ecx + 0x568]
movzx edx, word [ecx + 0x38]
mov word [eax], dx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
add eax, 2
mov dword [esp + 0x10], eax
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dx, word [ecx]
mov cx, word [ecx + 2]
inc eax
mov dword [esp + 0x10], eax
add eax, esi
mov word [eax], dx
mov edx, dword [esp + 0x2c]
mov word [eax + 2], cx
add dword [esp + 0x10], 4
push edx
lea ecx, [esp + 0xc]
call fcn.005930a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov dl, byte [esp + 0x30]
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 8]
inc eax
mov dword [esp + 0x10], eax
mov byte [eax + edx], cl
inc dword [esp + 0x10]
cmp ecx, 1
jne 0x498d67
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.005930a0
lea ecx, [esp + 8]
push ecx
push 0x19d
mov ecx, 0xd3a24c
call fcn.00589870
mov edx, dword [esp + 8]
push edx
mov dword [esp + 0x24], 0xffffffff
call fcn.00626120
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x499100
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa52da8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov al, byte [esp + 0x58]
fld1
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0xd825c0
mov dword [esp + 0x24], 0x190
mov dword [esp + 0x28], 0
call fcn.0058dc40
mov eax, dword [esp + 0x54]
movsx edx, word [eax]
movsx eax, word [eax + 2]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0
fild dword [esp + 0x58]
mov dword [esp + 0x58], eax
fild dword [0xcddb00]
mov eax, dword [esp + 0x38]
fld qword [0xa93158]
add eax, 0x34
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 4]
mov ecx, dword [esp + 4]
fldz
fstp dword [esp + 8]
fild dword [esp + 0x58]
mov edx, dword [esp + 8]
fild dword [0xcddb04]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
fmulp st(2)
fsubrp st(1)
fmul qword [0xa93188]
fchs
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x38]
call fcn.0058d0b0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x24], vtable.RefT_class_snd::SoundObject_.0
test ecx, ecx
je 0x499201
lea eax, [esp + 0x24]
push eax
call fcn.00625840
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x44
ret

Function at 0x4992f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xa52da8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov al, byte [esp + 0x58]
fld1
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0xd825c0
mov dword [esp + 0x24], 0x190
mov dword [esp + 0x28], 0
call fcn.0058dc40
mov eax, dword [esp + 0x54]
movsx edx, word [eax + 0x6c]
movsx eax, word [eax + 0x6e]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0
fild dword [esp + 0x58]
mov dword [esp + 0x58], eax
fild dword [0xcddb00]
mov eax, dword [esp + 0x38]
fld qword [0xa93158]
add eax, 0x34
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 4]
mov ecx, dword [esp + 4]
fldz
fstp dword [esp + 8]
fild dword [esp + 0x58]
mov edx, dword [esp + 8]
fild dword [0xcddb04]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
fmulp st(2)
fsubrp st(1)
fmul qword [0xa93188]
fchs
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x38]
call fcn.0058d0b0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x24], vtable.RefT_class_snd::SoundObject_.0
test ecx, ecx
je 0x4993f2
lea eax, [esp + 0x24]
push eax
call fcn.00625840
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x44
ret
Function at 0x499410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xa52da8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
fld1
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0xd825c0
mov dword [esp + 0x24], 0x190
mov byte [esp + 0x2c], 0
call fcn.0058dc40
mov eax, dword [esp + 0x54]
movsx edx, word [eax + 0x6c]
movsx eax, word [eax + 0x6e]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0
fild dword [esp + 0x58]
mov dword [esp + 0x58], eax
fild dword [0xcddb00]
mov eax, dword [esp + 0x38]
fld qword [0xa93158]
add eax, 0x34
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 4]
mov ecx, dword [esp + 4]
fldz
fstp dword [esp + 8]
fild dword [esp + 0x58]
mov edx, dword [esp + 8]
fild dword [0xcddb04]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
fmulp st(2)
fsubrp st(1)
fmul qword [0xa93188]
fchs
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x38]
call fcn.0058d0b0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x24], vtable.RefT_class_snd::SoundObject_.0
test ecx, ecx
je 0x49950f
lea eax, [esp + 0x24]
push eax
call fcn.00625840
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x44
ret

Function at 0x4995f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa52da8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
fld1
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0xd825c0
mov dword [esp + 0x24], 0x190
mov byte [esp + 0x2c], 0
call fcn.0058dc40
mov eax, dword [esp + 0x54]
movsx edx, word [eax]
movsx eax, word [eax + 2]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0
fild dword [esp + 0x58]
mov dword [esp + 0x58], eax
fild dword [0xcddb00]
mov eax, dword [esp + 0x38]
fld qword [0xa93158]
add eax, 0x34
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 4]
mov ecx, dword [esp + 4]
fldz
fstp dword [esp + 8]
fild dword [esp + 0x58]
mov edx, dword [esp + 8]
fild dword [0xcddb04]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
fmulp st(2)
fsubrp st(1)
fmul qword [0xa93188]
fchs
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x38]
call fcn.0058d0b0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x24], vtable.RefT_class_snd::SoundObject_.0
test ecx, ecx
je 0x4996ee
lea eax, [esp + 0x24]
push eax
call fcn.00625840
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x44
ret
Function at 0x499700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xa4f7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
fld1
mov edx, dword [esp + 0x48]
fstp dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x28]
xor ebx, ebx
push ecx
mov ecx, 0xd825c0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
call fcn.0058dc40
mov edx, dword [esp + 0x30]
mov byte [edx + 0x45], bl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ebx
call fcn.0058d0b0
mov ecx, dword [esp + 0x30]
mov esi, ecx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], vtable.RefT_class_snd::SoundObject_.0
cmp ecx, ebx
je 0x499793
lea eax, [esp + 0x1c]
push eax
call fcn.00625840
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x49e630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
movzx edx, word [ecx + 0x10]
mov word [eax + 0x10], dx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
movzx edx, word [ecx + 0x1c]
mov word [eax + 0x1c], dx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
movzx edx, word [ecx + 0x28]
mov word [eax + 0x28], dx
movzx edx, word [ecx + 0x2a]
mov word [eax + 0x2a], dx
movzx edx, byte [ecx + 0x2c]
mov byte [eax + 0x2c], dl
movzx edx, word [ecx + 0x2e]
mov word [eax + 0x2e], dx
movzx edx, word [ecx + 0x30]
mov word [eax + 0x30], dx
movzx edx, word [ecx + 0x32]
mov word [eax + 0x32], dx
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x38], edx
movzx edx, word [ecx + 0x3c]
mov word [eax + 0x3c], dx
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x44], edx
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [ecx + 0x4c]
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x50], edx
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x54], edx
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x58], edx
mov edx, dword [ecx + 0x5c]
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x60], edx
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x64], edx
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x68], edx
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x70], edx
mov edx, dword [ecx + 0x74]
mov dword [eax + 0x74], edx
mov edx, dword [ecx + 0x78]
mov dword [eax + 0x78], edx
mov edx, dword [ecx + 0x7c]
mov dword [eax + 0x7c], edx
movzx edx, byte [ecx + 0x80]
mov byte [eax + 0x80], dl
mov edx, dword [ecx + 0x84]
mov dword [eax + 0x84], edx
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x88], edx
mov edx, dword [ecx + 0x8c]
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x90]
mov dword [eax + 0x90], edx
mov edx, dword [ecx + 0x94]
mov dword [eax + 0x94], edx
mov edx, dword [ecx + 0x98]
mov dword [eax + 0x98], edx
mov cx, word [ecx + 0x9c]
mov word [eax + 0x9c], cx
ret 4
Function at 0x4d6024
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x1d0]
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
cmp dword [edi + 0x14], ebx
je 0x4d6064
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x4d6051
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push ebx
push edi
call edx
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x4d6061
push edi
call fcn.00625840
mov dword [edi + 0x14], ebx
mov dword [edi + 0x14], ebx
mov eax, dword [esp + 0x20]
movzx ecx, word [eax]
mov word [esi + 0x184], cx
movzx edx, word [eax + 2]
mov word [esi + 0x186], dx
movzx ecx, word [eax + 4]
mov word [esi + 0x188], cx
movzx edx, word [eax + 6]
mov word [esi + 0x18a], dx
movzx ecx, word [eax + 8]
mov word [esi + 0x18c], cx
movzx edx, word [eax + 0xa]
mov word [esi + 0x18e], dx
movsx ecx, word [eax]
movsx edx, word [eax + 2]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fild dword [0xcddb00]
fld qword [0xa93158]
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
fldz
fst dword [esp + 0x10]
fild dword [esp + 0x20]
mov edx, dword [esp + 0x10]
fild dword [0xcddb04]
mov dword [esi + 0x198], ecx
mov dword [esi + 0x19c], edx
mov edx, dword [esp + 0x18]
fmul st(3)
fsubp st(1)
fld qword [0xa93188]
fmul st(1), st(0)
fxch st(1)
fchs
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1a0], ecx
mov dword [esi + 0x1a4], edx
movsx ecx, word [eax + 4]
movsx edx, word [eax + 6]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fild dword [0xcddb00]
fmul st(4)
fsubp st(1)
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
fxch st(1)
fst dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fild dword [esp + 0x20]
fild dword [0xcddb04]
mov dword [esi + 0x1a8], ecx
mov dword [esi + 0x1ac], edx
mov edx, dword [esp + 0x18]
fmul st(4)
fsubp st(1)
fmul st(2)
fchs
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1b0], ecx
mov dword [esi + 0x1b4], edx
movsx ecx, word [eax + 8]
movsx edx, word [eax + 0xa]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fild dword [0xcddb00]
fmul st(4)
fsubp st(1)
fstp dword [esp + 0xc]
fst dword [esp + 0x10]
fild dword [esp + 0x20]
fild dword [0xcddb04]
mov eax, dword [esp + 0xc]
fmulp st(4)
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1b8], eax
mov eax, dword [esp + 0x18]
fsubrp st(3)
fxch st(2)
mov dword [esi + 0x1bc], ecx
push ebx
fmulp st(1)
mov ecx, esi
fchs
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c0], edx
fstp dword [esi + 0x190]
mov dword [esi + 0x1c4], eax
call fcn.00565ed0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
Function at 0x5074ce
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa6d248
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x14]
lea esi, [eax + 0x1c]
push esi
call fcn.00448140
test al, al
push esi
setne byte [esp + 0x40]
call fcn.004d67c0
push ebp
mov dword [esp + 0x1c], eax
call fcn.00499a00
mov eax, dword [edi + 0x64]
add esp, 0xc
test eax, eax
je 0x50746e
add eax, 0xc
jmp 0x507470
xor eax, eax
push 0
push 0
push eax
push ebp
call fcn.00499910
mov eax, dword [esp + 0x4c]
mov ecx, dword [edi + 0x64]
add esp, 0x10
push eax
call fcn.00417fb0
test eax, eax
je 0x5075e2
movzx ecx, word [eax + 0x3a]
cmp cx, 1
je 0x5074a7
cmp cx, 3
jne 0x5075e2
cmp byte [esp + 0x38], 0
mov dword [edi + 0x19c], eax
je 0x507591
lea esi, [eax + 0x6c]
push esi
push str.heal
mov ecx, 0xdbba20
call fcn.00984350
push 0
push esi
push 1
push str.eff_healing2
call fcn.00499100
add esp, 0x10
call fcn.00626140
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x7f8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov cx, word [esi]
mov si, word [esi + 2]
mov edx, dword [esp + 0x10]
mov word [eax], cx
mov word [eax + 2], si
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x1c], eax
mov dword [eax + ecx], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x1c], eax
mov dword [eax + ecx], 3
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x1c], eax
mov byte [eax + edx], 0
inc dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x21
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00419110
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x30], 0xffffffff
call fcn.00626120
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0x10
push eax
call fcn.004c7970
mov eax, dword [edi + 0x19c]
add esp, 4
test eax, eax
je 0x5075cb
mov ecx, dword [0xce1d00]
mov edx, dword [ecx + 0x568]
mov ax, word [eax + 0x38]
cmp ax, word [edx + 0x38]
jne 0x5075cb
movzx edx, word [edi + 0x188]
push 0
push edx
push 2
call fcn.00449730
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0x10
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0x10
Function at 0x56bab0
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
movzx bx, byte [esi]
mov edx, eax
shr edx, 8
xor dx, bx
mov ebx, 0xff
and dx, bx
movzx edx, dx
movzx edx, dx
shl eax, 8
xor ax, word [ecx + edx*2]
inc esi
sub edi, 1
movzx eax, ax
jne 0x56bac0
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x56bc20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x2c]
push esi
push 1
lea eax, [esp + 0x10]
push 0x20
push eax
mov ebx, ecx
call fcn.00a2db91
add esp, 0x10
cmp dword [esp + 8], 0x5f4c4150
je 0x56bc5b
pop esi
mov dword [ebx + 0xc04], 0x3e8
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
cmp dword [esp + 0xc], 0x64
je 0x56bc76
pop esi
mov dword [ebx + 0xc04], 0x3e9
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc
push edi
mov edi, dword [esp + 0x34]
test edi, edi
jle 0x56bc8e
push 1
lea ecx, [edi + edi*2]
push ecx
push esi
call fcn.00a2e61e
add esp, 0xc
push ebp
mov ebp, dword [esp + 0x3c]
mov eax, ebp
sub eax, edi
inc eax
push esi
lea edx, [eax + eax*2]
push 1
lea eax, [ebx + edi*2]
push edx
add eax, edi
push eax
call fcn.00a2db91
add esp, 0x10
cmp ebp, 0xff
jge 0x56bccb
mov eax, 0xff
sub eax, ebp
push 1
lea ecx, [eax + eax*2]
push ecx
push esi
call fcn.00a2e61e
add esp, 0xc
push 0
push 0xff
push 0
mov ecx, ebx
call fcn.0056bb30
xor edi, edi
cmp dword [esp + 0x28], edi
pop ebp
jle 0x56bd1f
push esi
push 1
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.00a2db91
push esi
push 1
lea eax, [esp + 0x48]
push 4
push eax
call fcn.00a2db91
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add esp, 0x20
push 1
push ecx
push edx
mov ecx, ebx
call fcn.0056bb30
inc edi
cmp edi, dword [esp + 0x24]
jl 0x56bce4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 0xc