Function at 0x414d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [0x42543c]
lea eax, [ebp - 0x1e8]
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], 0
call dword [0x425180]
mov eax, dword [ebp - 0x1d4]
lea esi, [eax*4]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x414d73
lea esp, [esp]
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x414d50
mov eax, dword [ebp - 0x1d4]
lea esi, [eax*4]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x414dc6
jmp 0x414da0
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x414da0
mov edi, dword [ebp - 0xc]
mov eax, dword [0x425974]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4256ec]
mov dword [ebp - 0x38], eax
mov eax, 1
mov dword [ebp - 8], ebx
mov dword [ebp - 0x28], eax
cmp dword [0x425824], eax
je 0x414ea0
cmp dword [0x425440], eax
je 0x414ea0
cmp dword [0x425468], ebx
je 0x414e44
xor esi, esi
cmp dword [0x425a48], ebx
jbe 0x414ea0
mov ebx, dword [esi*4 + 0x425a50]
mov edx, edi
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.00413f20
mov dword [ebp - 0x28], eax
test eax, eax
je 0x415334
cmp eax, 2
je 0x414ea8
xor ebx, ebx
inc esi
mov dword [ebp - 8], ebx
cmp esi, dword [0x425a48]
jb 0x414e11
jmp 0x414ea0
push 0
push 4
push edi
push 0x413f10
push 0
push 0
mov dword [ebp - 0x40], 0xffffffff
call dword [0x425348]
mov esi, eax
test esi, esi
je 0x414e99
push esi
call dword [0x425354]
push 0x1770
push esi
call dword [0x42523c]
test eax, eax
je 0x414e87
push 0xffffffffffffffff
push esi
call dword [0x425328]
jmp 0x414e92
lea eax, [ebp - 0x40]
push eax
push esi
call dword [0x425360]
push esi
call dword [0x4251e0]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
nop
test eax, eax
je 0x415334
cmp dword [0x425824], 2
je 0x415334
mov dword [ebp - 0x10], 0
mov eax, 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x414ef6
lea eax, [ebp - 0x30]
mov edx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, ebx
call fcn.00414010
test eax, eax
je 0x414ff4
cmp dword [0x425468], 0
je 0x414f50
xor esi, esi
cmp dword [0x425a48], esi
jbe 0x414fec
lea ecx, [ecx]
mov ebx, dword [esi*4 + 0x425a50]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x10]
mov edx, edi
push eax
push ecx
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, ebx
call fcn.00414010
test eax, eax
je 0x414ff4
xor ebx, ebx
inc esi
mov dword [ebp - 8], ebx
cmp esi, dword [0x425a48]
jb 0x414f10
jmp 0x415334
lea eax, [ebp - 4]
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x2c]
push 0
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x30]
push 4
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1c4]
push eax
push 0x413fe0
push 0
push 0
mov dword [ebp - 0x1c0], 1
mov dword [ebp - 0x1b8], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
call dword [0x425348]
mov esi, eax
test esi, esi
je 0x414fe9
push esi
call dword [0x425354]
push 0xbb8
push esi
call dword [0x42523c]
test eax, eax
je 0x414fd7
push 0xffffffffffffffff
push esi
call dword [0x425328]
jmp 0x414fe2
lea eax, [ebp - 0x44]
push eax
push esi
call dword [0x425360]
push esi
call dword [0x4251e0]
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x415334
xor edi, edi
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x10], edi
jbe 0x4152e0
xor eax, eax
mov dword [ebp - 0x20], edi
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], ecx
add ecx, dword [ebp - 4]
mov dword [ebp - 0x50], edi
mov eax, dword [ecx + 4]
test eax, eax
je 0x41502b
cmp eax, 0x80000000
jne 0x4152c4
cmp dword [0x425804], 0
jne 0x41503f
cmp eax, 0x80000000
je 0x4152c4
xor eax, eax
mov dword [ebp - 0x76], 0x500049
mov word [ebp - 0x6e], ax
lea eax, [ebp - 0x76]
push eax
mov dword [ebp - 0x72], 0x240043
push dword [ecx]
call dword [0x425304]
test eax, eax
je 0x4152c4
mov esi, dword [ebp - 0x24]
xor eax, eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x84], 0x440041
mov dword [ebp - 0x80], 0x49004d
mov dword [ebp - 0x7c], 0x24004e
push dword [esi + eax]
call dword [0x425304]
test eax, eax
je 0x4152c4
mov eax, dword [ebp - 4]
push dword [esi + eax]
call dword [0x4252e0]
push dword [ebp - 0xc]
mov esi, eax
call dword [0x4252e0]
add eax, esi
lea esi, [eax*2 + 0x30]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
jne 0x415100
jmp 0x4150e0
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
je 0x4150e0
mov eax, dword [ebp - 0x3c]
mov ecx, 0xe1
mov byte [edi], al
mov eax, dword [ebp - 0x38]
mov byte [edi + 1], al
xor eax, eax
mov word [edi + 2], 0x101
mov dword [ebp - 0x6c], 0xbd00bd
mov dword [ebp - 0x68], 0xbd00de
mov dword [ebp - 0x64], 0xaf00b4
mov dword [ebp - 0x60], 0xc400a2
mov dword [ebp - 0x5c], 0xbd0092
mov dword [ebp - 0x58], 0x9200c4
mov dword [ebp - 0x54], 0xe100bd
lea esp, [esp]
xor word [ebp + eax*2 - 0x6c], cx
inc eax
cmp eax, 0xe
jb 0x415150
mov eax, dword [ebp - 4]
lea esi, [edi + 8]
mov ecx, dword [ebp - 0x24]
push dword [ecx + eax]
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [0x4250b4]
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00414110
cmp eax, 1
je 0x41522c
cmp dword [0x425468], 0
je 0x4151d1
xor esi, esi
cmp dword [0x425a48], esi
jbe 0x415247
jmp 0x4151b0
mov ebx, dword [esi*4 + 0x425a50]
lea edx, [edi + 8]
mov ecx, ebx
call fcn.00414110
cmp eax, 1
je 0x41522c
inc esi
cmp esi, dword [0x425a48]
jb 0x4151b0
jmp 0x415247
push 0
push 4
push esi
push 0x4140e0
push 0
push 0
mov dword [ebp - 0x48], 0
call dword [0x425348]
mov esi, eax
test esi, esi
je 0x415226
push esi
call dword [0x425354]
push 0xbb8
push esi
call dword [0x42523c]
test eax, eax
je 0x415214
push 0
push esi
call dword [0x425328]
jmp 0x41521f
lea eax, [ebp - 0x48]
push eax
push esi
call dword [0x425360]
push esi
call dword [0x4251e0]
cmp dword [ebp - 0x48], 1
jne 0x415247
push 0
push 4
push edi
push fcn.0040fcc0
push 0
push 0
call dword [0x425348]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x41525b
push edi
push 0
push dword [0x425ba8]
call dword [0x425290]
mov edi, dword [ebp - 0x20]
jmp 0x4152c4
cmp dword [0x425468], 0
je 0x415276
test ebx, ebx
je 0x415276
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [0x425060]
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x425354]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x20], edi
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp - 0x34], esi
cmp edi, dword [ebp - 0x1d4]
jne 0x4152c4
push 0xffffffffffffffff
push 0
mov esi, ecx
push esi
push edi
call dword [0x4250c0]
mov dword [ebp - 0x34], eax
mov ecx, dword [esi + eax*4]
push ecx
mov dword [esi + eax*4], 0
call dword [0x4251e0]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
inc eax
add ecx, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], ecx
cmp eax, dword [ebp - 0x10]
jb 0x415013
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call dword [0x425264]
test edi, edi
je 0x415331
mov edx, dword [ebp - 0x14]
mov eax, edi
mov esi, dword [ebp - 0x18]
mov ecx, dword [edx]
lea edx, [edx + 4]
test ecx, ecx
je 0x415304
mov dword [esi], ecx
add esi, 4
dec eax
test eax, eax
jne 0x4152f5
push 0xffffffffffffffff
push 1
push dword [ebp - 0x18]
push edi
call dword [0x4250c0]
xor esi, esi
test edi, edi
jle 0x415331
mov ebx, dword [ebp - 0x18]
nop
push dword [ebx + esi*4]
call dword [0x4251e0]
inc esi
cmp esi, edi
jl 0x415320
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 0x38], 0
je 0x415374
lea eax, [ebp - 0x24e]
push eax
call fcn.00415730
xor ecx, ecx
mov esi, 0xe1
lea ecx, [ecx]
xor word [eax + ecx*2], si
inc ecx
cmp ecx, 0x33
jb 0x415350
push eax
push 0
call fcn.0040b980
mov eax, dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x38], 0
jmp 0x414ea0
cmp dword [ebp - 0x3c], 0
je 0x4154af
mov esi, 0xe1
mov dword [ebp - 0x144], 0x8e00a2
mov dword [ebp - 0x140], 0x91008c
mov ecx, 0x93
mov dword [ebp - 0x13c], 0x84008d
xor eax, eax
mov dword [ebp - 0x138], 0x840095
mov dword [ebp - 0x134], 0xc10085
mov dword [ebp - 0x130], 0x8f00a4
mov dword [ebp - 0x12c], 0x930082
mov dword [ebp - 0x128], 0x910098
mov dword [ebp - 0x124], 0x880095
mov dword [ebp - 0x120], 0x86008f
mov dword [ebp - 0x11c], 0xa000c1
mov dword [ebp - 0x118], 0x8d008d
mov dword [ebp - 0x114], 0xa700c1
mov dword [ebp - 0x110], 0x8d0088
mov dword [ebp - 0x10c], 0x920084
mov dword [ebp - 0x108], 0xae00c1
mov dword [ebp - 0x104], 0xc1008f
mov dword [ebp - 0x100], 0x8400af
mov dword [ebp - 0xfc], 0x960095
mov dword [ebp - 0xf8], 0x93008e
mov dword [ebp - 0xf4], 0xc1008a
mov dword [ebp - 0xf0], 0x8900b2
mov dword [ebp - 0xec], 0x930080
mov dword [ebp - 0xe8], 0x920084
mov word [ebp - 0xe4], si
xor word [ebp + eax*2 - 0x144], si
inc eax
cmp eax, 0x31
jb 0x415481
lea eax, [ebp - 0x144]
push eax
push 0
call fcn.0040b980
mov eax, dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x3c], 0
jmp 0x414ea0
cmp dword [0x425974], 0
jne 0x4155ec
mov ebx, 0xe1
mov dword [ebp - 0x1a6], 0x8e00a2
mov dword [ebp - 0x1a2], 0x91008c
xor eax, eax
mov dword [ebp - 0x19e], 0x84008d
mov dword [ebp - 0x19a], 0x840095
mov dword [ebp - 0x196], 0xc10085
mov dword [ebp - 0x192], 0x8f00a4
mov dword [ebp - 0x18e], 0x930082
mov dword [ebp - 0x18a], 0x910098
mov dword [ebp - 0x186], 0x880095
mov dword [ebp - 0x182], 0x86008f
mov dword [ebp - 0x17e], 0xa000c1
mov dword [ebp - 0x17a], 0x8d008d
mov dword [ebp - 0x176], 0xa700c1
mov dword [ebp - 0x172], 0x8d0088
mov dword [ebp - 0x16e], 0x920084
mov dword [ebp - 0x16a], 0xae00c1
mov dword [ebp - 0x166], 0xc1008f
mov dword [ebp - 0x162], 0x8400af
mov dword [ebp - 0x15e], 0x960095
mov dword [ebp - 0x15a], 0x93008e
mov dword [ebp - 0x156], 0xc1008a
mov dword [ebp - 0x152], 0x8900b2
mov dword [ebp - 0x14e], 0x930080
mov dword [ebp - 0x14a], 0x920084
mov word [ebp - 0x146], bx
lea ebx, [ebx]
xor word [ebp + eax*2 - 0x1a6], bx
inc eax
cmp eax, 0x31
jb 0x4155c0
lea eax, [ebp - 0x1a6]
push eax
push 0
call fcn.0040b980
add esp, 8
cmp dword [0x425974], 0
je 0x4156ff
mov ebx, 0xe1
mov dword [ebp - 0xe2], 0x8e00a2
mov dword [ebp - 0xde], 0x91008c
xor eax, eax
mov dword [ebp - 0xda], 0x84008d
mov dword [ebp - 0xd6], 0x840095
mov dword [ebp - 0xd2], 0xc10085
mov dword [ebp - 0xce], 0x8400b3
mov dword [ebp - 0xca], 0x80008f
mov dword [ebp - 0xc6], 0x88008c
mov dword [ebp - 0xc2], 0x86008f
mov dword [ebp - 0xbe], 0xa000c1
mov dword [ebp - 0xba], 0x8d008d
mov dword [ebp - 0xb6], 0xa700c1
mov dword [ebp - 0xb2], 0x8d0088
mov dword [ebp - 0xae], 0x920084
mov dword [ebp - 0xaa], 0xae00c1
mov dword [ebp - 0xa6], 0xc1008f
mov dword [ebp - 0xa2], 0x8400af
mov dword [ebp - 0x9e], 0x960095
mov dword [ebp - 0x9a], 0x93008e
mov dword [ebp - 0x96], 0xc1008a
mov dword [ebp - 0x92], 0x8900b2
mov dword [ebp - 0x8e], 0x930080
mov dword [ebp - 0x8a], 0x920084
mov word [ebp - 0x86], bx
xor word [ebp + eax*2 - 0xe2], bx
inc eax
cmp eax, 0x2f
jb 0x4156e0
lea eax, [ebp - 0xe2]
push eax
push 0
call fcn.0040b980
add esp, 8
push dword [ebp - 0x14]
push 0
push dword [0x425ba8]
call dword [0x425290]
push dword [ebp - 0x18]
push 0
push dword [0x425ba8]
call dword [0x425290]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret