Function at 0x519ea0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba53d
mov eax, dword fs:[0]
push eax
sub esp, 0x918
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push str.initCrypt_aes2
mov dword [ebp - 0x90c], ecx
push esi
lea ecx, [ebp - 0x924]
mov dword [ebp - 0x910], ebx
mov dword [ebp - 0x918], edi
call fcn.0045a1b0
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0
cmp eax, 3
je 0x519f1d
cmp eax, 6
je 0x519f1d
cmp eax, 2
je 0x519f1d
cmp eax, 5
je 0x519f1d
cmp eax, 4
jne 0x519f21
mov byte [ebp + 8], 1
cmp eax, 8
jne 0x51a0b5
test edi, edi
je 0x51a0a7
lea ecx, [ebp - 0x3a0]
call fcn.005165e0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.00516a20
lea ecx, [ebp - 0x908]
mov byte [ebp - 4], 2
call fcn.005190e0
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebp - 0x108], 1
call fcn.004078c0
push eax
lea eax, [ebx + 0x8c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041ca10
lea ecx, [ebx + 0x14]
call fcn.004078c0
push esi
add eax, eax
lea ecx, [ebp - 0x908]
push ecx
lea edx, [ebp - 0x110]
add eax, eax
push edx
add eax, eax
push 1
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], 3
call fcn.00519ea0
call fcn.00471cd0
cmp byte [ebx + 0xac], 0
mov byte [ebp - 0x914], al
je 0x51a002
mov ecx, dword [ebx + 0xb4]
mov edx, dword [ebx + 0xb0]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x914]
push ecx
push edx
push eax
call fcn.00420e50
push 8
lea ecx, [ebp - 0x38]
push 0
push ecx
call fcn.00421f20
add esp, 0x1c
jmp 0x51a026
mov edx, dword [ebx + 0xb8]
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebx + 0xc0]
mov dword [ebp - 0x40], edx
mov edx, dword [ebx + 0xc4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x918]
add eax, 0x558
push eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3a0]
call fcn.005171d0
lea ecx, [ebp - 0x908]
mov byte [ebp - 4], 2
call fcn.00516960
mov dword [ebp - method._ckSymSettings.virtual_0], vtable._ckSymSettings.0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.0041c170
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0041c170
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.0041c170
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.0041c170
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00516660
jmp 0x51a0b5
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.No_context_for_XTS_mode_
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x90c]
mov dl, byte [ebp + 8]
mov byte [ecx + 0x88], dl
mov eax, dword [ebx + 0x10]
cmp eax, 0xc1
jl 0x51a0d7
mov dword [ebx + 0x10], 0x100
jmp 0x51a0eb
xor ecx, ecx
cmp eax, 0x81
setl cl
dec ecx
and ecx, 0x40
sub ecx, 0xffffff80
mov dword [ebx + 0x10], ecx
mov edi, dword [ebx + 0x10]
xor eax, eax
lea ecx, [ebx + 0x14]
mov dword [ebp - 0x914], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0041b6d0
test eax, eax
je 0x51a16a
lea ecx, [ebx + 0x14]
call fcn.004078c0
test eax, eax
je 0x51a16a
lea ecx, [ebx + 0x14]
call fcn.004078c0
lea ecx, [ebx + 0x14]
cmp eax, 0x20
jbe 0x51a14f
call fcn.0041b6d0
mov ecx, 8
mov esi, eax
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x914]
jmp 0x51a16a
call fcn.004078c0
push eax
lea ecx, [ebx + 0x14]
call fcn.0041b6d0
push eax
lea edx, [ebp - 0x30]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, edi
sub eax, 0x80
je 0x51a1ba
sub eax, 0x40
je 0x51a1a8
sub eax, 0x40
je 0x51a196
lea ecx, [ebp - 0x924]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
xor al, al
jmp 0x51a9ae
mov eax, dword [ebp - 0x90c]
mov dword [eax + 0x28c], 0xe
jmp 0x51a1ca
mov ecx, dword [ebp - 0x90c]
mov dword [ecx + 0x28c], 0xc
jmp 0x51a1ca
mov edx, dword [ebp - 0x90c]
mov dword [edx + 0x28c], 0xa
mov eax, dword [ebp - 0x90c]
mov edx, edi
sar edx, 5
add eax, 0x8c
xor ecx, ecx
test edx, edx
jle 0x51a225
mov esi, eax
lea edi, [ebp - 0x2f]
sub esi, edi
jmp 0x51a1f0
movzx edi, byte [ebp + ecx*4 - 0x30]
movzx ebx, byte [ebp + ecx*4 - 0x2f]
shl edi, 8
or edi, ebx
movzx ebx, byte [ebp + ecx*4 - 0x2e]
shl edi, 8
or edi, ebx
movzx ebx, byte [ebp + ecx*4 - 0x2d]
shl edi, 8
or edi, ebx
lea ebx, [esi + ecx*4]
inc ecx
mov dword [ebp + ebx - 0x2f], edi
cmp ecx, edx
jl 0x51a1f0
mov ebx, dword [ebp - 0x910]
mov ecx, dword [ebp - 0x90c]
mov ecx, dword [ecx + 0x28c]
cmp ecx, 0xa
jne 0x51a427
mov edi, 0x61e144
nop
mov esi, dword [eax + 0xc]
mov edx, esi
shr edx, 0x10
movzx ecx, dl
mov ecx, dword [ecx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0xc]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, esi
shl ecx, 8
shr edx, 0x18
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 4]
xor ecx, dword [edi - 4]
xor ecx, dword [eax]
xor edx, ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x1c]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 0x14]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
mov esi, dword [eax + 0x1c]
xor ecx, dword [edi]
xor ecx, dword [eax + 0x10]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], edx
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov dword [eax + 0x2c], esi
mov ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x2c]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 0x24]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
mov esi, dword [eax + 0x2c]
xor ecx, dword [edi + 4]
xor ecx, dword [eax + 0x20]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x28]
xor ecx, edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], ecx
xor esi, ecx
mov dword [eax + 0x3c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x3c]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 0x34]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
mov esi, dword [eax + 0x3c]
xor ecx, dword [edi + 8]
add edi, 0x14
xor ecx, dword [eax + 0x30]
add eax, 0x50
xor edx, ecx
mov dword [eax - 0x10], ecx
mov ecx, dword [eax - 0x18]
xor ecx, edx
xor esi, ecx
mov dword [eax - 8], ecx
mov dword [eax - 0xc], edx
mov dword [eax - 4], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax - 4]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax - 0xc]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
xor ecx, dword [edi - 8]
xor ecx, dword [eax - 0x10]
xor edx, ecx
mov dword [eax], ecx
mov ecx, dword [eax - 8]
xor ecx, edx
mov dword [eax + 4], edx
mov edx, dword [eax - 4]
xor edx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, vtable._ckGcmContext.0
jl 0x51a240
jmp 0x51a6e0
cmp ecx, 0xc
jne 0x51a5fd
mov edi, 0x61e144
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
shl ecx, 8
mov ebx, edx
shr ebx, 8
movzx esi, bl
xor ecx, dword [esi*4 + str.cwko0]
movzx esi, dl
shl ecx, 8
xor ecx, dword [esi*4 + str.cwko0]
mov ebx, dword [eax + 0xc]
shl ecx, 8
mov esi, edx
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
mov esi, dword [eax + 4]
xor ecx, dword [edi - 4]
xor ecx, dword [eax]
xor esi, ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 8]
xor ecx, esi
xor ebx, ecx
mov dword [eax + 0x1c], esi
mov esi, dword [eax + 0x10]
mov dword [eax + 0x20], ecx
xor esi, ebx
mov dword [eax + 0x28], esi
xor esi, edx
mov dword [eax + 0x2c], esi
mov edx, esi
shr edx, 0x10
movzx ecx, dl
mov dword [eax + 0x24], ebx
mov ecx, dword [ecx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x2c]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 0x1c]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
mov esi, dword [eax + 0x2c]
xor ecx, dword [edi]
xor ecx, dword [eax + 0x18]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x20]
xor ecx, edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], ecx
mov edx, ebx
xor edx, ecx
mov ecx, dword [eax + 0x28]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x3c], edx
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov dword [eax + 0x44], esi
mov ecx, dword [edx*4 + str.cwko0]
mov edx, esi
shr edx, 8
shl ecx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x44]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
mov edx, dword [eax + 0x34]
xor ecx, dword [edi + 4]
mov esi, dword [eax + 0x44]
xor ecx, dword [eax + 0x30]
add edi, 0x10
xor edx, ecx
mov dword [eax + 0x48], ecx
mov ecx, dword [eax + 0x38]
xor ecx, edx
mov dword [eax + 0x4c], edx
mov edx, dword [eax + 0x3c]
xor edx, ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x40]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], edx
mov dword [eax + 0x5c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x5c]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 0x4c]
shl ecx, 8
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
add eax, 0x60
xor ecx, dword [edi - 8]
xor ecx, dword [eax - 0x18]
xor edx, ecx
mov dword [eax], ecx
mov ecx, dword [eax - 0x10]
xor ecx, edx
mov dword [eax + 4], edx
mov edx, dword [eax - 0xc]
xor edx, ecx
mov dword [eax + 8], ecx
mov ecx, dword [eax - 8]
xor ecx, edx
mov dword [eax + 0xc], edx
mov edx, dword [eax - 4]
xor edx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
cmp edi, 0x61e164
jl 0x51a435
jmp 0x51a6da
cmp ecx, 0xe
jne 0x51a6e0
mov ebx, 0x61e140
jmp 0x51a610
mov esi, dword [eax + 0x1c]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + str.cwko0]
shl ecx, 8
mov edi, dword [eax + 0xc]
mov edx, esi
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0x1c]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, esi
shl ecx, 8
shr edx, 0x18
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax + 4]
xor ecx, dword [ebx]
add ebx, 4
xor ecx, dword [eax]
add eax, 0x20
xor edx, ecx
mov dword [eax], ecx
mov ecx, dword [eax - 0x18]
xor ecx, edx
xor edi, ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov ecx, edi
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.cwko0]
shl ecx, 8
mov edx, edi
shr edx, 0x10
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
mov edx, edi
shr edx, 8
shl ecx, 8
movzx edx, dl
xor ecx, dword [edx*4 + str.cwko0]
movzx edx, byte [eax + 0xc]
shl ecx, 8
xor ecx, dword [edx*4 + str.cwko0]
mov edx, dword [eax - 0xc]
xor ecx, dword [eax - 0x10]
xor edx, ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax - 8]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], esi
cmp ebx, 0x61e15c
jl 0x51a610
mov ebx, dword [ebp - 0x910]
cmp byte [0x6897b0], 0
jne 0x51a7ef
xor ecx, ecx
nop
mov edx, dword [ecx + str.cwko0]
add edx, edx
mov esi, dword [edx + edx + 0x61d140]
add edx, edx
mov dword [ecx + 0x688bb0], esi
mov esi, dword [edx + 0x61d540]
mov dword [ecx + 0x688fb0], esi
mov esi, dword [edx + 0x61d940]
mov edx, dword [edx + 0x61dd40]
mov dword [ecx + 0x6887b0], edx
mov edx, dword [ecx + 0x61b944]
add edx, edx
add edx, edx
mov dword [ecx + 0x6893b0], esi
mov esi, dword [edx + 0x61d140]
mov dword [ecx + 0x688bb4], esi
mov esi, dword [edx + 0x61d540]
mov dword [ecx + 0x688fb4], esi
mov esi, dword [edx + 0x61d940]
mov edx, dword [edx + 0x61dd40]
mov dword [ecx + 0x6887b4], edx
mov edx, dword [ecx + 0x61b948]
add edx, edx
add edx, edx
mov dword [ecx + 0x6893b4], esi
mov esi, dword [edx + 0x61d140]
mov dword [ecx + 0x688bb8], esi
mov esi, dword [edx + 0x61d540]
mov dword [ecx + 0x688fb8], esi
mov esi, dword [edx + 0x61d940]
mov edx, dword [edx + 0x61dd40]
mov dword [ecx + 0x6887b8], edx
mov edx, dword [ecx + 0x61b94c]
add edx, edx
add edx, edx
mov dword [ecx + 0x6893b8], esi
mov esi, dword [edx + 0x61d140]
mov dword [ecx + 0x688bbc], esi
mov esi, dword [edx + 0x61d540]
mov dword [ecx + 0x688fbc], esi
mov esi, dword [edx + 0x61d940]
mov edx, dword [edx + 0x61dd40]
mov dword [ecx + 0x6893bc], esi
mov dword [ecx + 0x6887bc], edx
add ecx, 0x10
cmp ecx, 0x400
jl 0x51a6f0
mov byte [0x6897b0], 1
mov edx, dword [eax]
mov ecx, dword [ebp - 0x90c]
mov dword [ecx + 0x18c], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x190], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x194], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x198], edx
mov edx, dword [ebp - 0x90c]
mov edi, 1
add ecx, 0x19c
add eax, 0x10
cmp dword [edx + 0x28c], edi
jle 0x51a942
mov esi, dword [eax - 0x20]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x688bb0]
xor edx, dword [ebx*4 + 0x688fb0]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x6893b0]
movzx esi, byte [eax - 0x20]
xor edx, dword [esi*4 + 0x6887b0]
inc edi
mov dword [ecx], edx
mov esi, dword [eax - 0x1c]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x688bb0]
xor edx, dword [ebx*4 + 0x688fb0]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x6893b0]
movzx esi, byte [eax - 0x1c]
xor edx, dword [esi*4 + 0x6887b0]
add ecx, 0x10
mov dword [ecx - 0xc], edx
mov esi, dword [eax - 0x18]
mov ebx, esi
shr ebx, 0x10
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x688bb0]
movzx ebx, bl
xor edx, dword [ebx*4 + 0x688fb0]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x6893b0]
movzx esi, byte [eax - 0x18]
xor edx, dword [esi*4 + 0x6887b0]
add eax, 0xfffffff0
mov dword [ecx - 8], edx
mov esi, dword [eax - 4]
mov ebx, esi
shr ebx, 0x10
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x688bb0]
movzx ebx, bl
xor edx, dword [ebx*4 + 0x688fb0]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x6893b0]
movzx esi, byte [eax - 4]
xor edx, dword [esi*4 + 0x6887b0]
mov dword [ecx - 4], edx
mov edx, dword [ebp - 0x90c]
cmp edi, dword [edx + 0x28c]
jl 0x51a838
mov ebx, dword [ebp - 0x910]
mov edx, dword [eax - 0x20]
mov edi, dword [ebp - 0x918]
mov dword [ecx], edx
mov edx, dword [eax - 0x1c]
mov dword [ecx + 4], edx
mov edx, dword [eax - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [eax - 0x14]
mov dword [ecx + 0xc], eax
test edi, edi
je 0x51a99a
mov eax, dword [ebx + 8]
cmp eax, 3
je 0x51a970
cmp eax, 4
jne 0x51a99a
mov ecx, dword [ebp - 0x90c]
mov edx, dword [ecx + 0x80]
push edx
lea ecx, [ebx + 0x34]
call fcn.004078c0
push eax
lea ecx, [ebx + 0x34]
call fcn.0041b6d0
push eax
lea ecx, [edi + 0x484]
call fcn.005351f0
lea ecx, [ebp - 0x924]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret 0x10