joyce8/EMBER2024-capa huggingface dataset:
Function at 0x598490
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x598559
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x5984b1
cmp al, 0x6b
jne 0x598559
inc ecx
cmp al, 0x6b
jne 0x59851b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5984d2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5984d2
cmp dl, 0xbb
jne 0x5984fb
inc eax
cmp eax, esi
jl 0x5984c0
sub esi, eax
test eax, eax
jne 0x59851e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0056f540
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.0056f540
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x598547
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0056f540
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.004eecb0
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.0056f540
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x59bc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.004ed3f0
mov eax, dword [0x640844]
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 0x59be57
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x59be57
cmp dword [esp + 0x88], 0x40000000
ja 0x59be57
push ebx
push edi
push eax
call fcn.00570840
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.0056cf40
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.0056c9e0
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.0056cb90
add esp, 0x20
test eax, eax
je 0x59be33
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0056cb90
add esp, 0xc
test eax, eax
je 0x59be33
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.0056cb90
add esp, 0xc
test eax, eax
je 0x59be33
push 0
cmp esi, edi
jb 0x59bdfb
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0056c8e0
add esp, 0xc
test eax, eax
je 0x59be33
sub esi, edi
je 0x59be2b
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.0056c9e0
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.0056cb90
add esp, 0x18
test eax, eax
jne 0x59bd47
jmp 0x59be33
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0056c8e0
add esp, 0xc
test eax, eax
je 0x59be33
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.004eecb0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.00401360
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.0056cba0
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.004ed0cc
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.004ed0cc
add esp, 0x70
ret
Function at 0x59c020
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.004ed3f0
mov eax, dword [0x640844]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], edx
push ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x10], ebp
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xac]
mov eax, dword [esi]
test ebx, ebx
je 0x59c08c
cmp ebx, eax
je 0x59c083
test ebp, ebp
je 0x59c209
test edi, edi
js 0x59c209
mov ecx, 1
mov dword [esi], ebx
jmp 0x59c096
test eax, eax
je 0x59c209
mov ebx, eax
test ebp, ebp
je 0x59c200
push ebx
call fcn.00570830
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x59c0ca
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.00570370
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
jge 0x59c11b
push dword [esp + 0x10]
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.0056c9e0
add esp, 0xc
test eax, eax
je 0x59c209
push edi
push dword [esp + 0x1c]
push ebp
call fcn.0056cb90
add esp, 0xc
test eax, eax
je 0x59c209
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.0056c960
add esp, 0xc
test eax, eax
je 0x59c209
mov edi, dword [esi + 0x4c]
jmp 0x59c138
cmp edi, 0x80
ja 0x59c209
push edi
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.004eecb0
add esp, 0xc
mov dword [esi + 0x4c], edi
cmp edi, 0x80
je 0x59c158
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x50]
add eax, edi
push 0
push eax
call fcn.004ef230
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
nop
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x59c160
push edx
lea edi, [esi + 0x1c]
push ebx
push edi
call fcn.0056c9e0
add esp, 0xc
test eax, eax
je 0x59c209
push ebx
call fcn.00570830
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.0056cb90
add esp, 0x10
test eax, eax
je 0x59c209
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x59c1a4
push dword [esp + 0x10]
lea edi, [esi + 0x34]
push ebx
push edi
call fcn.0056c9e0
add esp, 0xc
test eax, eax
je 0x59c209
push ebx
call fcn.00570830
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.0056cb90
add esp, 0x10
test eax, eax
je 0x59c209
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0056cda0
add esp, 8
test eax, eax
je 0x59c209
mov eax, 1
jmp 0x59c20b
test ecx, ecx
je 0x59c1e5
jmp 0x59c15c
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ed0cc
add esp, 0x90
ret
Function at 0x59c390
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x59c3a2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.005703a0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x59c465
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x59c3f6
test esi, esi
jle 0x59c444
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 0x59c3e0
jmp 0x59c444
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x59c41a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.004ef230
add esp, 0xc
test esi, esi
jle 0x59c444
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 0x59c430
push esi
push ebp
push ebp
push edi
call fcn.005707e0
add esp, 0x10
pop ebx
test eax, eax
jne 0x59c465
push esi
push ebp
call fcn.00401360
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 0x5aad80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.004ed3f0
mov eax, dword [0x640844]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.0056cf40
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0056cda0
add esp, 0xc
test eax, eax
je 0x5aae82
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0056c960
add esp, 0xc
test eax, eax
je 0x5aae82
lea eax, [esp + 0x20]
push eax
call fcn.0056cba0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x5aaea0
push edi
call fcn.0056da80
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.00570b00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5aae82
push esi
call fcn.00572230
add esp, 4
test eax, eax
jle 0x5aae82
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00570870
add esp, 0x18
test eax, eax
jle 0x5aae82
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.00572140
add esp, 0x14
test eax, eax
jle 0x5aae82
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.00570aa0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004ed0cc
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x5aaeb8
cmp dword [edi], edx
je 0x5aaee2
inc eax
add ecx, 4
cmp eax, 4
jl 0x5aaea5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.0056f540
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004ed0cc
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5aaf16
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.0056f540
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004ed0cc
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ed0cc
add esp, 0x6c
ret
Function at 0x5b7bb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x5b7bd9
mov eax, edi
jmp 0x5b7be3
push eax
push edi
call fcn.00580620
add esp, 8
test eax, eax
jne 0x5b7beb
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x5b7c09
mov eax, dword [ebp]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x5b7bf3
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x5b7c22
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x5b7c10
mov dword [edi + 4], eax
pop esi
test eax, eax
jle 0x5b7c45
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x5b7c40
dec eax
test eax, eax
jg 0x5b7c32
mov dword [edi + 4], eax
test eax, eax
jne 0x5b7c4e
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x5b8bb0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 4
call fcn.004ed3f0
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push ebp
xor edi, edi
call fcn.00587f50
push ebp
call fcn.00587dd0
mov esi, eax
add esp, 8
test esi, esi
je 0x5b8dc5
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
add eax, eax
cmp eax, dword [esi + 8]
jle 0x5b8bfd
push eax
push esi
call fcn.00580620
add esp, 8
test eax, eax
je 0x5b8dc4
mov eax, dword [ebx + 4]
lea ecx, [eax - 1]
test ecx, ecx
js 0x5b8d80
mov ebp, ecx
nop dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax + ebp*4]
mov ecx, edx
shr ecx, 1
mov eax, edx
and eax, 0x20000
and ecx, 0x8000
or ecx, eax
mov eax, edx
and eax, 0x40000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x80000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x100000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x200000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x400000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x800000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x1000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x2000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x4000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x8000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x10000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x20000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x40000000
shr ecx, 1
or ecx, eax
and edx, reloc.WS2_32.dll_accept
mov eax, dword [esi]
shr ecx, 1
or ecx, edx
shr ecx, 1
mov dword [eax + ebp*8 + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + ebp*4]
mov edx, ecx
and edx, 0x8000
mov eax, ecx
add edx, edx
and eax, 0x4000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x2000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x1000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x800
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x400
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x200
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x100
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x80
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x40
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x20
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x10
or edx, eax
mov eax, ecx
add edx, edx
and eax, 8
or edx, eax
mov eax, ecx
add edx, edx
and eax, 4
or edx, eax
mov eax, ecx
add edx, edx
and eax, 2
or edx, eax
and ecx, 1
mov eax, dword [esi]
add edx, edx
or edx, ecx
mov dword [eax + ebp*8], edx
sub ebp, 1
jns 0x5b8c10
mov eax, dword [ebx + 4]
mov ebp, dword [esp + 0x24]
add eax, eax
mov dword [esi + 4], eax
test eax, eax
jle 0x5b8da4
mov edx, dword [esi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x5b8d9f
dec eax
test eax, eax
jg 0x5b8d91
mov dword [esi + 4], eax
test eax, eax
jne 0x5b8da9
mov dword [esi + 0xc], edi
push dword [esp + 0x20]
push esi
push dword [esp + 0x20]
call fcn.005b7c60
add esp, 0xc
mov ecx, 1
test eax, eax
cmovne edi, ecx
pop ebx
push ebp
call fcn.00587cf0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x5c1790
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.004ed3f0
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x34]
mov ebp, ecx
push edi
cmp esi, 0x10
jb 0x5c1814
mov eax, esi
shr eax, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
sub ebp, dword [esp + 0x10]
mov edi, ebx
sub edi, dword [esp + 0x10]
mov edx, 4
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
sub edx, 1
jne 0x5c17d1
push dword [esp + 0x3c]
push ebx
push ebx
call dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov ebp, ebx
add eax, 0x10
add esp, 0xc
sub esi, 0x10
mov dword [esp + 0x10], eax
add ebx, 0x10
sub dword [esp + 0x38], 1
jne 0x5c17c2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
jmp 0x5c181c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
test esi, esi
je 0x5c1946
mov esi, ebx
mov dword [esp + 0x14], ebp
sub dword [esp + 0x14], eax
lea ecx, [eax + 1]
sub esi, eax
lea edi, [ebx + 2]
mov dword [esp + 0x20], esi
xor edx, edx
mov esi, 1
sub esi, eax
mov dword [esp + 0x24], esi
mov esi, 2
sub esi, eax
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, ebx
not eax
mov dword [esp + 0x1c], eax
cmp edx, esi
jae 0x5c18db
mov al, byte [ecx - 1]
xor al, byte [edx + ebp]
mov byte [edi - 2], al
mov eax, dword [esp + 0x1c]
add eax, edi
cmp eax, esi
jae 0x5c18d5
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov al, byte [ecx + eax]
xor al, byte [ecx]
mov byte [ecx + esi], al
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add eax, ecx
cmp eax, esi
jae 0x5c18d0
mov eax, dword [esp + 0x18]
mov al, byte [eax + edi]
xor al, byte [ecx + 1]
mov byte [edi], al
mov eax, dword [esp + 0x28]
add eax, ecx
cmp eax, esi
jae 0x5c18cb
mov al, byte [ecx + 2]
add ecx, 4
xor al, byte [edx + ebp + 3]
add edx, 4
mov byte [edi + 1], al
add edi, 4
cmp edx, 0x10
jb 0x5c1866
jmp 0x5c1902
add edx, 3
jmp 0x5c18d6
add edx, 2
jmp 0x5c18d6
inc edx
cmp edx, 0x10
jae 0x5c1902
mov esi, dword [esp + 0x18]
lea ecx, [edx + ebx]
mov edi, 0x10
sub edi, edx
nop dword [eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edi, 1
jne 0x5c18f0
mov esi, dword [esp + 0x38]
push dword [esp + 0x3c]
push ebx
push ebx
call dword [esp + 0x50]
add esp, 0xc
mov ebp, ebx
cmp esi, 0x10
jbe 0x5c1933
mov eax, dword [esp + 0x10]
sub esi, 0x10
add eax, 0x10
mov dword [esp + 0x38], esi
add ebx, 0x10
mov dword [esp + 0x10], eax
test esi, esi
jne 0x5c1824
movups xmm0, xmmword [ebp]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
pop ebx
add esp, 0x1c
ret
movups xmm0, xmmword [ebp]
pop edi
pop esi
pop ebp
movups xmmword [ecx], xmm0
pop ebx
add esp, 0x1c
ret
Function at 0x5c2cb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.004ed3f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x160]
shld eax, edi, 3
shld ecx, ebx, 3
shl edi, 3
shl ebx, 3
cmp dword [esi + 0x168], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jne 0x5c2d05
cmp dword [esi + 0x16c], 0
jne 0x5c2d05
lea ebp, [esi + 0x60]
jmp 0x5c2d1a
lea ebp, [esi + 0x60]
lea eax, [esi + 0x40]
push ebp
push eax
call edx
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x40]
bswap eax
xor dword [edx], eax
bswap ecx
xor dword [esi + 0x48], ecx
push ebp
bswap edi
xor dword [edx + 4], edi
bswap ebx
xor dword [esi + 0x4c], ebx
push edx
call dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x40]
xor dword [ecx], eax
add esp, 8
mov eax, dword [esi + 0x24]
xor dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
xor dword [esi + 0x48], eax
mov eax, dword [esi + 0x2c]
xor dword [esi + 0x4c], eax
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x5c2d7c
mov eax, dword [esp + 0x14]
cmp eax, 0x10
ja 0x5c2d7c
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp fcn.0056ff60
or eax, 0xffffffff
add esp, 8
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xc3f3515c
int3
in al, dx
jnp 0x414b15
sbb dword [edx - 0xc46611a], edi
fisttp word [edi]
jnp 0x414a7e
mov bh, 0xb5
dec edi
sbb cl, ch
sbb al, byte [edi + 0xd]
out 0x37, eax
sbb eax, 0x204934
push edi
popfd
mov ecx, 0xfb3fb348
invalid
mov bh, 0xdf
inc esi
or eax, 0xf2b92048
mov bh, 0xdf
mov ecx, 0xb9dfb7f2
mov bh, 0xdf
mov ecx, 0xbd3334f2
xor eax, 0x5a55fbb3
cmc
fbstp tbyte [eax - 0x464807f7]
xor dh, 0xdf
div dword [ebp - 0x37c4f8f1]
xor dword [esi + esi*2 - 0x5d], esp
xlatb
lcall 0xe2b9, 0x66f10d90
neg edi
cmp byte [0xf2b9dfb6], dh
xor dword ss:[eax - 0x7c], edx
xor dword [eax - 0x7c], edx
mov edi, 0xb61c383d
fistp qword [ecx - 0xd00f20e]
mov bl, 0xb7
pop esi
push esi
push eax
jnp 0x414b57
popfd
dec eax
aaa
xchg edx, eax
mov bh, 0xdf
add bl, al
fiadd dword [esp + edi*2]
stosd dword es:[edi], eax
jl 0x414b25
sahf
sub dword [edx], esi
out 0x93, al
pop esp
jge 0x414b78
sbb byte ss:[ecx], bh
ret 0x9f80

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40cd2f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x40cd53
jmp 0x40cd5d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40cd43
mov esp, ebp
pop ebp
ret

Function at 0x40eb30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40eb50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004105ac
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40eb71
test byte [esp + 8], 2
je 0x40eb71
mov dword [0x41df80], 0xd
mov dword [0x41df84], 5
jmp 0x40eb4c
xor eax, eax
ret

Function at 0x4103e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4168a0
cmp edx, dword [eax]
je 0x410407
add eax, 8
inc ecx
cmp eax, 0x416930
jl 0x4103f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4168a0]
jne 0x410535
mov eax, dword [0x41dfd4]
cmp eax, 1
je 0x41050f
test eax, eax
jne 0x410438
cmp dword [0x416328], 1
je 0x41050f
cmp edx, 0xfc
je 0x410535
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41046f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040d290
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040d3e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4104b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040d3e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4154fc
push edi
call fcn.0040db90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040d290
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040d2a0
lea eax, [ebp - 0xa0]
push 0x4154dc
push eax
call fcn.0040d2a0
push dword [esi + 0x4168a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040d2a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00412e9f
add esp, 0x2c
pop edi
jmp 0x410535
lea eax, [ebp + 8]
lea esi, [esi + 0x4168a4]
push 0
push eax
push dword [esi]
call fcn.0040d3e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret