Function at 0x1004ef30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100c3560
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x1cbc], 0
je 0x1004fa84
mov eax, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x1c], esi
add esi, 0x14
mov ecx, esi
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x1004ef78
mov ecx, dword [esi]
push ebx
mov ebx, dword [esi + 0x10]
mov edx, ebx
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_01
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004ef9e
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_01
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004efc0
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_01
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004efe2
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_01
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f004
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_02
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f026
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_02
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f048
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_02
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f06a
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_02
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f08c
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_03
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f0ae
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_03
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f0d0
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_03
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f0f2
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_03
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f114
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_04
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f136
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_04
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f158
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_04
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f17a
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_04
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f198
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_05
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f1b6
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_05
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
mov ecx, esi
cmp edi, 0x10
jb 0x1004f1d4
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_05
mov edx, ebx
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f20b
cmp edi, 0x10
jb 0x1004f1f0
mov esi, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_05
mov edx, ebx
mov ecx, esi
call fcn.1000ba70
add esp, 8
test al, al
je 0x1004fa81
mov ebx, dword [ebp - 0x1c]
mov esi, dword [0x100fe58c]
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
xor ecx, eax
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, dword [0x100fe598]
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov edi, dword [esi + ecx*4]
lea edx, [ecx*4 + 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [0x100fe584]
cmp edi, edx
jne 0x1004f26d
mov ecx, edx
jmp 0x1004f275
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + esi]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1004f285
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx + 8]
je 0x1004f287
mov eax, dword [eax]
jmp 0x1004f265
mov eax, edx
cmp eax, edx
jne 0x1004f36a
lea ecx, [ebp - 0x5c]
call fcn.10028750
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
mov edi, eax
lea eax, [ebp - 0x5c]
cmp edi, eax
je 0x1004f344
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1001e830
mov dword [ebp - 0x3c], eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x3c]
cmp ecx, edx
je 0x1004f2ed
push eax
push dword [eax]
call fcn.10066d90
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x1004f31c
push dword [ebp + 0xc]
push 0
push 0
call fcn.1001d670
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.10065c90
lea ecx, [ebp - 0x34]
call fcn.1000e0c0
lea ecx, [ebp - 0x3c]
call fcn.10029620
push 0x40
push dword [ebp - 0x3c]
call fcn.1006cd71
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.1000e0c0
lea ecx, [ebp - 0x58]
call fcn.10029620
push 0x40
push dword [ebp - 0x58]
call fcn.1006cd71
add esp, 8
jmp 0x1004f36d
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 0x1cbc]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x34]
add ebx, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
cmp dword [ebx + 0x14], 0x10
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
jb 0x1004f3b7
mov ecx, dword [ebx]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x1004f3dc
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004f3c5
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
and eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x24], edx
mov esi, dword [edx + eax*8]
add eax, eax
lea ecx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x20], ecx
cmp eax, ecx
jne 0x1004f410
mov eax, ecx
jmp 0x1004f418
mov eax, dword [ebp - 0x14]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1004f48f
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x1004f426
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x2c], edi
cmp edi, 0x10
mov edi, dword [ebp - 0x18]
jb 0x1004f43a
mov ecx, dword [esi + 8]
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x38], eax
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f45f
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
jmp 0x1004f408
cmp dword [ebp - 0x2c], 0x10
lea eax, [esi + 8]
jb 0x1004f46a
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x1004f472
mov ebx, dword [ebx]
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.1000ba70
add esp, 8
test al, al
jne 0x1004f491
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
jmp 0x1004f491
mov esi, ecx
cmp esi, edi
jne 0x1004f594
lea ecx, [ebp - 0x5c]
call fcn.10028540
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [eax + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067ee0
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x5c]
add esi, 0x20
cmp esi, eax
je 0x1004f583
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1000ea50
mov edi, eax
mov dword [ebp - 0x3c], edi
lea ecx, [esi + 4]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x3c]
cmp ecx, eax
je 0x1004f518
push edi
push dword [edi]
call fcn.1002a440
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x1004f547
push dword [ebp + 0xc]
push 0
push 0
call fcn.1001d670
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.10029310
lea ecx, [ebp - 0x34]
call fcn.1000e0c0
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x1004f578
mov esi, dword [eax]
push 0x10
push eax
call fcn.1006cd71
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x1004f565
push 0x10
push edi
call fcn.1006cd71
add esp, 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.10021bc0
jmp 0x1004f597
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067ee0
mov eax, dword [edi + 0x1cbc]
mov esi, dword [ebp - 0x3c]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add edi, 0x20
mov esi, dword [esi + 0x24]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
push edi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067ee0
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x34]
movzx eax, byte [eax + 0x20]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [edi + 0x34]
movzx eax, byte [eax + 0x21]
xor ecx, eax
mov eax, dword [edi + 0x34]
imul ecx, ecx, 0x1000193
movzx eax, byte [eax + 0x22]
xor ecx, eax
mov eax, dword [edi + 0x34]
imul ecx, ecx, 0x1000193
movzx eax, byte [eax + 0x23]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x38]
and ecx, eax
mov eax, dword [edx + 0x2c]
mov edx, dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + ecx*8]
add ecx, ecx
lea ebx, [ecx*4 + 4]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
nop dword [eax]
cmp ecx, edx
jne 0x1004f668
mov ecx, edx
jmp 0x1004f676
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [edi + ecx]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1004f68f
mov ebx, dword [edi + 0x34]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx + 0x20]
mov ebx, dword [ebp + 0x10]
je 0x1004f691
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
jmp 0x1004f660
mov eax, edx
cmp eax, esi
jne 0x1004f6d4
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067ee0
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x20
push eax
add ecx, 0x20
call fcn.1000e5e0
mov dword [eax], 0
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100651f0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067ee0
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x20
push eax
add ecx, 0x20
call fcn.1000e5e0
mov ecx, dword [ebp + 8]
add dword [eax], ecx
mov ecx, 0x652
mov ax, word [0x100fe0c0]
cmp ax, cx
je 0x1004f753
mov ecx, 0x6e2
cmp ax, cx
je 0x1004f753
mov ecx, 0x8c4
cmp ax, cx
je 0x1004f753
mov ecx, 0x56e
cmp ax, cx
je 0x1004f753
cmp ax, 0xf
je 0x1004f753
cmp byte [0x100fe0a0], 0
je 0x1004fa81
mov esi, dword [ebx + 0x34]
mov eax, dword [esi + 0x18]
add eax, 8
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10064800
mov eax, dword [eax]
cmp eax, dword [0x100fe6e4]
jne 0x1004f84d
lea ecx, [ebp - 0x5c]
call fcn.10065160
mov dword [ebp - 4], 6
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
mov esi, eax
lea eax, [ebp - 0x5c]
cmp esi, eax
je 0x1004f826
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1001e830
mov dword [ebp - 0x3c], eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x3c]
cmp ecx, edx
je 0x1004f7cf
push eax
push dword [eax]
call fcn.10066c70
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x1004f7fe
push dword [ebp + 0xc]
push 0
push 0
call fcn.1001d670
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.10065a90
lea ecx, [ebp - 0x34]
call fcn.1000e0c0
lea ecx, [ebp - 0x3c]
call fcn.1002ab80
push 0x40
push dword [ebp - 0x3c]
call fcn.1006cd71
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.1000e0c0
lea ecx, [ebp - 0x58]
call fcn.1002ab80
push 0x40
push dword [ebp - 0x58]
call fcn.1006cd71
mov esi, dword [ebx + 0x34]
add esp, 8
mov eax, dword [esi + 0x18]
add eax, 8
push eax
call fcn.10065070
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x1cbc]
mov eax, dword [eax + 4]
add eax, 0x20
push eax
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
mov ecx, eax
call fcn.10009830
cmp dword [eax], esi
jne 0x1004f97d
lea ecx, [ebp - 0x5c]
call fcn.100289e0
mov dword [ebp - 4], 9
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067d90
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x5c]
add esi, 0x20
cmp esi, eax
je 0x1004f959
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1002b7a0
mov dword [ebp - 0x3c], eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x3c]
cmp ecx, edx
je 0x1004f902
push eax
push dword [eax]
call fcn.10066b60
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x1004f931
push dword [ebp + 0xc]
push 0
push 0
call fcn.1001d670
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.10065990
lea ecx, [ebp - 0x34]
call fcn.1000e0c0
lea ecx, [ebp - 0x3c]
call fcn.10029760
push 0x24
push dword [ebp - 0x3c]
call fcn.1006cd71
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.1000e0c0
lea ecx, [ebp - 0x58]
call fcn.10029760
push 0x24
push dword [ebp - 0x58]
call fcn.1006cd71
add esp, 8
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067d90
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067d90
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x30
push eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [ecx + 0x20]
call fcn.10009830
cmp dword [eax], edi
mov edi, dword [ebp + 0xc]
jne 0x1004fa3b
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067d90
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x30
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ecx + 0x20]
call fcn.10068530
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x20], 0
mov eax, dword [edi + 0x1cbc]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x34]
add esi, 0x20
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.10065070
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10067d90
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x30
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ecx + 0x20]
call fcn.10068530
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
add dword [eax + 0x20], ecx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc