Function at 0xbd75c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xbdf31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cmp eax, 8
jg 0xbd871
cmp dword [ebp - 0xc], 8
jg 0xbd871
cmp eax, dword [ebp - 0xc]
jg 0xbd871
mov ecx, eax
mov eax, 1
shl eax, cl
cmp eax, dword [ebp + 0xc]
jg 0xbd871
mov dl, 1
mov eax, dword [0xbb378]
call fcn.000c04fc
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0xbd86a
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
call fcn.000bfe18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00067b2c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov edi, 1
shl edi, cl
dec edi
test edi, edi
jl 0xbd83a
inc edi
xor eax, eax
mov ecx, ebx
mov edx, 1
shl edx, cl
cmp eax, edx
jge 0xbd826
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + eax*4 + 0x85]
mov ecx, dword [ebp - 4]
mov dword [ecx + eax*4 + 0x85], edx
jmp 0xbd836
mov edx, dword [ebp - 4]
mov ecx, dword [0x1c043c]
mov dword [edx + eax*4 + 0x85], ecx
inc eax
dec edi
jne 0xbd803
mov eax, dword [ebp - 4]
call fcn.00067e28
mov eax, dword [ebp - 0x1c]
push eax
push 0xffffffffffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.000bd56c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbdf15
mov eax, dword [ebp - 0x1c]
call fcn.00013004
ret
cmp dword [ebp - 0xc], 8
jg 0xbd94d
mov eax, dword [ebp - 4]
call fcn.000c0d68
cmp eax, dword [ebp + 0xc]
jg 0xbd94d
mov dl, 1
mov eax, dword [0xbb378]
call fcn.000c04fc
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0xbd946
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
call fcn.000bfe18
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.000c1778
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00067b2c
mov eax, dword [ebp - 0x20]
call fcn.00015308
mov edi, eax
test edi, edi
jl 0xbd8ef
inc edi
xor eax, eax
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebp - 4]
mov dword [ecx + eax*4 + 0x85], edx
inc eax
dec edi
jne 0xbd8db
mov eax, dword [ebp - 0x20]
call fcn.00015300
cmp eax, 0xff
jg 0xbd916
mov edx, dword [ebp - 4]
mov ecx, dword [0x1c043c]
mov dword [edx + eax*4 + 0x85], ecx
inc eax
cmp eax, 0x100
jne 0xbd8fe
mov eax, dword [ebp - 4]
call fcn.00067e28
mov eax, dword [ebp - 0x1c]
push eax
push 0xffffffffffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.000bd56c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbdf15
mov eax, dword [ebp - 0x1c]
call fcn.00013004
ret
cmp dword [ebp - 8], 0
je 0xbd95d
cmp dword [ebp - 0xc], 8
jle 0xbddcc
mov dl, 1
mov eax, dword [0x8ed14]
call fcn.0008ed6c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0xbddc5
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x8ed14]
call fcn.0008ed6c
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0xbdda8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.000c0110
sub eax, 0xf
je 0xbd9ae
dec eax
je 0xbd9d0
sub eax, 8
je 0xbd9f2
jmp 0xbda11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
push 0x22b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0008ee50
jmp 0xbda31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
push 0x235
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0008ee50
jmp 0xbda31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0008ee50
jmp 0xbda31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
push 0x378
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0008ee50
mov eax, dword [ebp - 4]
call fcn.000c0110
cmp eax, 8
jg 0xbda65
mov eax, dword [ebp - 0x14]
mov cx, word [eax + 0x3e]
mov eax, 1
shl eax, cl
mov ecx, eax
shl ecx, 2
mov eax, dword [ebp - 4]
lea edx, [eax + 0x85]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c]
call fcn.00017620
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x40]
dec edi
test edi, edi
jl 0xbdaa1
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00067380
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + ebx*4]
pop edx
call fcn.00017620
inc ebx
dec edi
jne 0xbda73
mov eax, dword [ebp - 0xc]
sub eax, 0xf
je 0xbdaae
dec eax
je 0xbdace
jmp 0xbdaee
push 0x10
push 0x22b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0008ee50
jmp 0xbdb8c
push 0x10
push 0x235
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0008ee50
jmp 0xbdb8c
cmp dword [ebp - 0xc], 1
jne 0xbdb72
mov eax, dword [ebp - 4]
call fcn.000c0110
cmp eax, 8
jl 0xbdb72
mov dl, 1
mov eax, dword [0x8ed14]
call fcn.0008ed6c
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0xbdb6b
push dword fs:[edx]
mov dword fs:[edx], esp
push 4
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x18]
call fcn.0008ee50
mov al, byte [ebp + 8]
push eax
push 0x10
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.000a25e4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbdb72
mov eax, dword [ebp - 0x18]
call fcn.00013004
ret
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0008ee50
mov al, byte [ebp + 8]
push eax
mov al, byte [ebp + 0xc]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.000a25e4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x68]
cmp dword [ebp - 0xc], 8
jg 0xbdbed
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x3e]
mov eax, 1
shl eax, cl
mov ecx, eax
shl ecx, 2
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x85
call fcn.00017620
mov eax, dword [ebp - 4]
call fcn.00067e28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
dec eax
sub eax, 8
jb 0xbdc18
add eax, 0xfffffffa
sub eax, 2
jb 0xbdc68
sub eax, 7
je 0xbdcb7
sub eax, 8
je 0xbdd26
jmp 0xbdd92
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x40]
dec edi
test edi, edi
jl 0xbdd92
inc edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
dec eax
test eax, eax
jl 0xbdc5f
inc eax
mov dword [ebp - 0x30], eax
xor esi, esi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0008f170
and eax, 0xff
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.000675ac
inc esi
dec dword [ebp - 0x30]
jne 0xbdc3b
inc ebx
dec edi
jne 0xbdc2a
jmp 0xbdd92
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x40]
dec edi
test edi, edi
jl 0xbdd92
inc edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
dec eax
test eax, eax
jl 0xbdcae
inc eax
mov dword [ebp - 0x30], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x468]
mov eax, dword [eax + ebx*4]
movzx eax, word [eax + esi*2]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.000675ac
inc esi
dec dword [ebp - 0x30]
jne 0xbdc8b
inc ebx
dec edi
jne 0xbdc7a
jmp 0xbdd92
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x40]
dec edi
test edi, edi
jl 0xbdd92
inc edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
dec eax
test eax, eax
jl 0xbdd20
inc eax
mov dword [ebp - 0x30], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x46c]
mov eax, dword [eax + ebx*4]
lea edx, [esi + esi*2]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
push eax
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 1]
mov eax, dword [ebp - 0x34]
mov dl, byte [eax + 2]
mov eax, dword [ebp - 4]
add eax, 0x488
call fcn.00066a24
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.000675ac
inc esi
dec dword [ebp - 0x30]
jne 0xbdcda
inc ebx
dec edi
jne 0xbdcc9
jmp 0xbdd92
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x40]
dec edi
test edi, edi
jl 0xbdd92
inc edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
dec eax
test eax, eax
jl 0xbdd8e
inc eax
mov dword [ebp - 0x30], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x470]
mov eax, dword [eax + ebx*4]
lea eax, [eax + esi*4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov al, byte [eax]
push eax
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 1]
mov eax, dword [ebp - 0x38]
mov dl, byte [eax + 2]
mov eax, dword [ebp - 4]
add eax, 0x488
call fcn.00066a24
or eax, 0xff000000
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.000675ac
inc esi
dec dword [ebp - 0x30]
jne 0xbdd45
inc ebx
dec edi
jne 0xbdd34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbddaf
mov eax, dword [ebp - 0x14]
call fcn.00013004
ret
mov dl, 1
mov eax, dword [0x2824c]
call fcn.0002e7d4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0xbdf0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x1fb20]
call fcn.00012fd4
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0xbde3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor edx, edx
mov eax, dword [ebp - 0x2c]
call fcn.00023030
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbde43
mov eax, dword [ebp - 0x2c]
call fcn.00013004
ret