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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 8]
je 0x473d3d
xor dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x473edf
mov esi, edi
push ebx
shr esi, 4
movzx ebx, byte [ecx]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov ebx, eax
mov eax, dword [edx*4 + 0x870fa8]
shl ebx, 8
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 0x18
shl edx, 8
inc ecx
movzx ebx, byte [ecx + 1]
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
shl edx, 8
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
shl edx, 8
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
inc ecx
movzx ebx, byte [ecx + 1]
shl eax, 8
xor edx, eax
mov eax, edx
inc ecx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor eax, edx
inc ecx
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor eax, edx
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
shl edx, 8
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
inc ecx
movzx ebx, byte [ecx + 1]
shl eax, 8
xor edx, eax
inc ecx
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x870fa8]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor eax, edx
inc ecx
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor eax, edx
inc ecx
sub edi, 0x10
dec esi
jne 0x473d54
pop ebx
cmp edi, 1
jb 0x473efe
movzx esi, byte [ecx]
mov edx, eax
shr edx, 0x18
xor edx, esi
mov edx, dword [edx*4 + 0x870fa8]
shl eax, 8
xor eax, edx
inc ecx
dec edi
jne 0x473ee4
pop edi
pop esi
pop ebp
ret
Function at 0x4a6b0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 2]
mov edi, edx
sub edi, eax
lea ebx, [edx + 2]
lea eax, [ebp - 2]
xor esi, esi
mov word [ebp - 2], cx
mov dword [ebp - 8], 0xbaadf00d
sub ebx, eax
mov ecx, 0x8835c8
call fcn.00412a7e
mov dl, byte [ebp + esi - 2]
lea ecx, [ebp + esi - 2]
mov byte [edi + ecx], al
movzx eax, al
xor dl, al
xor eax, dword [ebp - 8]
mov byte [ebx + ecx], dl
xor ecx, ecx
mov cl, dl
push 5
push eax
mov dword [ebp - 0xc], ecx
call fcn.007a8834
add eax, dword [ebp - 0xc]
inc esi
cmp esi, 2
pop ecx
pop ecx
mov dword [ebp - 8], eax
jb 0x4a6b31
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a6bfc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [eax + 2]
mov dword [ebp - 4], eax
sub dword [ebp - 4], esi
lea edi, [ebp + 0xa]
mov ecx, 0xbaadf00d
sub edi, esi
mov dword [ebp - 8], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
movzx ebx, byte [esi]
mov dl, al
xor eax, ecx
xor dl, bl
push 5
push eax
mov byte [edi + esi], dl
call fcn.007a8834
add eax, ebx
pop ecx
inc esi
dec dword [ebp - 8]
pop ecx
mov ecx, eax
jne 0x4a6c21
cmp ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x4a6c65
push 0x818260
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.007a83e3
mov ax, word [ebp + 0xa]
leave
ret

Function at 0x4a6c6b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 2]
mov edi, edx
sub edi, eax
lea ebx, [edx + 2]
lea eax, [ebp - 2]
xor esi, esi
mov word [ebp - 2], cx
mov dword [ebp - 8], 0xbaadf00d
sub ebx, eax
mov ecx, 0x8835c8
call fcn.00412a7e
mov dl, byte [ebp + esi - 2]
lea ecx, [ebp + esi - 2]
mov byte [edi + ecx], al
movzx eax, al
xor dl, al
xor eax, dword [ebp - 8]
mov byte [ebx + ecx], dl
xor ecx, ecx
mov cl, dl
push 5
push eax
mov dword [ebp - 0xc], ecx
call fcn.007a8834
add eax, dword [ebp - 0xc]
inc esi
cmp esi, 2
pop ecx
pop ecx
mov dword [ebp - 8], eax
jb 0x4a6c90
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4acafc
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov esi, ecx
mov ecx, dword [0x882868]
push eax
call fcn.0044dc21
mov edi, dword [eax + 4]
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x4acb28
push ebx
lea ecx, [ebp - 8]
call fcn.00455bb5
push dword [esi + 0x14]
lea eax, [ebp - 8]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004513ec
cmp dword [ebp - 4], ebx
mov edi, dword [eax + 4]
je 0x4acb4a
push ebx
lea ecx, [ebp - 8]
call fcn.00448a70
cmp edi, ebx
je 0x4acbcc
lea ecx, [edi + 0xc]
call fcn.004556a5
mov esi, dword [esi + 0x10]
cmp esi, 2
mov edi, eax
mov dword [ebp - 4], edi
jne 0x4acba3
cdq
mov ecx, 0x2710
idiv ecx
cmp eax, 0xc8
je 0x4acba3
cmp eax, 0xc9
je 0x4acba3
cmp eax, 0xca
je 0x4acba3
cmp eax, 0xcd
je 0x4acba3
cmp eax, 0xdd
je 0x4acba3
cmp eax, 0xd4
je 0x4acba3
cmp eax, 0xe2
je 0x4acba3
cmp eax, 0xe3
jne 0x4acbcc
cmp esi, 5
jne 0x4acbd3
push edi
call fcn.0047e3db
cmp eax, 6
pop ecx
je 0x4acbd3
push edi
call fcn.0047e105
cmp eax, 8
pop ecx
jl 0x4acbc5
cmp eax, 0xb
jle 0x4acbc7
xor eax, eax
cmp eax, 9
je 0x4acbd3
xor eax, eax
jmp 0x4acc5e
mov esi, dword [ebp + 8]
mov edi, dword [0x883308]
neg esi
sbb esi, esi
and esi, 0xffffffaf
add esi, 0x59
test esi, esi
jle 0x4acc2e
cmp dword [ebp + 8], 0
je 0x4acbfa
push ebx
mov ecx, edi
call fcn.004f63c5
jmp 0x4acc0d
cmp ebx, 0x36
jne 0x4acc04
push 0x2a
pop eax
jmp 0x4acc06
mov eax, ebx
lea ecx, [edi + eax*4]
lea eax, [eax + ecx + 4]
mov cl, byte [eax]
cmp cl, 2
je 0x4acc1e
cmp cl, 3
je 0x4acc1e
cmp cl, 7
jne 0x4acc29
mov ecx, dword [ebp - 4]
cmp dword [eax + 1], ecx
jne 0x4acc29
and byte [eax], 0
inc ebx
cmp ebx, esi
jl 0x4acbea
mov ecx, dword [0x88285c]
push 0
call fcn.0075175c
mov ecx, dword [0x883358]
test ecx, ecx
je 0x4acc4e
push 0
call fcn.0075175c
jmp 0x4acc5b
cmp dword [ebp + 8], 0
je 0x4acc5b
mov ecx, edi
call fcn.004f6220
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4d75be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ecx + 8]
push ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp + 8]
sub dword [ebp - 4], ecx
lea eax, [ebp + 8]
sub dword [ebp - 8], eax
push edi
mov dword [ebp - 0xc], 0xbaadf00d
lea esi, [ebp + 8]
mov dword [ebp - 0x10], 2
mov ecx, 0x8835c8
call fcn.00412a7e
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + esi], edi
mov eax, edi
xor eax, dword [esi]
push 5
push eax
call fcn.007a8834
xor edi, dword [ebp - 0xc]
mov ebx, eax
mov eax, dword [ebp - 8]
push 5
push edi
mov dword [eax + esi], ebx
call fcn.007a8834
add eax, ebx
add esp, 0x10
add esi, 4
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jne 0x4d75ed
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4f619d
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [0x88285c]
test ebx, ebx
je 0x4f621e
push ebp
push esi
mov esi, dword [sym.imp.user32.dll_MapVirtualKeyA]
push edi
xor edi, edi
lea ebp, [ecx + 5]
jmp 0x4f61be
mov ebx, dword [0x88285c]
movzx eax, byte [ebp - 1]
test eax, eax
jl 0x4f6212
cmp eax, 7
jg 0x4f6212
cmp eax, 4
jne 0x4f6212
test ebx, ebx
je 0x4f6212
mov eax, dword [ebp]
sub eax, 0
je 0x4f6203
dec eax
je 0x4f61f9
dec eax
je 0x4f61ef
dec eax
jne 0x4f6212
push 1
push edi
call esi
push eax
push 3
jmp 0x4f620b
push 1
push edi
call esi
push eax
push 2
jmp 0x4f620b
push 1
push edi
call esi
push eax
push 1
jmp 0x4f620b
push 1
push edi
call esi
push eax
push 0
mov ecx, ebx
call fcn.006ada90
inc edi
add ebp, 5
cmp edi, 0x59
jl 0x4f61b8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4f809c
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x7cddb3
call fcn.007a83c4
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004a92ec
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov ebp, 0x4489de
push ebp
mov edi, 0x455537
push edi
push 2
push 8
lea eax, [esi + 0x84]
push eax
mov byte [esp + 0x30], 2
call fcn.007a97b8
push ebp
push edi
push 2
push 8
lea eax, [esi + 0x94]
push eax
mov byte [esp + 0x30], 3
call fcn.007a97b8
push ebp
push edi
push 2
push 8
lea eax, [esi + 0xa4]
push eax
mov byte [esp + 0x30], 4
call fcn.007a97b8
push ebp
push edi
push 2
push 8
lea eax, [esi + 0xb4]
push eax
mov byte [esp + 0x30], 5
call fcn.007a97b8
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
push ebx
push 1
push 0xa
push 0x157
push 0xfa
push 0x64
push 0x113
mov ecx, esi
mov byte [esp + 0x38], 9
mov dword [esi], 0x80aca0
mov dword [esi + 4], 0x80ac54
mov dword [esi + 8], 0x80ac50
call fcn.004a9387
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x559a6e
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
mov eax, 0x7d6a90
call fcn.007a83c4
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0xc]
mov ecx, eax
neg ecx
lea edx, [eax - 0xc]
sbb ecx, ecx
and ecx, edx
push edi
mov dword [ebp - 0x10], esi
mov dword [0x8834d4], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ecx, [esi + 0x14]
mov dword [eax], edi
mov dword [esi + 0x10], edi
mov dword [ecx], edi
mov dword [esi + 0x18], edi
push 1
pop ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push 0xffffffffffffffff
push 0x882970
mov byte [ebp - 4], 4
mov dword [esi], 0x80c224
call fcn.004176a3
push 0x104
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.007a8860
add esp, 0xc
push ebx
push 0x1a
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.shell32.dll_SHGetSpecialFolderPathA]
push 0x871b60
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push 0x871b58
push eax
call fcn.007a8755
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea eax, [esi + 0x14]
push 0x871b54
push eax
call fcn.004318d2
mov ecx, dword [ebp - 0xc]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x559cad
Capabilities:
Connect to http server
Create http request

Disassembly:
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.MapleTVDownloader
mov esi, ecx
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x559cee
push edi
push 0x8000000
push 1
push edi
push edi
push 0x15
push str.patch.mapleglobal.com
push eax
call dword [sym.imp.wininet.dll_InternetConnectA]
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x559cf9
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, esi
call fcn.00559cff
xor eax, eax
jmp 0x559cfc
push 1
pop eax
pop edi
pop esi
ret
Function at 0x559db6
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x7d6b2c
call fcn.007a83c4
sub esp, 0x160
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push str..swf
push dword [esi + 0x14]
lea eax, [ebp - 0x18]
push 0x871b58
push eax
mov dword [ebp - 4], ebx
call fcn.004318d2
add esp, 0x10
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
je 0x559efe
push edi
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x140]
push eax
push dword [esi + 0x14]
lea eax, [ebp - 0x10]
push 0x871b58
push eax
mov byte [ebp - 4], 1
call fcn.004318d2
add esp, 0x10
mov dword [ebp - 0x28], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x559e7c
mov ecx, dword [eax - 4]
cmp ecx, ebx
je 0x559e7c
lea edi, [eax + ecx*8 - 8]
cmp edi, ebx
je 0x559e7c
cmp edi, dword [esi + 0x34]
mov eax, edi
ja 0x559e58
xor edi, edi
jmp 0x559e5b
sub edi, 8
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055a493
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
call fcn.00456006
test eax, eax
je 0x559e49
mov dword [ebp - 0x1c], 1
jmp 0x559e49
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push 0x871b54
push eax
mov byte [ebp - 4], 3
call fcn.004318d2
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jne 0x559ea5
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_FindNextFileA]
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
call fcn.00414549
cmp dword [ebp - 0x28], ebx
mov byte [ebp - 4], 1
je 0x559ede
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0055a5aa
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00414549
cmp edi, ebx
jne 0x559e0e
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_FindClose]
mov ebx, dword [ebp - 0x14]
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00414549
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x55b62e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push 0x18
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
mov esi, ecx
call fcn.007a8860
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push edi
neg eax
push edi
sbb eax, eax
push 1
and eax, 4
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call dword [0x884b74]
push edi
push edi
push 1
push edi
mov dword [ebp - 0x10], eax
call dword [0x884b74]
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
je 0x55b739
cmp eax, edi
je 0x55b739
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x55b76c
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
push dword [ebp + 0x18]
call fcn.007aa7aa
add esp, 0x18
cmp eax, edi
mov dword [esi + 8], eax
jne 0x55b6d1
call dword [0x884c3c]
push dword [ebp - 0x10]
mov esi, eax
call dword [0x884b28]
jmp 0x55b754
cmp dword [ebp + 0xc], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 4], ecx
je 0x55b6e6
push dword [ebp + 0xc]
push eax
call dword [0x884b50]
push dword [esi + 8]
call dword [0x884b54]
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [0x884b84]
push dword [ebp - 0x10]
call dword [0x884b28]
cmp dword [ebp - 8], edi
je 0x55b71c
push dword [esi + 8]
call dword [0x884b28]
push dword [ebp - 8]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
jmp 0x55b75e
test byte [ebp - 0x14], 4
je 0x55b72b
push dword [esi + 8]
call dword [0x884b58]
push dword [ebp - 0xc]
call dword [0x884b78]
push 1
pop eax
jmp 0x55b766
call dword [0x884c3c]
cmp dword [ebp - 0x10], edi
mov esi, eax
je 0x55b74f
push dword [ebp - 0x10]
call dword [0x884b28]
cmp dword [ebp - 0xc], edi
je 0x55b75d
push dword [ebp - 0xc]
call dword [0x884b28]
push esi
call dword [0x884c40]
xor eax, eax
pop edi
pop esi
leave
ret 0x14
Function at 0x57f5aa
Capabilities:
Check os version

Disassembly:
mov eax, 0x7da932
call fcn.007a83c4
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x90
mov ecx, 0x885098
call fcn.00402959
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x57f5de
call fcn.0057f7bc
jmp 0x57f5e0
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
lea ecx, [esi + 0x440]
call fcn.005896cb
mov ecx, dword [esi + 0xe8]
lea eax, [ecx - 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [esi + 0x26c], ebx
mov eax, dword [esi + 0x1ec]
je 0x57f617
mov edx, dword [esi + 0x158]
cmp edx, ebx
jne 0x57f61d
mov edx, dword [esi + 0x154]
cmp ecx, ebx
je 0x57f645
cmp dword [ecx + 0x228], ebx
je 0x57f645
cmp dword [edx + 0x1d0], ebx
je 0x57f645
push dword [edx + 0xa8]
add edx, 0xa0
push edx
call fcn.004129f5
pop ecx
pop ecx
mov ecx, dword [esi + 0x1f0]
add ecx, eax
cmp ecx, 0xa
jg 0x57f655
push 0xa
pop ecx
mov edi, 0x8c
cmp ecx, edi
mov dword [ebp - 0x10], ecx
jl 0x57f664
mov dword [ebp - 0x10], edi
fild dword [ebp - 0x10]
push ecx
push ecx
mov ecx, dword [esi + 0x444]
fmul qword [0x808bd8]
add ecx, 0x24
fstp qword [esp]
call fcn.005899d1
cmp dword [esi + 0x26c], ebx
je 0x57f692
mov eax, dword [esi + 0x158]
cmp eax, ebx
jne 0x57f698
mov eax, dword [esi + 0x154]
push dword [eax + 0x3c]
add eax, 0x34
push eax
call fcn.004129f5
cmp eax, 3
pop ecx
pop ecx
jne 0x57f76d
push ecx
fld1
push ecx
fstp qword [esp]
mov ecx, dword [esi + 0x444]
add ecx, 0x78
call fcn.005899d1
mov eax, dword [esi + 0x1ec]
add eax, dword [esi + 0x1f0]
push 0xa
pop ebx
cmp eax, ebx
jg 0x57f6d9
mov eax, ebx
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x57f6e3
mov dword [ebp - 0x10], edi
fild dword [ebp - 0x10]
push ecx
push ecx
mov ecx, dword [esi + 0x444]
fmul qword [0x808bd8]
add ecx, 0x84
fstp qword [esp]
call fcn.005899d1
push ecx
fld1
push ecx
fstp qword [esp]
mov ecx, dword [esi + 0x444]
add ecx, 0x54
call fcn.005899d1
mov eax, dword [esi + 0x1ec]
add eax, dword [esi + 0x1f0]
cmp eax, ebx
jg 0x57f729
mov eax, ebx
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x57f733
mov dword [ebp - 0x10], edi
fild dword [ebp - 0x10]
mov edi, dword [esi + 0x444]
push ecx
push ecx
fmul qword [0x808bd8]
add edi, 0x6c
mov ecx, edi
fstp qword [esp]
call fcn.005899d1
mov ebx, dword [esi + 0x444]
mov ecx, edi
add ebx, 0x60
call fcn.00589917
push ecx
push ecx
mov ecx, ebx
fstp qword [esp]
call fcn.005899d1
mov eax, dword [esi + 0x154]
fld qword [eax + 0x140]
push ecx
lea edi, [esi + 0x154]
push ecx
mov ecx, dword [esi + 0x444]
fstp qword [esp]
add ecx, 0x18
call fcn.005899d1
mov eax, dword [edi]
fld qword [eax + 0x140]
push ecx
push ecx
mov ecx, dword [esi + 0x444]
fstp qword [esp]
add ecx, 0x30
call fcn.005899d1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x57f7bc
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x7da9c0
call fcn.007a83c4
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0xc
push 0
push esi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x808440
call fcn.007a8860
add esp, 0xc
and dword [ebp - 4], 0
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.00589653
lea ebx, [esi + 0x18]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00589653
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00589653
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00589653
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.00589653
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.00589653
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 6
call fcn.00589653
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 7
call fcn.00589653
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 8
call fcn.00589653
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 9
call fcn.00589653
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 0xa
call fcn.00589653
fld qword [0x809738]
push ecx
push ecx
mov ecx, edi
fstp qword [esp]
mov byte [ebp - 4], 0xb
mov dword [esi], 0x80c650
call fcn.005899d1
fld1
push ecx
push ecx
mov ecx, ebx
fstp qword [esp]
call fcn.005899d1
fld1
push ecx
push ecx
lea ecx, [esi + 0x24]
fstp qword [esp]
call fcn.005899d1
fld1
push ecx
push ecx
lea ecx, [esi + 0x30]
fstp qword [esp]
call fcn.005899d1
fld qword [0x80c648]
push ecx
push ecx
lea ecx, [esi + 0x3c]
fstp qword [esp]
call fcn.005899d1
fld1
push ecx
push ecx
lea ecx, [esi + 0x48]
fstp qword [esp]
call fcn.005899d1
fld1
push ecx
push ecx
lea ecx, [esi + 0x54]
fstp qword [esp]
call fcn.005899d1
fld1
push ecx
push ecx
lea ecx, [esi + 0x60]
fstp qword [esp]
call fcn.005899d1
fld1
push ecx
push ecx
lea ecx, [esi + 0x6c]
fstp qword [esp]
call fcn.005899d1
fldz
push ecx
push ecx
lea ecx, [esi + 0x78]
fstp qword [esp]
call fcn.005899d1
fldz
push ecx
push ecx
lea ecx, [esi + 0x84]
fstp qword [esp]
call fcn.005899d1
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x598514
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 8]
mov dword [ebp + 8], eax
sub dword [ebp + 8], edi
lea ebx, [ebp - 0x14]
mov dword [ebp - 4], 0xbaadf00d
sub ebx, edi
mov dword [ebp - 8], 2
mov eax, dword [ebp + 8]
mov esi, dword [eax + edi]
mov eax, dword [edi]
push 5
push eax
mov dword [ebp - 0xc], eax
call fcn.007a8a7a
xor eax, esi
xor esi, dword [ebp - 4]
push 5
push esi
mov dword [ebx + edi], eax
call fcn.007a8834
add eax, dword [ebp - 0xc]
add esp, 0x10
add edi, 4
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x59853c
cmp eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x59858d
push 0x818260
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.007a83e3
fld qword [ebp - 0x14]
leave
ret

Function at 0x59a0a2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x7dc04c
call fcn.007a83c4
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov eax, ecx
neg eax
lea edx, [ecx - 4]
sbb eax, eax
and eax, edx
push edi
mov dword [ebp - 0x10], esi
mov dword [0x883548], eax
push 0xffffffffffffffff
xor ebx, ebx
mov edi, 0x882970
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
call fcn.004176a3
push 0xffffffffffffffff
lea ecx, [esi + 8]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
call fcn.004176a3
mov dword [esi + 0xc], ebx
push 0x7f89
push ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x30], ebx
mov dword [esi], 0x80c744
call dword [0x884cf8]
push 0x7f00
push ebx
mov dword [esi + 0x34], eax
call dword [0x884cf8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret