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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x2b3c]
push edi
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x64], 0xffffff
mov dword [esp + 0x54], 0x10101
mov dword [esp + 0x50], edi
mov dword [esp + 0xb0], edi
jge 0x533088
mov edx, dword [ebp + 0x10]
cmp edx, ecx
jge 0x533088
cmp edx, edi
jl 0x533088
cmp eax, edi
mov ebx, dword [ebp + 0x1c]
jle 0x5324f7
mov ecx, dword [esi + 0x2b38]
imul eax, eax, 0x58
add eax, ecx
cmp dword [ebp + 0x24], edi
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x18]
je 0x53248e
cmp ebx, edi
je 0x53248e
and ecx, 0xfffeff0f
and ecx, 0xffffcfff
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x2c]
and eax, 0xfff0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x588c]
imul ebx, ebx, 0x84
imul edx, edx, 0x58
mov edi, dword [ebx + ecx + 4]
lea eax, [ebx + ecx]
mov ebx, dword [eax + 0x54]
mov eax, dword [esi + 0x2b38]
add eax, edx
cmp dword [ebp + 0x20], 0
mov edx, dword [eax + 0xc]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x90], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
je 0x532555
cmp dword [ebp + 0x18], 0
je 0x532555
and dword [esp + 0x30], 0xfffeff0f
mov edi, dword [ebp + 0x18]
mov edx, dword [eax + 0x1c]
imul edi, edi, 0x84
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0xb8], edx
mov edx, dword [edi + ecx + 4]
mov dword [esp + 0xac], edx
mov edx, dword [eax + 0x28]
mov ecx, dword [edi + ecx + 0x54]
and dword [esp + 0x30], 0xffffcfff
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x2c]
and eax, 0xfff0
cmp ecx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0xb4], ecx
je 0x5325fe
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00573730
add esp, 8
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x53263a
cmp eax, dword [ebp + 0x20]
je 0x5326df
mov ecx, dword [esi + 0x72c]
imul eax, eax, 0x98
test byte [ecx + eax + 0x28], 0x80
je 0x53263a
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.0052d6a0
add esp, 0xc
test eax, eax
je 0x532c7d
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp + 0x24]
je 0x5326df
test eax, eax
jle 0x5326df
mov ecx, dword [esi + 0x72c]
imul eax, eax, 0x98
test dword [ecx + eax + 0x28], 0x380
je 0x53267d
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x30]
push eax
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0052f690
add esp, 0x14
jmp 0x53268e
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push esi
call fcn.0052cb80
add esp, 0xc
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xffffff
mov dword [esp + 0x54], 0x10101
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], 1
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0xac], ecx
je 0x532775
cmp ebx, dword [esi + 0x5b40]
jle 0x53273e
mov eax, dword [esi + 0x588c]
mov edx, dword [edi + eax + 0x58]
imul edx, edx, 0x84
cmp ecx, dword [edx + eax + 4]
je 0x53273e
cmp dword [ebp + 0x28], 0
jle 0x53273e
mov eax, dword [ebp + 0x28]
push 0x20
add eax, 0xffffffff
push eax
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x53273e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push 0
push edx
push esi
call fcn.00531a80
add esp, 0x14
mov eax, dword [esp + 0xb4]
cmp eax, dword [esi + 0x5b40]
jne 0x532775
cmp dword [esp + 0xac], 0
jle 0x532775
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
push 0
push ecx
push edx
push esi
call fcn.00531a80
add esp, 0x14
mov dword [esi + 0x5b44], 1
cmp dword [esp + 0x98], 0
jne 0x53282d
cmp dword [esp + 0x90], 0
jne 0x53282d
cmp dword [esp + 0x88], 0
jne 0x53282d
cmp dword [esp + 0x30], 0
jne 0x53282d
cmp dword [esp + 0x7c], 0
jne 0x53282d
cmp dword [ebp + 0x18], 0
jne 0x53282d
cmp dword [esp + 0x8c], 0
jne 0x53282d
cmp dword [ebp + 0x20], 0
jne 0x53282d
cmp dword [ebp + 0x24], 0
jne 0x53282d
cmp dword [esp + 0xa0], 0
jne 0x53282d
cmp dword [esp + 0xa8], 0
jne 0x53282d
cmp dword [esp + 0x38], 0
jne 0x53282d
cmp dword [esp + 0x9c], 0
jne 0x53282d
cmp dword [esp + 0x74], 0
jne 0x53282d
cmp dword [esp + 0x44], 0
jne 0x53282d
cmp dword [esp + 0x80], 0
jne 0x53282d
fldz
mov eax, dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
push 0
push str.pard
push eax
push esi
call fcn.00573960
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x28]
test eax, eax
jle 0x532859
cmp eax, dword [esi + 0x5e4]
jge 0x532859
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + eax*4 - 4]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x532859
test byte [eax], 2
je 0x532859
mov eax, 1
jmp 0x53285b
xor eax, eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x1c]
jne 0x5328c5
mov edx, dword [esp + 0x7c]
cmp edx, dword [esp + 0x70]
jne 0x5328c5
mov ecx, dword [esp + 0xa4]
cmp dword [esp + 0xb8], ecx
jne 0x5328c5
mov edx, dword [ebp + 0x24]
cmp dword [ebp + 0x20], edx
jne 0x5328c5
mov ecx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x60]
jne 0x5328c5
cmp dword [esp + 0x34], 0
je 0x53289d
cmp dword [esp + 0x44], 0
je 0x5328c5
mov edx, dword [esp + 0x30]
xor edx, dword [esp + 0x2c]
test edx, 0xc3f8
jne 0x5328c5
mov ecx, dword [esp + 0x80]
xor ecx, dword [esp + 0x40]
test cl, 0x70
jne 0x5328c5
test eax, eax
je 0x5329c1
fldz
mov edx, dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
xor ebx, ebx
push ebx
push str.pard
push edx
push esi
call fcn.00573960
mov eax, dword [ebp + 0x20]
mov edx, dword [esi + 0x72c]
mov ecx, eax
imul ecx, ecx, 0x98
add esp, 0x18
test dword [edx + ecx + 0x28], 0x380
jne 0x53290b
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0052cb80
add esp, 0xc
cmp dword [ebp + 0x18], ebx
jle 0x532972
mov ecx, dword [esi + 0x588c]
mov edx, dword [ecx + edi + 0x54]
cmp edx, dword [esi + 0x5b40]
jl 0x532972
fldz
mov edi, dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
push ebx
push str.intbl
push edi
push esi
call fcn.00573960
mov ecx, dword [esi + 0x5b40]
mov eax, dword [esp + 0xcc]
add esp, 0x18
cmp eax, ecx
jle 0x532972
sub eax, ecx
add eax, 1
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
push 1
push str.itap
push edi
push esi
call fcn.00573960
add esp, 0x18
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], 0xffffff
mov dword [esp + 0x54], 0x10101
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], eax
jne 0x5329d2
cmp dword [esp + 0x50], 0
je 0x532a07
test byte [esi + 0xa160], 1
je 0x5329e1
cmp dword [ebp + 0x18], 0
jg 0x532a07
fild dword [esp + 0x74]
mov ecx, dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
push 1
push 0x5e90ec
push ecx
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x70]
jne 0x532a18
cmp dword [esp + 0x50], 0
je 0x532a62
mov edi, dword [ebp + 0xc]
push eax
push edi
push esi
call fcn.00573c30
add esp, 0xc
test eax, eax
je 0x532c7d
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x64], 0xffffff
mov dword [esp + 0x54], 0x10101
jmp 0x532a69
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x78]
mov al, 8
test byte [esp + 0x30], al
je 0x532a9c
cmp dword [esp + 0x50], 0
jne 0x532a7e
test byte [esp + 0x2c], al
jne 0x532a9c
mov edx, dword [ebp + 0x28]
mov eax, dword [esp + 0xb8]
push edx
push eax
push edi
push esi
call fcn.0052ce30
add esp, 0x10
test eax, eax
je 0x532c7d
mov ecx, dword [esp + 0x30]
and ecx, 0x103f0
jne 0x532ab3
mov dword [esp + 0x94], 0x10101
mov eax, dword [esp + 0x2c]
and eax, 0x103f0
jne 0x532ac6
mov dword [esp + 0x54], 0x10101
xor edx, edx
cmp dword [esp + 0x50], edx
jne 0x532adf
cmp ecx, eax
jne 0x532adf
mov ecx, dword [esp + 0x94]
cmp ecx, dword [esp + 0x54]
je 0x532b26
test dword [esi + 0xa16c], 0x20000000
jne 0x532b10
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push edi
push esi
call fcn.00574c60
add esp, 0x14
test eax, eax
je 0x532c7d
xor edx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], edx
xor ebx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x88], ebx
je 0x532b55
fild dword [esp + 0x88]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabcc
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x98], edx
je 0x532b88
fild dword [esp + 0x98]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabc8
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x90], eax
je 0x532bbb
fild dword [esp + 0x90]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabc4
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0xa0], ecx
je 0x532bee
fild dword [esp + 0xa0]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabc0
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov edx, dword [esp + 0x68]
cmp dword [esp + 0xa8], edx
je 0x532c1d
fild dword [esp + 0xa8]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabbc
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0x4c]
je 0x532c86
push 0x64
push 0xf0
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, 0xf0
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabb8
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
fld1
sub esp, 8
fstp qword [esp]
push 1
push str.slmult
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x532caf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x58]
je 0x532caf
fild dword [esp + 0x38]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabb8
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532cdb
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x34]
je 0x532d0a
cmp eax, 2
jne 0x532ce4
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.rtlpar
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x532d0a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x532d0a
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.ltrpar
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov ebx, dword [esp + 0x30]
test bl, 2
je 0x532d50
test byte [esp + 0x2c], 2
je 0x532d28
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x34], ecx
je 0x532e1f
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5eab9c
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x532e1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, 1
je 0x532d92
test byte [esp + 0x2c], 1
je 0x532d6a
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x34], edx
je 0x532e1f
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5eab98
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x532e1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x800
je 0x532dd2
test dword [esp + 0x2c], 0x800
je 0x532dae
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x34], eax
je 0x532e1f
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5eab94
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x532e1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x400
jne 0x532de2
test ebx, 0x803
jne 0x532e1f
mov eax, dword [esp + 0x2c]
test eax, 0x400
je 0x532dfe
test eax, 0x803
jne 0x532dfe
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x34], ecx
je 0x532e1f
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5eab90
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov edx, dword [esp + 0x2c]
mov eax, ebx
and eax, 4
and edx, 4
cmp eax, edx
je 0x532e93
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x38], ecx
jne 0x532e93
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x9c], edx
jne 0x532e93
sub esp, 8
test eax, eax
je 0x532e75
fld qword [0x5eab88]
fstp qword [esp]
push 1
push 0x5eabb8
push edi
push esi
call fcn.00573960
fld1
add esp, 0x10
fstp qword [esp]
push 1
push str.slmult
jmp 0x532e81
fldz
fstp qword [esp]
push 1
push 0x5eabb8
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
test ebx, 0x4000
je 0x532ebe
test dword [esp + 0x2c], 0x4000
jne 0x532ebe
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.keep
push edi
push esi
call fcn.00573960
add esp, 0x18
test ebx, 0x8000
je 0x532ee9
test dword [esp + 0x2c], 0x8000
jne 0x532ee9
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.keepn
push edi
push esi
call fcn.00573960
add esp, 0x18
test ebx, 0x20000
je 0x532f22
test dword [esp + 0x2c], 0x20000
jne 0x532f22
mov eax, ebx
shr eax, 0x11
and eax, 1
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
push 1
push str.sbauto
push edi
push esi
call fcn.00573960
add esp, 0x18
test ebx, 0x40000
je 0x532f59
test dword [esp + 0x2c], 0x40000
jne 0x532f59
shr ebx, 0x12
and ebx, 1
mov dword [esp + 0x3c], ebx
fild dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
push 1
push str.saauto
push edi
push esi
call fcn.00573960
add esp, 0x18
mov bl, byte [esp + 0x80]
test bl, 0x20
je 0x532f85
test byte [esp + 0x40], 0x20
jne 0x532f85
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.widctlpar
push edi
push esi
call fcn.00573960
add esp, 0x18
test bl, 0x10
je 0x532faa
test byte [esp + 0x40], 0x10
jne 0x532faa
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.ssparnw
push edi
push esi
call fcn.00573960
add esp, 0x18
test bl, 0x40
je 0x532fcf
test byte [esp + 0x40], 0x40
jne 0x532fcf
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.pagebb
push edi
push esi
call fcn.00573960
add esp, 0x18
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x8c], ecx
je 0x533010
fild dword [esp + 0x8c]
sub esp, 8
fstp qword [esp]
push 1
push str.shading
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
mov dword [esp + 0xb0], 1
mov ebx, dword [esp + 0xbc]
cmp ebx, dword [esp + 0x64]
je 0x533074
mov ecx, dword [edi + 0x410]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x38], eax
jle 0x533045
mov edx, dword [edi + 0x40c]
cmp dword [edx], ebx
je 0x533041
add eax, 1
add edx, 4
cmp eax, ecx
jl 0x533033
mov dword [esp + 0x38], eax
cmp eax, ecx
jne 0x533051
mov dword [esp + 0x38], 0
fild dword [esp + 0x38]
sub esp, 8
fstp qword [esp]
push 1
push str.cbpat
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x532c7d
cmp dword [esp + 0xb0], 0
je 0x533088
push edi
push esi
call fcn.0052c8d0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret