joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d9cf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp eax, 0x10016
jl 0x5d9cff
mov eax, 0x10016
push esi
mov esi, dword [esp + 0x20]
push 2
neg eax
push eax
push esi
call fcn.00699333
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5d9d36
call fcn.006a1a12
cmp dword [eax], 0x1b
je 0x5d9d36
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5d9d2f
mov dword [eax], 4
xor eax, eax
pop esi
add esp, 0x18
ret
push ebp
push 0x10016
call fcn.006955b9
mov ebp, eax
add esp, 4
mov dword [esp + 0xc], ebp
test ebp, ebp
jne 0x5d9d64
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5d9d5c
mov dword [eax], 0xe
pop ebp
xor eax, eax
pop esi
add esp, 0x18
ret
push edi
push esi
call fcn.006a2db5
push esi
push 0x10016
push 1
push ebp
call fcn.006986f1
mov edi, eax
push esi
mov dword [esp + 0x2c], edi
call fcn.00698742
add esp, 0x18
test eax, eax
je 0x5d9dac
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5d9d9a
mov dword [eax], 5
push ebp
call fcn.00695d3f
add esp, 4
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x18
ret
push ebx
push 0
lea eax, [esp + 0x20]
push 0x13
push eax
or ebx, 0xffffffff
mov dword [esp + 0x1c], 0
call fcn.005d8100
push 4
push 0x775d94
add edi, 0xffffffee
push edi
push ebp
call fcn.005d98b0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x5d9ebc
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
inc edi
push ebp
lea eax, [edi - 1]
push esi
call fcn.005d9050
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x5d9e8f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d9e6a
test ebx, ebx
jg 0x5d9e2c
lea ecx, [esp + 0x1c]
push ecx
push esi
mov esi, eax
call fcn.005d9980
mov esi, dword [esp + 0x34]
add esp, 8
mov ebx, eax
lea edx, [esp + 0x1c]
push edx
push esi
mov esi, ebp
call fcn.005d9980
mov esi, eax
add esp, 8
cmp ebx, esi
jge 0x5d9e5b
mov eax, dword [esp + 0x10]
push eax
call fcn.005d7020
mov ebx, esi
mov esi, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x10], ebp
jmp 0x5d9e8f
push ebp
call fcn.005d7020
mov esi, dword [esp + 0x30]
add esp, 4
jmp 0x5d9e8f
test byte [esp + 0x30], 4
mov dword [esp + 0x10], ebp
je 0x5d9e8d
lea ecx, [esp + 0x1c]
push ecx
push esi
mov esi, ebp
call fcn.005d9980
mov esi, dword [esp + 0x34]
add esp, 8
mov ebx, eax
jmp 0x5d9e8f
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 4
sub edx, edi
push 0x775d94
lea ecx, [edx + eax - 0x12]
push ecx
push edi
call fcn.005d98b0
mov ebp, dword [esp + 0x24]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5d9de4
push ebp
call fcn.00695d3f
add esp, 4
test ebx, ebx
pop ebx
jge 0x5d9eef
mov esi, dword [esp + 0x30]
push 0
lea eax, [esp + 0x1c]
call fcn.005d9010
mov edx, dword [esp + 0x10]
push edx
call fcn.005d7020
add esp, 8
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop esi
add esp, 0x18
ret
Function at 0x5db0a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test ebp, ebp
jl 0x5db211
cmp ebp, dword [esi + 0x2c]
jge 0x5db211
push ebx
mov ebx, dword [esp + 0x18]
push ebx
push ebp
push esi
call fcn.005d8e10
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x5db0dc
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
ret
push edi
test bl, 8
jne 0x5db135
mov ecx, dword [esi + 0x34]
lea eax, [ebp + ebp*4]
add eax, eax
add eax, eax
mov ecx, dword [eax + ecx]
cmp ecx, 2
je 0x5db0fa
cmp ecx, 3
jne 0x5db135
mov edx, dword [esi + 0x34]
mov eax, dword [eax + edx + 4]
mov edi, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 3
push 0x28
push edi
push ecx
call edx
add esp, 0x10
test eax, eax
jge 0x5db1e9
push 0
push 0xf
add esi, 0xc
push esi
call fcn.005d8100
add esp, 0xc
pop edi
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
ret
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5db1f9
cmp ebp, dword [eax + 4]
jge 0x5db1f9
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x20]
mov eax, ebp
shl eax, 6
mov ecx, dword [ecx + eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax + 0x18]
mov dword [edi + 0x18], ecx
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
mov ebx, dword [ecx + eax + 8]
mov dword [edi + 0x10], ebx
mov ecx, dword [ecx + eax + 0xc]
mov dword [edi + 0x14], ecx
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax + 0x14]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
mov cx, word [ecx + eax + 6]
mov word [edi + 0x20], cx
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
test byte [ecx + eax + 4], 1
je 0x5db1d9
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
test byte [ecx + eax + 4], 0x40
je 0x5db1c4
mov eax, 0xffff
mov word [edi + 0x22], ax
mov dword [edi + 4], ebp
mov dword [edi], edx
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
mov ecx, 1
mov dword [edi + 4], ebp
mov word [edi + 0x22], cx
mov dword [edi], edx
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
xor eax, eax
mov dword [edi + 4], ebp
mov word [edi + 0x22], ax
mov dword [edi], edx
pop edi
pop ebx
pop esi
pop ebp
ret
mov edx, dword [esp + 0x18]
mov dword [edi + 4], ebp
mov dword [edi], edx
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
push 0
push 0x12
add esi, 0xc
push esi
call fcn.005d8100
add esp, 0xc
pop edi
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
ret
push 0
push 0x12
add esi, 0xc
push esi
call fcn.005d8100
add esp, 0xc
pop esi
or eax, 0xffffffff
pop ebp
ret
Function at 0x5db590
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x7dcee0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [0x7dc704]
cmp byte [eax], 0
push ebx
push esi
push edi
jne 0x5db6fd
mov ecx, dword [0x7b578c]
cmp byte [ecx], 0
je 0x5db6fd
mov eax, dword [0x808958]
mov byte [ebp - 0x7d], 0
mov esi, str._localappdata_
mov edi, 0x1c
test eax, eax
je 0x5db5f5
test dword [eax + 0x44], 0x2000
je 0x5db5f5
mov esi, str._appdata_
mov edi, 0x1a
push 0x104
lea edx, [ebp - 0x7c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x104
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.006a33aa
add esp, 0xc
test eax, eax
jne 0x5db62d
lea ecx, [ebp - 0x7c]
push ecx
push eax
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x5db631
mov byte [ebp - 0x7d], 1
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x7c]
push edx
push 0
push 0xfde9
call ebx
mov esi, eax
lea eax, [esi + 1]
call fcn.00697040
mov edi, esp
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
push eax
push 0
push 0xfde9
call ebx
cmp byte [ebp - 0x7d], 1
jne 0x5db6f8
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5db680
sub eax, edx
mov edx, eax
mov eax, dword [0x7b578c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5db693
push 1
sub eax, esi
push 0x16c
lea ecx, [eax + edx + 3]
push str..Win32GameMakerM.cpp
push ecx
call fcn.00693100
mov edx, dword [0x7b578c]
push edx
push edi
mov esi, eax
push str._s_s_
push esi
call fcn.00696e5e
mov eax, dword [0x7b578c]
push eax
push edi
push str._s_s_
push esi
call fcn.00696e5e
mov eax, dword [0x7b5040]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push esi
push str.SavePrePend___s_n
push eax
call edx
mov eax, esi
add esp, 0x3c
mov dword [0x7dc704], eax
jmp 0x5db6fd
mov eax, dword [0x7dc704]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
call fcn.0069528d
add ebp, 0x190
mov esp, ebp
pop ebp
ret

Function at 0x5dbd30
Capabilities:
Move file

Disassembly:
sub esp, 0x804
mov eax, dword [0x7dcee0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x814]
mov al, byte [edi]
xor esi, esi
or ecx, 0xffffffff
mov ebx, edi
test al, al
je 0x5dbd9f
jmp 0x5dbd60
mov byte [esp + esi + 0xc], al
cmp al, 0x40
jne 0x5dbd81
lea eax, [esp + 0xc]
push eax
mov byte [esp + esi + 0x10], 0
call fcn.006a33e1
add esp, 4
mov byte [esp + esi + 0xc], 0x5c
mov ecx, esi
mov al, byte [edi + 1]
inc edi
inc esi
test al, al
jne 0x5dbd60
cmp ecx, 0xffffffff
je 0x5dbd9f
lea ecx, [esp + 0xc]
push ecx
push ebx
mov byte [esp + esi + 0x14], al
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0069528d
add esp, 0x804
ret
Function at 0x5e8790
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push edi
push 0xa31104
mov bl, 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0xc]
test edi, edi
je 0x5e87d1
call fcn.005e7390
test al, al
jne 0x5e87d1
push 0xa002
push 0
call fcn.005e73d0
add esp, 8
push 0xa31104
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov al, bl
pop ebx
ret
mov eax, dword [0xa31120]
push 0
push eax
mov dword [0xa310dc], edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xa31104
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov al, bl
pop ebx
ret

Function at 0x5e91d0
Capabilities:
Get common file path

Disassembly:
push esi
push 0xc
push 1
call fcn.006a198d
push str.general
mov dword [0xa3113c], eax
call fcn.006a3650
mov ecx, dword [0xa3113c]
add esp, 0xc
push 0
push 0x1a
push 0xa31140
push 0
mov dword [ecx], eax
mov dword [0xa31138], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x5e9269
mov eax, 0xa31140
lea edx, [eax + 1]
jmp 0x5e9220
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5e9220
sub eax, edx
mov edx, 0x400
sub edx, eax
push str._alsoft.ini
push edx
lea eax, [eax + 0xa31140]
push eax
call fcn.00696275
push 0x6ea078
push 0xa31140
call fcn.0069ae47
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5e9269
push esi
call fcn.005e8dc0
push esi
call fcn.00696ca7
add esp, 8
push str.ALSOFT_CONF
call fcn.0069a629
add esp, 4
test eax, eax
je 0x5e92aa
push 0x775580
push str.ALSOFT_CONF
call fcn.0069a629
add esp, 4
push eax
call fcn.0069ae47
mov esi, eax
add esp, 8
test esi, esi
je 0x5e92aa
push esi
call fcn.005e8dc0
push esi
call fcn.00696ca7
add esp, 8
pop esi
ret

Function at 0x5ed790
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0xc
call fcn.006955b9
mov esi, eax
add esp, 4
test esi, esi
je 0x5ed7d6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x5ed770
push 0
push 0
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x5ed7db
push esi
call fcn.00695d3f
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret
Function at 0x641990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp + 4]
xor eax, eax
mov dword [esp + 0x38], eax
lea ebx, [edi + 0xbc]
mov dword [esp + 8], ecx
mov dword [edi + 0x230], ebp
mov byte [edi + 0x22d], al
cmp dword [edi + 0x74], eax
je 0x641b01
cmp dword [edi + 0x78], eax
je 0x641b01
push 0x170
push eax
push ebx
call fcn.00695690
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [ebx + 0xc8], 7
mov dword [ebx + 0xcc], 1
mov dword [ebx + 0x14c], 0xffffffff
mov dword [ebx + 0x154], 0xf5c
mov dword [ebx + 0xc4], 0x27a000
mov dword [ebx + 0x16c], edi
mov dword [edi + 0x248], edx
mov dword [edi + 0x24c], eax
mov al, byte [ebp + 0x20]
add esp, 0xc
test al, al
je 0x641a35
mov ecx, dword [ebp + 0x614]
inc ecx
jmp 0x641a3a
mov ecx, 0x61
movzx edx, word [edi + 0xb2]
push esi
push edx
movzx edx, word [edi + 0xb0]
push edx
push ecx
movzx ecx, al
mov eax, dword [ebp]
neg ecx
sbb ecx, ecx
and ecx, 0x3000
push ebx
add ecx, 0x2000
lea esi, [esp + 0x20]
call fcn.0063f370
add esp, 0x10
test eax, eax
jne 0x641aec
mov eax, dword [ebp + 0xc]
add eax, dword [edi + 0x74]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.00617e90
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x641aec
mov ecx, dword [edi + 0x78]
push ecx
push esi
call fcn.00619fb0
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x641aec
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0063fd70
mov ebp, eax
push esi
mov dword [esp + 0x4c], ebp
call fcn.0061a060
add esp, 0x10
test ebp, ebp
jne 0x641aec
mov eax, dword [ebx + 0x158]
and byte [ebx], 0xfe
test eax, eax
jge 0x641ae0
neg eax
mov dword [ebx + 0x158], eax
jmp 0x641aec
jne 0x641aec
mov dword [ebx + 0x158], 0x3ade68b1
mov eax, edi
call fcn.006410d0
lea esi, [esp + 0x10]
call fcn.0063f400
mov eax, dword [esp + 0x3c]
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x669090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test byte [ecx + 0x191d4], 2
je 0x66909e
xor eax, eax
ret 4
add ecx, 0x19274
jmp fcn.00682dd0
Function at 0x674c40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6d5d78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00683b50
mov dword [esi], vtable.b2PulleyJoint.0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x68], ecx
fld dword [edi + 0x34]
fstp dword [esi + 0x54]
mov dword [esp + 0x18], 0
fld dword [edi + 0x38]
fstp dword [esi + 0x58]
fldz
fcomp dword [edi + 0x3c]
fnstsw ax
test ah, 0x44
jnp 0x674ccd
mov al, 1
jmp 0x674ccf
xor al, al
push str.def__ratio___0.0f
push eax
call dword [0x7dca44]
fld dword [edi + 0x3c]
fstp dword [esp + 0x28]
add esp, 8
fld dword [esp + 0x20]
mov eax, esi
fst dword [esi + 0x70]
fmul dword [edi + 0x38]
fadd dword [edi + 0x34]
fstp dword [esi + 0x6c]
fldz
fstp dword [esi + 0x74]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x67a180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6d5dd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0067a7d0
xor edi, edi
push 0x80
mov dword [esp + 0x1c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], edi
call fcn.00676450
push 0x40
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x28], edi
call fcn.00676450
mov dword [esi + 0x20], eax
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x67c350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebp
mov ebp, ecx
push esi
mov esi, dword [ebp + 0xa8]
test esi, esi
je 0x67c51e
push ebx
mov ebx, dword [esp + 0x74]
push edi
jmp 0x67c370
test byte [esi + 0xc], 2
je 0x67c511
mov ecx, esi
call fcn.00678f20
fld dword [esi + 0x38]
fmul dword [ebx]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
call fcn.00697840
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x78]
call fcn.00697710
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
mov edx, dword [esp + 0x14]
fstp dword [esp + 0x18]
lea edi, [esi + 0x3c]
fld dword [esi + 0x28]
push edi
fld dword [esp + 0x1c]
mov dword [esp + 0x50], edx
fld st(0)
lea edx, [esp + 0x68]
fmulp st(2)
fld dword [esi + 0x2c]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x30]
fmul dword [esi + 0x2c]
fld dword [esi + 0x28]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x34]
fld dword [ebx]
fstp dword [esp + 0x7c]
fld dword [esi + 0x30]
fld dword [esp + 0x7c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fmul dword [esi + 0x34]
fstp dword [esp + 0x24]
fld dword [esi + 0x28]
fadd dword [esp + 0x20]
fstp dword [esp + 0x28]
fld dword [esi + 0x2c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x2c]
fld dword [esp + 0x28]
fsub dword [esp + 0x30]
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fld dword [esp + 0x2c]
mov dword [esp + 0x48], eax
fsub dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.0067bd90
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
fld dword [ebx + 4]
fmul dword [esp + 0x50]
add esp, 0xc
fstp dword [esp + 0x54]
fld dword [ebx + 4]
fmul dword [esp + 0x48]
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
fstp dword [esp + 0x58]
fld dword [ebx + 4]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x50]
fsub qword [0x6d8a40]
fmul dword [ebx + 4]
fstp dword [esp + 0x60]
jge 0x67c511
fld dword [esp + 0x60]
fld dword [esp + 0x5c]
fld dword [esp + 0x58]
fld dword [esp + 0x54]
mov eax, dword [ebp + 0x38]
lea ecx, [edx*8]
fld dword [eax + ecx]
add eax, ecx
fmul st(4)
inc edx
fld st(3)
fmul dword [eax + 4]
fsubp st(1)
fadd st(1)
fstp dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
fld dword [eax]
fmul st(3)
fld st(4)
fmul dword [eax + 4]
mov eax, dword [ebp + 0x40]
mov dword [eax + ecx], edi
faddp st(1)
fadd st(2)
fstp dword [esp + 0x40]
mov edi, dword [esp + 0x40]
mov dword [eax + ecx + 4], edi
cmp edx, dword [esi + 8]
jl 0x67c4c2
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x67c370
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x64
ret 4
Function at 0x691d70
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov ebx, dword [esi + 4]
mov ebp, dword [esi]
push edi
push 0x79963c
push eax
call fcn.0069ae47
mov edi, eax
push edi
push 1
push ebx
push ebp
call fcn.00697336
push edi
call fcn.00696ca7
add esp, 0x1c
pop edi
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
ret

Function at 0x691db0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jg 0x691de9
mov eax, dword [esi + 8]
push 0x79963c
push eax
call fcn.0069ae47
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, eax
push esi
push 1
push ecx
push edx
call fcn.00697336
push esi
call fcn.00696ca7
add esp, 0x1c
pop esi
ret 8
mov ecx, dword [esi + 4]
push edi
mov edi, dword [esp + 0x10]
add ecx, edi
cmp ecx, eax
jl 0x691dfe
mov ecx, esi
call fcn.00691d70
mov eax, dword [esi + 4]
mov edx, dword [esp + 0xc]
add eax, dword [esi]
push edi
push edx
push eax
call fcn.00695f10
add dword [esi + 4], edi
add esp, 0xc
pop edi
pop esi
ret 8

Function at 0x693800
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0xa3a050], 0
jne 0x69380e
call fcn.00693670
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
test edx, edx
jle 0x69383c
push esi
nop
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xa39c50]
inc ecx
sub edx, 1
jne 0x693820
pop esi
ret

Function at 0x693840
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0xa3a050], 0
jne 0x69384e
call fcn.00693670
mov edx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
jne 0x69385d
or eax, 0xffffffff
ret
mov cl, byte [edx]
test cl, cl
je 0x693880
movzx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0xa39c50]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x693863
ret

Function at 0x6939f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
push 0
mov esi, ecx
mov ecx, dword [esp + 0xc]
push 0
push esi
push 0x6939c0
push 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
push 0
mov byte [esi + 9], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x693a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov byte [esi + 9], 0
xor al, al
pop esi
ret 0xc
mov al, 1
pop esi
ret 0xc

Function at 0x69528d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7dcee0]
jne 0x695297
repz ret
jmp fcn.006a4b6c
Function at 0x69bd9d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x69bdce
call fcn.006a1a25
mov dword [eax], esi
call fcn.006a1a12
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.006a5e04
add esp, 0x14
or eax, 0xffffffff
jmp 0x69be09
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x69bdeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006a1a38
pop ecx
jmp 0x69bdc9
test byte [ebp + 0xc], 0x80
je 0x69bdf6
and eax, 0xfffffffe
jmp 0x69bdf9
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x69bddc
xor eax, eax
pop esi
pop ebp
ret

Function at 0x6c2907
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x6c2938
call fcn.006a1a25
mov dword [eax], esi
call fcn.006a1a12
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.006a5e04
add esp, 0x14
push 0x16
pop eax
jmp 0x6c298d
test dword [ebp + 0xc], 0xfffffff9
jne 0x6c2914
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6c2965
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006a1a38
pop ecx
call fcn.006a1a12
mov eax, dword [eax]
jmp 0x6c298d
test al, 0x10
jne 0x6c298b
test al, 1
je 0x6c298b
test byte [ebp + 0xc], 2
je 0x6c298b
call fcn.006a1a25
mov dword [eax], 5
call fcn.006a1a12
mov dword [eax], 0xd
jmp 0x6c295c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x6c403b
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.006a8a66
and dword [ebp - 4], 0
cmp dword [0xa3ab20], 0
mov ebx, eax
jne 0x6c40ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x6c419d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7a698c
push edi
call esi
test eax, eax
je 0x6c419d
push eax
call fcn.006a89f4
mov dword [esp], 0x7a697c
push edi
mov dword [0xa3ab20], eax
call esi
push eax
call fcn.006a89f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0xa3ab24], eax
call esi
push eax
call fcn.006a89f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0xa3ab28], eax
call esi
push eax
call fcn.006a89f4
pop ecx
mov dword [0xa3ab30], eax
test eax, eax
je 0x6c40ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.006a89f4
pop ecx
mov dword [0xa3ab2c], eax
mov eax, dword [0xa3ab2c]
cmp eax, ebx
je 0x6c4144
cmp dword [0xa3ab30], ebx
je 0x6c4144
push eax
call fcn.006a8a6f
push dword [0xa3ab30]
mov esi, eax
call fcn.006a8a6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x6c4144
test edi, edi
je 0x6c4144
call esi
test eax, eax
je 0x6c413b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x6c413b
test byte [ebp - 0xc], 1
jne 0x6c4144
or dword [ebp + 0x10], 0x200000
jmp 0x6c417d
mov eax, dword [0xa3ab24]
cmp eax, ebx
je 0x6c417d
push eax
call fcn.006a8a6f
pop ecx
test eax, eax
je 0x6c417d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x6c417d
mov eax, dword [0xa3ab28]
cmp eax, ebx
je 0x6c417d
push eax
call fcn.006a8a6f
pop ecx
test eax, eax
je 0x6c417d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xa3ab20]
call fcn.006a8a6f
pop ecx
test eax, eax
je 0x6c419d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x6c419f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret