Function at 0x7bfcf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [0xbd33e0]
mov esi, ecx
mov edi, dword [ebp + 0x10]
xor eax, ebp
mov dword [esp + 0xd0], eax
mov dword [esp + 0x14], edx
mov ebx, dword [edx + 4]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], ecx
mov ecx, edx
mov dword [esp + 8], eax
call fcn.00787c60
mov dword [esp + 0x68], esi
mov dword [esp + 0x24], ebx
mov ecx, ebx
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
call fcn.007ab150
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x6c]
xor edx, edx
push 0x3b9aca00
push 0x64
push eax
call fcn.007832c0
add esp, 0xc
mov byte [esp + 0x61], 1
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x7c09c2
shr ecx, 3
xor edx, edx
inc ecx
call fcn.007870a0
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x7bfdd1
mov dword [esp + 0x3c], 1
jmp 0x7c09c2
mov ecx, dword [ebx + 0x24]
call fcn.007a8d70
test eax, eax
mov dword [esp + 0x64], eax
jne 0x7bfdee
mov dword [esp + 0x3c], 1
jmp 0x7c09c2
mov eax, dword [0xbb3a40]
xor edx, edx
div dword [ebx + 0x24]
inc eax
cmp eax, dword [esp + 0x30]
ja 0x7bfe0a
lea ecx, [esp + 0x24]
mov edx, eax
call fcn.007cbdf0
mov edx, fcn.007c9d60
mov esi, fcn.007c9d60
xor eax, eax
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
movzx ecx, byte [0xbb6197]
sete al
bt ecx, eax
jb 0x7bff6f
mov al, byte [0xbb6197]
mov ecx, edx
mov ah, 1
add ecx, esi
sete cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb6197], ah
jne 0x7bfe38
mov ecx, fcn.007c9d60
mov edx, fcn.007c9d60
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete ah
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7bfe91
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb6197]
sete al
bt esi, eax
jae 0x7bfe77
jmp 0x7bff6f
xor eax, eax
add ecx, edx
movzx ecx, byte [0xbb6197]
sete al
bt ecx, eax
jb 0x7bff4d
mov eax, fcn.007c9d60
mov edx, fcn.007c9d60
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbb6180]
sete cl
or ecx, 0xdd7f5cb8
add ecx, 0x88
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb6180], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb6184]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb6184], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb6188]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb6188], edx
or eax, esi
not edx
mov edi, dword [0xbb618c]
imul edx, eax
lea esi, [edx*8]
xor edi, edx
shr edx, 0x1c
mov dword [0xbb618c], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb6190], edi
shl dl, cl
or byte [0xbb6197], dl
mov eax, fcn.007c9d60
mov ecx, fcn.007c9d60
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
xor cl, 7
rol al, cl
and byte [0xbb6197], al
mov dword [esp + 0x40], 0xbb6180
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 0x38]
lea ecx, [esi + 0x24]
call fcn.00559e00
add esi, 0x20
mov edi, eax
mov ecx, esi
call fcn.00559e00
lea ecx, [esp + 0x24]
mov edx, 1
push edi
push eax
call fcn.007cbe10
add esp, 8
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], ebx
cmp byte [ebx + 0x11], 0
je 0x7c026d
mov edi, dword [ebp + 0xc]
xor eax, eax
xor esi, esi
test edi, edi
jle 0x7bffd5
mov edx, dword [ebp + 8]
mov ecx, dword [edx + eax*4]
cmp esi, ecx
cmovl esi, ecx
inc eax
cmp eax, edi
jne 0x7bffc8
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x38]
add ecx, 0x34
call fcn.00559e00
cmp esi, eax
je 0x7c0521
mov edi, fcn.007a85b0
mov ebx, fcn.007a85b0
mov edx, eax
movzx ecx, byte [0xbb61d3]
or edi, 2
xor ebx, 2
mov eax, edi
add eax, ebx
sete al
or al, 4
add al, 0xc4
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7c024d
mov al, byte [0xbb61d3]
mov ecx, edi
mov ah, 1
add ecx, ebx
sete cl
or cl, 4
add cl, 0xc4
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb61d3], ah
jne 0x7c0022
mov ecx, fcn.007a85b0
mov edi, fcn.007a85b0
or ecx, 2
xor edi, 2
mov ebx, ecx
add ebx, edi
sete ah
or ah, 4
add ah, 0xc4
and ah, 7
xor ah, 7
movzx ebx, ah
movzx eax, al
bt eax, ebx
jae 0x7c0094
mov eax, ecx
movzx ebx, byte [0xbb61d3]
add eax, edi
sete al
or al, 4
add al, 0xc4
and al, 7
movzx eax, al
bt ebx, eax
jae 0x7c0073
jmp 0x7c024d
add ecx, edi
movzx ecx, byte [0xbb61d3]
sete al
or al, 4
add al, 0xc4
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7c0222
mov eax, fcn.007a85b0
mov edi, fcn.007a85b0
xor ecx, ecx
xor edi, 2
or eax, 2
add eax, edi
mov eax, dword [0xbb61a0]
sete cl
or ecx, 0xaaf7138c
add ecx, 0x8c4
mov ebx, ecx
xor eax, ecx
mov dword [esp + 0x10], ecx
shr ebx, 0x1f
mov dword [0xbb61a0], eax
not eax
or ebx, ecx
imul ebx, eax
mov eax, dword [0xbb61a4]
lea ecx, [ebx + ebx]
xor eax, ebx
shr ebx, 0x1e
mov dword [0xbb61a4], eax
or ecx, ebx
not eax
imul eax, ecx
mov ecx, dword [0xbb61a8]
lea edi, [eax*4]
xor ecx, eax
shr eax, 0x1d
mov dword [0xbb61a8], ecx
or edi, eax
not ecx
mov eax, dword [0xbb61ac]
imul ecx, edi
lea edi, [ecx*8]
xor eax, ecx
shr ecx, 0x1c
mov dword [0xbb61ac], eax
or edi, ecx
not eax
mov ecx, dword [0xbb61b0]
imul eax, edi
mov edi, eax
shl edi, 4
xor ecx, eax
shr eax, 0x1b
mov dword [0xbb61b0], ecx
or eax, edi
not ecx
imul ecx, eax
mov eax, dword [0xbb61b4]
mov edi, ecx
shl edi, 5
xor eax, ecx
shr ecx, 0x1a
mov dword [0xbb61b4], eax
or ecx, edi
not eax
imul eax, ecx
mov ecx, dword [str.ur_]
mov edi, eax
shl edi, 6
xor ecx, eax
shr eax, 0x19
mov dword [str.ur_], ecx
or eax, edi
not ecx
imul ecx, eax
mov eax, dword [0xbb61bc]
mov edi, ecx
shl edi, 7
xor eax, ecx
shr ecx, 0x18
mov dword [0xbb61bc], eax
or ecx, edi
not eax
imul eax, ecx
mov ecx, dword [0xbb61c0]
mov edi, eax
shl edi, 8
xor ecx, eax
shr eax, 0x17
mov dword [0xbb61c0], ecx
or eax, edi
not ecx
imul ecx, eax
mov eax, dword [0xbb61c4]
mov edi, ecx
shl edi, 9
xor eax, ecx
shr ecx, 0x16
mov dword [0xbb61c4], eax
or ecx, edi
not eax
imul eax, ecx
mov ecx, dword [0xbb61c8]
mov edi, eax
shl edi, 0xa
xor ecx, eax
shr eax, 0x15
mov dword [0xbb61c8], ecx
or eax, edi
not ecx
imul ecx, eax
mov al, 1
xor dword [0xbb61cc], ecx
mov ecx, dword [esp + 0x10]
and cl, 7
shl al, cl
or byte [0xbb61d3], al
mov eax, fcn.007a85b0
mov ecx, fcn.007a85b0
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 4
add cl, 0xc4
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb61d3], al
push edx
push esi
push 0xbb61a0
lea eax, [esp + 0x30]
push eax
call fcn.007cc8c0
add esp, 0x10
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
jmp 0x7c0521
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x38]
add ecx, 0x40
call fcn.00559e00
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x7c0521
mov edx, fcn.00783220
movzx ecx, byte [0xbb621b]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.00783220
sete al
not al
add al, 0x10
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7c050f
mov al, byte [0xbb621b]
mov ecx, edx
mov ah, 1
xor ecx, fcn.00783220
sete cl
not cl
add cl, 0x10
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb621b], ah
jne 0x7c02b7
mov ecx, fcn.00783220
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.00783220
sete dl
not dl
add dl, 0x10
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7c032b
mov eax, ecx
movzx edx, byte [0xbb621b]
xor eax, fcn.00783220
sete al
not al
add al, 0x10
and al, 7
movzx eax, al
bt edx, eax
jae 0x7c0307
jmp 0x7c050f
xor ecx, fcn.00783220
movzx ecx, byte [0xbb621b]
sete al
not al
add al, 0x10
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7c04e9
mov eax, fcn.00783220
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.00783220
mov eax, dword [0xbb61e0]
sete cl
xor ecx, 0xedab04f7
add ecx, 0x210
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb61e0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb61e4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb61e4], eax
or esi, edx
not eax
mov edx, dword [0xbb61e8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb61e8], edx
or esi, eax
not edx
mov eax, dword [0xbb61ec]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb61ec], eax
or esi, edx
not eax
mov edx, dword [0xbb61f0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb61f0], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb61f4]
mov esi, edx
shl esi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb61f4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb61f8]
mov esi, eax
shl esi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb61f8], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb61fc]
mov esi, edx
shl esi, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbb61fc], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb6200]
mov esi, eax
shl esi, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbb6200], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb6204]
mov esi, edx
shl esi, 9
xor eax, edx
shr edx, 0x16
mov dword [0xbb6204], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb6208]
mov esi, eax
shl esi, 0xa
xor edx, eax
shr eax, 0x15
mov dword [0xbb6208], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb620c]
mov esi, edx
shl esi, 0xb
xor eax, edx
shr edx, 0x14
mov dword [0xbb620c], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb6210]
mov esi, eax
shl esi, 0xc
xor edx, eax
shr eax, 0x13
mov dword [0xbb6210], edx
or eax, esi
not edx
imul edx, eax
xor dword [0xbb6214], edx
mov dl, 1
shl dl, cl
or byte [0xbb621b], dl
mov eax, fcn.00783220
and eax, 1
inc eax
xor eax, fcn.00783220
mov al, 0xfe
sete cl
not cl
add cl, 0x10
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb621b], al
push 0xbb61e0
lea eax, [esp + 0x28]
push eax
call fcn.007cc8c0
add esp, 8
mov eax, dword [ebx + 4]
and dword [eax + 0x20], 0xffdfffff
test edi, edi
mov eax, dword [esp + 0x34]
jle 0x7c0591
test eax, eax
je 0x7c0591
mov ebx, edi
xor edi, edi
lea esi, [esp + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edi*4]
test edx, edx
je 0x7c0588
cmp edx, 2
jl 0x7c056e
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0x11]
test al, al
je 0x7c056e
mov ecx, esi
push 0
push 1
call fcn.007cca90
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + edi*4]
mov ecx, esi
push 0x7fffffff
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
call fcn.007cd000
add esp, 0xc
mov eax, dword [esp + 0x34]
inc edi
cmp edi, ebx
jge 0x7c0591
test eax, eax
jne 0x7c053f
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [esp + 4]
test eax, eax
mov ecx, dword [ebx + 4]
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x20], esi
je 0x7c09c2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7c09c2
mov edi, fcn.007abe10
mov eax, fcn.007abe10
mov esi, 1
and edi, 1
xor edi, eax
lea ecx, [esp + 0x24]
mov edx, esi
call fcn.007ced00
test eax, eax
jne 0x7c0765
mov ecx, ebx
mov edx, esi
call fcn.007abb20
cmp eax, esi
jne 0x7c05f8
cmp byte [ebx + 0x11], 0
jne 0x7c0765
cmp edi, 0xffffffff
movzx ecx, byte [0xbb623b]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7c0752
mov al, byte [0xbb623b]
cmp edi, 0xffffffff
mov dl, 1
sete cl
not cl
and cl, 3
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb623b], dl
jne 0x7c061a
cmp edi, 0xffffffff
movzx eax, al
sete cl
not cl
and cl, 3
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7c066f
cmp edi, 0xffffffff
movzx ecx, byte [0xbb623b]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jae 0x7c0651
jmp 0x7c0752
cmp edi, 0xffffffff
movzx ecx, byte [0xbb623b]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7c073a
xor ecx, ecx
cmp edi, 0xffffffff
mov eax, dword [0xbb6220]
sete cl
xor ecx, 0x3e03743b
add ecx, 0x308
xor eax, ecx
mov dword [0xbb6220], eax
not eax
mov edx, dword [0xbb6224]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb6224], edx
or ebx, eax
not edx
mov eax, dword [0xbb6228]
imul edx, ebx
lea ebx, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb6228], eax
or ebx, edx
not eax
mov edx, dword [0xbb622c]
imul eax, ebx
lea ebx, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb622c], edx
or ebx, eax
not edx
mov eax, dword [0xbb6230]
imul edx, ebx
mov ebx, edx
shl ebx, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbb6230], eax
or edx, ebx
not eax
mov ebx, dword [esp + 0xc]
imul eax, edx
mov dl, 1
xor dword [0xbb6234], eax
shl dl, cl
or byte [0xbb623b], dl
cmp edi, 0xffffffff
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb623b], al
push esi
push 0xbb6220
lea eax, [esp + 0x2c]
push eax
call fcn.007cc8c0
add esp, 0xc
lea ecx, [esp + 0x24]
mov edx, esi
call fcn.007ced00
test eax, eax
je 0x7c09af
mov ecx, ebx
mov edx, esi
call fcn.007abb20
cmp eax, esi
jne 0x7c09af
cmp byte [ebx + 0x11], 0
je 0x7c09af
mov ebx, fcn.007ad5b0
mov edx, fcn.007ad5b0
movzx ecx, byte [0xbb6267]
or ebx, 2
xor edx, 2
mov eax, ebx
add eax, edx
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7c0998
mov al, byte [0xbb6267]
mov ecx, ebx
mov ah, 1
add ecx, edx
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb6267], ah
jne 0x7c07c4
mov ecx, ebx
movzx eax, al
add ecx, edx
setne cl
or cl, 4
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7c0816
mov eax, ebx
movzx ecx, byte [0xbb6267]
add eax, edx
setne al
or al, 4
movzx eax, al
bt ecx, eax
jae 0x7c07f9
jmp 0x7c0998
mov eax, ebx
movzx ecx, byte [0xbb6267]
add eax, edx
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7c0983
mov eax, ebx
xor ecx, ecx
add eax, edx
mov eax, dword [0xbb6240]
sete cl
xor ecx, 0x2c118719
or ecx, 4
xor eax, ecx
mov dword [esp + 0x10], ecx
mov dword [0xbb6240], eax
not eax
imul eax, ecx
mov ecx, dword [0xbb6244]
xor ecx, eax
mov dword [esp + 8], ecx
mov dword [0xbb6244], ecx
lea ecx, [eax + eax]
shr eax, 0x1e
mov dword [esp + 4], ecx
mov ecx, dword [esp + 8]
or dword [esp + 4], eax
mov eax, dword [0xbb6248]
not ecx
imul ecx, dword [esp + 4]
xor eax, ecx
mov dword [esp + 4], eax
mov dword [0xbb6248], eax
lea eax, [ecx*4]
shr ecx, 0x1d
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
or dword [esp + 8], ecx
mov ecx, dword [0xbb624c]
not eax
imul eax, dword [esp + 8]
mov dword [esp + 4], eax
xor ecx, eax
mov eax, dword [esp + 4]
mov dword [0xbb624c], ecx
not ecx
lea eax, [eax*8]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
shr eax, 0x1c
or dword [esp + 8], eax
mov eax, dword [0xbb6250]
imul ecx, dword [esp + 8]
xor eax, ecx
mov dword [esp + 4], ecx
shl dword [esp + 4], 4
shr ecx, 0x1b
or ecx, dword [esp + 4]
mov dword [0xbb6250], eax
not eax
imul eax, ecx
mov ecx, dword [0xbb6254]
mov dword [esp + 4], eax
shl dword [esp + 4], 5
xor ecx, eax
shr eax, 0x1a
or eax, dword [esp + 4]
mov dword [0xbb6254], ecx
not ecx
imul ecx, eax
mov eax, dword [0xbb6258]
mov dword [esp + 4], ecx
shl dword [esp + 4], 6
xor eax, ecx
shr ecx, 0x19
or ecx, dword [esp + 4]
mov dword [0xbb6258], eax
not eax
imul eax, ecx
mov ecx, dword [0xbb625c]
mov dword [esp + 4], eax
shl dword [esp + 4], 7
xor ecx, eax
shr eax, 0x18
or eax, dword [esp + 4]
mov dword [0xbb625c], ecx
not ecx
imul ecx, eax
mov al, 1
xor dword [0xbb6260], ecx
mov ecx, dword [esp + 0x10]
and cl, 5
shl al, cl
or byte [0xbb6267], al
add ebx, edx
mov al, 0xfe
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb6267], al
push esi
push 0xbb6240
lea eax, [esp + 0x2c]
push eax
call fcn.007cc8c0
add esp, 0xc
mov ebx, dword [esp + 0xc]
inc esi
cmp esi, dword [esp + 0x30]
ja 0x7c09c2
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x7c05ce
mov ecx, dword [esp + 0x64]
mov esi, dword [ebp + 0x14]
call fcn.007a2600
push dword [esp + 0x2c]
call fcn.00780f60
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x7c09f9
lea edi, [esp + 0x4c]
push edi
call fcn.00783240
add esp, 4
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
jmp 0x7c0a01
mov eax, dword [esp + 0x38]
lea edi, [esp + 0x4c]
test eax, eax
mov dword [esi], eax
jne 0x7c0a10
push edi
call fcn.00783240
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.00788700
mov ecx, edi
call fcn.007831c0
mov ecx, dword [esp + 0xd0]
mov esi, eax
xor ecx, ebp
call fcn.00989fe9
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret