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

Disassembly:
mov eax, 0x10
call fcn.004ff310
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esi]
test esi, esi
je 0x569c8d
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x569c8d
mov al, byte [esi + ecx]
dec edi
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebp
inc ebx
and esi, 0xf
jne 0x569c78
mov edx, dword [esp + 0x34]
cmp edi, 0x10
jb 0x569d31
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x569cd4
mov ecx, dword [esp + 0x38]
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.00569f00
add esp, 0x10
cmp esi, 0x10
jae 0x569d13
mov eax, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
add eax, esi
shr edx, 2
inc edx
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x569d01
mov edx, dword [esp + 0x34]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x2c], 1
jne 0x569cd0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x569d72
push dword [esp + 0x30]
push dword [esp + 0x3c]
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.00569f00
mov eax, dword [esp + 0x48]
add esp, 0x10
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
nop dword [eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x569d60
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x569d80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.004ff310
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ebx, dword [ebx]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
push edi
test ebx, ebx
je 0x569dc9
mov ecx, dword [esp + 0x2c]
nop dword [eax]
test esi, esi
je 0x569dc9
mov al, byte [ebx + ecx]
dec esi
xor al, byte [edx]
inc ebx
mov byte [ebp], al
inc edx
inc ebp
mov dword [esp + 0x10], edx
and ebx, 0xf
jne 0x569db0
mov edi, dword [esp + 0x28]
movzx ecx, byte [edi + 0xc]
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x20], ecx
cmp esi, 0x10
jb 0x569e7e
nop dword [eax]
mov edi, esi
shr edi, 4
add ecx, edi
mov dword [esp + 0x20], ecx
cmp ecx, edi
jae 0x569e17
sub edi, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
push dword [esp + 0x28]
push dword [esp + 0x28]
push edi
push ebp
push edx
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x569e64
mov ecx, 0xc
dec ecx
add byte [ecx + edx], 1
jne 0x569e60
test ecx, ecx
jne 0x569e55
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
shl edi, 4
sub esi, edi
add edx, edi
add ebp, edi
mov dword [esp + 0x10], edx
cmp esi, 0x10
jae 0x569e00
mov edi, dword [esp + 0x28]
test esi, esi
je 0x569ef3
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push edi
push dword [esp + 0x28]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
add esp, 0x14
inc ecx
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
test ecx, ecx
jne 0x569ed0
mov ecx, 0xc
dec ecx
add byte [ecx + edi], 1
jne 0x569ed0
test ecx, ecx
jne 0x569ec5
mov eax, dword [esp + 0x2c]
sub ebp, eax
mov edx, dword [esp + 0x10]
sub edx, eax
lea ecx, [ebx + eax]
add ebx, esi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebp - 1], al
sub esi, 1
jne 0x569ee1
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
pop ecx
ret
Function at 0x56a500
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x56a514
mov eax, 0xfffffffe
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, esi
add eax, dword [ebx + 0x30]
adc ecx, dword [ebx + 0x34]
cmp ecx, 0x20000000
ja 0x56a5c9
jb 0x56a539
test eax, eax
jne 0x56a5c9
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [ebx + 0x16c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
test edi, edi
je 0x56a579
nop
test esi, esi
je 0x56a565
mov al, byte [ebp]
dec esi
xor byte [edi + ebx + 0x40], al
inc ebp
inc edi
and edi, 0xf
jne 0x56a550
jmp 0x56a569
test edi, edi
jne 0x56a5bc
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.0056b750
add esp, 8
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x56a59e
push eax
push ebp
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.0056b510
add ebp, dword [esp + 0x24]
add esp, 0x10
sub esi, dword [esp + 0x14]
test esi, esi
je 0x56a5bc
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x56a5bc
nop word [eax + eax]
mov al, byte [ecx + ebp]
xor byte [ebx + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x56a5b0
mov dword [ebx + 0x16c], edi
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret
pop esi
or eax, 0xffffffff
pop ebx
ret
Function at 0x56b750
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.004ff310
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
movzx ecx, byte [eax + 0xf]
mov esi, dword [esp + 0x28]
mov ebp, ecx
and ecx, 0xf
mov dword [esp + 0x24], 0
add ecx, ecx
and ebp, 0xfffffff0
push edi
mov ebx, dword [esi + ecx*8]
mov edi, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 8]
mov ecx, dword [esi + ecx*8 + 0xc]
mov esi, edx
shrd edx, ecx, 4
and esi, 0xf
mov dword [esp + 0x14], ebx
or dword [esp + 0x28], edx
shl dword [esp + 0x14], 0x1c
shrd ebx, edi, 4
mov edx, dword [esi*4 + 0x609788]
mov esi, dword [esp + 0x2c]
shr ecx, 4
or dword [esp + 0x14], ecx
xor ecx, ecx
shr edi, 4
xor ecx, ebx
xor ecx, dword [esi + ebp]
xor edx, edi
xor edx, dword [esi + ebp + 4]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
xor edi, dword [esi + ebp + 8]
xor ebx, dword [esi + ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, 0xe
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
nop dword [eax + eax]
movzx edx, byte [edx + eax]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, edx
shr ecx, 4
and edx, 0xf
mov dword [esp + 0x20], ecx
add edx, edx
mov ecx, edi
shl ebp, 0x1c
shrd edi, ebx, 4
and ecx, 0xf
mov dword [esp + 0x28], 0
shr ebx, 4
or esi, edi
or ebp, ebx
xor edi, edi
mov ebx, dword [ecx*4 + 0x609788]
mov ecx, dword [esp + 0x18]
shrd dword [esp + 0x10], ecx, 4
xor edi, dword [esp + 0x10]
shr ecx, 4
xor ebx, ecx
mov ecx, dword [esp + 0x2c]
xor ebx, dword [ecx + edx*8 + 4]
xor ebp, dword [ecx + edx*8 + 0xc]
xor edi, dword [ecx + edx*8]
xor esi, dword [ecx + edx*8 + 8]
mov edx, edi
shrd edi, ebx, 4
mov ecx, esi
shl edx, 0x1c
shrd esi, ebp, 4
and ecx, 0xf
shr ebx, 4
or dword [esp + 0x28], esi
shr ebp, 4
or edx, ebp
xor ebp, ebp
mov ecx, dword [ecx*4 + 0x609788]
xor ebp, edi
xor ecx, ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov ebx, ebp
add edx, edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x2c]
xor ebx, dword [ebp + edx*8]
xor ecx, dword [ebp + edx*8 + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
xor ebx, dword [ebp + edx*8 + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
xor ebx, dword [ebp + edx*8 + 0xc]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
sub edx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jns 0x56b7f0
mov edx, dword [esp + 0x18]
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov byte [eax + 3], dl
mov edx, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 6], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [eax + 8], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 9], cl
mov ecx, ebx
shr ecx, 8
mov byte [eax + 0xa], cl
mov byte [eax + 7], dl
mov edx, edi
mov ecx, edx
mov byte [eax + 0xb], bl
shr ecx, 0x18
mov byte [eax + 0xc], cl
mov ecx, edx
shr ecx, 0x10
pop edi
mov byte [eax + 0xd], cl
mov ecx, edx
pop esi
shr ecx, 8
pop ebp
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], dl
pop ebx
add esp, 0x14
ret
Function at 0x56f4f0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x56f504
mov dword [esp + 0x18], fcn.0056dcd0
jmp fcn.00569ab0
mov dword [esp + 0x18], fcn.0056cf70
jmp fcn.00569800

Function at 0x570030
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x57011c
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x5700ae
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x60a898]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x60a898]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x60a898]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x60a898]
mov byte [eax + 3], cl
jmp 0x5700ff
shl edx, 0x10
cmp esi, 2
jne 0x5700be
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x60a898]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x60a898]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x5700eb
lea ecx, [esi + 0x3c]
jmp 0x5700f8
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x60a898]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x570050
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x580ab0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x580b79
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x580ad1
cmp al, 0x6b
jne 0x580b79
inc ecx
cmp al, 0x6b
jne 0x580b3b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x580af2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x580af2
cmp dl, 0xbb
jne 0x580b1b
inc eax
cmp eax, esi
jl 0x580ae0
sub esi, eax
test eax, eax
jne 0x580b3e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0052dd20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0052dd20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x580b67
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0052dd20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.00500630
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.0052dd20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x585e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.004ff310
mov eax, dword [0x62acc0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x586067
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x586067
cmp dword [esp + 0x88], 0x40000000
ja 0x586067
push ebx
push edi
push eax
call fcn.00537380
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.0052f180
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.0052ed60
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.0052ef10
add esp, 0x20
test eax, eax
je 0x586043
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0052ef10
add esp, 0xc
test eax, eax
je 0x586043
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.0052ef10
add esp, 0xc
test eax, eax
je 0x586043
push 0
cmp esi, edi
jb 0x58600b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0052ec90
add esp, 0xc
test eax, eax
je 0x586043
sub esi, edi
je 0x58603b
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.0052ed60
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.0052ef10
add esp, 0x18
test eax, eax
jne 0x585f57
jmp 0x586043
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0052ec90
add esp, 0xc
test eax, eax
je 0x586043
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.00500630
lea eax, [esp + 0x48]
push edi
push eax
call fcn.005339d0
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.0052ef20
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004fe8dc
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.004fe8dc
add esp, 0x70
ret
Function at 0x5861e0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x5861f2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.00532870
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x5862b5
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x586246
test esi, esi
jle 0x586294
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x586230
jmp 0x586294
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x58626a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.00500bb0
add esp, 0xc
test esi, esi
jle 0x586294
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x586280
push esi
push ebp
push ebp
push edi
call fcn.00537320
add esp, 0x10
pop ebx
test eax, eax
jne 0x5862b5
push esi
push ebp
call fcn.005339d0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x5885d0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x5885e7
mov edi, ecx
jmp 0x5885eb
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x5885fb
mov eax, ebx
jmp 0x588605
push eax
push ebx
call fcn.00534820
add esp, 8
test eax, eax
jne 0x58860d
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x58862b
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x588615
cmp esi, dword [edi + 4]
jge 0x588640
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x588630
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x588664
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x588661
dec ecx
test ecx, ecx
jg 0x588653
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x59b370
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x59b39d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x59b39d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x59c280
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x613408
push esi
call fcn.00524e16
pop ecx
pop ecx
test eax, eax
jne 0x59c2ae
xor al, al
jmp 0x59c32b
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0059bfc1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x59c2e8
push dword [ebp - 0x210]
call fcn.00503e53
xor al, al
jmp 0x59c329
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x59c2ee
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x59c30e
push edx
call fcn.0059c1b7
pop ecx
test al, al
je 0x59c2d9
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x59c31c
mov bl, 1
push dword [ebp - 0x210]
call fcn.00503e53
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fe8dc
leave
ret

Function at 0x59cfe1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x59d024
call fcn.00512d27
mov dword [eax], 0xf
call fcn.00512d3a
mov dword [eax], 0xd
call fcn.005130be
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
leave
ret
test eax, eax
jne 0x59d02b
inc eax
jmp 0x59d018
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x59d016
xor eax, eax
cmp ecx, 1
setne al
jmp 0x59d018
Function at 0x54941f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x320
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0x258
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x160], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x164], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x168], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x16c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x170], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x174], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x178], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x17c], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x5f663c
mov ecx, dword [ebp - 4]
mov dword [0x277c018], ecx
push 1
push 0
push 0
push 0x622cc0
push 0x622ccc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.0053a4dc
call fcn.0053ff06
call fcn.0053a837
push str.WYD.log
call fcn.00438310
add esp, 4
push str....WYD.....
mov edx, dword [ebp - 4]
add edx, 0x20
push edx
call fcn.005c5b24
add esp, 8
mov eax, dword [ebp - 4]
mov dword [eax + 0x190], 1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x194], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x54dfa9
Capabilities:
Accept command line arguments
Create process on windows
Get keyboard layout
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
push edi
push 1
push 0
push 0
push str.Change.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 0x50c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x50b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x50c]
push ecx
call fcn.005c5b24
add esp, 8
push 0
lea edx, [ebp - 0x50c]
push edx
nop
nop
nop
nop
nop
add esp, 8
push str.With_Your_Destiny
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jmp 0x54e020
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 4], eax
call fcn.00424395
and eax, 0xff
test eax, eax
je 0x54e04b
push 0x62316c
push 0x623140
call fcn.005c5b24
add esp, 8
jmp 0x54e05d
push 0x623170
push 0x623140
call fcn.005c5b24
add esp, 8
push 0
push 1
push 0
call fcn.004ba5ac
add esp, 0xc
push 0x1a0
call fcn.005c5dd3
add esp, 4
mov dword [ebp - 0x518], eax
cmp dword [ebp - 0x518], 0
je 0x54e09a
mov ecx, dword [ebp - 0x518]
call fcn.0054941f
mov dword [ebp - 0x524], eax
jmp 0x54e0a4
mov dword [ebp - 0x524], 0
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], 1
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x54e0ff
push 1
call fcn.005c9354
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jge 0x54e112
push 1
call fcn.005c9354
push 0x623174
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c5aa0
add esp, 8
test eax, eax
jne 0x54e131
mov dword [ebp - 0x10c], 0
push 0x623178
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c5aa0
add esp, 8
test eax, eax
jne 0x54e150
mov dword [ebp - 0x10c], 1
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x108]
call dword [edx + 4]
test eax, eax
jne 0x54e174
xor eax, eax
jmp 0x54e1f3
mov eax, dword [ebp + 8]
push eax
call fcn.0042448f
add esp, 4
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x108]
call dword [edx + 0xc]
mov dword [ebp - 0x510], eax
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0x51c], ecx
cmp dword [ebp - 0x51c], 0
je 0x54e1de
push 1
mov edx, dword [ebp - 0x51c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x51c]
call dword [eax]
mov dword [ebp - 0x528], eax
jmp 0x54e1e8
mov dword [ebp - 0x528], 0
call fcn.004ba71e
mov eax, dword [ebp - 0x510]
pop edi
mov esp, ebp
pop ebp
ret 0x10