Function at 0x5aa1b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8b20
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c0], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x1ac], 0
mov byte [esi + 4], 1
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1d0], eax
call fcn.00413a10
mov eax, dword [esi + 8]
lea ecx, [ebp - 0xb8]
mov dword [esi + 0xc], eax
add esp, 4
mov eax, dword [esi + 0x14]
xorps xmm0, xmm0
add eax, 0x84
mov dword [ebp - 0xbc], 0
movups xmmword [ebp - 0xdc], xmm0
push eax
movups xmmword [ebp - 0xcc], xmm0
call fcn.00404120
mov dword [ebp - 0x1ac], 2
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00403b80
mov byte [ebp - 4], 4
mov eax, 0x12
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov dword [ebp - 0x38], 0xcf00d9
mov dword [ebp - 0x34], 0xc100d9
mov dword [ebp - 0x30], 0xdd00c4
mov dword [ebp - 0x2c], 0xd900dc
mov dword [ebp - 0x28], 0xdc00de
mov dword [ebp - 0x24], 0x9a00c0
mov dword [ebp - 0x20], 0xc700c6
mov dword [ebp - 0x1c], 0xd100db
mov dword [ebp - 0x18], 0xdf00cd
mov dword [ebp - 0x14], 0xbb
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x5aa300
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004031c0
lea ecx, [ebp - 0x288]
call fcn.00404220
lea ecx, [ebp - 0x2a0]
call fcn.00404490
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00404490
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404120
mov dword [ebp - 0x1ac], 6
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405710
add esp, 8
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.00404490
mov dword [ebp - 0x6c], 9
xor ecx, ecx
mov dword [ebp - 0x68], 0xda00f5
mov dword [ebp - 0x64], 0xc900d9
mov dword [ebp - 0x60], 0xdd00cb
mov dword [ebp - 0x5c], 0xda0081
mov dword [ebp - 0x58], 0xb200c2
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x68], ax
inc ecx
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jb 0x5aa3d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x68], cx
lea ecx, [ebp - 0x294]
mov eax, dword [esi + 0x14]
add eax, 0x84
push eax
call fcn.00404120
mov edi, 0xe
mov dword [ebp - 0x1ac], edi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x294]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x34]
call fcn.00403b80
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x10
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x1b1], al
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00404220
lea ecx, [ebp - 0x34]
call fcn.00404490
cmp byte [ebp - 0x1b1], 0
je 0x5aa69f
xorps xmm0, xmm0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00404120
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0064aa50
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.00648de0
mov byte [ebp - 4], 0x13
mov eax, 0x28
mov dword [ebp - 0x228], eax
xor ecx, ecx
mov dword [ebp - 0x224], 0xcf00d9
mov dword [ebp - 0x220], 0xc100d9
mov dword [ebp - 0x21c], 0xdd00c4
mov dword [ebp - 0x218], 0xd900dc
mov dword [ebp - 0x214], 0xdc00de
mov dword [ebp - 0x210], 0x9a00c0
mov dword [ebp - 0x20c], 0xd300d1
mov dword [ebp - 0x208], 0xd900d1
mov dword [ebp - 0x204], 0xd600cc
mov dword [ebp - 0x200], 0x9200cf
mov dword [ebp - 0x1fc], 0xdb00d9
mov dword [ebp - 0x1f8], 0xab00cc
mov dword [ebp - 0x1f4], 0xad00b5
mov dword [ebp - 0x1f0], 0xe900b3
mov dword [ebp - 0x1ec], 0xa900ab
mov dword [ebp - 0x1e8], 0xa100b3
mov dword [ebp - 0x1e4], 0xa300af
mov dword [ebp - 0x1e0], 0xad00a8
mov dword [ebp - 0x1dc], 0xa700b9
mov dword [ebp - 0x1d8], 0xbe00a0
mov dword [ebp - 0x1d4], 0xd1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x224], ax
inc ecx
mov eax, dword [ebp - 0x228]
cmp ecx, eax
jb 0x5aa5c0
xor ecx, ecx
mov dword [ebp - 0x74], 7
mov word [ebp + eax*2 - 0x224], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x224]
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aa600
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x30]
call fcn.00649a10
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x1bc], edx
mov esi, eax
call fcn.00404490
cmp esi, 2
jne 0x5aa660
cmp dword [ebp - 0x1bc], 0
jne 0x5aa660
mov ecx, dword [ebp - 0x1c0]
mov byte [ecx + 4], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x18]
push dword [esi + 4]
call fcn.0064a6d0
mov eax, dword [ebp - 0x18]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00404490
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x70]
call fcn.00648730
test al, al
je 0x5aaa75
movaps xmm0, xmmword [0x7e5f70]
mov eax, 0x4a
movups xmmword [ebp - 0x21c], xmm0
xor ecx, ecx
mov dword [ebp - 0x220], eax
movaps xmm0, xmmword [0x7e5960]
movups xmmword [ebp - 0x20c], xmm0
mov dword [ebp - 0x1dc], 0x8d88838f
movaps xmm0, xmmword [0x7e5920]
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1d8], 0x9e808799
movaps xmm0, xmmword [0x7e57c0]
movups xmmword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x1d4], 0xf3c9d6
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x21c], al
inc ecx
mov eax, dword [ebp - 0x220]
cmp ecx, eax
jb 0x5aa724
mov byte [ebp + eax - 0x21c], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5aa760
sub ecx, edx
lea eax, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407ab0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x64], xmm0
call fcn.00648830
mov byte [ebp - 4], 0x18
cmp byte [ebp - 0x5c], 0
mov esi, dword [ebp - 0x60]
jne 0x5aa7a9
test esi, esi
je 0x5aa7a9
xor al, al
jmp 0x5aa7ab
mov al, 1
test al, al
jne 0x5aaa51
mov ecx, dword [ebp - 0x58]
mov eax, edi
mov dword [ebp - 0x1a8], eax
test esi, esi
jne 0x5aa7d9
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
jmp 0x5aa813
test ecx, ecx
jle 0x5aa7c2
push 0
push esi
call fcn.0069d2b0
add esp, 8
test eax, eax
jne 0x5aa7fe
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
jmp 0x5aa80a
push eax
lea ecx, [ebp - 0x88]
call fcn.00406b50
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1a8]
or edi, 0x10
mov dword [ebp - 0x1ac], edi
mov byte [ebp - 4], 0x19
test esi, esi
jne 0x5aa845
mov edi, dword [ebp - 0x1a8]
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov byte [ebp - 0xa0], cl
jmp 0x5aa894
cmp ecx, 1
jle 0x5aa824
push 1
push esi
call fcn.0069d2b0
add esp, 8
test eax, eax
jne 0x5aa874
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov byte [ebp - 0xa0], cl
jmp 0x5aa88c
push eax
lea ecx, [ebp - 0xa0]
call fcn.00406b50
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x1a8]
mov eax, edi
or eax, 0x30
mov dword [ebp - 0x1ac], eax
push 1
or edi, 0x10
mov byte [ebp - 4], 0x1a
cmp edx, 0x10
lea eax, [ebp - 0xa0]
push 0x7da6b8
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
call fcn.0040ffd0
mov byte [ebp - 0x1bc], al
mov eax, dword [ebp - 0x1c0]
push 0x38
mov eax, dword [eax + 0x14]
mov esi, dword [eax + 8]
call fcn.0076e8c3
add esp, 0x14
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x88]
push dword [ebp - 0x1bc]
push ecx
push esi
mov ecx, eax
call fcn.006547e0
or edi, 0x60
mov esi, eax
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1ac], edi
xor eax, eax
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], eax
test esi, esi
je 0x5aa96f
push 0x10
call fcn.0076e8c3
mov dword [ebp - 0x1b8], eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1c4], eax
movups xmmword [eax], xmm0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.R.0
mov dword [eax + 0xc], esi
xor esi, esi
mov dword [ebp - 0x1b8], esi
mov edx, dword [ebp - 0x1c0]
mov byte [ebp - 4], 0x1d
mov ecx, dword [edx + 0xc]
cmp dword [edx + 0x10], ecx
je 0x5aa9a4
mov edi, dword [ebp - 0x1c8]
mov dword [ecx], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ecx + 4], eax
xor ecx, ecx
add dword [edx + 0xc], 8
mov dword [ebp - 0x1c8], 0
jmp 0x5aa9ba
lea eax, [ebp - 0x1c8]
push eax
push ecx
lea ecx, [edx + 8]
call fcn.00452210
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x5aa9eb
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5aa9eb
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1b0]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5aa9eb
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x5aaa0a
lea ecx, [esi + 0x1c]
call fcn.00404490
lea ecx, [esi + 4]
call fcn.00407a10
push 0x38
push esi
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.00407a10
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
call fcn.00407a10
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x5aaa51
push esi
call fcn.0069c990
add esp, 4
cmp eax, 0x65
jne 0x5aaa3d
mov al, 1
jmp 0x5aaa43
cmp eax, 0x64
setne al
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x5c], al
test al, al
je 0x5aa7b6
mov byte [ebp - 4], 0x1f
test esi, esi
je 0x5aaa68
cmp byte [ebp - 0x64], 0
je 0x5aaa68
push esi
call fcn.0069b9d0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00407a10
jmp 0x5aacdf
push 0xb0
lea eax, [ebp - 0x18c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18c], 0x7d6f90
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x17c], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x20
mov edi, 0x8e
lea ecx, [ebp - 0x18c]
push eax
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1ac], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x21
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x18c], 0x7c81a4
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x190], eax
lea ecx, [ebp - 0x174]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x174], 0x7c8164
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 0x22
xor ecx, ecx
mov dword [ebp - 0x54], 0x1f
mov dword [ebp - 0x50], 0xcb00ef
mov dword [ebp - 0x4c], 0xc000c2
mov dword [ebp - 0x48], 0xca00c8
mov dword [ebp - 0x44], 0xc4008f
mov dword [ebp - 0x40], 0x9200de
mov dword [ebp - 0x3c], 0xc400dc
mov dword [ebp - 0x38], 0xd800d0
mov dword [ebp - 0x34], 0xde0097
mov dword [ebp - 0x30], 0xc800d0
mov dword [ebp - 0x2c], 0xda00de
mov dword [ebp - 0x28], 0xc600d2
mov dword [ebp - 0x24], 0xa4009f
mov dword [ebp - 0x20], 0xb600a0
mov dword [ebp - 0x1c], 0xa600a2
mov dword [ebp - 0x18], 0xb500a4
mov dword [ebp - 0x14], 0xc800a2
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x5aabb0
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x364]
push eax
call fcn.005aae80
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x1b0], eax
test edx, edx
je 0x5aac2d
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5aac10
mov edi, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1b0]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x27c]
push eax
call fcn.005a4fe0
mov esi, eax
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x1bc], eax
test edx, edx
je 0x5aac6f
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5aac52
mov edi, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1bc]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x18c]
push ecx
push dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b8]
push 0x255
push eax
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x18c], 0x7c81a4
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x190], eax
lea ecx, [ebp - 0x174]
call fcn.004073e0
lea ecx, [ebp - 0x16c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x124]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edx, dword [ebp - 0x1d0]
xorps xmm0, xmm0
movq qword [edx], xmm0
mov dword [edx + 8], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
or edi, 1
xor ecx, ecx
mov dword [ebp - 0x1ac], edi
mov edi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1a8], ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
sub eax, esi
mov dword [ebp - 0x1b0], esi
sar eax, 3
test eax, eax
je 0x5aae1b
mov esi, dword [esi + ecx*8 + 4]
test esi, esi
je 0x5aad4f
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x1b0]
mov esi, dword [eax + ecx*8 + 4]
jmp 0x5aad55
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 0x23
mov eax, dword [edx + 4]
cmp dword [edx + 8], eax
je 0x5aadab
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x5aad91
lock inc dword [esi + 4]
mov ecx, dword [ebp - 0x1b8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1a8]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
add dword [edx + 4], 0xc
jmp 0x5aadc6
lea ecx, [ebp - 0x1cc]
push ecx
push eax
mov ecx, edx
call fcn.00491f50
mov esi, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1a8]
mov byte [ebp - 4], 0x24
test esi, esi
je 0x5aadf5
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5aadf5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5aadef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1a8]
mov esi, dword [edi + 8]
inc ecx
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x1d0]
sub eax, esi
sar eax, 3
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1b0], esi
cmp ecx, eax
jb 0x5aad37
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x5aae30
mov edx, 1
call fcn.00706610
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0x1a4]
call fcn.00407a10
lea ecx, [ebp - 0xc4]
call fcn.00404220
lea ecx, [ebp - 0xdc]
call fcn.00404490
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4