Function at 0x13259a64
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, edx
mov ebp, eax
xor ebx, ebx
test edi, edi
je 0x1325a768
mov eax, dword [ebp]
cmp eax, 0x210
jg 0x13259ad2
je 0x13259d03
cmp eax, 8
jg 0x13259ab4
je 0x13259ed0
sub eax, 3
je 0x1325a6ff
sub eax, 2
je 0x1325a525
sub eax, 2
je 0x13259d44
jmp 0x1325a768
sub eax, 0x1d
je 0x1325a06f
sub eax, 0x5e
je 0x13259b78
sub eax, 0xad
je 0x13259b26
jmp 0x1325a768
cmp eax, 0xb013
jg 0x13259afd
je 0x1325a0af
sub eax, 0xa100
je 0x13259b16
sub eax, 0xf0b
je 0x13259bc2
dec eax
je 0x1325a06f
jmp 0x1325a768
sub eax, 0xb014
je 0x1325a34b
sub eax, 5
je 0x13259ce2
jmp 0x1325a768
mov eax, ebp
mov edx, edi
call fcn.13258fd8
mov ebx, eax
jmp 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x13259b3a
mov bl, 1
jmp 0x1325a768
call fcn.1316f074
test al, al
je 0x1325a768
mov eax, dword [edi + 0x44]
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x1325a768
push 0
push 0
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
mov eax, dword [0x1329b4a4]
mov eax, dword [eax]
call eax
jmp 0x1325a768
mov eax, dword [edi + 0x44]
test eax, eax
je 0x1325a768
cmp dword [eax + 0x7c], 0
je 0x1325a768
mov eax, edi
call fcn.13258458
test eax, eax
je 0x1325a768
mov eax, edi
call fcn.13258458
mov al, byte [eax + 0x3c]
push eax
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x44]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.1323fc3c
jmp 0x1325a768
mov eax, edi
call fcn.13258458
test eax, eax
je 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0xc4]
cmp byte [eax + 0xd], 1
jne 0x1325a768
cmp dword [edi + 0x44], 0
je 0x1325a768
mov eax, dword [edi + 0x44]
test byte [eax + 0x1c], 8
jne 0x1325a768
cmp dword [edi + 0x4c], 0
je 0x1325a768
cmp dword [ebp + 4], 0
jne 0x13259cd2
xor edx, edx
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov esi, dword [edi + 0x44]
mov eax, esi
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x13259cd6
mov eax, esi
mov edx, dword [0x13183d80]
call fcn.13144400
mov ebp, eax
mov eax, ebp
call fcn.1318b49c
dec eax
test eax, eax
jl 0x13259cd6
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov edx, esi
mov eax, ebp
call fcn.1318b460
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x13259ca7
mov edx, esi
mov eax, ebp
call fcn.1318b460
call fcn.1318ea70
test al, al
je 0x13259ca7
mov edx, esi
mov eax, ebp
call fcn.1318b460
call fcn.1318e76c
xor ecx, ecx
mov edx, 0x21
call fcn.1323a94c
jmp 0x13259cc9
push 0
mov dx, 0x21
xor eax, eax
call fcn.13148288
push eax
mov edx, esi
mov eax, ebp
call fcn.1318b460
mov edx, 0xa100
pop ecx
call fcn.13189024
inc esi
dec dword [esp + 4]
jne 0x13259c61
jmp 0x13259cd6
mov byte [edi + 0x28], 0
mov byte [edi + 0x80], 1
jmp 0x1325a768
mov eax, dword [edi + 0x44]
test eax, eax
je 0x1325a768
cmp byte [eax + 0x57], 0
je 0x1325a768
mov eax, edi
call fcn.13258600
jmp 0x1325a768
mov esi, dword [edi + 0x44]
mov eax, esi
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x1325a768
mov eax, dword [ebp + 4]
and eax, 0xffff
dec eax
sub eax, 2
jae 0x1325a768
cmp word [ebp + 4], 1
jne 0x1325a768
mov eax, esi
call fcn.13235c2c
jmp 0x1325a768
mov eax, dword [edi + 0x44]
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a768
mov eax, dword [edi + 0x44]
mov si, 0xffb8
call fcn.1314444c
test al, al
je 0x1325a768
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x1a4], 0
je 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x13259dc3
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x1325a768
mov byte [edi + 0x80], 1
mov byte [edi + 0x54], 1
mov eax, dword [0x1329b158]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x13259de1
bt dword [eax], edx
jae 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 8], 1
jle 0x1325a768
mov byte [edi + 0x80], 1
mov byte [esp], 0
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x44]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x13259e52
cmp byte [edi + 0xd], 0
jne 0x13259e52
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x44]
mov eax, dword [edi + 0x44]
call fcn.13187ff8
mov byte [esp], 1
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x48]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x13259e9c
cmp byte [edi + 0xc], 0
jne 0x13259e9c
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x48]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.13164948
mov byte [esp], 1
cmp byte [esp], 0
je 0x13259eb4
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_SendMessageA
jmp 0x1325a768
cmp dword [edi + 0x44], 0
je 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a768
mov eax, dword [edi + 0x44]
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x1325a768
mov eax, dword [edi + 0x44]
mov si, 0xffb8
call fcn.1314444c
test al, al
je 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x13259f49
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x1325a768
mov byte [edi + 0x80], 1
mov byte [edi + 0x54], 0
mov byte [esp], 0
mov eax, dword [0x1329b158]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x13259f6b
bt dword [eax], edx
jae 0x1325a00e
mov eax, edi
call fcn.13258008
test al, al
jne 0x1325a00e
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x13259fc4
cmp byte [edi + 0xd], 0
jne 0x13259fc4
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0xc]
mov eax, dword [edi + 0x44]
call fcn.13187ff8
mov byte [esp], 1
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x10]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x1325a00e
cmp byte [edi + 0xc], 0
jne 0x1325a00e
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x10]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.13164948
mov byte [esp], 1
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x57], 0
je 0x1325a768
mov eax, dword [0x1329b158]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a02e
bt dword [eax], edx
jae 0x1325a768
mov byte [edi + 0x80], 1
cmp byte [esp], 0
je 0x1325a053
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_SendMessageA
jmp 0x1325a768
mov byte [edi + 0x55], 0
mov byte [edi + 0x54], 0
mov esi, dword [edi + 0x44]
test esi, esi
je 0x1325a768
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x1325a768
cmp dword [edi + 0x24], 0xffffffff
je 0x1325a768
lea eax, [edi + 0x24]
call fcn.131feaf0
mov dword [edi + 0x24], 0xffffffff
jmp 0x1325a768
mov eax, dword [edi + 0x44]
test byte [eax + 0x1c], 0x10
jne 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0xc4]
mov edx, 1
call fcn.13255804
test al, al
jne 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x1325a120
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x1325a768
mov esi, dword [edi + 0x44]
test esi, esi
je 0x1325a329
mov eax, esi
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x1325a329
mov eax, dword [0x1329b114]
cmp dword [eax], 0
je 0x1325a329
mov eax, esi
call fcn.1318b49c
dec eax
test eax, eax
jl 0x1325a1cd
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
mov edx, dword [0x13222590]
call fcn.131443dc
test al, al
je 0x1325a1c6
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
cmp eax, dword [edi + 0x44]
je 0x1325a1c6
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
cmp eax, dword [ebp + 8]
je 0x1325a1c6
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
mov eax, dword [eax + 0x198]
cmp byte [eax + 0x55], 0
je 0x1325a1c6
push 0
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
xor ecx, ecx
mov edx, 0xb014
call fcn.13189024
inc esi
dec dword [esp + 4]
jne 0x1325a161
mov eax, dword [0x1329af44]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a1e0
bt dword [eax], edx
jb 0x1325a1e6
mov byte [edi + 0x55], 1
mov eax, dword [edi + 0x44]
call fcn.1318e76c
mov edx, eax
mov eax, dword [0x1329b114]
mov eax, dword [eax]
call fcn.1325406c
mov edx, dword [0x1329afb8]
mov eax, dword [edi + 0x50]
mov ecx, eax
cmp ecx, 0xff
ja 0x1325a212
bt dword [edx], ecx
jb 0x1325a227
add eax, 0xffffffa4
sub eax, 3
jb 0x1325a227
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.13257208
mov eax, dword [0x1329b158]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a23a
bt dword [eax], edx
jae 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 8], 1
jle 0x1325a768
mov byte [edi + 0x80], 1
mov byte [esp], 0
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x44]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x1325a2ab
cmp byte [edi + 0xd], 0
jne 0x1325a2ab
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x44]
mov eax, dword [edi + 0x44]
call fcn.13187ff8
mov byte [esp], 1
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x48]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x1325a2f5
cmp byte [edi + 0xc], 0
jne 0x1325a2f5
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x48]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.13164948
mov byte [esp], 1
cmp byte [esp], 0
je 0x1325a30d
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_SendMessageA
jmp 0x1325a768
mov eax, dword [0x1329af44]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a33c
bt dword [eax], edx
jb 0x1325a768
mov byte [edi + 0x55], 1
jmp 0x1325a768
mov eax, dword [edi + 0x44]
test byte [eax + 0x1c], 0x10
jne 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a768
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0xc4]
mov edx, 1
call fcn.13255804
test al, al
jne 0x1325a768
mov eax, dword [0x1329af44]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a39b
bt dword [eax], edx
jb 0x1325a3a1
mov byte [edi + 0x55], 0
mov edx, dword [0x1329afb8]
mov eax, dword [edi + 0x50]
mov ecx, eax
cmp ecx, 0xff
ja 0x1325a3b7
bt dword [edx], ecx
jb 0x1325a3d6
add eax, 0xffffffa4
sub eax, 3
jb 0x1325a3d6
cmp dword [edi + 0x24], 0xffffffff
je 0x1325a3d6
lea eax, [edi + 0x24]
call fcn.131feaf0
mov dword [edi + 0x24], 0xffffffff
mov byte [esp], 0
mov eax, dword [0x1329b158]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a3ed
bt dword [eax], edx
jae 0x1325a4c4
mov eax, edi
call fcn.13258008
test al, al
jne 0x1325a4c4
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x1325a436
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x1325a4c4
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x1325a47a
cmp byte [edi + 0xd], 0
jne 0x1325a47a
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0xc]
mov eax, dword [edi + 0x44]
call fcn.13187ff8
mov byte [esp], 1
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x10]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x1325a4c4
cmp byte [edi + 0xc], 0
jne 0x1325a4c4
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x10]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.13164948
mov byte [esp], 1
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x57], 0
je 0x1325a768
mov eax, dword [0x1329b158]
mov edx, dword [edi + 0x50]
cmp edx, 0xff
ja 0x1325a4e4
bt dword [eax], edx
jae 0x1325a768
mov byte [edi + 0x80], 1
cmp byte [esp], 0
je 0x1325a509
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.1318e76c
push eax
call sub.user32.dll_SendMessageA
jmp 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a768
mov byte [edi + 0x80], 1
mov eax, dword [edi + 0x14]
mov al, byte [eax + 8]
sub al, 1
jne 0x1325a54e
mov eax, edi
call fcn.13257850
mov esi, dword [edi + 0x44]
mov eax, esi
mov edx, dword [0x132910c8]
call fcn.131443dc
test al, al
je 0x1325a637
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a6e8
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
call fcn.13146350
cmp eax, dword [edi + 0x34]
jle 0x1325a6e8
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x24], 0
jle 0x1325a6e8
mov eax, dword [edi + 0x44]
call fcn.132263f8
test eax, eax
je 0x1325a6e8
mov eax, dword [edi + 0x44]
call fcn.132263f8
call fcn.1318b49c
dec eax
test eax, eax
jl 0x1325a6e8
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov eax, dword [edi + 0x44]
call fcn.132263f8
call fcn.1318b49c
cmp esi, eax
jge 0x1325a62b
mov eax, dword [edi + 0x44]
call fcn.132263f8
mov edx, esi
call fcn.1318b460
test byte [eax + 0x1c], 8
jne 0x1325a62b
push 0
mov dx, 0x14
mov ax, 1
call fcn.13148288
push eax
mov eax, dword [edi + 0x44]
call fcn.132263f8
mov edx, esi
call fcn.1318b460
mov edx, 0xa100
pop ecx
call fcn.13189024
inc esi
dec dword [esp + 4]
jne 0x1325a5db
jmp 0x1325a6e8
mov eax, esi
mov edx, dword [0x13183d80]
call fcn.131443dc
test al, al
je 0x1325a6e8
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a6e8
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
call fcn.13146350
cmp eax, dword [edi + 0x34]
jle 0x1325a6e8
mov eax, edi
call fcn.13258458
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x24], 0
jle 0x1325a6e8
mov eax, dword [edi + 0x44]
call fcn.1318b49c
dec eax
test eax, eax
jl 0x1325a6e8
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov eax, dword [edi + 0x44]
call fcn.1318b49c
cmp esi, eax
jge 0x1325a6e1
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
test byte [eax + 0x1c], 8
jne 0x1325a6e1
push 0
mov dx, 0x14
mov ax, 1
call fcn.13148288
push eax
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.1318b460
mov edx, 0xa100
pop ecx
call fcn.13189024
inc esi
dec dword [esp + 4]
jne 0x1325a6a0
cmp dword [edi + 0x24], 0xffffffff
je 0x1325a768
lea eax, [edi + 0x24]
call fcn.131feaf0
mov dword [edi + 0x24], 0xffffffff
jmp 0x1325a768
xor edx, edx
mov eax, edi
call fcn.13258f34
test al, al
je 0x1325a768
mov eax, dword [edi + 0x14]
mov al, byte [eax + 8]
sub al, 1
jne 0x1325a71d
mov eax, edi
call fcn.13257850
mov eax, edi
call fcn.13258b48
test al, al
je 0x1325a753
mov byte [edi + 0x80], 1
mov esi, dword [edi + 0x44]
test esi, esi
je 0x1325a753
push 0
mov dx, 0x14
mov ax, 1
call fcn.13148288
mov ecx, eax
mov edx, 0xa100
mov eax, esi
call fcn.13189024
cmp dword [edi + 0x24], 0xffffffff
je 0x1325a768
lea eax, [edi + 0x24]
call fcn.131feaf0
mov dword [edi + 0x24], 0xffffffff
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret