joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40c5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x40c611
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x40c5ef
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x40c67a
cmp dword [eax + 0xc], edi
jne 0x40c674
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x40c64c
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x40c670
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x40c638
test ecx, ecx
je 0x40c693
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x40c670
cmp ecx, 1
jbe 0x40c693
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x40c670
cmp ecx, 2
jbe 0x40c693
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x40c693
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x40c626
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, ebx
call fcn.0040c520
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x40c68c
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4219a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5584b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
push 1
lea ecx, [esp + 0xc]
nop
call 0x784871a1
lea ecx, [esp + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
nop
call 0x784875b3
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
nop
call 0x78485ebb
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4

Function at 0x421a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5583e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov edi, 0x5d4a78
call fcn.004218d0
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
nop
call 0x784875b3
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call 0x78485ebb
nop
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x421a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5583c2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x14], 0
nop
call 0x7849c95a
add esp, 0xc
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.00421870
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
nop
call 0x78485ebb
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8

Function at 0x421c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558352
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], 0
call 0x7848757a
nop
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.00421870
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
nop
call 0x78485ebb
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 0xc

Function at 0x421cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558352
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov eax, dword [0x55a2f4]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x14]
push eax
nop
call 0x7848757a
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.00421870
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call 0x78485ebb
nop
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
Function at 0x4223c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558771
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5eba40]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
push esi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
lea eax, [edi + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0
call fcn.00421870
lea edx, [edi + 4]
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x7c], 1
call fcn.00421870
mov byte [esp + 0x74], 2
cmp dword [esp + 0x44], 0
je 0x422442
cmp dword [esp + 0x60], 0
je 0x422442
push 0x5c
lea esi, [esp + 0x34]
call fcn.004219a0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [edi + 0x74]
call fcn.00421a80
lea ecx, [esp + 0x4c]
push ecx
push ebp
mov ecx, eax
mov byte [esp + 0x7c], 3
call fcn.00421a80
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x74], 2
nop
call 0x78485ebb
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
nop
call 0x78485ebb
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
nop
call 0x78485ebb
mov eax, ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0051f15e
add esp, 0x6c
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x558e7e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 8]
push eax
mov dword [esi], 0x5d5594
call fcn.004252c0
lea eax, [esi + 0x30]
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call fcn.0042e820
mov dword [esi + 0xc0], 0x5d55cc
mov dword [esi + 0xe4], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd8], edi
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 2
call 0x78485e81
nop
lea ecx, [esi + 0x110]
mov byte [esp + 0x18], 3
nop
call 0x78485e81
mov eax, 0x5d5698
mov dword [esi + 0x130], eax
mov dword [esi + 0x138], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x14c], eax
mov dword [esi + 0x154], edi
mov dword [esi + 0x150], edi
lea ecx, [esi + 0x15c]
push ecx
mov byte [esp + 0x1c], 6
call fcn.004252c0
mov eax, esi
call fcn.00422910
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4276a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5583e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0xc], 0
jne 0x4276d1
call fcn.00427610
lea eax, [esp + 0xc]
push eax
call fcn.004218d0
lea edx, [esp + 0xc]
mov dword [esp + 0x30], 0
mov ecx, dword [ebx + 0xc]
push edx
nop
call 0x784875a3
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
nop
call 0x78485ebb
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret

Function at 0x4277c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x559718
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0x30]
push eax
mov dword [esi], 0x5d55ac
call fcn.0042bee0
lea eax, [esi + 0x48]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.0042bee0
mov dword [esi + 0x88], ebx
mov eax, 0x5d5698
mov dword [esi + 0x8c], eax
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa8], ebx
push ebx
mov eax, esi
call fcn.004279a0
mov byte [esi + 0xac], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x427910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558d09
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5eba40]
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], 0x5d55ac
lea eax, [esi + 0x9c]
push eax
mov dword [esp + 0x1c], 2
call fcn.00427720
lea ecx, [esi + 0x8c]
push ecx
mov byte [esp + 0x1c], 1
call fcn.00427720
lea edx, [esi + 0x48]
push edx
mov byte [esp + 0x1c], 0
call fcn.00427280
add esi, 0x30
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00427280
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4296c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55821c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
call 0x7857bf24
nop
lea ebp, [esi + 0xc]
mov dword [esp + 0x38], 0
mov ecx, ebp
mov dword [esi], 0x5d5504
nop
call 0x78485e81
mov eax, dword [esp + 0x44]
mov byte [esp + 0x38], 1
mov dword [esi + 0x28], eax
test edi, edi
je 0x429748
lea ecx, [esp + 0x14]
push ecx
call fcn.004218d0
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov byte [esp + 0x3c], 2
nop
call 0x784875a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call 0x78485ebb
nop
call 0x30d09bd
nop
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 8
Function at 0x42efe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5588a1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5eba40]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x14], edi
call eax
mov dword [esp + 0x40], 1
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x34]
push edx
push ecx
call fcn.00421870
push 0
push 0
call fcn.0042fa20
mov eax, dword [esi + 0x40]
add eax, 4
push eax
push edi
call fcn.00421870
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov byte [esp + 0x40], 0
nop
call 0x78485ebb
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051f15e
add esp, 0x3c
ret
Function at 0x465600
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043f320
cmp eax, 2
je 0x46561c
jmp 0x465752
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00467690
mov esi, eax
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00467690
cmp esi, eax
je 0x46563d
jmp 0x465752
mov ecx, dword [0x5efa14]
call fcn.00467420
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x46565d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00467690
cmp dword [ebp - 8], eax
jae 0x465752
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.004676b0
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.004676b0
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 0xcc
jne 0x4656c8
mov edx, dword [ebp - 0xc]
push edx
push 0x40000
mov ecx, dword [ebp - 0x14]
call fcn.0048f300
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004daad0
jmp 0x46574d
cmp dword [ebp - 0x10], 0xc9
jne 0x4656f4
mov edx, dword [ebp - 0xc]
push edx
push 0x40000000
mov ecx, dword [ebp - 0x14]
call fcn.0048f300
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004daad0
jmp 0x46574d
cmp dword [ebp - 0x10], 0xcb
jne 0x465710
mov edx, dword [ebp - 0xc]
push edx
push 0x20000000
mov ecx, dword [ebp - 0x14]
call fcn.0048f300
jmp 0x46574d
cmp dword [ebp - 0x10], 0xcd
jne 0x46573d
call 0x3110991
nop
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x714], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
call fcn.004daad0
jmp 0x46574d
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 4]
call fcn.004daad0
jmp 0x465654
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c7dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5eba40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0043edb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x596d60
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 0x283
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], 0x320
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
add edx, 0x73
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00457af0
push 0x8c
call fcn.0051f14c
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0
je 0x4c7ea6
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0051fde0
mov dword [ebp - 0x1c], eax
jmp 0x4c7ead
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x34], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x48], 0
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x49], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x4c], 0x280
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x4c]
add ecx, 0xc
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x54], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x50], 0x34
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x58], 0x43
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x52831d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x52843e
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x528422
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x528374
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x528352
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x52870a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x528851
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x52882c
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x528773
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x52874a
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x52897e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x528ac4
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x528a9f
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x5289e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x5289be
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret