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

Disassembly:
mov eax, 0x28
call fcn.005fffa0
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.004c1dd0
add esp, 8
test eax, eax
jne 0x4e6aeb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x4e6b4d
xor ebx, ebx
test ebp, ebp
jle 0x4e6cb0
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x4e6b2f
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x4e6b08
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x4e6b00
jmp 0x4e6cb0
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
cmp dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jle 0x4e6cb0
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
cmp edi, esi
mov dword [esp + 0x20], esi
jle 0x4e6c8c
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x4e6c20
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
jl 0x4e6bf0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x4e8c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
test edx, edx
je 0x4e8c2c
test byte [edx + 0x5c], 2
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x4e8c31
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test ebp, ebp
jle 0x4e8cf5
push ebx
lea ebx, [ebx]
cmp ebp, 3
movzx edx, byte [edi]
jl 0x4e8c92
movzx ebx, byte [edi + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 2]
shl edx, 8
or edx, ebx
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx], bl
mov ebx, edx
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx + 1], bl
inc ecx
mov ebx, edx
shr ebx, 6
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
inc ecx
mov byte [ecx], bl
inc ecx
and edx, 0x3f
mov dl, byte [edx + esi]
mov byte [ecx], dl
jmp 0x4e8cdb
shl edx, 0x10
cmp ebp, 2
jne 0x4e8ca3
movzx ebx, byte [edi + 1]
shl ebx, 8
or edx, ebx
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx], bl
mov ebx, edx
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
inc ecx
mov byte [ecx], bl
inc ecx
cmp ebp, 1
jne 0x4e8ccb
lea edx, [ebp + 0x3c]
jmp 0x4e8cd5
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + esi]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub ebp, 3
inc ecx
add eax, 4
add edi, 3
test ebp, ebp
jg 0x4e8c40
pop ebx
pop edi
pop esi
mov byte [ecx], 0
pop ebp
ret
pop edi
pop esi
mov byte [ecx], al
pop ebp
ret
Function at 0x4f08f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x134
call fcn.005fffa0
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x148]
push ebx
mov ebx, dword [esp + 0x140]
push ebp
mov ebp, dword [esp + 0x148]
push esi
mov esi, dword [esp + 0x150]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x148]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x4f0955
cmp esi, dword [edi]
je 0x4f0951
cmp ebx, eax
je 0x4f09ce
cmp ebp, eax
jl 0x4f09ce
mov dword [edi], esi
jmp 0x4f095b
mov esi, dword [edi]
cmp esi, eax
je 0x4f09ce
push esi
call fcn.004a7520
add esp, 4
test al, 2
jne 0x4f09ce
test ebx, ebx
je 0x4f0ac8
push esi
mov dword [esp + 0x14], 1
call fcn.004a72b0
add esp, 4
cmp eax, 0x90
jg 0x4f09ce
cmp eax, ebp
jge 0x4f09e9
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
push esi
push edx
call fcn.004a51e0
add esp, 0xc
test eax, eax
je 0x4f09ce
mov eax, dword [edi + 4]
push ebp
push ebx
push eax
call fcn.004a5390
add esp, 0xc
test eax, eax
je 0x4f09ce
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004a53b0
add esp, 0xc
test eax, eax
jne 0x4f0a08
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005fff12
add esp, 0x134
ret
cmp ebp, 0x90
ja 0x4f09ce
push ebp
lea ecx, [esp + 0x24]
push ebx
push ecx
call sub.MSVCR90.dll_memcpy
mov eax, ebp
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4f0a0c
mov eax, dword [esp + 0x1c]
cmp eax, 0x90
je 0x4f0a2a
mov edx, 0x90
sub edx, eax
push edx
lea eax, [esp + eax + 0x24]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x20]
xor cl, 0x36
mov byte [esp + eax + 0xb0], cl
inc eax
cmp eax, 0x90
jl 0x4f0a30
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 8]
push ebx
push esi
push edx
call fcn.004a51e0
add esp, 0xc
test eax, eax
je 0x4f0aeb
push esi
call fcn.004a72b0
mov ecx, dword [edi + 8]
push eax
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.004a5390
add esp, 0x10
test eax, eax
je 0x4f0aeb
xor eax, eax
mov dl, byte [esp + eax + 0x20]
xor dl, 0x5c
mov byte [esp + eax + 0xb0], dl
inc eax
cmp eax, 0x90
jl 0x4f0a81
mov eax, dword [edi + 0xc]
push ebx
push esi
push eax
call fcn.004a51e0
add esp, 0xc
test eax, eax
je 0x4f0aeb
push esi
call fcn.004a72b0
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.004a5390
add esp, 0x10
test eax, eax
je 0x4f0aeb
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.004a54c0
add esp, 8
test eax, eax
je 0x4f0ae4
mov dword [esp + 0x14], 1
cmp dword [esp + 0x10], 0
je 0x4f0b0f
lea edx, [esp + 0x20]
push 0x90
push edx
call fcn.00491200
lea eax, [esp + 0xb8]
push 0x90
push eax
call fcn.00491200
add esp, 0x10
mov eax, dword [esp + 0x14]
jmp 0x4f09d0
Function at 0x517d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push ebp
lea ecx, [ebx + 0xc]
push esi
lea eax, [edx + 4]
sub ebx, edx
mov ebp, 4
mov esi, dword [eax - 4]
mov edx, dword [ecx - 0xc]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax - 4], esi
xor dword [ecx - 0xc], edx
mov esi, dword [eax]
mov edx, dword [ebx + eax]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax], esi
xor dword [ebx + eax], edx
mov esi, dword [eax + 4]
mov edx, dword [ecx - 4]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 4], esi
xor dword [ecx - 4], edx
mov esi, dword [eax + 8]
mov edx, dword [ecx]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 8], esi
xor dword [ecx], edx
add eax, 0x10
add ecx, 0x10
sub ebp, 1
jne 0x517d92
pop esi
pop ebp
pop ebx
ret
Function at 0x527060
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0xe4
call fcn.005fffa0
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xec]
push esi
mov esi, dword [esp + 0xec]
push edi
lea ecx, [esp + 0xa8]
push ecx
push 0x20
push eax
call fcn.004b9e90
mov dl, byte [esp + 0xd3]
and byte [esp + 0xb4], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esp + 0xd3], dl
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x14]
call fcn.0051e910
lea edi, [esp + 0x14]
call fcn.0051db90
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.00491200
mov ecx, dword [esp + 0xfc]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.005fff12
add esp, 0xe4
ret
Function at 0x527130
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.005fffa0
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
mov byte [esp + 0x14b], cl
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.0051e910
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
add edx, eax
sub eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x90]
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xbc]
add esi, edx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc0]
add edi, esi
sub ecx, dword [esp + 0x90]
sub edx, dword [esp + 0x94]
sub esi, dword [esp + 0x98]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xc4]
add ebx, edi
sub edi, dword [esp + 0x9c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xc8]
add ebx, ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xcc]
add ebx, ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xd0]
add ebx, ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xd4]
add ebx, ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd4]
add ebp, ebx
sub eax, dword [esp + 0xac]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], eax
sub ebx, dword [esp + 0xb0]
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], ebx
call fcn.0051c6b0
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edx
call fcn.0051a430
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.0051a060
lea ecx, [esp + 0x13c]
push 0x20
push ecx
call fcn.00491200
mov ecx, dword [esp + 0x164]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005fff12
add esp, 0x140
ret
Function at 0x557b27
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.005fffa0
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
jbe 0x557c94
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
shl eax, 8
or ebx, eax
inc esi
movzx eax, byte [esi + 1]
inc esi
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 1]
shl edx, 0x18
inc esi
or ebx, edx
movzx edx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
inc esi
mov byte [edi], dl
mov byte [ebp], al
call fcn.00545880
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00545980
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00542380
push ebp
call fcn.00545880
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00545980
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00542380
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
inc eax
shr edx, 8
add esp, 0x30
mov byte [eax], dl
inc eax
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
inc eax
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
inc eax
inc eax
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
inc eax
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x557b43
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.005fff12
add esp, 0xa0
ret
Function at 0x566aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5c
call fcn.005fffa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
xor edi, edi
push 0x38
lea eax, [esp + 0x38]
push edi
push eax
mov dword [esp + 0x3c], edi
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x3c]
sub ecx, esi
mov dword [esp + 0x20], ecx
xor eax, eax
lea ecx, [esp + 0x40]
add esp, 0xc
sub ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x566af4
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + eax*4]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x18], 7
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ebp
push ecx
push 0
push eax
call fcn.00600330
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + esi]
xor ebp, ebp
add eax, ecx
mov ecx, dword [esp + 0x10]
push ebp
adc edx, ebp
add edi, eax
mov eax, dword [esi + 4]
push ecx
adc ebx, edx
mov edx, dword [esp + 0x1c]
push ebp
push eax
mov dword [edx + esi], edi
call fcn.00600330
xor ecx, ecx
add eax, ebx
adc edx, ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + esi]
xor ebx, ebx
add eax, edi
adc edx, ebx
mov dword [ecx + esi], eax
add esi, 8
sub dword [esp + 0x18], 1
mov edi, edx
jne 0x566b10
mov ebp, dword [esp + 0x30]
imul ebp, ebp, 0xae918bc5
mov dword [esp + 0x68], edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], ebp
xor eax, eax
jmp 0x566b88
mov eax, dword [esp + 0x2c]
mov edx, dword [esi*4 + 0x669f54]
push eax
push ebp
push 0
push edx
call fcn.00600330
mov ecx, dword [esp + esi*4 + 0x30]
xor ebp, ebp
add eax, ecx
adc edx, ebp
add ebx, eax
adc edi, edx
test esi, esi
je 0x566baf
mov dword [esp + esi*4 + 0x2c], ebx
mov ebp, dword [esp + 0x10]
mov edx, dword [esi*4 + 0x669f58]
xor eax, eax
push eax
push ebp
push eax
push edx
mov dword [esp + 0x3c], eax
call fcn.00600330
mov ecx, dword [esp + esi*4 + 0x34]
xor ebx, ebx
add eax, ecx
adc edx, ebx
xor ecx, ecx
add eax, edi
adc edx, ecx
lea ecx, [esi + 1]
test ecx, ecx
je 0x566be4
mov dword [esp + esi*4 + 0x30], eax
add esi, 2
xor edi, edi
mov ebx, edx
cmp esi, 0xe
jb 0x566b84
mov edx, dword [esp + esi*4 + 0x30]
xor eax, eax
lea esi, [esp + esi*4 + 0x30]
xor ecx, ecx
add edx, dword [esp + 0x1c]
adc eax, ecx
add ebx, edx
adc edi, eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esi - 4], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
cmp eax, 0xe
jb 0x566af0
mov eax, dword [esp + 0x70]
push edi
push 0x669f54
lea edx, [esp + 0x38]
push edx
push eax
mov edx, 0x669f54
call fcn.00566980
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x5befef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x5bf014
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x5bf02c
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x5bf05b
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x5bf09a
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x5bf16e
sub edx, 0x10000
js 0x5bf16e
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x5bf080
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x5bf080
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x5bf0f1
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x5bf0ee
add edx, 8
jne 0x5bf0d5
jmp 0x5bf15f
add edx, 4
test eax, 0xffff
jne 0x5bf0fe
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x5bf15f
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x5bf132
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x5bf080
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x5bf16e
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x5bf080
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x5bf17f
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5bf390
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
push esi
je 0x5bf422
sub eax, 1
je 0x5bf3bd
sub eax, 2
jne 0x5bf467
call fcn.005c0560
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ntdll.dll
mov dword [0x6a61a8], eax
call esi
mov dword [0x6a61a0], eax
test eax, eax
je 0x5bf41b
push 0x683340
call esi
mov dword [0x6a61a4], eax
test eax, eax
je 0x5bf41b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x6a61ac], eax
call fcn.005c0860
call fcn.005c05a0
call fcn.005bf680
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6a619c], eax
cmp eax, 0xffffffff
jne 0x5bf467
xor eax, eax
pop esi
pop ebp
ret 0xc
mov ecx, dword [0x6a619c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
call fcn.005bf660
call fcn.005c0ba0
call fcn.005c05e0
call fcn.005c08f0
mov edx, dword [0x6a61ac]
push edx
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov eax, dword [0x6a61a0]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
call esi
mov ecx, dword [0x6a61a4]
push ecx
call esi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x5c0860
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x6a61a4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessId
push eax
call esi
mov dword [0x6a74e4], eax
test eax, eax
jne 0x5c089b
mov ecx, dword [0x6a61a0]
push str.NtQueryInformationProcess
push ecx
call esi
mov dword [0x6a74ec], eax
test eax, eax
jne 0x5c089b
mov eax, 0xc000007a
pop esi
ret
mov edx, dword [0x6a61a4]
push str.GetThreadId
push edx
call esi
mov dword [0x6a74e0], eax
test eax, eax
jne 0x5c08c8
mov eax, dword [0x6a61a0]
push str.NtQueryInformationThread
push eax
call esi
mov dword [0x6a74e8], eax
test eax, eax
je 0x5c0894
mov ecx, dword [0x6a61a0]
push str.ZwQueryObject
push ecx
call esi
mov dword [0x6a74f0], eax
neg eax
sbb eax, eax
and eax, 0x3fffff86
add eax, 0xc000007a
pop esi
ret
Function at 0x5fff12
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6a0f4c]
jne 0x5fff1c
repz ret
jmp fcn.00600b4c
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and dword [ecx], 0x78
das
jne 0x401e56
and dh, byte [ecx + 0x16]
mov byte [edx + 0x78], ch
ficom dword [esi - 0x18]
test al, 0x75
xor eax, 0x74c48b48
aas
dec eax
mov eax, esp
je 0x401e9a
adc eax, 0x8371c0c8
sub al, 0x51
add edx, 0xffffff94
push 0x8b6d4ac
push edx
xchg edi, eax
adc eax, sym.imp.MSVCRT.dll_fprintf
mov eax, dword [0x410216]
add esp, 0x14
test eax, eax
je 0x401e8c
push eax
push 0x404954
ret 0x640c
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
nop
xor eax, 0x9063a090
mov dh, 0x4e
mov al, byte [0x4eb69063]
nop
mov byte [0xec67ec8b], al
not byte [ebx + 0x56]
mov esp, dword [esi]
or byte [edi - 0x75], dl
into
adc al, 0x89
inc ebp
or al, ch
dec ecx
dec ebx
add byte [eax], al
mov dword [0x69190ba0], eax
mov dword [eax - 0x5e], edx
or eax, dword [ecx]
xor eax, 0x14ddb9d8
test eax, eax
mov edi, edx
inc byte [eax - 0x75]
dec esi
add al, 0x6a
add al, dl
add byte [ecx - 0x18], dl
xchg esi, eax
insd dword es:[edi], dx
add byte [eax], al
mov dword [esi + 0xea083d], ebx
mov dword [esi + 0x83c], edi
mov dword [esi + 0x52], 0
mov eax, dword [ecx - 0x14]
push ebp
inc ecx
mov ah, 0x89
push esi
adc al, 0x8f
pushal
add al, byte [ecx]
test dword [ebp + 0x74], ebx
cmp esp, dword [ecx + 0x410270]
mov ecx, edx
add ecx, eax
dec esi
adc al, 0xeb
sub eax, 0x8388e8b
add byte [eax], al
mov eax, dword [0x40d0df]
mov edx, dword [0x400b2c]
add ecx, eax
mov eax, dword [esi + 0x83c]
adc eax, edx
cmp edx, dword [edi + ecx - 0x71]
in eax, 0
add byte [eax], al
jl 0x401f82
mov bl, cl
cwde
jae 0x401ef8
cwde
add byte [eax], al
mov edx, dword [esi + 0x18]
dec eax
sbb eax, 0xf5d030
rol byte [esi + 4], 1
lea ecx, [ebp + 8]
add esi, esi
push ecx
push edx
imul eax
insd dword es:[edi], dx
imul ebp, dword [ecx], 0xffffff85
sal byte [edx + 0x33], 0x83
clc
or esi, dword [esi + ebp + 0x3d]
push 0xff000afd
mov edx, 0xa9e988f
add byte [eax + 0x3d], dh
push edi
push cs
or al, byte [eax]
and byte [edi + 0xafd723d], bh
add byte [edx + edx + 0x3d], dh
mov eax, dword [0x74000afc]
or edi, dword [0xb0fb3]
or eax, dword [eax]
invalid