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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b2ce0
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x1cbc], 0
je 0x10040084
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 0x1003f578
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.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f59e
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_01
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f5c0
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_01
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f5e2
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_01
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f604
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_02
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f626
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_02
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f648
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_02
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f66a
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_02
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f68c
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_03
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f6ae
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_03
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f6d0
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_03
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f6f2
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_03
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f714
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_04
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f736
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_04
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f758
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_04
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f77a
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_04
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f798
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_JA_05
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f7b6
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_BJ_05
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
mov ecx, esi
cmp edi, 0x10
jb 0x1003f7d4
mov ecx, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_CT_05
mov edx, ebx
call fcn.10008560
add esp, 8
test al, al
jne 0x1003f80b
cmp edi, 0x10
jb 0x1003f7f0
mov esi, dword [esi]
push 0x1a
push str.STRUCTURE_FORT_STONE_HT_05
mov edx, ebx
mov ecx, esi
call fcn.10008560
add esp, 8
test al, al
je 0x10040081
mov ebx, dword [ebp - 0x1c]
mov esi, dword [0x100e83ec]
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 [0x100e83f8]
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 [0x100e83e4]
cmp edi, edx
jne 0x1003f86d
mov ecx, edx
jmp 0x1003f875
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + esi]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003f885
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx + 8]
je 0x1003f887
mov eax, dword [eax]
jmp 0x1003f865
mov eax, edx
cmp eax, edx
jne 0x1003f96a
lea ecx, [ebp - 0x5c]
call fcn.100548d0
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.100547e0
mov edi, eax
lea eax, [ebp - 0x5c]
cmp edi, eax
je 0x1003f944
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10019ed0
mov dword [ebp - 0x3c], eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x3c]
cmp ecx, edx
je 0x1003f8ed
push eax
push dword [eax]
call fcn.100564c0
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 0x1003f91c
push dword [ebp + 0xc]
push 0
push 0
call fcn.10018d10
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.10055370
lea ecx, [ebp - 0x34]
call fcn.10009db0
lea ecx, [ebp - 0x3c]
call fcn.10021590
push 0x40
push dword [ebp - 0x3c]
call fcn.1005cbc1
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10009db0
lea ecx, [ebp - 0x58]
call fcn.10021590
push 0x40
push dword [ebp - 0x58]
call fcn.1005cbc1
add esp, 8
jmp 0x1003f96d
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100547e0
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.100547e0
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 0x1003f9b7
mov ecx, dword [ebx]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x1003f9dc
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1003f9c5
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 0x1003fa10
mov eax, ecx
jmp 0x1003fa18
mov eax, dword [ebp - 0x14]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1003fa8f
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x1003fa26
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 0x1003fa3a
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.10008560
add esp, 8
test al, al
jne 0x1003fa5f
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
jmp 0x1003fa08
cmp dword [ebp - 0x2c], 0x10
lea eax, [esi + 8]
jb 0x1003fa6a
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x1003fa72
mov ebx, dword [ebx]
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.10008560
add esp, 8
test al, al
jne 0x1003fa91
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
jmp 0x1003fa91
mov esi, ecx
cmp esi, edi
jne 0x1003fb94
lea ecx, [ebp - 0x5c]
call fcn.100200b0
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.100547e0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10057640
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x5c]
add esi, 0x20
cmp esi, eax
je 0x1003fb83
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10020e80
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 0x1003fb18
push edi
push dword [edi]
call fcn.10020eb0
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 0x1003fb47
push dword [ebp + 0xc]
push 0
push 0
call fcn.10018d10
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.10020550
lea ecx, [ebp - 0x34]
call fcn.10009db0
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x1003fb78
mov esi, dword [eax]
push 0x10
push eax
call fcn.1005cbc1
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x1003fb65
push 0x10
push edi
call fcn.1005cbc1
add esp, 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d250
jmp 0x1003fb97
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.100547e0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10057640
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.100547e0
push edi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10057640
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 0x1003fc68
mov ecx, edx
jmp 0x1003fc76
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 0x1003fc8f
mov ebx, dword [edi + 0x34]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx + 0x20]
mov ebx, dword [ebp + 0x10]
je 0x1003fc91
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
jmp 0x1003fc60
mov eax, edx
cmp eax, esi
jne 0x1003fcd4
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.100547e0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10057640
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x20
push eax
add ecx, 0x20
call fcn.1001ffc0
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.100547e0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10057640
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x3c]
add eax, 0x20
push eax
add ecx, 0x20
call fcn.1001ffc0
mov ecx, dword [ebp + 8]
add dword [eax], ecx
mov ecx, 0x652
mov ax, word [0x100e80b0]
cmp ax, cx
je 0x1003fd53
mov ecx, 0x6e2
cmp ax, cx
je 0x1003fd53
mov ecx, 0x8c4
cmp ax, cx
je 0x1003fd53
mov ecx, 0x56e
cmp ax, cx
je 0x1003fd53
cmp ax, 0xf
je 0x1003fd53
cmp byte [0x100e8085], 0
je 0x10040081
mov esi, dword [ebx + 0x34]
mov eax, dword [esi + 0x18]
add eax, 8
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10053cd0
mov eax, dword [eax]
cmp eax, dword [0x100e84c4]
jne 0x1003fe4d
lea ecx, [ebp - 0x5c]
call fcn.100546a0
mov dword [ebp - 4], 6
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x18]
add eax, 8
push eax
call fcn.100545b0
mov esi, eax
lea eax, [ebp - 0x5c]
cmp esi, eax
je 0x1003fe26
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10019ed0
mov dword [ebp - 0x3c], eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x3c]
cmp ecx, edx
je 0x1003fdcf
push eax
push dword [eax]
call fcn.100563a0
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 0x1003fdfe
push dword [ebp + 0xc]
push 0
push 0
call fcn.10018d10
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.10055170
lea ecx, [ebp - 0x34]
call fcn.10009db0
lea ecx, [ebp - 0x3c]
call fcn.100215d0
push 0x40
push dword [ebp - 0x3c]
call fcn.1005cbc1
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10009db0
lea ecx, [ebp - 0x58]
call fcn.100215d0
push 0x40
push dword [ebp - 0x58]
call fcn.1005cbc1
mov esi, dword [ebx + 0x34]
add esp, 8
mov eax, dword [esi + 0x18]
add eax, 8
push eax
call fcn.100545b0
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.100545b0
mov ecx, eax
call fcn.10053be0
cmp dword [eax], esi
jne 0x1003ff7d
lea ecx, [ebp - 0x5c]
call fcn.10054750
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.100545b0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.100573a0
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x5c]
add esi, 0x20
cmp esi, eax
je 0x1003ff59
push 0
push 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10031930
mov dword [ebp - 0x3c], eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x3c]
cmp ecx, edx
je 0x1003ff02
push eax
push dword [eax]
call fcn.10056290
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 0x1003ff31
push dword [ebp + 0xc]
push 0
push 0
call fcn.10018d10
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.10055070
lea ecx, [ebp - 0x34]
call fcn.10009db0
lea ecx, [ebp - 0x3c]
call fcn.10021510
push 0x24
push dword [ebp - 0x3c]
call fcn.1005cbc1
add esp, 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10009db0
lea ecx, [ebp - 0x58]
call fcn.10021510
push 0x24
push dword [ebp - 0x58]
call fcn.1005cbc1
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.100545b0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.100573a0
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.100545b0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.100573a0
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.10053be0
cmp dword [eax], edi
mov edi, dword [ebp + 0xc]
jne 0x1004003b
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.100545b0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.100573a0
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.100574f0
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.100545b0
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.100573a0
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.100574f0
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