Function at 0x439f8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 8], 1
mov byte [ebp - 0xc], 0
mov eax, 0x14
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x38], esp
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x439fe7
mov eax, 0xfffffffe
jmp 0x43a5ef
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x24], 0
xor edx, edx
test edx, edx
jne 0x439fc4
push 0x100
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
or edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
and edx, 0xfffffffe
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jne 0x43a03e
cmp dword [ebp - 0x24], 0
je 0x43a5c5
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jne 0x43a087
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
and ecx, 1
mov edx, dword [ebp - 8]
and edx, 0xff
or ecx, edx
and ecx, 1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
and edx, 0xfffffffe
or edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov byte [ebp - 8], 1
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x1c
ja case.default.0x43a0b5
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [ecx + 0x43a62a]
jmp dword [eax*4 + 0x43a5f6]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
or al, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
xor eax, eax
jmp 0x43a5ef
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 1]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 1
jmp 0x43a5b6
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
lea ecx, [eax*8 - 1]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x43a10a
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x43a14c
mov eax, dword [ebp - 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + eax]
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000007
jns 0x43a134
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, 1
shl eax, cl
and edx, eax
test edx, edx
je 0x43a14a
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
mov byte [ecx], 1
jmp 0x43a101
jmp 0x43a5b6
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
shl eax, 3
mov dword [ebp - 0x18], eax
jmp 0x43a169
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x100
jge 0x43a17d
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov byte [edx], 1
jmp 0x43a160
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
lea edx, [ecx*8 - 1]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x43a1a2
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jl 0x43a1e6
mov eax, dword [ebp - 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + eax]
mov edx, ecx
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000007
jns 0x43a1ce
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, 1
shl eax, cl
and edx, eax
test edx, edx
jne 0x43a1e4
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
mov byte [ecx], 1
jmp 0x43a199
jmp 0x43a5b6
mov dword [ebp - 0x18], 0
jmp 0x43a1fd
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x100
jge 0x43a220
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax + 0x543530]
cmp ecx, 1
jne 0x43a21e
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov byte [edx], 1
jmp 0x43a1f4
jmp 0x43a5b6
mov dword [ebp - 0x18], 0
jmp 0x43a237
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x100
jge 0x43a25a
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ecx + 0x543530]
cmp edx, 1
je 0x43a258
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov byte [eax], 1
jmp 0x43a22e
jmp 0x43a5b6
mov dword [ebp - 0x18], 0
jmp 0x43a271
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x100
jge 0x43a285
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov byte [edx], 1
jmp 0x43a268
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x40
test ecx, ecx
jne 0x43a29b
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xa], 0
jmp 0x43a2af
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
and ecx, 1
test ecx, ecx
je 0x43a2af
xor eax, eax
jmp 0x43a5ef
jmp 0x43a5b6
jmp 0x43a02c
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 1]
xor edx, 0x80
sub edx, 0x80
shl edx, 8
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
xor ecx, ecx
test ecx, ecx
jne case.0x43a0b5.7
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
xor eax, eax
test eax, eax
jne case.0x43a0b5.7
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x18], 0
jle 0x43a310
jmp 0x43a02c
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
cmp eax, 0xe
je 0x43a32d
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x14
je 0x43a32d
jmp 0x43a02c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
and edx, 0xff
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 1]
xor ecx, 0x80
sub ecx, 0x80
shl ecx, 8
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x18], edx
xor eax, eax
test eax, eax
jne 0x43a336
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
xor edx, edx
test edx, edx
jne 0x43a336
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
je 0x43a3a1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*4 - 4]
cmp eax, dword [ebp - 4]
jne 0x43a3a1
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x43a02c
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 1]
xor edx, 0x80
sub edx, 0x80
shl edx, 8
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
xor ecx, ecx
test ecx, ecx
jne case.0x43a0b5.8
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
xor eax, eax
test eax, eax
jne case.0x43a0b5.8
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jae 0x43a4c3
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jne 0x43a492
mov eax, dword [ebp - 0x20]
sub eax, 1
imul eax, eax, 3
add eax, 4
mov ecx, dword [0x4e25d8]
imul ecx, eax
cmp dword [ebp - 0x28], ecx
jbe 0x43a427
mov dword [ebp - 0x44], 0
jmp 0x43a483
mov eax, dword [ebp - 0x28]
shl eax, 1
shl eax, 2
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x48], esp
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
shl eax, 2
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x43a46e
mov dword [ebp - 0x4c], 0
jmp 0x43a47d
mov ecx, dword [ebp - 0x28]
shl ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
jne 0x43a492
mov dword [ebp - 0x50], 0
jmp 0x43a4b1
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], 1
cmp dword [ebp - 0x50], 0
jne 0x43a4c1
mov eax, 0xfffffffe
jmp 0x43a5ef
jmp 0x43a4d2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
or edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
test ecx, ecx
je 0x43a526
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
and eax, 0xff
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 1]
xor edx, 0x80
sub edx, 0x80
shl edx, 8
mov eax, dword [ebp - 0x30]
add eax, edx
mov dword [ebp - 0x30], eax
xor ecx, ecx
test ecx, ecx
jne 0x43a4df
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
xor eax, eax
test eax, eax
jne 0x43a4df
mov byte [ebp - 0xc], 0
jmp 0x43a02c
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
and eax, 0xff
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 1]
xor edx, 0x80
sub edx, 0x80
shl edx, 8
mov eax, dword [ebp - 0x30]
add eax, edx
mov dword [ebp - 0x30], eax
xor ecx, ecx
test ecx, ecx
jne 0x43a534
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
xor eax, eax
test eax, eax
jne 0x43a534
cmp dword [ebp - 0x30], 0
jne 0x43a58f
mov ecx, dword [ebp - 4]
sub ecx, 4
mov dword [ebp - 4], ecx
mov byte [ebp - 0xc], 1
jmp case.0x43a0b5.8
jmp 0x43a02c
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
jmp 0x43a02c
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x43a02c
call dword [sym.imp.MSVCRT.dll_abort]
mov byte [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x43a02c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
and eax, 1
mov ecx, dword [ebp - 8]
and ecx, 0xff
or eax, ecx
and eax, 1
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
and ecx, 0xfffffffe
or ecx, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], ecx
xor eax, eax
lea esp, [ebp - 0x50]
mov esp, ebp
pop ebp
ret