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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov ebp, dword [0x4bcd08]
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x114]
mov edi, dword [eax]
mov eax, dword [esi]
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
mov dword [esp + 0x10], edx
jle 0x460295
lea edx, [eax - 4]
mov dword [esi], edx
lea edx, [eax - 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
sar edx, 1
lea edx, [edi + edx*4]
mov ebx, edx
mov edx, dword [edi]
mov dword [esp + 4], edx
mov eax, dword [eax - 4]
mov dword [esp], eax
call dword [esp + 0x11c]
test al, al
jne 0x4603b8
cmp dword [esp + 0x10], 2
je 0x460295
mov eax, dword [esp + 0x110]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [esp + 0x11c]
test al, al
jne 0x4603ef
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp], eax
call dword [esp + 0x11c]
test al, al
jne 0x4603d8
cmp dword [esp + 0x10], 3
je 0x460295
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, dword [ebx]
mov ecx, dword [eax]
fld qword [eax + 0x32]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 4], ebp
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], ebp
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x78], ecx
movzx ecx, word [eax + 0x18]
mov word [esp + 0x7c], cx
mov ecx, dword [eax + 0x1a]
mov dword [esp + 0x7e], ecx
mov ecx, dword [eax + 0x1e]
mov dword [esp + 0x82], ecx
mov ecx, dword [eax + 0x22]
mov dword [eax + 0x1e], ebp
mov dword [esp + 0x86], ecx
mov ebx, dword [eax + 0x2a]
mov ecx, dword [eax + 0x26]
fstp qword [esp + 0x96]
mov dword [esp + 0x8e], ebx
mov dword [esp + 0x8a], ecx
mov ecx, dword [eax + 0x3a]
mov dword [esp + 0x9e], ecx
mov ecx, dword [eax + 0x3e]
mov dword [esp + 0xa2], ecx
movzx ecx, word [eax + 0x42]
mov dword [eax + 0x3e], ebp
mov word [esp + 0xa6], cx
movzx ecx, byte [eax + 0x44]
mov byte [esp + 0xa8], cl
mov ecx, dword [eax + 0x46]
mov dword [esp + 0xaa], ecx
mov ecx, dword [eax + 0x4a]
mov dword [eax + 0x46], ebp
mov dword [esp + 0xae], ecx
mov ecx, dword [eax + 0x4e]
mov dword [eax + 0x4a], ebp
mov dword [esp + 0xb2], ecx
movzx ecx, byte [eax + 0x52]
mov byte [esp + 0xb6], cl
movzx ecx, word [eax + 0x54]
mov word [esp + 0xb8], cx
movzx ecx, word [eax + 0x56]
mov word [esp + 0xba], cx
movzx ecx, word [eax + 0x58]
mov word [esp + 0xbc], cx
mov ecx, dword [eax + 0x5a]
mov dword [esp + 0xbe], ecx
mov ecx, dword [eax + 0x5e]
mov dword [esp + 0xc2], ecx
mov ecx, dword [eax + 0x62]
mov dword [esp + 0xc6], ecx
mov ecx, dword [eax + 0x66]
mov dword [esp + 0xca], ecx
mov ecx, dword [eax + 0x6a]
mov ebx, dword [edx + 4]
mov dword [esp + 0xce], ecx
mov ecx, dword [eax + 0x6e]
mov dword [esp + 0xd2], ecx
mov ecx, dword [eax + 0x72]
mov dword [esp + 0xd6], ecx
mov ecx, dword [eax + 0x76]
mov dword [esp + 0xda], ecx
mov ecx, dword [eax + 0x7a]
mov dword [esp + 0xde], ecx
mov ecx, dword [eax + 0x7e]
mov dword [esp + 0xe2], ecx
mov ecx, dword [eax + 0x82]
mov dword [esp + 0xe6], ecx
mov ecx, dword [eax + 0x86]
mov dword [esp + 0xea], ecx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
mov dword [edx + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x14], ecx
movzx ecx, word [edx + 0x18]
mov ebx, dword [edx + 0x1e]
fld qword [edx + 0x32]
mov word [eax + 0x18], cx
mov ecx, dword [edx + 0x1a]
mov dword [eax + 0x1a], ecx
mov ecx, dword [eax + 0x1e]
mov dword [eax + 0x1e], ebx
mov ebx, dword [edx + 0x2a]
mov dword [edx + 0x1e], ecx
mov ecx, dword [edx + 0x22]
mov dword [eax + 0x22], ecx
mov ecx, dword [edx + 0x26]
fstp qword [eax + 0x32]
mov dword [eax + 0x2a], ebx
mov ebx, dword [edx + 0x3e]
mov dword [eax + 0x26], ecx
mov ecx, dword [edx + 0x3a]
mov dword [eax + 0x3a], ecx
mov ecx, dword [eax + 0x3e]
mov dword [eax + 0x3e], ebx
mov ebx, dword [edx + 0x46]
mov dword [edx + 0x3e], ecx
movzx ecx, word [edx + 0x42]
mov word [eax + 0x42], cx
movzx ecx, byte [edx + 0x44]
mov byte [eax + 0x44], cl
mov ecx, dword [eax + 0x46]
mov dword [eax + 0x46], ebx
mov dword [edx + 0x46], ecx
mov ebx, dword [eax + 0x4a]
mov ecx, ebx
mov ebx, dword [edx + 0x4a]
mov dword [eax + 0x4a], ebx
mov ebx, dword [edx + 0x4e]
mov dword [edx + 0x4a], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x4e], ebx
movzx ebx, byte [edx + 0x52]
mov byte [eax + 0x52], bl
movzx ebx, word [edx + 0x54]
mov word [eax + 0x54], bx
movzx ebx, word [edx + 0x56]
mov word [eax + 0x56], bx
movzx ebx, word [edx + 0x58]
mov word [eax + 0x58], bx
mov ebx, dword [edx + 0x5a]
mov dword [eax + 0x5a], ebx
mov ebx, dword [edx + 0x5e]
mov dword [eax + 0x5e], ebx
mov ebx, dword [edx + 0x62]
mov dword [eax + 0x62], ebx
mov ebx, dword [edx + 0x66]
mov dword [eax + 0x66], ebx
mov ebx, dword [edx + 0x6a]
mov dword [eax + 0x6a], ebx
mov ebx, dword [edx + 0x6e]
mov dword [eax + 0x6e], ebx
mov ebx, dword [edx + 0x72]
mov dword [eax + 0x72], ebx
mov ebx, dword [edx + 0x76]
mov dword [eax + 0x76], ebx
mov ebx, dword [edx + 0x7a]
mov dword [eax + 0x7a], ebx
mov ebx, dword [edx + 0x7e]
mov dword [eax + 0x7e], ebx
mov ebx, dword [edx + 0x82]
mov dword [eax + 0x82], ebx
mov ebx, dword [edx + 0x86]
mov dword [eax + 0x86], ebx
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [edx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x82]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 0x14], eax
movzx eax, word [esp + 0x7c]
mov word [edx + 0x18], ax
mov eax, dword [esp + 0x7e]
mov dword [edx + 0x1a], eax
mov eax, dword [edx + 0x1e]
mov dword [edx + 0x1e], ebx
mov dword [esp + 0x82], eax
mov eax, dword [esp + 0x86]
mov dword [edx + 0x22], eax
mov ebx, dword [esp + 0x8e]
mov ecx, dword [esp + 0x8a]
mov dword [edx + 0x26], ecx
mov dword [edx + 0x2a], ebx
lea ecx, [esp + 0x7e]
mov eax, dword [esp + 0x9e]
fld qword [esp + 0x96]
mov ebx, dword [esp + 0xa2]
fstp qword [edx + 0x32]
mov dword [edx + 0x3a], eax
mov eax, dword [edx + 0x3e]
mov dword [edx + 0x3e], ebx
mov ebx, dword [esp + 0xaa]
mov dword [esp + 0xa2], eax
movzx eax, word [esp + 0xa6]
mov word [edx + 0x42], ax
movzx eax, byte [esp + 0xa8]
mov byte [edx + 0x44], al
mov eax, dword [edx + 0x46]
mov dword [edx + 0x46], ebx
mov dword [esp + 0xaa], eax
mov eax, dword [esp + 0xae]
mov dword [edx + 0x4a], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xae], eax
mov eax, dword [esp + 0xb2]
mov dword [edx + 0x4e], eax
movzx eax, byte [esp + 0xb6]
mov byte [edx + 0x52], al
movzx eax, word [esp + 0xb8]
mov word [edx + 0x54], ax
movzx eax, word [esp + 0xba]
mov word [edx + 0x56], ax
movzx eax, word [esp + 0xbc]
mov word [edx + 0x58], ax
mov eax, dword [esp + 0xbe]
mov dword [edx + 0x5a], eax
mov eax, dword [esp + 0xc2]
mov dword [edx + 0x5e], eax
mov eax, dword [esp + 0xc6]
mov dword [edx + 0x62], eax
mov eax, dword [esp + 0xca]
mov dword [edx + 0x66], eax
mov eax, dword [esp + 0xce]
mov dword [edx + 0x6a], eax
mov eax, dword [esp + 0xd2]
mov dword [edx + 0x6e], eax
mov eax, dword [esp + 0xd6]
mov dword [edx + 0x72], eax
mov eax, dword [esp + 0xda]
mov dword [edx + 0x76], eax
mov eax, dword [esp + 0xde]
mov dword [edx + 0x7a], eax
mov eax, dword [esp + 0xe2]
mov dword [edx + 0x7e], eax
mov eax, dword [esp + 0xe6]
mov dword [edx + 0x82], eax
mov eax, dword [esp + 0xea]
mov dword [edx + 0x86], eax
call fcn.0046c0a0
lea ecx, [esp + 0x6c]
call fcn.0046b870
lea ecx, [esp + 0x68]
call fcn.0046b870
mov eax, dword [0x4bcd04]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x45fdd3
mov ebx, eax
nop
lea esi, [esi]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [esp + 0x11c]
test al, al
jne 0x4602b0
cmp edi, ebx
jae 0x45fdd3
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp], eax
call dword [esp + 0x11c]
test al, al
jne 0x4602a0
cmp ebx, edi
mov dword [esp + 0x10], ebx
jbe 0x45fdd3
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov eax, dword [eax]
mov dword [edx + 4], ebp
fld qword [edx + 0x32]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x14], ebx
mov ebx, dword [edx + 0x2a]
mov dword [edx + 8], ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x2c], ecx
movzx ecx, word [edx + 0x18]
mov word [esp + 0x44], cx
mov ecx, dword [edx + 0x1a]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x1e]
mov dword [edx + 0x1e], ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 0x22]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x26]
mov dword [esp + 0x8e], ebx
mov dword [esp + 0x8a], ecx
mov ecx, dword [edx + 0x3a]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0x3e]
mov ebx, dword [edx + 0x46]
mov dword [edx + 0x3e], ebp
mov dword [edx + 0x46], ebp
mov dword [esp + 0x40], ecx
movzx ecx, word [edx + 0x42]
mov dword [esp + 0x48], ebx
movzx ebx, word [edx + 0x54]
mov word [esp + 0x46], cx
movzx ecx, byte [edx + 0x44]
mov word [esp + 0x56], bx
movzx ebx, word [edx + 0x58]
mov byte [esp + 0x54], cl
mov ecx, dword [edx + 0x4a]
mov dword [edx + 0x4a], ebp
mov word [esp + 0x5a], bx
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 0x4e]
mov dword [esp + 0x50], ecx
movzx ecx, byte [edx + 0x52]
mov byte [esp + 0x55], cl
movzx ecx, word [edx + 0x56]
mov word [esp + 0x58], cx
mov ecx, dword [edx + 0x5a]
mov dword [esp + 0xbe], ecx
mov ecx, dword [edx + 0x5e]
mov dword [esp + 0xc2], ecx
mov ecx, dword [edx + 0x62]
mov dword [esp + 0xc6], ecx
mov ecx, dword [edx + 0x66]
mov dword [esp + 0xca], ecx
mov ecx, dword [edx + 0x6a]
mov dword [esp + 0xce], ecx
mov ecx, dword [edx + 0x6e]
mov dword [esp + 0xd2], ecx
mov ecx, dword [edx + 0x72]
mov dword [esp + 0xd6], ecx
mov ecx, dword [edx + 0x76]
mov dword [esp + 0xda], ecx
mov ecx, dword [edx + 0x7a]
mov dword [esp + 0xde], ecx
mov ecx, dword [edx + 0x7e]
mov dword [esp + 0xe2], ecx
mov ecx, dword [edx + 0x82]
mov dword [esp + 0xe6], ecx
mov ecx, dword [edx + 0x86]
mov dword [esp + 0xea], ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax + 4], ebp
mov ebx, dword [eax + 8]
mov ecx, dword [edx + 8]
mov dword [edx + 8], ebx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
movzx ecx, word [eax + 0x18]
mov word [edx + 0x18], cx
mov ecx, dword [eax + 0x1a]
mov dword [edx + 0x1a], ecx
mov ebx, dword [eax + 0x1e]
mov ecx, dword [edx + 0x1e]
fld qword [eax + 0x32]
mov dword [edx + 0x1e], ebx
mov ebx, dword [eax + 0x2a]
mov dword [eax + 0x1e], ecx
mov ecx, dword [eax + 0x22]
mov dword [edx + 0x22], ecx
mov ecx, dword [eax + 0x26]
fstp qword [edx + 0x32]
mov dword [edx + 0x2a], ebx
mov ebx, dword [eax + 0x3e]
mov dword [edx + 0x26], ecx
mov ecx, dword [eax + 0x3a]
mov dword [edx + 0x3a], ecx
mov ecx, dword [edx + 0x3e]
mov dword [edx + 0x3e], ebx
mov ebx, dword [eax + 0x46]
mov dword [eax + 0x3e], ecx
movzx ecx, word [eax + 0x42]
mov word [edx + 0x42], cx
movzx ecx, byte [eax + 0x44]
mov byte [edx + 0x44], cl
mov ecx, dword [edx + 0x46]
mov dword [edx + 0x46], ebx
mov dword [eax + 0x46], ecx
mov ecx, dword [eax + 0x4a]
mov ebx, dword [edx + 0x4a]
mov dword [edx + 0x4a], ecx
mov ecx, dword [eax + 0x4e]
mov dword [esp + 0x1c], ebx
mov dword [edx + 0x4e], ecx
movzx ecx, byte [eax + 0x52]
mov byte [edx + 0x52], cl
movzx ecx, word [eax + 0x54]
mov word [edx + 0x54], cx
movzx ecx, word [eax + 0x56]
mov word [edx + 0x56], cx
movzx ecx, word [eax + 0x58]
mov word [edx + 0x58], cx
mov ecx, dword [eax + 0x5a]
mov dword [edx + 0x5a], ecx
mov ecx, dword [eax + 0x5e]
mov dword [edx + 0x5e], ecx
mov ecx, dword [eax + 0x62]
mov dword [edx + 0x62], ecx
mov ecx, dword [eax + 0x66]
mov dword [edx + 0x66], ecx
mov ecx, dword [eax + 0x6a]
mov dword [edx + 0x6a], ecx
mov ecx, dword [eax + 0x6e]
mov dword [edx + 0x6e], ecx
mov ecx, dword [eax + 0x72]
mov dword [edx + 0x72], ecx
mov ecx, dword [eax + 0x76]
mov dword [edx + 0x76], ecx
mov ecx, dword [eax + 0x7a]
mov dword [edx + 0x7a], ecx
mov ecx, dword [eax + 0x7e]
mov dword [edx + 0x7e], ecx
mov ecx, dword [eax + 0x82]
mov dword [edx + 0x82], ecx
mov ecx, dword [eax + 0x86]
mov dword [edx + 0x86], ecx
mov ebx, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x1e]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 0x14], ebx
movzx ebx, word [esp + 0x44]
mov word [eax + 0x18], bx
mov ebx, dword [esp + 0x30]
mov dword [eax + 0x1a], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + 0x1e], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0x22], ebx
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x8a]
mov ecx, dword [esp + 0x8e]
fstp qword [eax + 0x32]
mov dword [eax + 0x26], edx
mov dword [eax + 0x2a], ecx
mov dword [eax + 0x3a], ebx
mov ebx, dword [esp + 0x40]
mov edx, dword [eax + 0x3e]
movzx ecx, byte [esp + 0x54]
mov dword [eax + 0x3e], ebx
movzx ebx, word [esp + 0x46]
mov byte [eax + 0x44], cl
mov ecx, dword [eax + 0x46]
mov word [eax + 0x42], bx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x55]
mov dword [eax + 0x46], ebx
mov ebx, dword [esp + 0x4c]
mov byte [eax + 0x52], cl
movzx ecx, word [esp + 0x58]
mov dword [eax + 0x4a], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + 0x4e], ebx
movzx ebx, word [esp + 0x56]
mov word [eax + 0x56], cx
mov word [eax + 0x54], bx
movzx ebx, word [esp + 0x5a]
mov word [eax + 0x58], bx
mov ebx, dword [esp + 0xbe]
mov dword [eax + 0x5a], ebx
mov ebx, dword [esp + 0xc2]
mov dword [eax + 0x5e], ebx
mov ebx, dword [esp + 0xc6]
mov dword [eax + 0x62], ebx
mov ebx, dword [esp + 0xca]
mov dword [eax + 0x66], ebx
mov ebx, dword [esp + 0xce]
mov dword [eax + 0x6a], ebx
mov ebx, dword [esp + 0xd2]
mov dword [eax + 0x6e], ebx
mov ebx, dword [esp + 0xd6]
mov dword [eax + 0x72], ebx
mov ebx, dword [esp + 0xda]
mov dword [eax + 0x76], ebx
mov ebx, dword [esp + 0xde]
mov dword [eax + 0x7a], ebx
mov ebx, dword [esp + 0xe2]
mov dword [eax + 0x7e], ebx
mov ebx, dword [esp + 0xe6]
mov dword [eax + 0x82], ebx
mov ebx, dword [esp + 0xea]
mov dword [eax + 0x86], ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4602e2
cmp eax, 0xffffffff
je 0x45fd24
mov ebx, dword [esp + 0x1c]
mov eax, 0xffffffff
lock xadd dword [ebx], eax
cmp eax, 1
je 0x4602e2
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x460315
cmp eax, 0xffffffff
je 0x45fd45
mov ebx, dword [esp + 0x24]
lock sub dword [ebx], 1
je 0x460315
mov eax, dword [edx]
test eax, eax
je 0x460344
cmp eax, 0xffffffff
je 0x45fd5e
lock sub dword [edx], 1
je 0x460344
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x46036b
cmp eax, 0xffffffff
je 0x45fd7f
mov edx, dword [esp + 0x20]
lock sub dword [edx], 1
je 0x46036b
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x460396
cmp eax, 0xffffffff
je 0x45fda0
mov edx, dword [esp + 0x18]
lock sub dword [edx], 1
je 0x460396
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4602c0
cmp eax, 0xffffffff
je 0x45fdc1
mov edx, dword [esp + 0x14]
lock sub dword [edx], 1
je 0x4602c0
mov ebx, dword [esp + 0x10]
add edi, 4
sub ebx, 4
cmp ebx, edi
ja 0x45f900
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [esp + 0x11c]
test al, al
mov eax, dword [esi]
lea edx, [edi + 4]
cmovne edi, edx
mov eax, dword [eax]
mov edx, dword [edi]
mov ecx, dword [eax]
fld qword [eax + 0x32]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 4], ebp
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], ebp
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x78], ecx
movzx ecx, word [eax + 0x18]
mov word [esp + 0x7c], cx
mov ecx, dword [eax + 0x1a]
mov dword [esp + 0x7e], ecx
mov ecx, dword [eax + 0x1e]
mov dword [esp + 0x82], ecx
mov ecx, dword [eax + 0x22]
mov dword [eax + 0x1e], ebp
mov dword [esp + 0x86], ecx
mov ebx, dword [eax + 0x2a]
mov ecx, dword [eax + 0x26]
fstp qword [esp + 0x96]
mov dword [esp + 0x8e], ebx
mov dword [esp + 0x8a], ecx
mov ecx, dword [eax + 0x3a]
mov dword [esp + 0x9e], ecx
mov ecx, dword [eax + 0x3e]
mov dword [esp + 0xa2], ecx
movzx ecx, word [eax + 0x42]
mov dword [eax + 0x3e], ebp
mov word [esp + 0xa6], cx
movzx ecx, byte [eax + 0x44]
mov byte [esp + 0xa8], cl
mov ecx, dword [eax + 0x46]
mov dword [esp + 0xaa], ecx
mov ecx, dword [eax + 0x4a]
mov dword [eax + 0x46], ebp
mov dword [esp + 0xae], ecx
mov ecx, dword [eax + 0x4e]
mov dword [eax + 0x4a], ebp
mov dword [esp + 0xb2], ecx
movzx ecx, byte [eax + 0x52]
mov byte [esp + 0xb6], cl
movzx ecx, word [eax + 0x54]
mov word [esp + 0xb8], cx
movzx ecx, word [eax + 0x56]
mov word [esp + 0xba], cx
movzx ecx, word [eax + 0x58]
mov word [esp + 0xbc], cx
mov ecx, dword [eax + 0x5a]
mov dword [esp + 0xbe], ecx
mov ecx, dword [eax + 0x5e]
mov dword [esp + 0xc2], ecx
mov ecx, dword [eax + 0x62]
mov dword [esp + 0xc6], ecx
mov ecx, dword [eax + 0x66]
mov dword [esp + 0xca], ecx
mov ecx, dword [eax + 0x6a]
mov ebx, dword [edx + 4]
mov dword [esp + 0xce], ecx
mov ecx, dword [eax + 0x6e]
mov dword [esp + 0xd2], ecx
mov ecx, dword [eax + 0x72]
mov dword [esp + 0xd6], ecx
mov ecx, dword [eax + 0x76]
mov dword [esp + 0xda], ecx
mov ecx, dword [eax + 0x7a]
mov dword [esp + 0xde], ecx
mov ecx, dword [eax + 0x7e]
mov dword [esp + 0xe2], ecx
mov ecx, dword [eax + 0x82]
mov dword [esp + 0xe6], ecx
mov ecx, dword [eax + 0x86]
mov dword [esp + 0xea], ecx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
mov dword [edx + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x14], ecx
movzx ecx, word [edx + 0x18]
mov ebx, dword [edx + 0x1e]
fld qword [edx + 0x32]
mov word [eax + 0x18], cx
mov ecx, dword [edx + 0x1a]
mov dword [eax + 0x1a], ecx
mov ecx, dword [eax + 0x1e]
mov dword [eax + 0x1e], ebx
mov ebx, dword [edx + 0x2a]
mov dword [edx + 0x1e], ecx
mov ecx, dword [edx + 0x22]
mov dword [eax + 0x22], ecx
mov ecx, dword [edx + 0x26]
fstp qword [eax + 0x32]
mov dword [eax + 0x2a], ebx
mov ebx, dword [edx + 0x3e]
mov dword [eax + 0x26], ecx
mov ecx, dword [edx + 0x3a]
mov dword [eax + 0x3a], ecx
mov ecx, dword [eax + 0x3e]
mov dword [eax + 0x3e], ebx
mov ebx, dword [edx + 0x46]
mov dword [edx + 0x3e], ecx
movzx ecx, word [edx + 0x42]
mov word [eax + 0x42], cx
movzx ecx, byte [edx + 0x44]
mov byte [eax + 0x44], cl
mov ecx, dword [eax + 0x46]
mov dword [eax + 0x46], ebx
mov dword [edx + 0x46], ecx
mov ebx, dword [eax + 0x4a]
mov ecx, ebx
mov ebx, dword [edx + 0x4a]
mov dword [eax + 0x4a], ebx
mov ebx, dword [edx + 0x4e]
mov dword [edx + 0x4a], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x4e], ebx
movzx ebx, byte [edx + 0x52]
mov byte [eax + 0x52], bl
movzx ebx, word [edx + 0x54]
mov word [eax + 0x54], bx
movzx ebx, word [edx + 0x56]
mov word [eax + 0x56], bx
movzx ebx, word [edx + 0x58]
mov word [eax + 0x58], bx
mov ebx, dword [edx + 0x5a]
mov dword [eax + 0x5a], ebx
mov ebx, dword [edx + 0x5e]
mov dword [eax + 0x5e], ebx
mov ebx, dword [edx + 0x62]
mov dword [eax + 0x62], ebx
mov ebx, dword [edx + 0x66]
mov dword [eax + 0x66], ebx
mov ebx, dword [edx + 0x6a]
mov dword [eax + 0x6a], ebx
mov ebx, dword [edx + 0x6e]
mov dword [eax + 0x6e], ebx
mov ebx, dword [edx + 0x72]
mov dword [eax + 0x72], ebx
mov ebx, dword [edx + 0x76]
mov dword [eax + 0x76], ebx
mov ebx, dword [edx + 0x7a]
mov dword [eax + 0x7a], ebx
mov ebx, dword [edx + 0x7e]
mov dword [eax + 0x7e], ebx
mov ebx, dword [edx + 0x82]
mov dword [eax + 0x82], ebx
mov ebx, dword [edx + 0x86]
mov dword [eax + 0x86], ebx
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [edx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x82]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 0x14], eax
movzx eax, word [esp + 0x7c]
mov word [edx + 0x18], ax
mov eax, dword [esp + 0x7e]
mov dword [edx + 0x1a], eax
mov eax, dword [edx + 0x1e]
mov dword [edx + 0x1e], ebx
mov dword [esp + 0x82], eax
mov eax, dword [esp + 0x86]
mov dword [edx + 0x22], eax
mov ebx, dword [esp + 0x8e]
mov ecx, dword [esp + 0x8a]
mov dword [edx + 0x26], ecx
mov dword [edx + 0x2a], ebx
lea ecx, [esp + 0x7e]
mov eax, dword [esp + 0x9e]
fld qword [esp + 0x96]
mov ebx, dword [esp + 0xa2]
fstp qword [edx + 0x32]
mov dword [edx + 0x3a], eax
mov eax, dword [edx + 0x3e]
mov dword [edx + 0x3e], ebx
mov ebx, dword [esp + 0xaa]
mov dword [esp + 0xa2], eax
movzx eax, word [esp + 0xa6]
mov word [edx + 0x42], ax
movzx eax, byte [esp + 0xa8]
mov byte [edx + 0x44], al
mov eax, dword [edx + 0x46]
mov dword [edx + 0x46], ebx
lea ebx, [esp + 0x64]
mov dword [esp + 0xaa], eax
mov eax, dword [esp + 0xae]
mov dword [edx + 0x4a], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xae], eax
mov eax, dword [esp + 0xb2]
mov dword [edx + 0x4e], eax
movzx eax, byte [esp + 0xb6]
mov byte [edx + 0x52], al
movzx eax, word [esp + 0xb8]
mov word [edx + 0x54], ax
movzx eax, word [esp + 0xba]
mov word [edx + 0x56], ax
movzx eax, word [esp + 0xbc]
mov word [edx + 0x58], ax
mov eax, dword [esp + 0xbe]
mov dword [edx + 0x5a], eax
mov eax, dword [esp + 0xc2]
mov dword [edx + 0x5e], eax
mov eax, dword [esp + 0xc6]
mov dword [edx + 0x62], eax
mov eax, dword [esp + 0xca]
mov dword [edx + 0x66], eax
mov eax, dword [esp + 0xce]
mov dword [edx + 0x6a], eax
mov eax, dword [esp + 0xd2]
mov dword [edx + 0x6e], eax
mov eax, dword [esp + 0xd6]
mov dword [edx + 0x72], eax
mov eax, dword [esp + 0xda]
mov dword [edx + 0x76], eax
mov eax, dword [esp + 0xde]
mov dword [edx + 0x7a], eax
mov eax, dword [esp + 0xe2]
mov dword [edx + 0x7e], eax
mov eax, dword [esp + 0xe6]
mov dword [edx + 0x82], eax
mov eax, dword [esp + 0xea]
mov dword [edx + 0x86], eax
call fcn.0046c0a0
lea ecx, [esp + 0x6c]
call fcn.0046b870
lea ecx, [esp + 0x68]
call fcn.0046b870
mov eax, dword [esp + 0x110]
mov dword [esp + 0x64], edi
add edi, 4
mov eax, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.0045f3e0
mov eax, dword [esp + 0x110]
mov dword [eax], edi
mov eax, dword [esi]
add eax, 4
mov edx, eax
mov dword [esi], eax
sub edx, edi
sar edx, 2
cmp edx, 1
mov dword [esp + 0x10], edx
jg 0x45f416
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
sub ebx, 4
cmp edi, ebx
jae 0x45fdd3
jmp 0x45f924
add edi, 4
cmp edi, ebx
jae 0x45fdd3
jmp 0x45f900
mov eax, dword [esp + 0x14]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4bcd04]
jmp 0x45fdc1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4bcd04]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
test eax, eax
jne 0x45fd32
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x45fd4f
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [0x4bcd04]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
jne 0x45fd6c
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4bcd04]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
jne 0x45fd8d
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4bcd04]
jmp 0x45fda0
mov eax, dword [esp + 0x110]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0046e7e0
jmp 0x45f448
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0046e7e0
jmp 0x45f492
mov eax, dword [esp + 0x110]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0046e7e0
jmp 0x45f476