joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53d840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x614930
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
push 0xa
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
call fcn.00474460
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x53d89c
call fcn.005c5aaf
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x10]
jbe 0x53d8b3
call fcn.005c5aaf
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0044acc0
xor ebx, ebx
mov eax, ebp
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53d8e0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x48]
call fcn.00416460
mov dword [esp + 0x68], ebx
xor edi, edi
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53d910
sub eax, edx
push eax
push edi
push ebp
lea ecx, [esp + 0x4c]
call fcn.0046d610
mov esi, eax
cmp esi, ebx
jl 0x53da09
cmp esi, dword [esp + 0x54]
jbe 0x53d93a
call fcn.005c5aaf
mov eax, dword [esp + 0x44]
mov edi, 0x10
cmp dword [esp + 0x58], edi
jae 0x53d94d
lea eax, [esp + 0x44]
cmp byte [eax + esi], 0x22
jne 0x53d972
push 1
inc esi
push esi
push 0x65bb38
lea ecx, [esp + 0x4c]
call fcn.004448f0
cmp eax, ebx
jl 0x53da21
lea edi, [eax + 1]
jmp 0x53d98e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53d977
sub eax, edx
push eax
push esi
push ebp
lea ecx, [esp + 0x4c]
call fcn.004448f0
mov edi, eax
sub eax, esi
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.0046f2c0
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x6c], 1
call fcn.0044b870
mov esi, 0x10
mov byte [esp + 0x68], bl
cmp dword [esp + 0x3c], esi
jb 0x53d9cb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c5896
add esp, 4
cmp edi, dword [esp + 0x54]
jb 0x53d900
cmp dword [esp + 0x58], esi
jb 0x53d9e8
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005c5896
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005c5ea5
add esp, 0x58
ret
cmp dword [esp + 0x58], 0x10
jb 0x53da1d
mov edx, dword [esp + 0x44]
push edx
call fcn.005c5896
add esp, 4
xor al, al
jmp 0x53d9ea
cmp dword [esp + 0x58], edi
jb 0x53da1d
mov eax, dword [esp + 0x44]
push eax
call fcn.005c5896
add esp, 4
xor al, al
jmp 0x53d9ea
Function at 0x541ca0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, 0xc6ef3720
mov esi, 0x20
lea ebx, [ebx]
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [edi + ebp*4]
add ebp, eax
add ebx, edx
xor ebx, ebp
sub ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add eax, 0x61c88647
mov ebp, eax
and ebp, 3
mov ebp, dword [edi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
dec esi
sub edx, ebx
test esi, esi
ja 0x541cc0
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
ret

Function at 0x541df0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
push esi
cmp edx, 0x10
jb 0x541f73
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 2]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 3]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 4]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 5]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 6]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 7]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 8]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 9]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 0xa]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 0xb]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 0xc]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 0xd]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 0xe]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
movsx esi, byte [ecx + 0xf]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
add ecx, 0x10
sub edx, 0x10
cmp edx, 0x10
jae 0x541e05
test edx, edx
je 0x541f9b
jmp 0x541f80
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x694638]
inc ecx
sub edx, 1
jne 0x541f80
not eax
pop esi
ret
Function at 0x54bc20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x615658
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [0x6b47d4], esi
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x13]
xor edi, edi
push ecx
lea ecx, [esi + 0x6c]
mov dword [esp + 0x24], edi
mov dword [esi], vtable.CSoundManager.0
call fcn.0047dcc0
fldz
fst dword [esi + 0xc]
mov dword [esi + 4], edi
fst dword [esi + 0x10]
mov dword [esi + 8], edi
fst dword [esi + 0x14]
mov eax, esi
fld dword [0x634f70]
fstp dword [esi + 0x18]
fld dword [0x6221c8]
fstp dword [esi + 0x1c]
fld1
fst dword [esi + 0x20]
fstp dword [esi + 0x24]
fst dword [esi + 0x28]
fst dword [esi + 0x2c]
mov dword [esi + 0x30], edi
fst dword [esi + 0x38]
mov dword [esi + 0x44], edi
fst dword [esi + 0x40]
mov dword [esi + 0x34], edi
mov dword [esi + 0x48], edi
fst dword [esi + 0x4c]
fst dword [esi + 0x54]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
fst dword [esi + 0x60]
fstp dword [esi + 0x68]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x54e210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61583b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0xa0
call fcn.005c58a1
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 0x24], esi
cmp eax, esi
je 0x54e258
mov ecx, eax
call fcn.0054c000
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0054bd80
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0xc], ecx
push eax
mov ecx, 0x6f6c6c
mov dword [esp + 0x14], esi
call fcn.004f2fe0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
Function at 0x55d1b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x615cf6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.UI::CWindow.0
xor ebx, ebx
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], ebx
mov byte [esi + 8], bl
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x68]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x59], bl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
call fcn.00453130
lea ecx, [esi + 0x88]
mov byte [esp + 0x18], 1
mov dword [esi + 0x84], ebx
call fcn.00453130
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x56af20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6166b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00513a30
fldz
xor ebx, ebx
fstp dword [esi + 4]
lea ecx, [esi + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CGrannyLODController.0
mov dword [esi + 8], 0x78
call fcn.004b6ad0
push 4
mov byte [esp + 0x20], 1
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
lea edi, [esi + 0x30]
call fcn.005c58a1
add esp, 4
cmp eax, ebx
je 0x56af92
mov dword [eax], edi
jmp 0x56af94
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [esi + 0x50], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x56b450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6166ee
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CGrannyLODController.0
mov eax, dword [esi + 0x50]
push eax
mov dword [esp + 0x1c], 2
call fcn.0056abe0
add esp, 4
mov ecx, esi
call fcn.0056b270
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00535c70
mov edi, dword [edi]
push edi
call fcn.005c5896
add esp, 4
lea ecx, [esi + 0xc]
call fcn.004e6f40
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00513a40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x573b40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x613d38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
push eax
call fcn.005217a0
xor ebx, ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CEffectMesh.0
call fcn.004b6ad0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x50], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x5779e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x610d08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.004b6ad0
mov ecx, dword [esp + 0x30]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.0054cef0
add esp, 0xc
test al, al
je 0x577a5e
add esi, 0x4c
lea edx, [esp + 8]
push esi
push edx
call fcn.0054d4c0
add esp, 8
lea ecx, [esp + 8]
call fcn.004e6f40
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
lea ecx, [esp + 8]
call fcn.004e6f40
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
Function at 0x579f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61739e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00583ad0
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
mov dword [esi], vtable.CParticleSystemInstance.0
call fcn.004b6ad0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 1
call fcn.004b6ad0
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.00583a80
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5874c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x5874cf
mov edx, dword [eax + 4]
jmp 0x5874d2
lea edx, [eax + 4]
push esi
mov esi, dword [eax + 0x14]
add esi, edx
xor eax, eax
cmp edx, esi
jae 0x5874f1
push edi
nop
movzx edi, byte [edx]
imul eax, eax, 0x1000193
inc edx
xor eax, edi
cmp edx, esi
jb 0x5874e0
pop edi
xor edx, edx
div dword [ecx + 4]
pop esi
mov eax, edx
ret 4
Function at 0x587bf0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x617c60
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
mov ebp, 4
jle 0x587ded
mov dword [esp + 0x18], eax
jmp 0x587c58
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + ebp]
add ebp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebp
cmp dword [ecx + 0x3c7c], ebx
je 0x587c92
mov eax, dword [ecx + 0x3c84]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x587c88
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
jmp 0x587c9e
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
jmp 0x587c9e
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x30]
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp esi, ebx
je 0x587de2
jmp 0x587cb0
lea edx, [esp + 0x5c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
lea eax, [esi + 4]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00416950
lea ecx, [esp + 0x5c]
call fcn.004c1220
mov ecx, eax
mov dword [esp + 0x8c], ebx
call fcn.004b6580
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x88], 2
mov dword [esp + 0x3c], vtable.CFilename.0
jb 0x587d12
mov eax, dword [esp + 0x44]
push eax
call fcn.005c5896
add esp, 4
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jae 0x587d31
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
lea edx, [ecx + eax]
xor ecx, ecx
cmp eax, edx
jae 0x587d54
mov edi, edi
movzx ebp, byte [eax]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, ebp
cmp eax, edx
jb 0x587d40
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x1c], ecx
je 0x587da3
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x5c], vtable.CFilename.0
jb 0x587d81
mov edx, dword [esp + 0x64]
push edx
call fcn.005c5896
add esp, 4
mov eax, dword [esi]
cmp eax, ebx
jne 0x587d91
mov eax, dword [edi + 4]
add edi, 4
cmp eax, ebx
je 0x587d87
mov esi, edi
sub esi, eax
neg esi
sbb esi, esi
and esi, eax
jne 0x587cb0
jmp 0x587de2
mov ecx, dword [esi + 0x20]
call fcn.005890f0
mov ecx, dword [esp + 0x14]
add ecx, ebp
push ecx
mov ecx, eax
call fcn.0058cd80
add ebp, eax
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x5c], vtable.CFilename.0
jb 0x587de2
mov edx, dword [esp + 0x64]
push edx
call fcn.005c5896
add esp, 4
sub dword [esp + 0x18], 1
jne 0x587c50
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005c5ea5
add esp, 0x78
ret 4
Function at 0x587e20
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x617c60
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
mov ebp, 4
jle 0x58801d
mov dword [esp + 0x18], eax
jmp 0x587e88
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + ebp]
add ebp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebp
cmp dword [ecx + 0x3c7c], ebx
je 0x587ec2
mov eax, dword [ecx + 0x3c84]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x587eb8
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
jmp 0x587ece
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
jmp 0x587ece
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x30]
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp esi, ebx
je 0x588012
jmp 0x587ee0
lea edx, [esp + 0x5c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
lea eax, [esi + 4]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00416950
lea ecx, [esp + 0x5c]
call fcn.004c1220
mov ecx, eax
mov dword [esp + 0x8c], ebx
call fcn.004b6580
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x88], 2
mov dword [esp + 0x3c], vtable.CFilename.0
jb 0x587f42
mov eax, dword [esp + 0x44]
push eax
call fcn.005c5896
add esp, 4
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jae 0x587f61
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
lea edx, [ecx + eax]
xor ecx, ecx
cmp eax, edx
jae 0x587f84
mov edi, edi
movzx ebp, byte [eax]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, ebp
cmp eax, edx
jb 0x587f70
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x1c], ecx
je 0x587fd3
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x5c], vtable.CFilename.0
jb 0x587fb1
mov edx, dword [esp + 0x64]
push edx
call fcn.005c5896
add esp, 4
mov eax, dword [esi]
cmp eax, ebx
jne 0x587fc1
mov eax, dword [edi + 4]
add edi, 4
cmp eax, ebx
je 0x587fb7
mov esi, edi
sub esi, eax
neg esi
sbb esi, esi
and esi, eax
jne 0x587ee0
jmp 0x588012
mov ecx, dword [esi + 0x20]
call fcn.005890f0
mov ecx, dword [esp + 0x14]
add ecx, ebp
push ecx
mov ecx, eax
call fcn.0058d470
add ebp, eax
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x5c], vtable.CFilename.0
jb 0x588012
mov edx, dword [esp + 0x64]
push edx
call fcn.005c5896
add esp, 4
sub dword [esp + 0x18], 1
jne 0x587e80
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005c5ea5
add esp, 0x78
ret 4
Function at 0x5885a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebx + 4]
add ecx, 4
cmp dword [ecx + 0x18], 0x10
push edi
jb 0x5885ba
mov eax, dword [ecx + 4]
jmp 0x5885bd
lea eax, [ecx + 4]
mov ecx, dword [ecx + 0x14]
add ecx, eax
xor edi, edi
cmp eax, ecx
jae 0x5885e0
jmp 0x5885d0
movzx edx, byte [eax]
imul edi, edi, 0x1000193
inc eax
xor edi, edx
cmp eax, ecx
jb 0x5885d0
cmp dword [esi], 0
je 0x5885f3
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.00588550
jmp 0x588623
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005893f0
cmp dword [esi + 4], eax
lea ecx, [esi + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jb 0x588611
mov eax, ecx
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, esi
call fcn.0058c020
mov ecx, esi
call fcn.00587470
mov eax, edi
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
pop edi
lea ecx, [eax + edx*4]
mov edx, dword [ebx + 4]
mov dword [ebx + 4], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
mov dword [ecx], edx
inc dword [esi + 0x10]
mov dword [esi + 0x18], ecx
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
ret 0xc

Function at 0x588660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0xffffffffffffffff
push 0x617cc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x34]
cmp dword [ebx + 0x18], 0x10
jb 0x588698
mov eax, dword [ebx + 4]
jmp 0x58869b
lea eax, [ebx + 4]
mov ecx, dword [ebx + 0x14]
add ecx, eax
xor ebp, ebp
cmp eax, ecx
jae 0x5886b6
movzx edx, byte [eax]
imul ebp, ebp, 0x1000193
inc eax
xor ebp, edx
cmp eax, ecx
jb 0x5886a6
xor edx, edx
mov eax, ebp
div dword [esi + 4]
mov eax, dword [esi]
push ebx
mov ecx, esi
lea edi, [eax + edx*4]
push edi
call fcn.00587580
mov ecx, eax
xor eax, eax
cmp ecx, eax
je 0x5886e0
mov eax, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov byte [eax + 8], 0
jmp 0x588753
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.005876b0
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
push ecx
lea edx, [ebx + 4]
push edx
push 0
call fcn.00587720
mov eax, dword [esi + 0x10]
add esp, 0xc
inc eax
push eax
mov ecx, esi
mov byte [esp + 0x21], 1
call fcn.00588550
test al, al
je 0x588737
mov eax, ebp
xor edx, edx
div dword [esi + 4]
mov ecx, dword [esi]
lea edi, [ecx + edx*4]
mov edx, dword [edi]
mov dword [ebx], edx
mov dword [edi], ebx
inc dword [esi + 0x10]
cmp edi, dword [esi + 0x18]
jae 0x588748
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov byte [eax + 8], 1
mov dword [eax], edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x589030
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x255]
push 0x62bf7c
push esi
call fcn.005c6f30
add esp, 8
test eax, eax
je 0x58905a
push eax
call fcn.005c6cd4
add esp, 4
pop edi
mov al, 1
pop esi
ret
cmp byte [edi + 0x364], 0
je 0x589068
pop edi
xor al, al
pop esi
ret
push 0x62d37c
push esi
call fcn.005c6f30
mov esi, eax
add esp, 8
test esi, esi
je 0x589063
push esi
push 1
push 4
push str.EPKD
call fcn.005c8bc0
push esi
push 1
push 4
push 0x63ca18
call fcn.005c8bc0
push esi
push 1
push 4
add edi, 0x150
push edi
call fcn.005c8bc0
push esi
call fcn.005c6cd4
add esp, 0x34
pop edi
mov al, 1
pop esi
ret

Function at 0x58c590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6183c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp esi, ebx
je 0x58c5c8
lea eax, [esi + 4]
jmp 0x58c5ca
xor eax, eax
push eax
call fcn.00541790
add esp, 4
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0058c400
mov dword [esp + 0x38], ebx
cmp eax, ebx
je 0x58c5ec
add eax, 4
jmp 0x58c5ee
xor eax, eax
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00416950
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x10], vtable.CFilename.0
jb 0x58c626
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005c5896
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret