Function at 0x502af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4927
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.00573250
push fcn.004155f0
push 0x415ce0
push 7
lea eax, [ebx + 0x1a0]
push 8
xor esi, esi
mov dword [ebp - 4], esi
push eax
mov dword [ebx], vtable.CExtraMode.0
call fcn.00490002
mov dword [ebx + 0x1d8], esi
mov dword [ebx + 0x1dc], esi
mov dword [ebx + 0x1e0], esi
mov dword [ebx + 0x1e4], esi
mov dword [ebx + 0x1ec], esi
mov dword [ebx + 0x1f0], esi
mov dword [ebx + 0x1f4], esi
lea edi, [ebx + 0x1fc]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [ebx + 0x208], esi
mov dword [ebx + 0x204], esi
mov dword [ebx + 0x210], esi
mov dword [ebx + 0x20c], esi
mov dword [ebx + 0x214], esi
mov dword [ebx + 0x218], esi
mov dword [ebx + 0x21c], esi
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x224], esi
push 0x4195e0
push 0x4247b0
push 0xe
push 8
lea eax, [ebx + 0x22c]
push eax
mov byte [ebp - 4], 8
call fcn.00490002
mov dword [ebx + 0x2a0], esi
mov dword [ebx + 0x29c], esi
mov dword [ebx + 0x2a8], esi
mov dword [ebx + 0x2a4], esi
mov byte [ebp - 4], 0xb
push 0x18
mov dword [ebx + 0x2b0], esi
call fcn.0048f2c5
add esp, 4
cmp eax, esi
je 0x5037ae
mov dword [ebx + 0x2ac], eax
mov dword [eax], eax
mov eax, dword [ebx + 0x2ac]
mov dword [eax + 4], eax
mov dword [ebx + 0x2b8], esi
mov dword [ebx + 0x2bc], esi
mov dword [ebx + 0x2c0], esi
mov dword [ebx + 0x2c4], esi
mov dword [ebx + 0x2c8], esi
mov dword [ebx + 0x2cc], esi
mov dword [ebx + 0x2d0], esi
mov dword [ebx + 0x2d4], esi
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x2dc], esi
push 0x480
mov dword [ebx + 0x19c], 0x1fbdd
mov byte [0x692c3f], 1
mov dword [ebx + 0x118], ecx
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x2e4], esi
mov dword [ebx + 0x2ec], esi
mov dword [ebx + 0x2f0], esi
mov dword [ebx + 0x2f4], esi
mov dword [ebx + 0x30c], esi
mov dword [ebx + 0x308], esi
mov dword [ebx + 0x310], esi
mov dword [ebx + 0x314], esi
mov dword [ebx + 0x318], esi
mov dword [ebx + 0x31c], esi
mov dword [ebx + 0x320], esi
mov dword [ebx + 0x1d8], 0x502980
call fcn.0048f2c5
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xe
cmp eax, esi
je 0x502cd3
push eax
call fcn.00595fb0
mov esi, eax
push ebx
mov byte [ebp - 4], 0xd
call fcn.00441130
push eax
call fcn.0041a180
push 0x490
call fcn.0048f2c5
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x502d07
mov edx, dword [ebp + 0xc]
push edx
push eax
call fcn.0059a1b0
jmp 0x502d09
xor eax, eax
push ebx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00441130
push eax
lea edi, [ebx + 0x204]
call fcn.0041a180
push 0x1cc
call fcn.0048f2c5
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x502d41
push eax
call fcn.00599a90
jmp 0x502d43
xor eax, eax
push ebx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00441130
push eax
lea edi, [ebx + 0x20c]
call fcn.0041a180
push 0x494
call fcn.0048f2c5
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x502d7b
push eax
call fcn.00594780
jmp 0x502d7d
xor eax, eax
push ebx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00441130
mov edi, eax
call fcn.0043fe60
push 0x480
call fcn.0048f2c5
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x502db0
push eax
call fcn.0059a420
jmp 0x502db2
xor eax, eax
push ebx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00441130
mov edi, eax
call fcn.0043ff00
push 0x480
call fcn.0048f2c5
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x502de5
push eax
call fcn.00594c70
jmp 0x502de7
xor eax, eax
push ebx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00441130
mov edi, eax
call fcn.0043ffa0
push 0x6a4fcc
lea esi, [ebx + 0x1dc]
push esi
call fcn.0043fce0
push 0x6a4fe8
lea eax, [ebx + 0x1ec]
push eax
call fcn.0043fd80
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x5031ed
xor esi, esi
push 0x18
mov dword [ebp - 0x54], esi
call fcn.0048f2c5
add esp, 4
cmp eax, esi
je 0x503776
mov dword [eax], eax
mov dword [ebp - 0x58], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 0x14
push 0x18
mov dword [ebp - 0x64], esi
call fcn.0048f2c5
add esp, 4
cmp eax, esi
je 0x503752
mov dword [eax], eax
mov dword [ebp - 0x68], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 0x15
push 0x34
mov dword [ebp - 0x74], esi
call fcn.0048f2c5
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x50372e
mov dword [edi], edi
mov dword [ebp - 0x78], edi
mov dword [edi + 4], edi
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], esi
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 0x17
push 0xc
mov dword [ebp - 0x84], esi
call fcn.0048f2c5
add esp, 4
cmp eax, esi
je 0x50370a
mov dword [ebp - 0x88], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x88]
mov dword [eax + 4], eax
or eax, 0xffffffff
mov byte [ebp - 4], 0x18
mov ecx, dword [ebx + 0x1e0]
sub ecx, dword [ebx + 0x1dc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0xc], eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x38], esi
test ecx, ecx
jle 0x50312d
mov dword [ebp - 0x24], esi
nop
mov edi, dword [ebx + 0x1dc]
add edi, dword [ebp - 0x24]
mov eax, dword [edi]
mov dword [ebp - 0x10], edi
cmp eax, dword [ebp - 0x40]
je 0x502f6d
mov esi, dword [ebx + 0x2ac]
mov edx, dword [esi + 4]
or ecx, 0xffffffff
push edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 0xc], ecx
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x5c], eax
call fcn.0043fc20
mov ecx, dword [ebx + 0x2b0]
mov edx, 0xffffffe
sub edx, ecx
cmp edx, 1
jb 0x503182
inc ecx
mov dword [ebx + 0x2b0], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x28]
je 0x502fbf
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x2ac]
mov esi, dword [eax + 4]
mov edi, dword [esi + 0xc]
or ecx, 0xffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 4]
push ecx
push edi
lea ecx, [ebp - 0x6c]
call fcn.0043fad0
mov ecx, dword [esi + 0x10]
mov edx, 0xffffffe
sub edx, ecx
cmp edx, 1
jb 0x503182
inc ecx
mov dword [esi + 0x10], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 0x1c]
je 0x503015
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x2ac]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx + 4]
mov edi, dword [esi + 0xc]
mov edx, dword [edi + 4]
push edx
push edi
lea ecx, [ebp - 0x7c]
mov dword [ebp + 0xc], 0xffffffff
call fcn.0043f9c0
mov ecx, dword [esi + 0x10]
mov edx, 0xffffffe
sub edx, ecx
cmp edx, 1
jb 0x503182
inc ecx
mov dword [esi + 0x10], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
cmp eax, dword [ebp + 0xc]
je 0x503087
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
add eax, 0x10
push eax
lea ecx, [ebp - 0xa4]
call fcn.00401c50
mov ecx, dword [ebx + 0x2ac]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 4]
mov edi, dword [esi + 0xc]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0xa8]
push ecx
push edx
push edi
call fcn.0043f850
mov ecx, dword [esi + 0x10]
mov edx, 0x5d1745c
sub edx, ecx
cmp edx, 1
jb 0x503182
inc ecx
mov dword [esi + 0x10], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov dword [ecx], eax
add edi, 0x2c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xfffffffe
je 0x5030f7
mov ecx, dword [ebx + 0x2ac]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx + 4]
mov edi, dword [esi + 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 4]
push edx
push eax
push edi
call fcn.00406ce0
mov ecx, dword [esi + 0x2c]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x503182
add dword [ebp - 0x10], 4
inc ecx
mov dword [esi + 0x2c], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 0x40
jl 0x503094
mov ecx, dword [ebx + 0x1e0]
sub ecx, dword [ebx + 0x1dc]
mov esi, dword [ebp - 0x38]
add dword [ebp - 0x24], 0x12c
mov eax, 0x1b4e81b5
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [ebp - 0x38], esi
cmp esi, eax
jl 0x502f10
mov edi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x2ac]
mov eax, dword [eax]
mov dword [ebx + 0x2b8], eax
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebx + 0x2bc], eax
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebx + 0x2c0], eax
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebx + 0x2c4], eax
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
lea esi, [ebp - 0xa8]
mov dword [ebx + 0x2c8], ecx
call fcn.0043f740
mov eax, dword [edi]
mov dword [edi], edi
mov dword [ebp + 0xc], eax
mov dword [edi + 4], edi
cmp eax, edi
je 0x5031b6
jmp 0x503193
push str.list_T__too_long
call fcn.0047cca5
lea esp, [esp]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
lea esi, [eax + 8]
mov dword [ebp - 0x20], edx
call fcn.0043f740
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048f06d
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, edi
jne 0x503190
push edi
call fcn.0048f06d
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
call fcn.0043f930
mov edx, dword [ebp - 0x68]
push edx
call fcn.0048f06d
add esp, 4
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xd
call fcn.0043fa80
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0048f06d
add esp, 4
mov eax, 0x6a51c4
lea edi, [ebp - 0x18]
call fcn.00415930
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor esi, esi
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebx + 0x1a0], ecx
mov edi, dword [ebx + 0x1a4]
mov dword [ebx + 0x1a4], edx
cmp edi, esi
je 0x50324a
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50324a
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50324a
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x50327f
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50327f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50327f
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, 0x6a51e0
lea edi, [ebp - 0x18]
call fcn.00415930
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebx + 0x1a8], ecx
mov edi, dword [ebx + 0x1ac]
mov dword [ebx + 0x1ac], edx
cmp edi, esi
je 0x5032da
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5032da
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5032da
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x50330f
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50330f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50330f
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, 0x6a51fc
lea edi, [ebp - 0x18]
call fcn.00415930
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebx + 0x1b0], ecx
mov edi, dword [ebx + 0x1b4]
mov dword [ebx + 0x1b4], edx
cmp edi, esi
je 0x50336a
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50336a
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50336a
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x50339f
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50339f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50339f
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, 0x6a5218
lea edi, [ebp - 0x18]
call fcn.00415930
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebx + 0x1b8], ecx
mov edi, dword [ebx + 0x1bc]
mov dword [ebx + 0x1bc], edx
cmp edi, esi
je 0x5033fa
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5033fa
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5033fa
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x50342f
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50342f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50342f
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, 0x6a5234
lea edi, [ebp - 0x18]
call fcn.00415930
mov byte [ebp - 4], 0x1d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebx + 0x1c0], ecx
mov edi, dword [ebx + 0x1c4]
mov dword [ebx + 0x1c4], edx
cmp edi, esi
je 0x50348a
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50348a
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50348a
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x5034bf
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5034bf
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5034bf
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, 0x6a5250
lea edi, [ebp - 0x18]
call fcn.00415930
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebx + 0x1d0], ecx
mov edi, dword [ebx + 0x1d4]
mov dword [ebx + 0x1d4], edx
cmp edi, esi
je 0x50351a
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50351a
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50351a
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x50354f
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50354f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50354f
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
cmp dword [0x6a9d60], esi
je 0x5035c4
mov edi, dword [0x6898e0]
mov ecx, dword [0x6898cc]
mov eax, ecx
cmp edi, 0x10
jae 0x50356f
mov eax, 0x6898cc
mov edx, dword [0x6898dc]
add edx, eax
cmp edi, 0x10
jae 0x503581
mov ecx, 0x6898cc
xor eax, eax
cmp ecx, edx
je 0x5035a6
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [ecx]
lea esi, [esi + edi - 0x61c88647]
inc ecx
xor eax, esi
cmp ecx, edx
jne 0x503587
xor esi, esi
xor edx, edx
div dword [0x6a9d54]
mov eax, dword [0x6a9d50]
push 0x6898cc
lea eax, [eax + edx*4]
call fcn.004017e0
cmp eax, esi
jne 0x5035da
push 0x6898cc
mov ecx, 0x6a9d50
call fcn.004021d0
mov dword [eax + 0x1c], 0xffffffff
push 0x6898cc
mov ecx, 0x6a9d50
call fcn.004021d0
mov edi, dword [eax + 0x1c]
call fcn.005c6450
cmp edi, esi
jl 0x503607
push 0x6898cc
mov ecx, 0x6a9d50
call fcn.004021d0
mov dword [eax + 0x1c], edi
call fcn.004012f0
call fcn.00402b80
call fcn.00402980
call fcn.00402d90
test byte [0x6922ec], 1
jne 0x503645
or dword [0x6922ec], 1
mov byte [ebp - 4], 0x1f
call fcn.00582ff0
push 0x5eeeb0
call fcn.0048ef30
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [0x6a7480]
cmp ecx, esi
je 0x50368f
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [0x6a7480]
cmp eax, esi
je 0x503689
lea edi, [eax + 0x17c]
mov eax, dword [0x6a7484]
cmp eax, dword [edi]
je 0x503689
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call fcn.0048f06d
add esp, 4
dec dword [edi + 4]
mov dword [0x6a7480], esi
mov eax, dword [ebx + 0x118]
cmp eax, 0x10000
je 0x503799
push eax
mov ecx, ebx
call fcn.004ff060
test byte [0x692b28], 1
jne 0x5036b8
or dword [0x692b28], 1
mov eax, dword [0x6a49e8]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x6a49e4]
cdq
sub eax, edx
mov esi, eax
sar edi, 1
sar esi, 1
call fcn.00553e80
push 0x1c4
call fcn.0048f2c5
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x50377e
push 0
push edi
push esi
push 0
push 0x32
push 0
mov ecx, 0x64
push eax
mov edx, ecx
call fcn.004fb540
jmp 0x503780
mov dword [ebp - 0x14], esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x34]
call fcn.0048f111
push 0x661a10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.std::bad_alloc.0
push eax
call fcn.00490659
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp + 0xc], esi
call fcn.0048f111
push 0x661a10
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], vtable.std::bad_alloc.0
call fcn.00490659
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], esi
call fcn.0048f111
push 0x661a10
lea ecx, [ebp - 0x4c]
push ecx
mov dword [ebp - 0x4c], vtable.std::bad_alloc.0
call fcn.00490659
mov dword [ebp + 0xc], esi
lea edx, [ebp + 0xc]
jmp 0x503710
xor eax, eax
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.0040a8f0
mov edi, eax
call fcn.00416190
mov byte [0x692bf5], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], esi
call fcn.0048f111
push 0x661a10
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], vtable.std::bad_alloc.0
push ecx
jmp 0x503729