Function at 0x5a91a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7380
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x82f184]
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], 0xdc00c8
mov dword [ebp - 0x34], 0xd600c8
mov dword [ebp - 0x30], 0xce00d5
mov dword [ebp - 0x2c], 0xd600cd
mov dword [ebp - 0x28], 0xaf00af
mov dword [ebp - 0x24], 0xed00b1
mov dword [ebp - 0x20], 0xb400b7
mov dword [ebp - 0x1c], 0xae00aa
mov dword [ebp - 0x18], 0xac00bc
mov dword [ebp - 0x14], 0xca
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x5a92f0
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], 0xc900e4
mov dword [ebp - 0x64], 0xde00c8
mov dword [ebp - 0x60], 0xce00da
mov dword [ebp - 0x5c], 0xd50090
mov dword [ebp - 0x58], 0xc100b3
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x68], ax
inc ecx
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jb 0x5a93c0
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 0x5a968f
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.00649d20
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.006480b0
mov byte [ebp - 4], 0x13
mov eax, 0x28
mov dword [ebp - 0x228], eax
xor ecx, ecx
mov dword [ebp - 0x224], 0xdc00c8
mov dword [ebp - 0x220], 0xd600c8
mov dword [ebp - 0x21c], 0xce00d5
mov dword [ebp - 0x218], 0xd600cd
mov dword [ebp - 0x214], 0xaf00af
mov dword [ebp - 0x210], 0xed00b1
mov dword [ebp - 0x20c], 0xa000a0
mov dword [ebp - 0x208], 0xa600a0
mov dword [ebp - 0x204], 0xa500bd
mov dword [ebp - 0x200], 0xe500be
mov dword [ebp - 0x1fc], 0xa800a8
mov dword [ebp - 0x1f8], 0xa400bd
mov dword [ebp - 0x1f4], 0xbe00a4
mov dword [ebp - 0x1f0], 0xfe00a2
mov dword [ebp - 0x1ec], 0xba00ba
mov dword [ebp - 0x1e8], 0xbe00a2
mov dword [ebp - 0x1e4], 0xb000be
mov dword [ebp - 0x1e0], 0xba00b9
mov dword [ebp - 0x1dc], 0xb400a8
mov dword [ebp - 0x1d8], 0xb100b1
mov dword [ebp - 0x1d4], 0xe0
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x224], ax
inc ecx
mov eax, dword [ebp - 0x228]
cmp ecx, eax
jb 0x5a95b0
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 0x5a95f0
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.00648ce0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x1bc], edx
mov esi, eax
call fcn.00404490
cmp esi, 2
jne 0x5a9650
cmp dword [ebp - 0x1bc], 0
jne 0x5a9650
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.006499a0
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.0076d313
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.00647a00
test al, al
je 0x5a9a65
movaps xmm0, xmmword [0x7e3890]
mov eax, 0x4a
movups xmmword [ebp - 0x21c], xmm0
xor ecx, ecx
mov dword [ebp - 0x220], eax
movaps xmm0, xmmword [0x7e3d80]
movups xmmword [ebp - 0x20c], xmm0
mov dword [ebp - 0x1dc], 0x9a99909e
movaps xmm0, xmmword [0x7e37e0]
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1d8], 0x91919488
movaps xmm0, xmmword [0x7e37d0]
movups xmmword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x1d4], 0x23a27
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x21c], al
inc ecx
mov eax, dword [ebp - 0x220]
cmp ecx, eax
jb 0x5a9714
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 0x5a9750
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.00647b00
mov byte [ebp - 4], 0x18
cmp byte [ebp - 0x5c], 0
mov esi, dword [ebp - 0x60]
jne 0x5a9799
test esi, esi
je 0x5a9799
xor al, al
jmp 0x5a979b
mov al, 1
test al, al
jne 0x5a9a41
mov ecx, dword [ebp - 0x58]
mov eax, edi
mov dword [ebp - 0x1a8], eax
test esi, esi
jne 0x5a97c9
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
jmp 0x5a9803
test ecx, ecx
jle 0x5a97b2
push 0
push esi
call fcn.0069c5a0
add esp, 8
test eax, eax
jne 0x5a97ee
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
jmp 0x5a97fa
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 0x5a9835
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 0x5a9884
cmp ecx, 1
jle 0x5a9814
push 1
push esi
call fcn.0069c5a0
add esp, 8
test eax, eax
jne 0x5a9864
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov byte [ebp - 0xa0], cl
jmp 0x5a987c
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 0x7d8624
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.0076d2e3
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.00653aa0
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 0x5a995f
push 0x10
call fcn.0076d2e3
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.I.1.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 0x5a9994
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 0x5a99aa
lea eax, [ebp - 0x1c8]
push eax
push ecx
lea ecx, [edx + 8]
call fcn.004516c0
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x5a99db
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x5a99db
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1b0]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x5a99db
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x5a99fa
lea ecx, [esi + 0x1c]
call fcn.00404490
lea ecx, [esi + 4]
call fcn.00407a10
push 0x38
push esi
call fcn.0076d313
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 0x5a9a41
push esi
call fcn.0069bc80
add esp, 4
cmp eax, 0x65
jne 0x5a9a2d
mov al, 1
jmp 0x5a9a33
cmp eax, 0x64
setne al
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x5c], al
test al, al
je 0x5a97a6
mov byte [ebp - 4], 0x1f
test esi, esi
je 0x5a9a58
cmp byte [ebp - 0x64], 0
je 0x5a9a58
push esi
call fcn.0069acc0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00407a10
jmp 0x5a9ccf
push 0xb0
lea eax, [ebp - 0x18c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18c], 0x7d4f80
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x17c], 0x7d5218
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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xd800fe
mov dword [ebp - 0x4c], 0xd700d3
mov dword [ebp - 0x48], 0xd900d9
mov dword [ebp - 0x44], 0xcb009e
mov dword [ebp - 0x40], 0xe100af
mov dword [ebp - 0x3c], 0xb300ad
mov dword [ebp - 0x38], 0xab00a1
mov dword [ebp - 0x34], 0xa100e6
mov dword [ebp - 0x30], 0xbb00a1
mov dword [ebp - 0x2c], 0xad00af
mov dword [ebp - 0x28], 0xb500a3
mov dword [ebp - 0x24], 0xab00ee
mov dword [ebp - 0x20], 0xa500b1
mov dword [ebp - 0x1c], 0xb100b3
mov dword [ebp - 0x18], 0xa600b5
mov dword [ebp - 0x14], 0xd700b3
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x5a9ba0
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.00434600
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x364]
push eax
call fcn.005a9e70
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x1b0], eax
test edx, edx
je 0x5a9c1d
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5a9c00
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.005a3fd0
mov esi, eax
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x1bc], eax
test edx, edx
je 0x5a9c5f
mov edi, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5a9c42
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.00469240
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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 0x5a9e0b
mov esi, dword [esi + ecx*8 + 4]
test esi, esi
je 0x5a9d3f
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x1b0]
mov esi, dword [eax + ecx*8 + 4]
jmp 0x5a9d45
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 0x5a9d9b
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x5a9d81
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 0x5a9db6
lea ecx, [ebp - 0x1cc]
push ecx
push eax
mov ecx, edx
call fcn.00490ef0
mov esi, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1a8]
mov byte [ebp - 4], 0x24
test esi, esi
je 0x5a9de5
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5a9de5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5a9ddf
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 0x5a9d27
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x5a9e20
mov edx, 1
call fcn.007058e0
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.0076d59e
mov esp, ebp
pop ebp
ret 4